Baluster spacing calculator
Open Baluster spacing calculator on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.
Tool capabilities
{
"id": "baluster-spacing-calculator",
"category": "calculators",
"built": true,
"requirements": "Use the clear opening between the inner faces of the posts, the actual width of each baluster, and your required maximum clear gap. All three measurements use the selected unit. End gaps and internal gaps are equal. Up to 10,000 whole-width balusters and six decimal places per dimension are supported. Some width and gap combinations cannot fit. This tool lays out a straight opening; it does not determine local building-code requirements, structural strength or sloped-stair geometry. Changing units keeps the entered numbers.",
"implementation": {
"fields": [
{
"key": "opening",
"label": "Clear opening",
"value": 1000,
"type": "number",
"min": 1e-06,
"max": 1000000,
"step": "any"
},
{
"key": "width",
"label": "Baluster width",
"value": 40,
"type": "number",
"min": 1e-06,
"max": 1000000,
"step": "any"
},
{
"key": "maxGap",
"label": "Maximum clear gap",
"value": 100,
"type": "number",
"min": 1e-06,
"max": 1000000,
"step": "any"
},
{
"key": "unit",
"label": "Measurement unit",
"value": "mm",
"type": "select",
"values": [
"mm",
"cm",
"m",
"in",
"ft"
]
}
],
"input": false,
"live": true,
"presentation": "metrics",
"note": "Measure the clear opening between posts and the actual baluster width. All lengths use the selected unit. End gaps and internal gaps are equal. Positions are measured from the opening’s left edge. Enter the maximum gap required for your project; this calculator does not determine building-code requirements. Changing units keeps the entered numbers.",
"experience": {
"automatic": true,
"single": false,
"inputMaxLength": 1000000,
"inputMode": "text",
"label": "Your text",
"placeholder": "Type or paste your input…",
"help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
"helpParts": [
"Change the input or settings to update your result.",
"Results update as you type.",
"Up to 1,000,000 characters."
],
"action": null
},
"mode": "automatic",
"interactive": false
},
"execution": "Browser interface",
"api": null,
"browser_agent": {
"supported": true,
"name": "run_current_tool",
"discovery": "WebMCP on the human page in a supporting browser",
"verification": "See audit/API-AUDIT.md; availability is not verification"
}
}Page guide
Find the minimum number of balusters and equal gaps for your opening. Download every edge and center position to mark out the layout.
How to use Baluster spacing calculator
- Measure the clear opening between posts and the width of one baluster.
- Enter the maximum clear gap for your project and choose the shared measurement unit.
- Read the baluster count and equal gap. Download the marking positions as CSV or the complete layout as JSON.
Useful next steps
Measure the opening, not the whole rail
Measure between the inside faces of the end posts. The layout includes one equal gap at each end and equal gaps between the balusters.
Mark every position from one end
The position table gives left edges, centers and right edges measured from the left edge of the clear opening. Use one reference end to avoid accumulating rounded gaps.
Use the gap your project requires
For a 1,000 mm opening, 40 mm balusters and a maximum 100 mm gap, seven balusters leave eight 90 mm gaps. The calculator uses the gap you enter; it does not select a compliant gap for your location.