Deck Baluster Spacing Calculator
Lay out balusters for one to eight level deck railing spans. Use measured inside post faces and baluster widths to compare even end openings with half-size end openings. Round each center independently to your tape grid, then check the planned clear gaps and review the marking and cut ledger.
Deck baluster spacing planner
Compare end spacing, round center marks to your tape and check the resulting clear gaps.
Span measurements and tape
Measure between inside post faces. Use actual baluster face widths and enter dimensions in inches, such as 68 7/16.
Compare end layouts
Compare gaps below 4 in after snapping centers to 1/16 in.
- Even ends across all spans
- 25 balusters
- Half ends across all spans
- 26 balusters
Ideal end gap 3 137/224 in. Ideal inside gap 3 137/224 in. Smallest rounded gap 3 9/16 in.
- Baluster
- Rounded center mark
This worksheet compares level-span geometry with your gap rule. Guard height, attachments, loads and local approval are separate checks.
Cut and mark ledger
Main span · Even ends. Meets entered gap rule.
Layout quantity 13. Measured face width 1 3/8 in. Supplied cut length 26 in.
| Opening | Clear gap after rounding | Baluster | Ideal center | Tape center from left face | Result |
|---|---|---|---|---|---|
| Left end | 3 5/8 in | 1 | 4 67/224 in | 4 5/16 in | Within entered gap rule |
| Inside 1 | 3 5/8 in | 2 | 9 2/7 in | 9 5/16 in | Within entered gap rule |
| Inside 2 | 3 9/16 in | 3 | 14 61/224 in | 14 1/4 in | Within entered gap rule |
| Inside 3 | 3 5/8 in | 4 | 19 29/112 in | 19 1/4 in | Within entered gap rule |
| Inside 4 | 3 5/8 in | 5 | 24 55/224 in | 24 1/4 in | Within entered gap rule |
| Inside 5 | 3 5/8 in | 6 | 29 13/56 in | 29 1/4 in | Within entered gap rule |
| Inside 6 | 3 5/8 in | 7 | 34 7/32 in | 34 1/4 in | Within entered gap rule |
| Inside 7 | 3 9/16 in | 8 | 39 23/112 in | 39 3/16 in | Within entered gap rule |
| Inside 8 | 3 5/8 in | 9 | 44 43/224 in | 44 3/16 in | Within entered gap rule |
| Inside 9 | 3 5/8 in | 10 | 49 5/28 in | 49 3/16 in | Within entered gap rule |
| Inside 10 | 3 5/8 in | 11 | 54 37/224 in | 54 3/16 in | Within entered gap rule |
| Inside 11 | 3 9/16 in | 12 | 59 17/112 in | 59 1/8 in | Within entered gap rule |
| Inside 12 | 3 5/8 in | 13 | 64 31/224 in | 64 1/8 in | Within entered gap rule |
| Right end | 3 5/8 in | — | — | — | Within entered gap rule |
How to use this calculator
- Measure the clear width between the inside post faces for each level span. Measure each baluster's actual face width in the same direction.
- Enter your gap limit, comparison rule and tape grid. Choose Find minimum or Use fixed count separately for each span.
- Compare Even ends and Half ends. Choose a span to inspect its rounded gaps and diagram. Check both end openings as well as the largest interior opening.
- Use the Cut and mark ledger to read each center from the same left inside face. Add an optional measured cut length to include length and quantity together.
- Download the cut and mark CSV for both layouts across the project. Check the installed openings using the requirements applicable to your guard.
The Formula
The mathematical logic powering this calculation is:
Let L be the horizontal clear distance between the inside post faces, w the actual baluster face width and N the count. Free width G = L − Nw. Even ends use G/(N + 1) for each ideal opening. Half ends use G/N between balusters and G/(2N) at each end. With one baluster, both patterns have equal end gaps and no interior opening. With zero balusters the entire span is one opening.
Find each ideal center from the left inside face. Snap it independently to the nearest increment on the selected tape grid, with exact halfway marks rounded farther from the left face. The planned edges are the snapped center ± w/2. The clear gaps are the distances from the left face to the first baluster, from a baluster's right edge to the next left edge, and from the last edge to the right face. A negative gap identifies an overlap or an edge past a post. A zero gap represents contact.
Strictly below requires each nonnegative gap to be less than your entered limit. At or below includes equality. Minimum mode searches fitting counts and chooses the first count that meets the rule on the chosen grid. Fixed mode retains the count and identifies any failed gap or fit. Searches support 0 to 300 balusters per span.
Enter one to eight level spans. Measurements are in inches, using decimals with at most six decimal places or proper mixed and simple fractions. Clear span is positive through 1,200 inches, actual face width positive through 12 inches, and gap limit from 0 to 36 inches. Fraction denominators are positive integers through 1,000,000. Optional cut lengths are measured inputs through 240 inches. Code context, including sphere passage in 2021 IRC R312.1.3, is separate from the entered gap comparison. Guard loads, heights, attachments and site approval depend on the applicable rules and assembly.Worked Example
If you input:
- Main span: 68 7/16 in
- Return span: 64 1/2 in
- Actual width: 1 3/8 in in both spans
- Gap rule and tape grid: Strictly below 4 in, marks to 1/16 in
- Supplied cut lengths: 26 in in both spans
Result:
The main span uses 13 balusters under either end layout. Its largest planned gap is 3 5/8 in with even ends and 3 15/16 in with half ends. The return span needs 12 with even ends and 13 with half ends, for project quantities of 25 and 26. On the main span, twelve evenly spaced balusters have an ideal gap just below 4 in. Rounding makes some gaps exactly 4 in, which fails the strict comparison.
Frequently Asked Questions
What width should I measure for deck baluster spacing?
Measure the actual face width in the direction of spacing, and measure the clear span between the inside post faces. The worksheet models a uniform baluster width within each named span.
What is the difference between even ends and half ends?
Even ends use the same ideal clear opening between balusters and next to each post. Half ends use ideal openings beside the posts that are half as wide as those between balusters. Independent tape rounding can change the resulting end gaps.
Why can an ideal gap below my limit end up exactly at the limit?
Rounding moves each center independently. Adjacent moves can increase a clear gap, and an outside move can change the first or final opening. The worksheet recomputes every gap from the resulting positions before comparing it with your limit.
How does the strict versus inclusive option work?
Strictly below excludes an opening equal to the entered limit. At or below includes an opening equal to that limit. Choose the rule for your layout check and verify the installed assembly against its applicable requirements.
Where should I start measuring the tape marks?
Read each rounded center from the same left inside post face. These are cumulative distances from that origin. Follow those positions so the spacing model and the final opening stay consistent.
Does the worksheet establish guard compliance?
The worksheet compares planned level-span openings with the dimensions and gap rule you enter. Installed openings, guard height, loads, connections and local approvals require separate verification. IRC R312.1.3 and AWC DCA 6 Figure 24 offer context for the opening check.
Can I use the worksheet for stairs or uneven spans?
It assumes a level span and uniform widths, so it applies to horizontal inside-to-inside measurements. Stair rails and sloped or irregular openings require geometry and checks specific to that rail.
Similar Calculators
Decking Joist Layout & Board Angle Planner
Check measured deck joist spacing against two entered limits. Compare diagonal board travel, exact bay widths and an equal-split layout.
Board and Batten Layout Calculator
Compare board-and-batten spacing and inspect exact board positions, rails and straight segments around openings on a scaled wall layout.
Stair Layout Calculator
Compare straight and quarter-turn stair layouts by rise, going and available footprint. Explore riser counts and landing splits, solve a going that fits, and export scaled-layout coordinates.
Rafter Length & Stock Planner
Visualize common-rafter cuts, ridge deduction, overhang and birdsmouth geometry. Compare full layout blanks with stock lengths and prices; export measurements and coordinates.
Unit Converter
Convert between units of length, weight, volume, and area — all in one tool.
