Workspace
The calculator's own fields, action and results arrive with the verified pack when you load it. Nothing is computed in this page.
Count the balusters a guard or handrail run needs: from run length, baluster width and the largest allowed gap, to the spindle count that meets the target.
The calculator's own fields, action and results arrive with the verified pack when you load it. Nothing is computed in this page.
The four-inch figure is anthropometric: an opening a toddler’s torso cannot pass, a toddler cannot slip through. It is the gap that is limited, not the baluster — the wood is just the material that interrupts the opening — which is why the arithmetic divides the run by the repeating unit of one gap plus one baluster, rather than by the baluster alone. That repeating unit is the railing’s true rhythm, and everything else follows from it.
The count is rounded up, always. Rounding down would leave at least one opening wider than the target, and a railing with a single over-wide gap has failed at the one thing the infill is for; a railing with slightly tighter gaps has failed at nothing. The engine takes the ceiling of the division for exactly this reason — installers often add one more for symmetry or pattern, and nothing about that is wrong.
A count is not a spacing plan. Setting out is its own small craft: dividing the leftover air evenly so the end gaps match the field, centring the pattern on the run, keeping spindles plumb as the floor wanders. A gap target is a maximum, so an even set-out that lands every gap a little under it costs nothing but looks deliberate; an uneven one draws the eye the way a mismatched step catches a foot.
The same count serves level runs and raked ones, with one caveat: along a stair, the triangular opening between tread, riser and the sloped lower rail is its own commonly cited check — a six-inch sphere is the figure usually quoted there — and this calculator does not model triangles. Its arithmetic is the straight run between two posts; the stair-specific openings are for the plans and the adopted local code to settle.
What the count deliberately excludes is the structure around it. Newel posts anchor the run and take their own width out of it; the upper and lower rails carry the spindles but are measured on the handrail page that ships in this same signed pack; fixing methods, baluster strength and the loads a guard must resist are structural questions the professionals responsible answer. This page counts infill for one run between posts, and posts are where its authority ends.
The pack’s anchor vector: a 140-inch run between posts, spindles 1.25 inches wide, and the four-inch maximum gap of the commonly cited sphere test.
One number comes back, and it is the minimum count of spindles that keeps every opening in that run at or under the target. Because the division is taken as a ceiling, the real set-out will run slightly tighter than the maximum — the margin is the rounding, made visible in wood.
Widen the baluster and watch the count fall; tighten the gap target and watch it climb. Then split the same run in two with an imagined newel post and count each side: the total shifts, because every post replaces a stretch of infill with structure.
The open distance the infill must fill, in inches, measured post face to post face — not the length of the handrail stock, which continues past the posts. Each separate run between posts gets its own count; summing runs first and counting once misplaces the gaps the posts already close.
The width of one baluster across the run direction, in inches — the face the gap is measured between, not a diagonal across a turned profile. The default reflects a common square spindle; read the true dimension off the product, because the count is sensitive to it in the tightest place: the repeating unit it forms with the gap.
The widest opening the finished run may show, in inches. The default of four mirrors the commonly cited sphere test from residential guard references; a tighter figure yields a denser, more vertical look and a larger count. Treat it as a ceiling to design under, and let the adopted local code say what it must be for the project.
Standard railing-layout arithmetic (gap-limited infill count)
Count as the ceiling of the run length minus one baluster width, divided by the repeating unit of one maximum gap plus one baluster width — the minimum whole number of spindles holding every opening at or under the target.
Quantity reference mirroring the commonly cited residential guard figures, to be verified against the adopted local code and the professionals responsible for the railing — never a code-compliance determination. The signed pack carries its own citation, and the page reports the verification state of the release it mounted.