Deck Building Cheat Sheet

Span tables, footing and code rules for a safe DIY deck, sized to your dimensions.

Doing this on a real job? Build a deck: materials, tools and steps sized to your numbers.

Get the plan

Code basis: IRC 2021 R507 Check your local amendments. Last reviewed October 2026.

Your deck at a glance

Joists
13 x 2x10
at 16 in on center
Beam
2 x 2x12
3 posts about 8'0" apart
Posts and footings
4x4, 18 in dia
36 in deep, 21 bags of 80 lb concrete
Ledger fasteners
1/2 in lags every 15 in or bolts every 29 in
Guard
Required: 36 in min, 4 in sphere
Stairs
5 risers at 7.2 in, handrail required

Your 16 x 12 ft deck: 13 joists, 3 footings at 36 in. Save this deck plan to Blueprint for the materials list with quantities, a weekend-by-weekend schedule and the inspection checklist to tick off at the lumber yard and on inspection day. Full material pricing is in the deck calculator.

Project plan · built from your numbers

Build a 16' x 12' deck

A 192 sq ft attached deck with joists at 16" on center, 3 posts on concrete footings and a flashed ledger. Sized from your 16 by 12 ft footprint.

Materials
$2,189
Time
2-3 weekends
Level
Advanced
8 steps 9 tools 8 materials
  1. 1

    Permit, 811 and layout

    Attached decks need a permit almost everywhere. Call 811 before digging, then stake out the 16 x 12 ft footprint and square it with matching diagonals.

    • Pull the permit and note the inspections
    • Call 811 and wait for marks
    • Stake and string the outline
  2. 2

    Install the ledger

    Remove siding where the ledger lands, flash behind and over it, and fasten it to the rim joist with 1/2" lag screws staggered every 15" (or through-bolts every 29") for a 12 ft joist span (IRC R507.9.1.3). Never nail a ledger.

    • Flash before mounting
    • Ledger 1" below door threshold plus decking
    • Fasteners every 15" staggered
  3. 3

    Dig and pour footings

    Dig 3 footings at least 36" deep below your frost line, set tubes, and pour. Most inspectors check holes before the pour.

    • Holes below frost depth
    • Footing inspection if required
    • Set post bases in wet concrete
01 · Your numbers
Deck area
192 sq ft
Joists
13 at 16" o.c.
Footings
3
Est. cost
$2,189
02 · The plan

8 steps · 9 tools · 8 materials

5 more steps, the full tool list and a shopping list you can check off as you go.

03 · Finished

Your plan is 60% built. Save it.

3/5

Build a 16' x 12' deck

Finished in 2-3 weekends · $2,189 DIY

Built for your deck area of 192 sq ft. Your first plan saves free. No card needed.

Or save it with just your email

We send a link; open it and this plan is your first project. Your first plan saves free. No card needed.

Deck joist span chart (Southern pine)

Joist12" O.C.16" O.C.24" O.C.
2x69'11"9'0"7'7"
2x813'1"11'10"9'8"
2x1016'2"14'0"11'5"
2x1218'0"16'6"13'6"

IRC 2021 Table R507.6: No. 2 grade, wet service, 40 psf live and 10 psf dead load. Cantilever up to 1/4 of the joist span. Change the species in the tool above. Highlighted: your joist.

Deck beam span table (max distance between posts)

Beam6 ft joists8 ft joists10 ft joists12 ft joists14 ft joists
2 x 2x66'10"5'11"5'4"4'10"4'6"
2 x 2x88'8"7'6"6'9"6'2"5'9"
2 x 2x1010'4"9'0"8'0"7'4"6'9"
2 x 2x1212'2"10'7"9'5"8'7"8'0"
3 x 2x68'2"7'5"6'8"6'1"5'8"
3 x 2x810'10"9'6"8'6"7'9"7'2"
3 x 2x1013'0"11'3"10'0"9'2"8'6"
3 x 2x1215'3"13'3"11'10"10'9"10'0"

IRC 2021 Table R507.5, southern pine. Longer joist spans and snow loads over 40 psf: the deck beam span calculator.

Post Sizes & Spacing
  • 4x4: up to about 6 ft 9 in to 8 ft tall depending on species and the area it carries (IRC R507.4).
  • 6x6: up to 14 ft tall, and the minimum wherever a beam is notched onto the post.
  • Spacing: set by the beam table above, usually 6 to 8 ft; posts at the beam ends and every support point.
  • Connections: a post cap or a notch with two 1/2 in through-bolts; never toe-nail a beam to a post.

Deck footing size and depth

Area one post carriesLoad (50 psf)Round dia, 1,500 psf soilRound dia, 2,000 psf soil
20 sq ft1,000 lb12 in12 in
40 sq ft2,000 lb16 in14 in
60 sq ft3,000 lb20 in18 in
80 sq ft4,000 lb24 in20 in
100 sq ft5,000 lb26 in22 in

Bottoms at least 12 in into undisturbed soil and below the frost line (about 12 to 18 in in the South, 42 to 48 in in northern states). Set post bases above the concrete; never bury wood posts in it. Size your exact footings with the deck footing size calculator and the concrete footing calculator.

Ledger fastening and lateral load

Joist span1/2 in lag screws1/2 in through-bolts
Up to 6 ft30 in O.C.36 in O.C.
6 to 8 ft23 in O.C.36 in O.C.
8 to 10 ft18 in O.C.34 in O.C.
10 to 12 ft15 in O.C.29 in O.C.
12 to 14 ft13 in O.C.24 in O.C.
14 to 16 ft11 in O.C.21 in O.C.
16 to 18 ft10 in O.C.19 in O.C.
  • Ledger at least 2x8, on a solid 2x rim joist, staggered top and bottom, 2 in from the edges (IRC R507.9.1.3).
  • Never attach to brick veneer, siding alone or a cantilevered floor; build freestanding instead.
  • Lateral load: two hold-down devices of 1,500 lb within 24 in of each end of the deck, or four of 750 lb (IRC R507.9.2).
  • Hardware in ACQ or CA treated lumber: hot-dip galvanized G185 or stainless steel, matched with the same coating on every nail and screw.
Ledger Board Installation
  • Use same size as joists (typically 2×8 or 2×10)
  • Install 1" below interior floor level
  • Remove siding and flash properly
  • Attach with 1/2" lag bolts or structural screws
  • Spacing: by joist span, from the table above (lags 10 to 30 in O.C.)
  • Use washers with all fasteners
  • Install flashing to prevent water intrusion
  • Never attach to brick veneer or siding only
Decking Board Spacing & Installation

Spacing

  • Pressure treated: 1/8" gap (will shrink)
  • Composite/PVC: Follow manufacturer specs
  • Cedar/Redwood: 1/16-1/8" gap
  • Use spacer for consistent gaps

Fastening

  • Two fasteners per board at each joist
  • 3/4" from edge minimum
  • Stainless or coated deck screws
  • Hidden fasteners for composite
  • Pre-drill hardwoods to prevent splitting
Railing Code Requirements

Height: 36" minimum (measured from deck surface)

Post Spacing: 6 feet typical (manufacturer listing and common practice, not a code number)

Baluster Spacing: 4" maximum gap (sphere test)

Top Rail: 200 lb concentrated load at the top in any direction (code)

Required When: Deck is more than 30" above grade

Graspable Handrail: Required for stairs

Always verify with local building codes - requirements vary by jurisdiction

Stair Requirements

Riser Height: 7-3/4" maximum, 4" minimum

Tread Depth: 10" minimum (11" recommended)

Stringer Spacing: 16" O.C. maximum

Stair Width: 36" minimum

Landings: Required every 151" (12' 7") of vertical rise (IRC R311.7.3)

Handrails: Required if more than 3 risers

Uniformity: All risers must be within 3/8" of each other

Deck stair calculator

Risers
5 at 7.2 in
Treads
4 at 10 in
Total run
40 in
Stringer length
53.81 in (cut from a 2x12 x 8 ft)
Handrail
Required: 4 or more risers, 34 to 38 in above the nosings
risertread

Max riser 7-3/4 in, min tread 10 in, risers within 3/8 in of each other. Notches and stringer layout: the stair stringer calculator.

Deck details inspectors check

Z-flashing under wrapledger + staggered lagsrim joist
Ledger flashing: house wrap laps over the flashing, the flashing laps over the ledger.
6x6 postbeam in 6x6 notch, 2 bolts
Beam on post: a notch needs a 6x6 and two 1/2 in through-bolts, or use a post cap.
blocking + hold-downguard post, 2 bolts
Guard posts: two 1/2 in bolts through the rim, with blocking or a hold-down so the top resists 200 lb.
frost linepost on base
Footing bottom below the frost line and on undisturbed soil; post base keeps the wood off the concrete.
Material Selection

Pressure Treated

Economical, durable, requires maintenance, use .40 retention for ground contact

Cedar/Redwood

Natural beauty, rot-resistant, requires sealing, more expensive

Composite

Low maintenance, won't rot, higher initial cost, can fade

PVC

No maintenance, won't fade, most expensive, can get hot

Additional Information

About This Deck Building Guide

This comprehensive deck building cheat sheet provides essential reference information for planning and constructing a residential deck. From joist spans and beam sizes to railing code requirements and stair specifications, this guide covers the structural and safety requirements for a deck that's safe, code-compliant, and built to last.

Building a deck is one of the most popular DIY projects, but it's also one where mistakes can have serious consequences. Undersized joists, improperly attached ledger boards, or inadequate footings can lead to structural failure - and deck collapses cause serious injuries every year. This reference provides the specifications and code requirements you need to build a safe deck.

Deck construction requires permits and inspections in most areas because it's structural work that must meet specific safety standards. This guide helps you understand these requirements so you can plan your project properly, communicate effectively with building inspectors, and build a deck that adds value to your home while providing years of safe enjoyment.

Why Use This Deck Building Reference Guide?

Having quick access to deck building specifications helps ensure your project is structurally sound, meets code requirements, and will pass inspection. This guide prevents costly mistakes and safety hazards.

  • Size joists and beams correctly for your deck dimensions and loads
  • Determine proper post sizes, spacing, and footing requirements
  • Install ledger boards safely with proper flashing and fastening
  • Meet railing height, baluster spacing, and strength requirements
  • Build code-compliant stairs with proper rise, run, and handrails
  • Select decking materials appropriate for your budget and maintenance preferences
Frequently Asked Questions

How far can a 2x8 deck joist span?

At 16 in on center, 11 ft 10 in in southern pine, 11 ft 1 in in Douglas fir-larch, hem-fir or SPF, and 10 ft 7 in in redwood or cedar (IRC 2021 Table R507.6, 40 psf live load). At 12 in on center add about a foot; at 24 in take off about 2 ft.

How deep do deck footings need to be?

At least 12 in below undisturbed soil and below your local frost line, which ranges from about 12 in in the South to 48 in or more in the northern states. Your building department publishes the number. Freestanding decks under 200 sq ft and 30 in high may be exempt in some areas.

Do I need a permit for a deck?

Almost always for an attached deck, any deck over 30 in above grade, or one over 200 sq ft. Expect a footing inspection before the pour, a framing inspection before decking, and a final.

When does a deck need a railing?

When any part of the walking surface is more than 30 in above the grade within 36 in horizontally. The guard must be at least 36 in tall, stop a 4 in sphere, and hold a 200 lb load at the top.

Can I attach a deck ledger to brick?

Not to brick veneer: it is not structural. Build a freestanding deck with its own beam and posts near the house, or have an engineer detail an attachment to a solid masonry or concrete wall.

What spacing for composite decking?

Follow the manufacturer: usually 3/16 to 1/4 in side to side, set by hidden clips, plus end gaps that depend on the temperature when you install. Joists are typically 16 in on center, 12 in on diagonals.

How many footings for a 12x16 deck?

An attached 12 x 16 ft deck with the 16 ft side on the house usually needs 3 footings under one beam (posts about 8 ft apart). Freestanding adds a second beam line, so 6.

Freestanding or attached deck?

Attached is cheaper (one beam line) but needs a properly flashed and fastened ledger on a solid rim joist. Freestanding avoids the ledger and suits brick, cantilevered floors or unknown rim joists, at the cost of another row of footings.

Next: price it in the deck calculator, keep it up with the deck refinishing guide, and fence the yard with the fence building cheat sheet.

Pouring footings or a pad? Cure times, mix ratios and bags per yard are on the concrete cheat sheet.

Permit check

Usually needs a permit

Attached decks and most decks over 30 inches off grade need a permit.

Inspections: Footings, then Framing, then Final

Job checklist

0 of 12 done

Save it to a project

Ticks are saved in this browser. A project keeps them on every device.

Questions about this sheet

Ask about your situation. Posting needs a free account, and your question carries over so you get an answer with your project in view. Questions we hear often get answered on this sheet.