Job calculator
Deck railing calculator
Enter the length of railing. Post spacing, baluster size and the gap between balusters are under Advanced.
Measurements
Example values. Replace them with yours.
Read as 40 ft 0 in
ft-in
Type it the way the tape reads: 10' 6-1/2", 126" or 3.2 m.
Buy list
40 ft 0 in of railing, 3 ft 0 in high
- 8posts3-1/2 in square
- 14railsat least 5 ft 8-9/16 in long
- 91balusters1-1/2 in square, about 3 ft 0 in long
- 364screwstwo at each end of each baluster
Estimate only, not engineering advice. Values marked Example are not recommendations: adjust them to your local building code, permit requirements and the products you buy.
The working
- Sections, rounded up40 ft ÷ 6 ft = 6.67 → 7 sections
- Posts7 sections + 1 = 8 posts
- Clear space in a section480 in ÷ 7 − 3.5 in = 65.071 in
- Balusters per section, rounded up(65.071 in − 3.5 in) ÷ (1.5 in + 3.5 in) = 12.31 → 13 balusters
- Balusters7 sections × 13 = 91 balusters
- Rails, top and bottom7 sections × 2 = 14 rails
- Screws91 balusters × 2 ends × 2 = 364 screws
Assumptions and sources
| Figure | Used | Source | Pulled |
|---|---|---|---|
| OpeningsMust not let a 4 in sphere through. The gap you set is checked against it. | Less than 4 in | American Wood Council, DCA 6: Prescriptive Residential Wood Deck Construction Guide, 2015 IRC version (April 2018) | 2026-11-17 |
| Post spacingSet by your local code and the railing you buy. | 6 ft 0 in | Example value, change it under Advanced as per design requirements. | |
| Post width | 3-1/2 in | Example value, change it under Advanced as per design requirements. | |
| Baluster width | 1-1/2 in | Example value, change it under Advanced as per design requirements. | |
| Gap between balusters | 3-1/2 in | Example value, change it under Advanced as per design requirements. | |
| Railing heightSet by your local code. | 3 ft 0 in | Example value, change it under Advanced as per design requirements. |