Baluster Spacing Calculator

Even baluster spacing between two posts, with a printable list of layout marks measured from the post face — and every gap kept under 4 inches.

Measure face to face between the two posts. A plain number means inches.
Measure your balusters. Dried treated 2x2s are often under 1 1/2", and every 1/8" narrower adds 1/8" to each gap.
3 7/8" at most (every opening must be under 4").

12 balusters, with ≈ 3 1/4" gaps (3.269") — the same gap next to each post.

For 60 1/2" between posts, 1 1/2" balusters, max gap 3 1/2".

Layout marks

Hook your tape on the face of the left post and mark the left edge of each baluster:

#Mark at
13 1/4"
28 1/16"
312 13/16"
417 9/16"
522 3/8"
627 1/8"
731 7/8"
836 5/8"
941 7/16"
1046 3/16"
1150 15/16"
1255 3/4"

Each mark is measured from the post, not from the previous baluster, so small errors don't add up. Marks are rounded to the nearest 1/16".

How to use the marks

  1. Measure the space between the two posts, face to face, at the rail.
  2. Enter it with your baluster width and the largest gap you'll accept.
  3. Hook your tape on the left post and mark each position from the list — always from the post, never from the last baluster.
  4. Print the list if you're doing several sections the same size.

The gap next to each post matches the gaps between balusters, so the section looks even. If your sections differ in length, run each one separately.

The 4-inch rule

On a deck guard, no opening may let a 4-inch sphere pass (how the 4-inch sphere rule works). A gap of exactly 4" fails, so every gap here must be smaller — we default to 3 1/2", which leaves room for balusters that shrink or bow. The calculator caps your maximum gap at 3 7/8", so no gap — including the first mark from the post — can round up to 4".

One deck railing section seen from the sideTwo guard posts no more than 6 feet apart center to center, a rail cap on top, top and bottom rails, and evenly spaced balusters. Every opening must be smaller than 4 inches, including the space between the deck and the bottom rail. The guard is at least 36 inches tall, measured from the deck surface.RIM JOIST (2x8 min.)< 4"6' max. on center36"min.< 4"
Guard height is measured from the deck surface to the top of the rail cap. The space under the bottom rail must be under 4" too.

Worked example

Posts 5' 4" on center with 4x4s (3 1/2" wide) leave 60 1/2" between them. With 2x2 balusters (1 1/2") and a 3 1/2" maximum gap:

  1. Fewest balusters: (60 1/2 − 3 1/2) ÷ (1 1/2 + 3 1/2) = 11.4 → 12.
  2. Gap: (60 1/2 − 12 × 1 1/2) ÷ 13 = 3.27" — about 3 1/4".
  3. First mark (left edge): 3 1/4". Second: 3.27 + 1.5 + 3.27 = 8 1/16". And so on — the calculator lists them all.

Stairs and other railings

  • On the open sides of stairs the rule is different: openings must not pass a 4 3/8" sphere, and the triangle under the bottom rail must not pass a 6" sphere. This calculator is for level runs.
  • Deck guard posts must be no more than 6' apart. To plan posts and buy materials, use the deck railing calculator.
  • Your local building department has the final word on guard rules.

Sources

Formulas and figures last reviewed: ·How we build & check our calculators