In short
- This barndominium deck guard and baluster calculator answers two IRC 2021 questions: is a guard required, and how many balusters go in each section between posts?
- A guard is required when the drop is over 30 in and must be at least 36 in tall (34 in on the open side of a stair).
- A 4 in sphere must not pass through any gap (4 3/8 in on the open side of a stair).
- Example: a 72 in opening with 1.5 in balusters needs 13 per section, with 3.75 in gaps.
On this page
This barndominium deck guard and baluster calculator is for Tyler and Smith County owners planning a deck or porch beside a barndominium who want to know what to ask the builder for. Enter the drop, the guard height, the opening between posts and the baluster width; it says whether a guard is required, how many balusters go in each section and how many you need in all. It sits beside our deck beam span calculator, our post footing size calculator and our Smith County permits guide.
En español: calculadora de barandal y balaustres para terraza
Checks
Same opening, other baluster widths
| Width | Per section | Gap |
|---|
Same opening, by sphere limit
| Where | Per section | Gap |
|---|
Example: a flat deck edge with a 42 in drop, a 36 in guard, a 72 in opening between posts, 1.5 in wide balusters and 5 equal sections.
How the guard check works
- See whether a guard is required.
IRC 2021 R312.1.1 requires one when the drop is over 30 in within 36 in of the edge. Example: a 42 in drop, required.
- Check the height.
At least 36 in above the walking surface (R312.1.2), or 34 in on the open side of a stair.
- Space the balusters.
With n balusters there are n + 1 equal gaps. We find the smallest n that keeps every gap under 4 in. Example: (72 - 13 x 1.5) / 14 = 3.75 in.
- Test one fewer.
With 12, the gaps come to 4.15 in ((72 - 18) / 13), and a 4 in sphere passes. A gap of exactly 4 in fails too: it must be under the limit, not equal to it.
- Multiply by the sections.
13 per section x 5 sections = 65 balusters in all, plus any on stairs.
What the code sets for guards (IRC 2021 R312.1)
| Item | Flat deck edge | Stair side |
|---|---|---|
| Required when drop is over | 30 in | 30 in |
| Minimum height | 36 in | 34 in |
| Sphere that must not pass | 4 in | 4 3/8 in |
| Triangle under bottom rail | 4 in | 6 in |
Stair guard height is measured from the line of the tread nosings; where the top rail serves as the handrail it must sit between 34 and 38 in. Insect screening does not count as a guard.
Balusters per section by opening and width
| Opening | 0.5 in | 0.75 in | 1.5 in |
|---|---|---|---|
| 36 in | 8 | 7 | 6 |
| 48 in | 10 | 10 | 9 |
| 60 in | 13 | 12 | 11 |
| 72 in | 16 | 15 | 13 |
| 96 in | 21 | 20 | 17 |
Fewest balusters per section for a gap under 4 in at a flat deck edge. Slimmer balusters need more pieces but block less of the view.
Where deck guards go wrong
- Judging the gap by eye. A 4 inch sphere passes through gaps that look small. A gap of exactly 4 inches also fails.
- Forgetting the gap below. The space between the decking and the bottom rail must also stop the 4 inch sphere at a flat deck edge.
- A low guard at the stair. The open side of a stair allows 34 inches, but the deck edge or landing needs 36.
- Focusing only on the balusters. What fails in practice is the post: the code asks for 200 lb at the top. Ask how each post is fixed to the framing.
- Assuming none is required. A 31 inch drop already requires a guard. Measure at the highest point of the edge, not the average.
What to ask your builder
- What guard height and baluster type are on the plan? Get it in writing: height, material, baluster width and the number per section.
- How are the guard posts fixed? This is the part that fails most. Ask whether they bolt to the rim joist or to a post that runs down to the footing.
- What is the gap under the bottom rail? It must stop the 4 inch sphere.
- Is there a stair with a guard? Ask the stair guard heights and how the handrail is measured. See how to choose a barndominium builder.
Next step: get a written quote
This tool checks a guard, not the whole deck and not the price. We are a referral service, not a contractor; we connect visitors with independent local providers. Use the form below to ask independent barndominium builders near Tyler for a written quote that names the guard height, the baluster and the number per section, and read how to choose a barndominium builder first.
Sources
- 2021 International Residential Code, Chapter 3 (Texas edition on UpCodes): R312.1.1 (where required), R312.1.2 (height), R312.1.3 (opening limitations) and Table R301.5 (guard loads).
- Whether the 2021 IRC applies to your lot depends on the city or lender; see our Smith County barndominium permits guide.
Frequently asked questions
How high must a deck be before it needs a guard?
The IRC 2021 (R312.1.1) requires guards on open-sided walking surfaces more than 30 inches above the floor or grade below, measured at any point within 36 inches of the edge. Insect screening does not count as a guard.
How tall does the guard need to be?
At least 36 inches above the walking surface (R312.1.2). On the open side of a stair it is 34 inches, measured from the line of the tread nosings; if the top rail doubles as the handrail it must sit between 34 and 38 inches.
How far apart can balusters be?
Close enough that a 4 inch sphere cannot pass (R312.1.3), from the walking surface up to the required guard height. On the open side of a stair the sphere is 4 3/8 inches, and the triangle under the bottom rail may admit a 6 inch one.
Why are 12 balusters not enough for a 72 inch opening?
With 1.5 inch balusters, 12 leave 13 gaps of 4.15 inches, which a 4 inch sphere passes through. You need 13 balusters to bring every gap down to 3.75 inches.
Does the calculator check that the guard is strong enough?
No. The code requires a guard to resist 200 lb at the top and infill to resist 50 lb on one square foot (Table R301.5), but that depends on the posts, hardware and how they are attached, which this tool does not calculate. Ask the builder how the posts are fixed.
Does the calculator give a price?
No. It gives counts and gaps only, with no prices. Ask for written quotes that name the guard height, the baluster type and the number per section.