Baluster Spacing Calculator
Balusters must be spaced so a 4-inch sphere can't pass — in practice, a clear gap of 3½–3¾ inches. Enter the distance between your posts and your baluster width to get the number of balusters (spindles) per section, the exact, even gap to mark out and the on-center spacing.
Inside face to inside face of the posts
2×2 wood = 1.5″ · metal = 0.75″
Code: under 4″ · common target 3.5–3.75″
—
You might also need:Deck Calculator·Stair Calculator
The even-spacing formula
exact gap = (span − balusters × baluster width) ÷ (balusters + 1)
There's always one more gap than there are balusters, because there's a gap against each post. Example: a 96-inch opening with 1½-inch balusters and a 3¾-inch maximum gap needs (96 − 3.75) ÷ 5.25 = 17.6, rounded up to 18 balusters. The exact gap is (96 − 27) ÷ 19 = 3.63 inches — just over 3⅝″.
Layout tip: cut a spacer block to the exact gap and use it between every baluster instead of measuring each one. Small errors then can't stack up across the section.
Balusters per railing section
| Opening between posts | 1½″ wood balusters | Gap | ¾″ metal balusters | Gap |
|---|---|---|---|---|
| 36″ (3 ft) | 7 | 3.19″ | 8 | 3.33″ |
| 48″ (4 ft) | 9 | 3.45″ | 10 | 3.68″ |
| 72″ (6 ft) | 13 | 3.75″ | 16 | 3.53″ |
| 96″ (8 ft) | 18 | 3.63″ | 21 | 3.65″ |
| 120″ (10 ft) | 23 | 3.56″ | 26 | 3.72″ |
Calculated with a 3¾″ maximum gap.
How to measure for baluster spacing
- Measure between the posts, inside face to inside face, at the height of the rail. Don't use post centers: a 4×4 post takes 3½ inches out of every opening.
- Use the real baluster width, not the nominal size. A "2×2" measures 1½ inches. For turned or tapered spindles, enter the thinnest part, because that's where the widest gap is.
- Measure each opening. Openings that look the same often differ by ¼ inch or more. Run each one through the calculator, or enter one width and the number of identical sections.
Stair baluster spacing
On stairs, balusters stand vertical while the rail slopes, so enter the horizontal distance between the newel posts, not the length along the handrail. The IRC allows up to 4⅜ inches on the open side of a stair, but many builders keep stair gaps under 4 inches to match the deck railing. A quick check: two 1½-inch balusters per standard 10–11 inch tread gives gaps of about 3¾–4 inches, inside the 4⅜-inch stair limit.
Railing code basics (IRC — always confirm locally)
- Guards are required where a deck, porch or landing is more than 30 inches above the ground below.
- Guard height: at least 36 inches on decks and porches; 34–38 inches for stair handrails, measured from the tread nosing.
- 4-inch sphere rule: no opening in the guard may let a 4-inch sphere through. On stairs the limit is 4⅜ inches, and the triangle under the bottom rail must block a 6-inch sphere.
- Planning the whole deck? The deck calculator covers boards, joists and fasteners, and the stair calculator works out rise, run and stringers.
Frequently asked questions
How far apart should balusters be?+
Under the IRC residential code, a 4-inch sphere must not pass between balusters, so the clear gap must be less than 4 inches. Most builders aim for 3½–3¾ inches to leave room for boards that shrink or bow. Measure the gap between balusters, not center to center.
How many balusters do I need per foot?+
About 2.4 per foot for standard 2×2 wood balusters (1½ inches wide) at a 3½-inch maximum gap, and about 2.75 per foot for ¾-inch metal balusters. The "3 per foot" rule of thumb you often see is safe for buying but over-orders wood balusters. For an exact count, use the calculator — it depends on the precise length between your posts.
How many balusters are in an 8-foot railing section?+
With 1½-inch wood balusters and a gap under 3¾ inches, a 96-inch section takes 18 balusters at about 3⅝-inch gaps. With ¾-inch metal balusters it takes 21. Measure between the posts, since post width reduces the actual opening.
How many balusters do I need for a 10 × 10 deck?+
Railing on three sides is about 30 ft. With 4×4 posts at the corners and the middle of each side, every side splits into two openings of about 54¾ inches. At a 3¾-inch maximum gap that is 10 wood balusters per opening, or 60 in all (63 with 5% spares); ¾-inch metal balusters take 12 per opening, or 72. Add stair balusters separately.
How many balusters per stair tread?+
Usually two per tread for standard 10–11 inch treads with 1½-inch balusters, which keeps the gaps around 3¾ inches. Thin metal balusters or deeper treads may need three. The bottom triangle formed by the riser, tread and bottom rail must block a 6-inch sphere.
Is a spindle the same as a baluster?+
Yes. Spindle, baluster and picket all refer to the vertical members of a railing — "spindle" usually means a turned or decorative one, and "baluster" is the term building codes use. The spacing rules are identical.