Spindle Spacing Calculator
Calculate the recommended spacing between your railing spindles for deck or stair railings. Get even uniform spindle spacings that meet building code requirements.
Invalid Input
Please check your input values.
Calculation options
Railing details
Calculation
Evenly-spaced spindles
Centered spindles
Result
No calculation yet
Enter your railing details to calculate spindle spacing.
What are Deck and Stair Spindles?
Spindles, also called balusters, are slender vertical support members used in railings for staircases, decks, terraces, and balconies. They create a see-through barrier that provides safety while maintaining an open, attractive appearance.
These railings serve two main purposes: they guide people along walkways and protect them from accidentally falling off elevated surfaces. But just as important is preventing people, especially children, from passing through the gaps between spindles.
Building codes require a maximum spindle spacing of 4 inches (10 cm). This measurement prevents a small child's head from passing through or getting stuck between spindles, making it a critical safety requirement for any railing project.
Key Terminology
- • Spindle/Baluster: The vertical posts between the handrail and base rail
- • Inside Railing Distance: The actual space between walls or posts where spindles will be installed
- • Spindle Width: The width (or diameter) of your spindle at the measurement point
- • Maximum Allowable Spacing: The largest gap permitted between spindles (typically 4 inches)
Understanding Spacing Options
This calculator offers two different spacing methods, each with its own advantages depending on your aesthetic preferences and installation requirements.
Evenly-Spaced Spindles
With this option, every gap between spindles is exactly the same, including the gaps at the ends near the walls or posts.
- • All gaps are identical throughout
- • Simpler installation process
- • Works well for most standard installations
Centered Spindles
This method centers the spindle layout, creating balanced end spacings that are typically half the size of the gaps between spindles.
- • Visually balanced appearance
- • End gaps are half the middle gaps
- • Professional, symmetrical look
How to Calculate Spindle Spacing
Learning how to manually calculate spindle spacing helps you understand the process and verify calculator results. Let's walk through a complete example to see how it all works.
Step 1: Determine the Inside Railing Distance
The first thing you need to know is the actual working space available for your spindles. This is called the "inside railing distance" - it's the clear space between your existing walls or posts where the spindles will actually be installed.
Example: Imagine you're installing a stair railing that spans from an existing post to a new end post. The total distance from the outer edge of the existing post to the outer edge of the end post is 85 cm. The end post is 10 cm wide. Your inside railing distance would be:
In many cases, you can simply measure directly between two existing walls or posts to get this measurement. This 75 cm is the actual space you'll be working with for the calculation.
Step 2: Calculate the Unit Length
Next, we figure out what we call the "unit length." Think of this as one complete repeating pattern: one spindle plus the maximum space you'll allow between spindles. This tells us how much space each spindle "unit" needs.
Continuing our example: Let's say your spindles are 2 cm wide, and building codes require a maximum spacing of 10 cm. The unit length is:
Unit length = 2 cm + 10 cm = 12 cm
This means each complete unit (one spindle plus one space) takes up 12 cm. This is the building block we'll use to figure out how many spindles fit in our available space.
Step 3: Find How Many Spindles Will Fit
Now we divide the inside railing distance by the unit length to see how many complete units (and therefore spindles) can fit in our space. We always round down to get a whole number.
In our example:
Number of spindles = 75 cm ÷ 12 cm = 6.25
Round down: 6 spindles
We get 6.25, which means 6 complete units fit perfectly, with a bit of extra space left over. By rounding down to 6, we ensure all spindles will fit while leaving us some flexibility to distribute the remaining space evenly.
Step 4: Calculate Evenly-Spaced Spindle Spacing
For evenly-spaced spindles, we want the same spacing between every spindle, including the spaces at both ends. With 6 spindles, we have 7 spaces total (one before the first spindle, five between spindles, and one after the last spindle).
Here's how we calculate it:
- Find the total width of all spindles: 6 spindles × 2 cm = 12 cm
- Subtract from the available space: 75 cm - 12 cm = 63 cm (this is all the spacing combined)
- Divide by the number of spaces: 63 cm ÷ 7 spaces = 9.0 cm spacing
Spacing = (Inside railing distance - (Number of spindles × Spindle width)) ÷ (Number of spindles + 1)
Spacing = (75 cm - (6 × 2 cm)) ÷ (6 + 1)
Spacing = (75 cm - 12 cm) ÷ 7
Spacing = 63 cm ÷ 7 = 9.0 cm
With this method, you install the first spindle 9.0 cm from the starting post, then place each subsequent spindle 9.0 cm away from the previous one. The last spacing will also be 9.0 cm, creating perfectly uniform spacing throughout.
Step 5: Calculate Centered Spindle Spacing
The centered spacing method creates balanced, symmetrical end spacings while maintaining equal spacing between spindles. This method is popular when you want the spindles to appear perfectly centered within the railing.
Calculating centered spacing:
- Find the total width of all spindles: 6 spindles × 2 cm = 12 cm (same as before)
- Calculate remaining space: 75 cm - 12 cm = 63 cm
- Divide by number of spindles (not spaces): 63 cm ÷ 6 = 10.5 cm (this is the spacing between spindles)
- Divide by 2 for end spacing: 10.5 cm ÷ 2 = 5.25 cm (equal spacing at both ends)
Spindle-to-spindle spacing = (Inside railing distance - (Number of spindles × Spindle width)) ÷ Number of spindles
Spindle-to-spindle spacing = (75 cm - 12 cm) ÷ 6 = 10.5 cm
End spacing = Spindle-to-spindle spacing ÷ 2
End spacing = 10.5 cm ÷ 2 = 5.25 cm
With centered spacing, you'll have 5.25 cm at each end, then 10.5 cm between each pair of spindles. This creates a balanced, symmetrical look where the spindles appear perfectly centered within the railing space.
Step 6: Calculate Slanted Spacing for Stair Railings
When installing spindles on stairs, the base rail follows the angle of the stairs rather than being perfectly horizontal. This means the spacing measured along the slanted base rail will be slightly longer than the horizontal spacing we calculated.
Understanding stair pitch: The stair pitch (or angle) is determined by the relationship between the vertical rise and horizontal run of each step. You can calculate it using:
For example, if your riser rise is 18 cm and your effective tread run is 28 cm, the pitch would be arctan(18 ÷ 28) = approximately 32.7 degrees.
Converting to slanted spacing: Once you have the horizontal spacing (9.0 cm in our evenly-spaced example), you can find the spacing measured along the slanted base rail:
Using our example with 32.7° pitch:
Slanted spacing = 9.0 cm ÷ cos(32.7°)
Slanted spacing = 9.0 cm ÷ 0.841
Slanted spacing ≈ 10.7 cm
This slanted measurement is what you'll use when marking spacing directly on the base rail or when working with spindle designs that vary in width along the angle of the stairs.
Quick Reference: Summary of Our Example
Given Measurements:
- • Inside railing distance: 75 cm
- • Spindle width: 2 cm
- • Maximum spacing: 10 cm
Results:
- • Number of spindles: 6
- • Evenly-spaced: 9.0 cm
- • Centered spacing: 10.5 cm between, 5.25 cm ends
Building Code Requirements
Building codes exist to ensure the safety of railing systems, especially to prevent children from slipping through gaps.
| Code Type | Maximum Spacing | Notes |
|---|---|---|
| International Residential Code (IRC) | 4 inches (10.16 cm) | Standard for residential buildings |
| International Building Code (IBC) | 4 inches (10.16 cm) | Commercial and residential applications |
| ADA Guidelines | 4 inches (10.16 cm) | Accessibility compliance |
Important Safety Note
Building inspectors often use a 4-inch ball to test if spindle spacing complies with code. If the ball can pass through any gap, the railing fails inspection. Always verify your local building codes, as some jurisdictions may have stricter requirements.
Frequently Asked Questions
What is the maximum spacing for spindles?
The maximum spacing for spindles is around 4 inches (10 cm). This standard prevents a child's head from getting stuck between spindles. A home inspector may bring a 4-inch ball to check if your spindles are up to code.
How many spindles do I need?
The number of spindles depends on your inside railing distance, spindle width, and maximum allowed spacing. Use the unit length method: divide your inside railing distance by the sum of spindle width plus max spacing, then round down.
What is the difference between evenly-spaced and centered spindles?
Evenly-spaced spindles have identical gaps throughout the entire railing, including at the ends. Centered spindles have the spindle pattern centered, with end gaps that are half the size of the gaps between spindles, creating a more balanced look.
Can spindles be horizontal?
Spindles can be horizontal, but this creates a safety concern since people can use them as a ladder to climb the railings. Check your local building code to see if horizontal spindles are allowed in your area.
What is slanted spindle spacing?
Slanted spindle spacing is the measurement along a slanted surface like a stair base rail, rather than the horizontal measurement. This is useful when installing spindles on stairs with a base rail that follows the stair angle.
Embed Spindle Spacing Calculator
Add our spindle spacing calculator to your website or blog. Help your visitors calculate proper spindle spacing for deck and stair railings with building code compliance.