... LIVE
in
Total linear inches of railing (12 ft = 144 in)
Enter railing length
in
Actual width of each baluster (1.5" for standard 2x2)
Enter baluster width
in
IRC code requires max 4" gap (no sphere larger than 4" can pass through)
in
Width of each end post (typically 3.5" for 4×4)
#
Balusters Needed
🏗️ IRC Code Reminder: International Residential Code (IRC) requires balusters be spaced so a 4-inch sphere cannot pass through. For stair railings, balusters must prevent a 4-3/8" sphere from passing through the triangular opening at the stair tread.
Was this calculator helpful?

How to Calculate the Number of Balusters Needed

The number of balusters (spindles) needed for a deck or stair railing depends on three key measurements: total railing length, baluster width, and maximum allowable gap. Building codes (IRC and most local codes) require that balusters be spaced no more than 4 inches apart — meaning no sphere larger than 4 inches in diameter can pass through.

Baluster Calculation Formula
Number of Balusters = ⌈ (Railing Length − Posts Width) ÷ (Baluster Width + Gap) ⌉
Where Gap ≤ 4 inches per IRC building code
Example: 144" railing − 7" posts = 137" usable ÷ (1.5" baluster + 4" gap) = 137 ÷ 5.5 = 24.9 → 25 balusters
Actual gap = (137 − 25 × 1.5) ÷ 26 = 3.94" ✅ (under 4")

Baluster Spacing by Type

💡 Material Cost Estimates: Wood balusters: $1–$4 each | Aluminum balusters: $3–$8 each | Wrought iron balusters: $5–$15 each | Cable railing per run: $50–$150. Always add 10% waste to your order quantity.
Popular Calculators
Related Calculators
Frequently Asked Questions
How far apart should balusters be spaced? +
Per the International Residential Code (IRC), balusters must be spaced so a 4-inch sphere cannot pass through the opening. This is a child safety requirement. Most contractors target 3.5"–3.75" clear gap between balusters to provide a comfortable code safety margin. On-center spacing (baluster center to baluster center) depends on baluster width — for a 1.5" baluster: 1.5 + 3.75 = 5.25" on-center.
How many balusters do I need per linear foot? +
For standard 1.5" wide balusters with a 4" max gap (5.5" on-center spacing), you need approximately 2.18 balusters per linear foot. For 12 feet of railing: 12 × 12 ÷ 5.5 ≈ 26 balusters. This varies with baluster width — thicker balusters (2.25" square metal) give approximately 1.9 per linear foot. Use our calculator above for an exact count based on your specific dimensions.
What is the difference between a baluster and a spindle? +
Baluster and spindle are used interchangeably in residential construction. Both refer to the vertical posts between the top and bottom rail of a railing system. Baluster is the more formal/architectural term; spindle is commonly used in everyday conversation. Newel posts are the larger, structural posts at the top and bottom of stairs or at corners of a railing run — they are not balusters.
Does railing height affect baluster count? +
Railing height affects baluster length (how tall each baluster needs to be), but NOT the count per linear foot — count is determined by railing length and spacing only. IRC requires: deck/porch railings ≥ 36" for decks under 30" high, ≥ 42" for decks 30"+ high; stair railings between 34"–38" measured vertically from tread nosing. Baluster length = railing height minus top and bottom rail thickness.
Can I use horizontal balusters instead of vertical? +
Horizontal balusters (cable railing, horizontal bar railing) are allowed by code in many jurisdictions but have additional restrictions. The main concern is climbability — horizontal members can act as a ladder for children. Some codes prohibit horizontal members between 2" and 34" height for residential use. Cable railing must maintain ≤ 4" spacing and must maintain cable tension to prevent deflection that could create a larger gap.
How much do balusters cost installed? +
Installed baluster costs: Wood (pressure-treated/cedar) $2–$5 each installed; Aluminum balusters $8–$15 each installed; Wrought iron/steel $12–$25 each installed; Cable railing $100–$200 per linear foot installed (professional). Labor typically adds $3–$8 per baluster for wood/metal. A typical 12-foot deck rail section with 26 balusters might cost $200–$400 for wood, $400–$700 for aluminum, fully installed.