Skip to content
Free layout planner

Stair Baluster Spacing Calculator & Layout Planner

Enter the stair, post and baluster dimensions once. You get the baluster count, the equal clear opening, center-to-center spacing, every center mark and a cumulative tape-measure schedule you can hand to an installer — plus a printable layout sheet with the elevation drawing.

Baluster layout inputs

Example project
Layout mode

Baluster marks are tape distances measured horizontally, in plan view.

Stair dimensions
in

Horizontal distance the flight covers. Read the reference below before you measure.

in

Floor to floor: the full height the stair climbs.

Treads in the flight. Used for the drawing and the tread reference.

in

Tape the sloped bottom rail between post inside faces. In rail mode this becomes the span.

in

Along the run.

in

Along the run.

Choosing the wrong reference is the most common layout error. Post widths are deducted when you measure outside faces or centers.

Baluster dimensions
in

Actual face width, not nominal. A 2x2 baluster measures 1-1/2 in.

Baluster shape

Both shapes use the same face width for the clear opening; the shape changes the drawing only.

in

Your local limit. 4 in is common for guards but it is not universal, so set your own.

in

Exact opening at each end. Leave blank for equal spacing everywhere.

in

Minimum clear space from each post face. Only binds when equal spacing would crowd an end.

Measurement settings

Inches. Fractions work: 126, 126.5 or 126 1/2

Fractions are reduced. Clear openings are always rounded down, never up.

Applies to inch-based units. Millimeters always show to 0.1 mm.

A sphere test measures the horizontal opening. Choosing "along the rake" applies your limit in that direction instead, which produces a tighter layout.

Every mark in the schedule is a distance from this one point.

Example values: 9-step stair with a 10'-6" run and 5'-3" rise, 3 in posts, 1-1/2 in square balusters, 4 in maximum clear opening.

Balusters required2323 centers to mark
Equal clear opening3 13/16"horizontal (plan), rounded down
Center to center5 5/16"baluster center to baluster center, in plan

Project dimensions

As entered
Layout mode
Stair, measured horizontally (plan view)
Measurement reference
horizontal projection (plan view, tape held level)
Run measured between
post inside faces
Horizontal run
126"
Total rise
63"
Stair steps
9
Riser / tread
7" / 14"
Newel post widths
3" / 3"
Baluster width
1 1/2" square
Maximum clear opening
4" (horizontal)
Baluster shape
Square
Display precision
1/16 in
Measurement datum
Starting post inside face

Layout results

Measured from the starting post face
Baluster quantity
23
Equal clear opening
3 13/16"
post inside face to the nearest baluster face
Center-to-center
5 5/16"
center mark to center mark
First baluster center
4 9/16"
from the starting post face
Last baluster center
121 7/16"
from the starting post face
Stair slope angle
26.57°
rise 63" over run 126"
Riser / tread
7" / 14"
9 steps, from the entered run and rise
Clear span between posts
126"
inside face to inside face
Span along the rail
140 7/8"
126" plan ÷ cos(26.6°)
Baluster width along the rail
1 11/16"
1 1/2" in plan; a vertical baluster occupies more along a rake
Clear opening along the rail
4 1/4"
the same opening measured parallel to the rail, not the code dimension
Center-to-center along the rail
5 15/16"

Stair elevation and baluster centers

Schematic, true scale
Stair railing elevation: 23 balusters over a 126" span Elevation drawing of a 9-step stair with 23 vertical balusters. Clear opening 3 13/16", center to center 5 5/16", slope 26.6 degrees. All positions are measured from the starting post inside face. clear span 126"3 13/16"c/c 5 5/16"slope 26.6° · rise 63"

Legend. The drawing updates with every input; the same numbers appear in the schedule below.

  • Baluster — Vertical baluster at its computed center mark
  • Center mark — Index tick and baluster number at the rail
  • Handrail — Sloping rail, schematic height above the nosing line
  • Newel post — Start and end post, outside face shown
  • Stair — Treads and risers from the run and step count
  • Dimension — Clear span, end gap, and center-to-center pitch

Running measurement schedule

23 marks —

All distances are cumulative from the starting post face, along the horizontal projection (plan view, tape held level). Clear opening 3 13/16"; center to center 5 5/16". The decimal and fractional inch columns repeat the center mark; copy and print always include them.
BalusterLeading EdgeCenter MarkDecimal InchesFractional Inches
13 13/16"4 9/16"4.5634 9/16"
29 1/8"9 7/8"9.8759 7/8"
314 7/16"15 3/16"15.18815 3/16"
419 3/4"20 1/2"20.50020 1/2"
525 1/16"25 13/16"25.81325 13/16"
630 3/8"31 1/8"31.12531 1/8"
735 11/16"36 7/16"36.43836 7/16"
841"41 3/4"41.75041 3/4"
946 5/16"47 1/16"47.06347 1/16"
1051 5/8"52 3/8"52.37552 3/8"
1156 15/16"57 11/16"57.68857 11/16"
1262 1/4"63"63.00063"
1367 9/16"68 5/16"68.31368 5/16"
1472 7/8"73 5/8"73.62573 5/8"
1578 3/16"78 15/16"78.93878 15/16"
1683 1/2"84 1/4"84.25084 1/4"
1788 13/16"89 9/16"89.56389 9/16"
1894 1/8"94 7/8"94.87594 7/8"
1999 7/16"100 3/16"100.188100 3/16"
20104 3/4"105 1/2"105.500105 1/2"
21110 1/16"110 13/16"110.813110 13/16"
22115 3/8"116 1/8"116.125116 1/8"
23120 11/16"121 7/16"121.438121 7/16"

Geometry and measurement assumptions

Read before you mark
  • The schedule is measured horizontally, in plan view, from the starting post inside face - the same distance a tape pulled level on the floor gives you.
  • Balusters are set out in plan, then transferred to the sloped rail with a plumb line. Distances along the rail are longer than plan distances by 1 / cos(slope).
  • The clear-opening limit is applied to the horizontal opening, which is the dimension a code sphere test measures.
  • Slope angle comes from the horizontal run and total rise of the flight, not from the clear span between the posts.
  • Balusters are vertical. A clear opening is measured between the vertical faces of adjacent balusters, never center to center.
  • Baluster width is the face-to-face dimension seen in plan view, so it is also the width that reduces the clear opening.
  • Every position is computed from one fixed datum (the starting post face), never by adding the previous rounded spacing.
  • Results are layout estimates. Local codes, manufacturer instructions and inspection govern the installation.
Layout estimate, not a code ruling. This calculator provides layout estimates based on the dimensions and assumptions entered. It does not replace applicable building codes, manufacturer installation instructions, or professional inspection. Verify all measurements and local requirements before installation.

How to calculate stair baluster spacing

Calculating baluster spacing on stairs is a four-step problem, and none of the steps is “pick a spacing”. Baluster spacing is not one number: it is a count that makes every clear opening come out equal and no larger than the limit you are working to. The count is driven by the span between the posts, the baluster width and that limit — in that order.

  1. Measure the clear span, not the rail length

    Run a tape from the inside face of the starting post to the inside face of the ending post. On a sloped rail that tape is level, so you are measuring the horizontal projection of the baluster run. Write that number down separately from the sloped rail length; they are different lengths by a factor of 1 / cos(slope).

  2. Pick the clear opening limit you must satisfy

    The limit applies to the clear gap between two balusters, measured face to face, not from center to center. Many US residential guard provisions use a 4 in sphere, which is why 4 in is everywhere, but it is not universal: some jurisdictions amend it, commercial work follows other rules, and historic or specialty railings can differ. Set the number your project actually has to meet.

  3. Compute the smallest count that satisfies the limit

    With n balusters there are n + 1 gaps, so the clear opening is (span − n × width) ÷ (n + 1). Solve that for n and round up. The planner does it directly, so the opening it prints is the opening you will actually get, never one rounded up past your limit.

  4. Distribute from one fixed datum

    Baluster 1 sits one clear opening plus half a baluster from the datum. Baluster i sits at datum + gap + width/2 + (i − 1) × (gap + width). Every mark is calculated from the datum, never by adding a rounded gap to the previous mark, so the layout cannot creep.

  5. Transfer the marks to the rail

    Balusters are vertical. If you measured in plan, drop a plumb line from each center mark to the tread and to the rail. If you measured along the rail, the marks are already on the rail but each one is a longer distance from the post than its plan equivalent.

How baluster width affects spacing

The clear opening is what is left after the balusters take their share of the span. A wider baluster eats span twice: each baluster removes its full width from the space available for openings, and each wider baluster also slightly reduces how many gaps are needed.

Use the actual face dimension, not the nominal name. A “2x2” wood baluster is 1-1/2 in square dressed; a 1-1/2 in iron baluster is 1-1/2 in; a 2 in turned baluster may be 2 in at the block and narrower at the belly. The measurement that governs the opening is the widest point of the profile at the height a sphere would try to pass.

clear opening = (span − count × baluster width) ÷ (count + 1) center to center = clear opening + baluster width

Two layouts can share a center-to-center spacing and have completely different clear openings. A 1-1/2 in baluster on 5 in centers leaves 3-1/2 in clear. A 2-1/4 in baluster on the same 5 in centers leaves 2-3/4 in. That is why a plan drawn from center spacing alone is not enough to judge a railing.

Clear gap vs center-to-center spacing

These two numbers get used interchangeably in conversation and that is where most layout mistakes start. The center-to-center distance is a construction convenience: it is the number you set a combination square to, or the number you add on a tape. The clear opening is the code dimension: the widest gap a sphere can pass through.

Center-to-center spacing compared with the clear opening for common baluster widths
Baluster width Center to center Clear opening Meets a 4 in limit?
1-1/2 in 5-1/2 in 4 in Exactly at the limit
1-1/2 in 5-5/16 in 3-13/16 in Yes, with margin
2-1/4 in 5-1/2 in 3-1/4 in Yes
2-1/4 in 7 in 4-3/4 in No

The planner reports both numbers on every screen and in every copy format, and it reports the opening rounded down. If the true opening is 3.999 in and you display in sixteenths, you will see 3-15/16 in, never 4 in.

How to measure stair railing sections

A stair railing section has three different lengths that matter, and they are not interchangeable:

  • Horizontal run. The plan-view distance the flight covers, measured level. This is the length that spaces vertical balusters, because a sphere test happens horizontally.
  • Sloped rail length. The distance along the rake, measured on the bottom rail or stringer. It equals the horizontal run ÷ cos(slope), so a 26° stair is about 12% longer along the rail than in plan.
  • Clear span between posts. The run minus whatever the posts take up. If you measured outside faces, subtract both post widths; if you measured centers, subtract half of each.

Record the post widths along the run, not across it. A 3 in post measured on the diagonal tells you nothing about how much span it consumes. The planner deducts post widths for you when you tell it how the run was measured.

How to use a running tape-measure schedule

The schedule is the part installers actually use. It lists every baluster with a leading edge and a center mark, both measured from the same fixed point, and it includes a running increment so you can hook the tape once and walk up the stair.

  1. Hook the tape on the datum — by default the inside face of the starting post — and do not move it.
  2. Mark each distance in order. Because every number is measured from the datum rather than from the previous baluster, a mark that lands a hair off does not push every later mark off with it.
  3. Mark the leading edge first, then the center. The leading edge is where the baluster face lands; the center is where the fastener or the dowel goes.
  4. On a stair, transfer each plan mark up the rail with a plumb line or a level. Check the last baluster against the end post before you drill anything.

Copy the whole schedule to the clipboard as tab-separated values for a spreadsheet, as plain text for a message, or print the sheet and take it to the shop. The printed sheet includes the drawing, the dimensions, the assumptions and the full table.

Worked calculation example

These are the example values the calculator loads on first visit, worked all the way through. A 9-step stair has a 10′-6″ (126 in) horizontal run and a 5′-3″ (63 in) total rise. The posts are 3 in wide and the run was measured between their inside faces. The balusters are 1-1/2 in square and the clear opening limit is 4 in.

slope angle = atan(63 ÷ 126) = 26.57° baluster count = ceil((126 − 4) ÷ (1.5 + 4)) = ceil(22.18) = 23 clear opening = (126 − 23 × 1.5) ÷ 24 = 3.8125 in = 3-13/16 in center to center = 3.8125 + 1.5 = 5.3125 in = 5-5/16 in first center = 3.8125 + 0.75 = 4.5625 in = 4-9/16 in last center = 126 − 3.8125 − 0.75 = 121.4375 in = 121-7/16 in rail length = 126 ÷ cos(26.57°) = 140.87 in = 140-7/8 in

Notice the last line. Along the rail, the same layout measures 4.26 in between baluster faces and 5.94 in center to center, because every along-rail distance is 11.8% longer than its plan equivalent. The 4 in limit still refers to the horizontal opening of 3-13/16 in; the along-rail numbers are what you read off a tape held on the rail.

Excerpt of the running measurement schedule for the worked example
Baluster Leading edge Center mark Decimal inches Fractional inches
13-13/16 in4-9/16 in4.56254-9/16 in
29-1/8 in9-7/8 in9.87509-7/8 in
314-7/16 in15-3/16 in15.187515-3/16 in
……………
23120-11/16 in121-7/16 in121.4375121-7/16 in

The full 23-row schedule, with the drawing and every assumption, is on the calculator above. Change any dimension and it recalculates immediately.

What this planner does and does not do

It does the geometry: count, equal openings, center marks, leading edges, cumulative schedule, plan-versus-rail conversion, and a drawing you can print. It applies the opening limit you give it and tells you when your inputs cannot satisfy it instead of quietly rounding past it.

It does not decide whether your railing complies with code. Compliance depends on the guard height, the handrail profile and graspability, post attachment, the loading the infill must resist, the presence of a landing or a winder, and the edition and local amendments of the code your inspector enforces. Those are not spacing problems and this tool does not evaluate them.

Frequently asked questions

Is a spindle the same thing as a baluster?

In most of the United States, yes: spindle, picket and baluster all describe the vertical infill piece between the rail and the tread. Some suppliers reserve “spindle” for turned profiles, but the spacing math is identical, because what matters is the width of the piece at the widest point of the profile. If you searched for a stair spindle spacing calculator, this is that calculator — only the label differs.

How far apart should stair balusters be?

Space them so the clear opening between faces stays at or below your limit — commonly 4 in for US residential guards, but confirm what applies to your project. Do not pick a center distance from a table: the same center distance produces different clear openings for different baluster widths.

Is 4 inches a universal baluster spacing rule?

No. It is a common residential guard-opening provision in the United States, and many jurisdictions adopt it, but editions and local amendments vary, commercial and industrial work follows other standards, and some railings have manufacturer instructions that are stricter. The planner lets you enter whatever limit you must meet.

Do I measure along the sloped rail or horizontally?

Both are valid, and the planner supports both. Horizontally (in plan) matches the code dimension, which is horizontal. Along the rail matches how a tape naturally sits on a rake rail and is usually easier to mark. The two numbers differ by 1 / cos(slope), so pick one, state it, and do not mix them.

Why does the count change when I change the baluster width?

Wider balusters consume more of the span, so either the openings must shrink or the count must drop. The planner keeps the largest count that still satisfies your opening limit, so a wider baluster usually means one fewer baluster and a slightly different opening.

How do I get equal spacing at the ends and in the middle?

With n balusters there are n + 1 equal gaps, including the two end gaps, so equal spacing everywhere is the default. If you want a specific end opening instead, enter an end clear opening: the ends are then pinned exactly and the interior gaps are equalized to match.

Can I use this for a level balcony railing?

Yes. Choose the level railing mode and the slope drops out: plan distance and rail distance are the same, and the drawing switches to a flat railing elevation.

Does the printed sheet work as a shop drawing?

It prints a clear, dimensioned installation sheet with the elevation, the full schedule and the assumptions, which is enough to build from if your measurements are right. It is not a sealed drawing and it does not certify code compliance.

Where does the measurement datum come from?

By default the inside face of the starting post, because that is a face you can physically hook a tape on. You can switch to the outside face if that is easier to reference on your job; every number shifts by the post width.

Keep reading

Important. This calculator provides layout estimates based on the dimensions and assumptions entered. It does not replace applicable building codes, manufacturer installation instructions, or professional inspection. Verify all measurements and local requirements before installation.