How far apart can deck balusters be?
Under 2021 IRC Section R312.1.3 a required guard may not have an opening that lets a 4 in sphere through, from the walking surface up to the required guard height. A sphere just fits through a gap of its own width, so this tool treats a gap of exactly 4 in as a fail: the clear gap between balusters has to be less than 4 in. The limit is on the clear gap, not the centre-to-centre spacing. States and cities can amend it.
How many balusters do I need for a 6 ft section?
For a level section that measures 72 in between the inside faces of the posts, with balusters 1 1/2 in wide, 13: they leave 14 equal gaps of 3 3/4 in, counting the gap at each post. On paper the count is the smallest number n for which (distance between posts − n × baluster width) ÷ (n + 1) is less than 4 in. This tool then uses one more than the fewest on paper whenever the paper gap would be within 1/16 in of the limit, because two tape marks can open a gap by that much. That happens on about one section in four; for 47 3/4 in between posts the fewest on paper is 8 and the tool uses 9.
Do the gaps at the posts count?
Yes. The opening between a post and the first or last baluster is an opening in the guard like any other. For 48 in between posts and 1 1/2 in balusters, 8 balusters leave 9 gaps of 4 in, which is at the limit, so it takes 9. This tool spaces the balusters so the two end gaps are the same as all the others.
Is the baluster spacing different on stairs?
The 2021 IRC tests the guard on the open side of a stair with a 4 3/8 in sphere instead of a 4 in one (R312.1.3 Exception 2). This tool does not lay out balusters on a stair: between plumb balusters on a sloped rail the gap depends on the exact slope of the stair, so a small error in measuring the slope changes the gap. The layout here is for level runs, and a landing is a level run. The guard height check on this page does cover a stair guard.
When does a deck need a guard, and how high?
Under 2021 IRC Section R312.1.1 a guard is required where the walking surface is more than 30 in above the floor or ground below, measured at any point within 36 in out from the open edge. A required guard is at least 36 in high above the walking surface, or 34 in above the line of the tread nosings on the open side of a stair, and 34 in to 38 in there if its top serves as the handrail. Some states and cities ask for more.