Baluster Spacing Calculator

Enter the clear length of each railing section between posts to space your balusters evenly. You get the baluster count, the exact gap, and a mark list for each section, plus the total to buy.

Important: Follow your local building code. Most codes say a 4 in sphere must not pass through a guard opening.

Your measurements

Units

Keep under 4 in.

Results update as you type.

Results

Enter your measurements to see results.

Each section with its balusters and gaps.

How to use this calculator

  1. For each railing section, measure the clear length between the inside faces of the posts.
  2. Add stair sections with their horizontal length between posts.
  3. Choose the baluster width and your maximum gap (3.75 in leaves a margin under the 4 in limit).
  4. Use each section's mark list to lay out the balusters. Print it with the Print button.

Worked example

Two 70.5 in railing sections and a 60 in stair section, 1.5 in wood balusters, 3.75 in max gap, 5% extra:

  1. Railing: (70.5 − 3.75) ÷ (1.5 + 3.75) = 12.7 → 13 balusters; gap = (70.5 − 13 × 1.5) ÷ 14 = 3.64 in (3 5/8 in)
  2. First mark: 3.64 + 0.75 = 4.39 in from the left post, then every 5.14 in
  3. Stair: (60 − 3.75) ÷ 5.25 = 10.7 → 11 balusters, gap 3.63 in
  4. Total: 13 + 13 + 11 = 37; plus 5% = 39 balusters

Frequently asked questions

What is the maximum gap between deck balusters?

The International Residential Code, which most US areas adopt, says a 4 inch sphere must not pass through any opening in a guard. Many codes allow 4 3/8 inches on the open side of stairs. Most builders aim for about 3 1/2 to 3 3/4 inches so the gap stays under the limit even if a baluster is slightly off.

How do I measure for baluster spacing?

Measure the clear distance between the inside faces of the two posts, not center to center. On stairs, measure the horizontal distance between the posts, because the balusters stand plumb.

How do I use the mark list?

Each mark is the distance from the inside face of the left post to the center of a baluster. Hook your tape on the left post, mark every number on the rail, then center each baluster on its mark.

Why are my gaps smaller than the maximum?

The calculator uses the fewest balusters that keep every gap at or under your maximum, then spreads them evenly so the gaps at both posts match the gaps between balusters. That usually leaves each gap a little under your maximum.

How many extra balusters should I buy?

Add about 5% for split or warped wood balusters and mis-cuts. Metal balusters rarely break, so you can buy closer to the exact count.