Spindle Spacing Calculator

Spindle Spacing Calculator

Leading AI Skill PRO

Enter Calculation

Formula

Gap=Total Run−Spindles×Spindle WidthSpindles+1\text{Gap} = \frac{\text{Total Run} - \text{Spindles} \times \text{Spindle Width}}{\text{Spindles} + 1}

Example

Gap=1000−10×4010+1≈54.55\text{Gap} = \frac{1000 - 10 \times 40}{10 + 1} \approx 54.55
Show calculation steps (1)
  1. Center-to-Center Spacing

    Center-to-Center=Gap+Spindle Width\text{Center-to-Center} = \text{Gap} + \text{Spindle Width}

    Center-to-center distance = Gap + Spindle width

Usage stats

Advertisement

Results

Gap Between Spindles
54.55
mm per gap
Number of gaps 11
Total spindle width 400 mm
Center-to-center spacing 94.55 mm

Report an error on this page

What Is the Spindle Spacing Calculator?

This tool helps you lay out spindles, balusters, pickets, or fence posts evenly along a railing or deck run. Given the total run length, the number of spindles you want, and the width of each spindle, it returns the exact gap to leave between them so everything ends up symmetrical with equal spaces at both ends.

How to Use It

Enter three values: the total run length (the clear distance the spindles must fill), the number of spindles, and the width of a single spindle. Use any consistent unit — millimetres are assumed here, but inches work the same way. The calculator shows the gap per opening, the number of gaps, the combined spindle width, and the centre-to-centre spacing for marking out.

The Formula Explained

Placing n spindles in a run creates n + 1 gaps (one at each end plus the spaces between). First subtract the total width occupied by spindles (n \(\times\) spindle width) from the run, then divide the remaining space equally among the n + 1 gaps:

$$\text{Gap} = \frac{\text{Total Run} - n \times \text{Spindle Width}}{n + 1}$$

Advertisement
Railing run with evenly spaced spindles showing equal gaps, spindle width, and total run length
Gaps (g) are equal on both ends and between each spindle; the run length L and spindle width w determine the spacing.

Worked Example

Suppose a railing run is 1000 mm, you want 10 spindles, and each spindle is 40 mm wide. The spindles use \(10 \times 40 = 400\) mm. That leaves 600 mm spread across 11 gaps: \(600 \div 11 \approx 54.55\) mm per gap. Centre-to-centre spacing is \(54.55 + 40 = 94.55\) mm.

Practical Layout and Installation Tips

  1. Add spindles if the gap is too big. If the calculated gap is over the code limit (4 in or 100 mm in the US model codes), increase the spindle count by one and recalculate. Repeat until the gap is safely under the limit. Leave a little margin for installation error rather than aiming for exactly 100 mm.
  2. Round the marked spacing sensibly. The centre-to-centre spacing is the gap plus one spindle width. Round it to a measurable value, such as the nearest 1 mm or 1/16 in, and check the cumulative total against the run length. Any leftover difference should be small and can be split between the two end gaps.
  3. Cut a spacer block. Cut a block of scrap equal to the gap. Place it between spindles to set each one quickly and consistently, with no repeated tape measuring.
  4. Dry-fit before fixing. Lay out all the spindles between the rails without glue or fasteners. Check the gaps and the overall appearance, then adjust before fixing anything permanently.
  5. Allow for stair rake. On a stair, measure the run along the slope of the rail, not horizontally. Use that sloped length as the total run. Check the 4 in sphere against the actual opening, particularly where the rail meets the tread.
Advertisement

Spindle Count Comparison for a 1000 mm Run

The table uses \(\text{Gap} = \frac{1000 - n \times w}{n + 1}\) and \(\text{Centre-to-centre} = \text{Gap} + w\), with the run and widths in mm. The last row shows a narrower 20 mm spindle.

Spindle count (n) Spindle width (mm) Total spindle width (mm) Gap (mm) Centre-to-centre (mm) Gap under 100 mm?
8 40 320 75.56 (680 ÷ 9) 115.56 Yes
10 40 400 54.55 (600 ÷ 11) 94.55 Yes
12 40 480 40.00 (520 ÷ 13) 80.00 Yes
14 40 560 29.33 (440 ÷ 15) 69.33 Yes
8 20 160 93.33 (840 ÷ 9) 113.33 Yes

With 40 mm spindles, 8 spindles already pass the 100 mm limit, and adding more makes the layout denser. The 20 mm example shows that thinner spindles leave larger gaps for the same count: 93.33 mm is under the limit but with little margin. These figures are for a straight, level run; adjust for slope on stairs.

FAQ

Why n + 1 gaps instead of n − 1? Because this layout leaves an equal margin at both ends of the run, which looks balanced. If your spindles butt against posts and you only want gaps between spindles, divide by (n − 1) instead.

What about building codes? Many codes require the gap to be small enough that a 100 mm (4 inch) sphere cannot pass through. Check your local regulation and increase the spindle count if your gap is too large.

Can I use inches? Yes — enter all dimensions in inches and the gap will be returned in inches.

Last updated:

Most popular in Industry-Specific

View all Industry-Specific calculators