Home › Calculators › Baluster Spacing Calculator

Baluster Spacing Calculator

Space balusters (spindles) evenly and stay within the 4-inch rule. Enter the rail length between posts, the baluster width and the largest gap allowed to get how many balusters you need, the exact gap and on-center spacing, and a list of layout marks.

Last updated:

Units
in

Inside face to inside face of the posts

cm

Inside face to inside face of the posts

in

2×2 wood = 1.5 in; square metal 0.75 in

cm
in

Most codes: a 4 in sphere must not pass between balusters

cm

4 in ≈ 10.2 cm; many codes use 10 cm

Enter your values to see the result.
Advertisement
Advertisement

How to use the Baluster Spacing Calculator

  1. Measure the rail length between the inside faces of the posts.
  2. Enter the baluster width (1.5 in for 2×2 wood, 0.75 in for most metal).
  3. Set the maximum gap: 4 in under most codes, or a little less to be safe.
  4. Read the number of balusters and the exact gap, then cut a spacer block to that gap or use the layout marks.

Baluster spacing formula

  • Number of balusters: n = ⌊(L − g) ÷ (w + g)⌋ + 1 (the fewest that keep every gap under g)
  • Exact gap: gap = (L − n × w) ÷ (n + 1)
  • On-center spacing = gap + w

L is the rail length between posts, w the baluster width and g the gap limit. Example: 72 in rail, 1.5 in balusters, gaps under 4 in: n = ⌊68 ÷ 5.5⌋ + 1 = ⌊12.36⌋ + 1 = 13 balusters, gap = (72 − 19.5) ÷ 14 = 3.75 in, on center 5.25 in.

Balusters per section (gaps under 4 in)

Rail length1.5 in wood (count / gap)0.75 in metal (count / gap)
36 in6 / 3 7/8 in7 / 3 7/8 in
48 in9 / 3 7/16 in10 / 3 11/16 in
60 in11 / 3 5/8 in12 / 3 15/16 in
72 in13 / 3 3/4 in15 / 3 13/16 in
84 in15 / 3 7/8 in17 / 3 15/16 in
96 in17 / 3 15/16 in20 / 3 7/8 in

Installation tips

  • Cut a spacer block to the exact gap and use it between each baluster instead of measuring every time.
  • Start with a baluster centered in the section if you prefer, but then recheck the end gaps.
  • Measure each section separately: posts are rarely exactly the same distance apart.

Frequently asked questions

How do you calculate baluster spacing?

Add the baluster width to the maximum gap, divide the rail length minus one gap by that sum, take the whole-number part and add 1 so every gap stays under the limit: n = ⌊(L − g) ÷ (w + g)⌋ + 1. Then the exact gap is (L − n × w) ÷ (n + 1), so the spaces next to the posts match the spaces between balusters.

What is the 4-inch baluster rule?

The International Residential Code requires that a 4-inch diameter sphere cannot pass through any opening in a guard, which in practice means gaps of less than 4 inches between balusters (the triangle under stair rails allows 6 inches). Check your local code, and aim for about 3.5–3.75 in because wood can shrink and bow.

How many balusters do I need for an 8 ft section?

For about 93 in between posts with 1.5 in wide balusters and a 4 in maximum gap you need 17 balusters with gaps of 3 3/4 in. With 0.75 in metal balusters you need 19 balusters with gaps of about 3 15/16 in.

How many balusters per foot?

With 2×2 wood balusters and gaps just under 4 in, plan on roughly 2.2 balusters per linear foot of railing. With 3/4 in metal balusters it is about 2.5 per foot. Use the calculator for the exact count per section.

Should the gap at the posts be the same as between balusters?

Yes, for an even look the first and last gaps (next to the posts) should equal the gaps between balusters. The formula divides the leftover space into n + 1 equal gaps, which does exactly that.

Does this work for stair railings?

For stairs, the 4-inch rule is measured perpendicular to the balusters, so use the horizontal distance between posts with the same width and gap; the layout along the rake will be slightly longer. Many builders use two or three balusters per tread instead.

Is my data sent anywhere?

No. Everything is calculated in your browser.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Deck CalculatorDeck boards, joists, posts, screws and total cost from your deck size.Stair CalculatorFind riser height, tread run, stringer length and angle, with IRC code checks.Fence CalculatorWork out fence posts, rails, pickets and concrete bags for any fence length.Deck Stain CalculatorGallons of deck stain or sealer for the floor, railing and stairs, by coats and wood condition.Square Footage CalculatorTotal sq ft and m² for rooms of any shape, with cost estimate.Concrete CalculatorEstimate concrete volume, bags and cost.Paint CalculatorHow much paint for a room, minus doors and windows, in gallons or liters.Tile CalculatorHow many tiles and boxes you need for a floor or wall, with waste.Flooring CalculatorWork out flooring area, boxes needed and cost with waste allowance.Drywall CalculatorCount drywall sheets, screws, joint compound and tape for walls and ceilings.Brick CalculatorEstimate bricks, mortar volume and mortar bags for a wall, minus openings.Wallpaper CalculatorWork out how many rolls of wallpaper you need, with pattern repeat and waste.Board Foot CalculatorAdd up board feet and lumber cost for any list of boards, nominal or actual size.Insulation CalculatorFind the R-value to add for your climate zone and how many batts or blown-in bags to buy.Rain Gutter CalculatorSize gutters and downspouts from roof area, roof pitch and local rainfall intensity.Moving Cost CalculatorCompare DIY truck, full-service movers and container costs, with truck size and packing estimates.Concrete Block CalculatorCount concrete blocks (CMU) for a wall, minus doors and windows, plus mortar bags.Roof Pitch CalculatorConvert rise and run or an angle to roof pitch x/12, degrees, slope % and rafter multiplier.TV Size CalculatorFind a TV or monitor's width, height and area from its diagonal and compare two screens.TV Viewing Distance CalculatorBest seating distance for your TV size and resolution (SMPTE, THX, 4K), or the best TV size.Price per Square Foot CalculatorFind price per sq ft or m², total price or area, and compare several homes by value.House Flipping CalculatorFix-and-flip profit, ROI and 70% rule max offer from purchase, rehab, holding and sale costs.Stud CalculatorCount wall studs and plates from wall length, spacing, corners and openings.Carpet CalculatorCarpet for your rooms in sq ft and sq yd from a 12 or 15 ft roll, with padding and cost.Baseboard CalculatorLinear feet of baseboard and number of pieces for your rooms, minus doorways.Grout CalculatorGrout in kg, lb and bags from tile size, joint width, depth and area.Asphalt CalculatorTons of asphalt from area and thickness at 145 lb/ft³, with volume and cost.Sand CalculatorSand in cubic yards, m³, tons and bags for any area and depth.Siding CalculatorSiding squares, panels and J-channel from walls and gables minus doors and windows.Concrete Steps CalculatorConcrete volume and bags for poured steps from step count, rise, run, width and landing.Caulk CalculatorCaulk volume and number of 10.1 oz cartridges or squeeze tubes from joint length and size.Ceiling Fan Size CalculatorCeiling fan blade span, downrod length and minimum airflow (CFM) for any room.Concrete Mix Ratio CalculatorCement bags, sand, gravel and water for any concrete mix ratio (1:2:3, 1:2:4, M15, M20).Curtain Size CalculatorCurtain length, panel width and number of panels from your window size and fullness.Dehumidifier Size CalculatorPints-per-day dehumidifier capacity for your room size and dampness, old and new ratings.Epoxy Resin CalculatorEpoxy volume for river tables, countertops, floors and coasters, with resin:hardener split.Fence Post Concrete CalculatorConcrete volume and number of 40, 50, 60 or 80 lb bags for fence post holes.Heating Cost CalculatorYearly heating cost for gas, propane, oil, electric, heat pump and wood pellets compared.SEER Savings CalculatorAnnual savings and payback from upgrading to a higher SEER or SEER2 air conditioner.Self-Leveling Concrete CalculatorBags of self-leveling underlayment, mixing water and primer from floor area and depth.Septic Tank Size CalculatorRecommended septic tank gallons and drain field size from bedrooms and occupants.Spiral Staircase CalculatorPlan a spiral stair: treads, riser height, tread angle, walkline depth and headroom checks.Spray Foam CalculatorBoard feet of open or closed-cell spray foam, kits needed, R-value and cost from area and depth.Stair Carpet CalculatorCarpet for stairs in square and linear yards, or stair runner length, from steps and landings.Stucco CalculatorStucco volume, bags of mix, lath sheets and sand from wall area, coats and thickness.Thinset CalculatorBags of thinset mortar from tile area and trowel notch size, with back-buttering allowance.Wainscoting CalculatorBox layout, panels, rails, stiles, beadboard sheets and cap trim linear feet for any room.Water Softener Size CalculatorDaily grains and the right water softener capacity from hardness, iron and household size.Home Appreciation CalculatorProject home value by year from a growth rate or find the rate from today's value, with equity.Home Maintenance Cost CalculatorYearly and monthly home upkeep budget using the 1% rule, cost per sq ft or home age.Joist Span CalculatorMaximum floor or deck joist span for any lumber size, spacing, species, grade and load.Linear Feet CalculatorAdd up lengths or convert square feet to linear feet by board width, with boards and cost.Lumens CalculatorLumens a room needs from foot-candle targets, plus bulb count and watts-to-lumens equivalents.Mortar CalculatorMortar volume and bags for brick or block walls from wall area, unit size and joint thickness.Moving Box CalculatorEstimate how many small, medium and large moving boxes, tape and packing paper you need.Picture Hanging Height CalculatorExact nail height for a frame at 57 in eye level or above furniture, plus gallery spacing.Plywood Sheet CalculatorHow many 4x8 plywood or OSB sheets you need for a floor, wall or roof, with waste and cost.Quilt Size CalculatorQuilt dimensions, blocks across and down, backing yardage and batting for any bed size.Rafter Length CalculatorRafter length, run, rise, plumb and seat cut angles from span, roof pitch and overhang.Recessed Lighting Layout CalculatorNumber of can lights, spacing and wall offset for a room, with a scaled ceiling grid plan.Home Sale Proceeds CalculatorEstimate the cash you keep after selling a home: commission, closing costs, taxes and payoff.Shiplap CalculatorBoards, linear feet, rows and nails for a shiplap wall, minus doors and windows.Tankless Water Heater Size CalculatorPeak GPM, temperature rise and the BTU or kW size a tankless water heater needs.TV Mounting Height CalculatorIdeal TV center and wall bracket height from screen size, eye height and seating distance.Water Heater Size CalculatorRecommended tank size and first-hour rating from household size and peak-hour hot water use.Household Water Usage CalculatorGallons and liters your household uses per day, month and year by activity, plus the cost.AC Running Cost CalculatorFind what your air conditioner costs to run per hour, day and month from BTU, SEER and your rate.Balloon Garland CalculatorHow many balloons for a garland or arch: counts by size and color, packs, helium and build time.
See all 99 Home & Construction Calculators →