Home & DIY

Baluster Spacing Calculator

How many balusters a rail section takes and the exact gap that falls out, solved so no opening passes a 4 in sphere and every gap comes out equal.

Enter your values

Results update instantly as you type.

The rail
Post face to post face, not centre to centre.
The balusters
Baluster
Aim under 4 in so build tolerance cannot push a gap over the limit.
Units
Measurement system

Everything is worked out in your browser, so the numbers never leave your device. The shareable link reopens the calculator with exactly these values.

Results

4 in sphere72 in clear span3-3/4 in5-1/4 in o.c.

One section, drawn to scale. The dashed circle is the 4 in sphere the code says must not pass.

Fit
13 balusters per section, 3-3/4 in apart
13 balusters in a 72 in span at 5-1/4 in on centre, leaving 3-3/4 in gaps
Per section
Balusters
In a 72 in clear span
13
Gap between
All gaps equal, including to the posts
3-3/4 in
On centre spacing
Baluster width plus one gap
5-1/4 in
Margin to the limit
Against the 4 in sphere
1/4 in
The job
Total balusters
4 sections this size
52
First baluster from post
To the near face
3-3/4 in
Spacing along the rail
Level rail, same as on centre
5.3 in
Baluster width used
1-1/2 in square
1.5 in
Gap of 3-3/4 in passes the 4 in sphere rule1/4 in of margin against the limit, which absorbs normal build tolerance.
iMeasure the end gaps tooThe gap to each post is part of the guard. This layout leaves 3-3/4 in at each end, the same as everywhere else, which is why the count comes out as it does.
iMark on centres, not gapsSet out at 5-1/4 in on centre from a story stick rather than measuring each gap. Measuring gap by gap accumulates error and the last one always comes out wrong.
i52 balusters for 4 sectionsThis assumes every section is the same clear span. Any section a different width needs its own count, so measure each one rather than assuming.

Working

  1. n balusters make n + 1 gaps, so span = n x width + (n + 1) x gap
  2. smallest n for a 3.8 in gap = ceil((72 - 3.8) / (3.8 + 1.5)) = 13
  3. actual gap = (72 - 13 x 1.5) / 14 = 3.75 in
  4. on centre = 1.5 + 3.75 = 5.25 in
  5. level rail, so spacing along the rail equals the on centre figure
  6. total = 13 x 4 sections = 52

Quick answer

A guard may have no opening that passes a 4 in sphere, and that includes the gaps at each post. With n balusters there are n + 1 gaps, so the count is the smallest n where the span minus the balusters, divided by n + 1, comes out under 4 in. Aim at 3-3/4 in rather than 4 so build tolerance cannot push a gap over.

n = ceil((span - gap) / (gap + baluster width)); actual gap = (span - n x width) / (n + 1)

Worked example

A 72 in clear span between posts, 1-1/2 in square balusters, four identical sections.

Working

  1. n balusters make n + 1 gaps, so span = n x width + (n + 1) x gap
  2. smallest n for a 3.8 in gap = ceil((72 - 3.8) / (3.8 + 1.5)) = 13
  3. actual gap = (72 - 13 x 1.5) / 14 = 3.75 in
  4. on centre = 1.5 + 3.75 = 5.25 in
  5. level rail, so spacing along the rail equals the on centre figure
  6. total = 13 x 4 sections = 52

Thirteen balusters land the gaps at exactly 3-3/4 in, a quarter inch inside the limit. Twelve would give 4-5/32 in, which fails outright. There is no arrangement between the two, which is why the count has to be solved rather than estimated: one baluster is the difference between passing and failing.

Balusters per span, 1-1/2 in stock

Counts for a 3-3/4 in design gap, which keeps a quarter inch of margin against the 4 in limit.

Clear spanBalustersGapOn centre
36 in73-3/16 in4-11/16 in
48 in93-7/16 in4-15/16 in
60 in113-5/8 in5-1/8 in
72 in133-3/4 in5-1/4 in
84 in163-1/2 in5 in
96 in183-5/8 in5-1/8 in
120 in233-9/16 in5-1/16 in

Clear span is post face to post face. Measure every section: rails that look identical are routinely half an inch apart.

At a glance

What it doesSolves baluster count and the exact equal gap for the 4 in sphere rule
Inputs neededClear span, baluster width, design gap, number of sections
Main outputBalusters per section and the resulting gap
Formulan = ceil((span - gap) / (gap + width))
CategoryHome & DIY
CostFree, no sign-up, no download

How to use the Baluster Spacing Calculator

  1. Measure the clear span from post face to post face, and measure every section rather than assuming they match.
  2. Enter the baluster width. Turned balusters are measured at the widest point of the block, not the turning.
  3. Leave the design gap at 3-3/4 in unless you have a reason to go tighter.
  4. Mark out at the on centre figure from a story stick, working from one post, rather than measuring gap by gap.
  5. Check the end gaps at the posts. They are openings in the guard like any other.

Frequently asked questions

How far apart should balusters be?

Close enough that a 4 in sphere cannot pass through any opening, which in practice means gaps of under 4 in everywhere including at the posts. Most builders aim at 3-3/4 in so that normal tolerance does not push a gap over the limit.

Why is it called the 4 inch sphere rule?

Because the code tests openings with a sphere rather than a ruler. It comes from child head entrapment: a gap that a 4 in sphere passes can admit a small child's body, and the head then fails to follow.

How do I work out how many balusters I need?

With n balusters there are n + 1 gaps, since there is a gap at each post as well as between them. Take the span, subtract the total baluster width, divide by n + 1, and increase n until the answer drops below 4 in.

Is the spacing different on stairs?

The gaps between balusters are still held to 4 in, but the triangular opening formed by the tread, riser and bottom rail is allowed a 4-3/8 in sphere. Set the balusters out horizontally and let the raked rail decide where the tops are cut.

Should I measure gaps or centres?

Centres. Measuring each gap in turn accumulates error, and it always lands in the final gap, which is the one against a post where it is most visible. Mark centres from a story stick instead.

Does the gap under the bottom rail count?

Yes. Every opening in the guard is tested, including under the bottom rail and at the posts. A generous gap left under the bottom rail for cleaning is a common failure.

Spacing limits follow the International Residential Code, sections R312.1.3 and R312.1.3.1. Guards are an inspected item and local codes may be stricter, particularly for commercial work, so confirm the requirement before ordering a full set of balusters.

Related calculators