DDeckCalcHQ

Free Deck Building Code Calculator

Size your joists, beams, posts, footings and stairs to the IRC R507 deck codein seconds. Real span tables, your state's frost depth, and a permit-ready framing plan — no guessing, no fees.

Joists
2x10
16" o.c. · spans 14' max
Beam
2 × 2x8
posts ≤ 6'2" apart
Code-compliant framing plan
HOUSE16 ft wide (13 × 2x10 joists) →beam: 2 × 2x8 · 4 posts @ 5'4" o.c.12 ft projection
Joists13 × 2x10156 lin ft
Beam2 × 2x8IRC R507.5
Support posts4 × 6x65'4" apart
Footing size16″ dia.1.07 ft² · 1600 lb/post
Footing depth48″below grade (frost line)
Concrete38 × 80-lb bags5.59 ft³ per pier
Ledger fasteners½″ lag @ 15″or bolt @ 29″ · R507.9
Stairs5 risers @ 7.2″4 treads · 3'8" run
Guardrail36″ requiredIRC R312

Member sizes read from the IRC R507.6 (joists) and R507.5 (beams) tables for No. 2 Southern Pineat 40 psf live + 10 psf dead. Footings from tributary load ÷ soil bearing (R507.3); ledger fasteners per R507.9. Confirm with your local building department.

Estimated cost & materials
Decking — Pressure-treated pine192 sq ft · ~28 × 16′ boards$575$1,730
Substructure (joists, beam, posts, hardware)192 sq ft framing$1,150$2,495
Footings (concrete piers)4 posts$140$360
Railing / guard40 lin ft$600$2,400
Stairs4 treads$120$380
Permit + fasteners + miscallowance$75$500
Total estimate$2,660$7,865
≈ $13.9–$41/sq ft
28 × 16′ boards · 672 screws

Low = DIY material budget; high = contractor-installed (labor included). Regional prices vary — treat as a planning range, not a quote.

Deck Joist Span calculator
deck joist span calculator · 2,400/mo searches
Deck Beam Span calculator
deck beam span calculator · 720/mo searches
Deck Footing calculator
deck footing calculator · 1,300/mo searches
Deck Stair calculator
deck stair calculator · 3,600/mo searches
Deck Cost calculator
deck cost calculator · 1,600/mo searches
Deck Material calculator
deck material calculator · 1,900/mo searches
Deck Railing & Baluster calculator
baluster calculator · 1,600/mo searches
Deck code by state
frost depth + permit rules · 50 states

Why build to the deck code?

Deck collapses are almost always a framing or connection failure — an undersized beam, joists spanning too far, a ledger lag-bolted into nothing, or footings that heaved out of the ground over one winter. That's why the building code (the IRC, Section R507) sets prescriptive span tables for exactly this: residential wood decks built without an engineer.

The trouble is the tables are dense — joist spans change with size, spacing and species; beam spans depend on the joist span they carry; footing depth tracks the frost line where you live. This calculator reads those tables for you and returns a complete framing plan: joist and beam sizes, post spacing, footing diameter and depth, stair layout and guard height — each with its code reference so your drawings match what the inspector checks.

Frequently asked questions

How do I size deck joists, beams and footings?
Pick the joist span from IRC Table R507.6 (by joist size, spacing and lumber species), the beam from Table R507.5 (by the joist span it carries), and the footing from the post's tributary load divided by your soil's bearing value. The calculator above does all three at once and shows the code reference for each.
How far can a 2x8 deck joist span?
A No. 2 Southern Pine 2x8 spans up to 13'1" at 12" on-center, 11'10" at 16", and 9'8" at 24" — per IRC R507.6. Douglas Fir-Larch and Hem-Fir span a little less, and cedar/redwood less again. The tool picks the smallest joist that clears your projection automatically.
How deep do deck footings need to be?
Footings must bear below the local frost line so they can't heave. That ranges from about 12" in frost-free states to 60" in the upper Midwest and New England. Choose your state in the calculator and it sets the depth; always confirm the exact figure with your building department.
Do I need a permit to build a deck?
Almost everywhere, yes — most jurisdictions require a permit for any deck attached to the house or more than ~30" above grade, and an inspection of the footings before they're poured. The calculator's framing plan is built to the IRC so your drawings line up with what the inspector checks.

Deck building guides