Deck Baluster Spacing Calculator with Tape Marks
Enter the clear inside span between your deck posts and your spindle width to get perfectly equal gaps guaranteed under the 4-inch IRC safety rule, plus cumulative 1/16" layout marks.
Railing Section Inputs
IRC 4" RuleUS IRC R312.1.3 requires a 4-inch sphere cannot pass through any opening (max 4.0").
Live Railing Elevation Blueprint
Cumulative Tape Measure Marks (Hook Tape on Left Post)13 Marks
| Baluster # | Leading Edge | Center Mark | Trailing Edge |
|---|---|---|---|
| #1 | 3 3/4" (3.75") | 4 1/2" (4.50") | 5 1/4" (5.25") |
| #2 | 9" (9.00") | 9 3/4" (9.75") | 10 1/2" (10.50") |
| #3 | 14 1/4" (14.25") | 15" (15.00") | 15 3/4" (15.75") |
| #4 | 19 1/2" (19.50") | 20 1/4" (20.25") | 21" (21.00") |
| #5 | 24 3/4" (24.75") | 25 1/2" (25.50") | 26 1/4" (26.25") |
| #6 | 30" (30.00") | 30 3/4" (30.75") | 31 1/2" (31.50") |
| #7 | 35 1/4" (35.25") | 36" (36.00") | 36 3/4" (36.75") |
| #8 | 40 1/2" (40.50") | 41 1/4" (41.25") | 42" (42.00") |
| #9 | 45 3/4" (45.75") | 46 1/2" (46.50") | 47 1/4" (47.25") |
| #10 | 51" (51.00") | 51 3/4" (51.75") | 52 1/2" (52.50") |
| #11 | 56 1/4" (56.25") | 57" (57.00") | 57 3/4" (57.75") |
| #12 | 61 1/2" (61.50") | 62 1/4" (62.25") | 63" (63.00") |
| #13 | 66 3/4" (66.75") | 67 1/2" (67.50") | 68 1/4" (68.25") |
How Baluster Spacing Math Works
Because every railing section has one more open gap than balusters (N balusters create N + 1 equal spaces), dividing the opening evenly requires solving for the smallest whole number of balusters that keeps the clear gap at or below 4 inches:
Pro Tip: Accounting for Pressure-Treated Shrinkage
Freshly purchased wet pressure-treated 2×2 balusters can shrink by up to 1/8" in width over their first summer in direct sunlight. If your inspector checks your railing at 3.98", a tiny bit of drying shrinkage can push the gap over 4.0". Setting your Maximum Allowed Gap input to 3.75" gives you a rock-solid safety buffer while keeping the railing visually balanced.
Frequently Asked Questions
What is the maximum legal gap between deck balusters under US building code? +
Why should I use cumulative tape marks instead of a spacer block? +
Does the 4-inch rule also apply to stair railings? +
How wide is a standard 2x2 wood deck baluster? +
Next Step: Related Visual Calculators
All Tools →Stair Stringer Calculator
Live →Calculate exact rise, run, stringer length, throat depth, and IRC code compliance with a live SVG blueprint.
Board Foot & Lumber Cost Calculator
Live →Multi-row lumber bill of materials to tally total board feet and project cost across mixed hardwood sizes.
Fence Picket Spacing Calculator
Live →Lay out privacy, spaced, or shadowbox fence pickets with post counts, rails, and concrete bag estimates.
Crown Molding Miter & Bevel Calculator
Live →Find exact compound miter saw settings for inside and outside corners at any spring or wall angle.