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.
Stair Baluster Installation Layout
horizontal projection (plan view, tape held level)
Project dimensions
- 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
- 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
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
| Baluster | Leading Edge | Center Mark | Decimal Inches | Fractional Inches |
|---|---|---|---|---|
| 1 | 3 13/16" | 4 9/16" | 4.563 | 4 9/16" |
| 2 | 9 1/8" | 9 7/8" | 9.875 | 9 7/8" |
| 3 | 14 7/16" | 15 3/16" | 15.188 | 15 3/16" |
| 4 | 19 3/4" | 20 1/2" | 20.500 | 20 1/2" |
| 5 | 25 1/16" | 25 13/16" | 25.813 | 25 13/16" |
| 6 | 30 3/8" | 31 1/8" | 31.125 | 31 1/8" |
| 7 | 35 11/16" | 36 7/16" | 36.438 | 36 7/16" |
| 8 | 41" | 41 3/4" | 41.750 | 41 3/4" |
| 9 | 46 5/16" | 47 1/16" | 47.063 | 47 1/16" |
| 10 | 51 5/8" | 52 3/8" | 52.375 | 52 3/8" |
| 11 | 56 15/16" | 57 11/16" | 57.688 | 57 11/16" |
| 12 | 62 1/4" | 63" | 63.000 | 63" |
| 13 | 67 9/16" | 68 5/16" | 68.313 | 68 5/16" |
| 14 | 72 7/8" | 73 5/8" | 73.625 | 73 5/8" |
| 15 | 78 3/16" | 78 15/16" | 78.938 | 78 15/16" |
| 16 | 83 1/2" | 84 1/4" | 84.250 | 84 1/4" |
| 17 | 88 13/16" | 89 9/16" | 89.563 | 89 9/16" |
| 18 | 94 1/8" | 94 7/8" | 94.875 | 94 7/8" |
| 19 | 99 7/16" | 100 3/16" | 100.188 | 100 3/16" |
| 20 | 104 3/4" | 105 1/2" | 105.500 | 105 1/2" |
| 21 | 110 1/16" | 110 13/16" | 110.813 | 110 13/16" |
| 22 | 115 3/8" | 116 1/8" | 116.125 | 116 1/8" |
| 23 | 120 11/16" | 121 7/16" | 121.438 | 121 7/16" |
Geometry and measurement assumptions
- 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.
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.
-
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).
-
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.
-
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.
-
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.
-
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.
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.
| 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.
- Hook the tape on the datum — by default the inside face of the starting post — and do not move it.
- 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.
- 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.
- 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.
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.
| Baluster | Leading edge | Center mark | Decimal inches | Fractional inches |
|---|---|---|---|---|
| 1 | 3-13/16 in | 4-9/16 in | 4.5625 | 4-9/16 in |
| 2 | 9-1/8 in | 9-7/8 in | 9.8750 | 9-7/8 in |
| 3 | 14-7/16 in | 15-3/16 in | 15.1875 | 15-3/16 in |
| … | … | … | … | … |
| 23 | 120-11/16 in | 121-7/16 in | 121.4375 | 121-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
- How to calculate stair baluster spacing step by step — a full walkthrough with a measured example and the mistakes that cost the most time.
- The baluster spacing formula explained — every variable, the assumptions behind it, and what changes on a stair.
- How many balusters do I need — counts for common spans from 4 to 16 ft, and how many spares to buy.
- Baluster spacing by baluster size — the maximum centers for 1/2 in through 3 in balusters.
- The 4-inch sphere rule — what the opening limit actually measures, and when it is not 4 in.