36-Inch Railing & Gate Baluster Spacing Calculator
For a 36-inch deck gate or mini rail span, install 7 balusters (1.5" wide) to generate 8 uniform spaces of 3.19 inches, ensuring strict residential building compliance.
Project Dimensions & Specs
Customize measurements to automatically calculate spacing
Railing Elevation View
Live scale representation of posts, pickets, and equal spacing
Running Tape Measure Schedule
Pull your tape measure once along the bottom rail. Mark each number below without moving the hook.
| Item # | Pencil Mark (Leading Edge) | Centerline Mark | Exact Decimal |
|---|
Why Use Running Tape Measure Marks?
Using individual spacer cutoffs from picket to picket creates cumulative drift. A tiny 1/32" manufacturing error per block multiplies across 15 balusters into almost a 1/2" error, leaving the final gap visibly uneven. Locking your tape hook at 0" on Post 1 eliminates all stacking error.
IRC 4-Inch Safety Sphere Standard
Under IRC Section R312.1.3, intermediate railings must not allow a 4-inch sphere to pass between pickets or spindles. This calculator divides the opening with equal end spacing to ensure your finished project stays comfortably under this limit for a passing building inspection.
Balusters vs Spindles vs Pickets
While termed interchangeably across US and UK building trades, balusters and pickets generally refer to square-edge deck infill posts, whereas spindles denote turned wood stair uprights. The spacing math and 4-inch sphere safety criteria remain identical.
Baluster Spacing Mathematical Formula
1. Baluster Count Calculation:
Ensures that even if material tolerances vary, the resulting clear gap can never exceed your 4-inch target ceiling.
2. Exact Symmetrical Clear Gap:
Distributes leftover opening across N+1 air gaps, ensuring identical margins from starting and terminal posts.
Frequently Asked Questions
Quick answers on building codes, spacing formulas, and deck installation
What is the building code for deck baluster spacing?
Under the International Residential Code (IRC Section R312.1.3), guardrail openings must not allow a 4-inch diameter sphere to pass through anywhere along the flat rail assembly. For code safety, deck builders typically set gaps between 3-1/2" and 3-3/4" to accommodate lumber expansion and shrinkage.
What is the difference between On-Center (O.C.) and Clear Gap?
The clear gap is the open air space between the facing edges of two balusters (the distance tested with a 4-inch sphere). On-center is measured from the center line of one baluster to the center line of the next. On-center equals the clear gap plus the width of one baluster.
Why are the first and last gaps identical?
The mathematical engine calculates the minimum baluster count and divides the leftover opening equally across every space ($N+1$). This creates symmetrical margins at both posts for a balanced, custom-built look.
How do you calculate baluster spacing on stairs?
Because stairs slope at an angle (typically between 32° and 37°), the distance measured along the rake of the rail must be adjusted so that the horizontal gap remains under 4 inches. Additionally, IRC allows up to a 6-inch sphere between the bottom stair rail, riser, and tread. Use our dedicated Stairs Mode to automatically apply cosine pitch compensation.