Deck Railing Calculator

Units

All the edges that get a guard, added up.

Straight runs, each with a post at both ends.

A guard is required above 30 in.

The most you want; openings must stay under 4 in.

Your materials

Results update as you type.

Posts
10 posts
4 × 4
Balusters
88 balusters
2 × 2, 3.26 in gaps
Rail cap
40 linear ft
2 × 6 or 5/4

How it adds up

  1. Posts 10 posts

    Each section is 240 in: ÷ 72 in maximum spacing = 3.33, rounded up to 4 bays, so 5 posts 5 × 2 sections = 10

  2. Balusters 88 balusters

    Bay between posts: (240 in − 5 × 3.5 in) ÷ 4 = 55.63 in (55.63 in − 3.5 in) ÷ (1.5 in + 3.5 in) = 10.43, rounded up to 11 per bay, leaving 3.26 in gaps 11 × 8 bays = 88

  3. Rails 16 rails

    A top and a bottom rail in each of 8 bays = 16, 74.17 ft in all

  4. Rail cap 40 linear ft

    One cap along the whole 40 ft run

  5. Screws 270 screws

    Rails: 16 × 2 ends × 2 #8 screws = 64 Cap: 10 posts × 3 #12 screws = 30 Balusters: 88 × 2 #8 screws (one top, one bottom) = 176 Posts: 10 × 2 half-inch through-bolts with washers = 20

  6. Code checks Pass

    The deck is 36 in above grade, over 30 in, so a guard is required. Openings of 3.26 in will not pass a 4 in sphere. Guard height: 36 in minimum, measured from the deck surface.

Estimates only. Results come from the formulas on the full page and use no outside data. Check local building codes and your supplier before buying.

Free calculator by DeckTally, with the formulas, sources and FAQ on the full page.