title: "Deck Building Guide: Design, Materials & Cost" description: "Complete deck building guide covering anatomy, lumber species, joist span tables, post depth requirements, building codes, and material cost ranges for DIY homeowners." pillar: "deck" lastUpdated: "2026-06-30"
Deck Building Guide: Design, Materials & Cost
A well-built deck adds more livable square footage than almost any other home improvement — and returns 60–80 cents on the dollar at resale in most markets. It's also one of the most DIY-friendly structural projects: the skills required are achievable for any competent homebuilder, and the materials are standardized and widely available. But deck building is structural work governed by building codes, and mistakes in the framing or ledger connection can have serious consequences.
This guide walks through the full scope of a deck project: how to design the structure, which lumber species and grades to choose, how to read a joist span table, how deep to set your posts, what permits you'll need, and what the whole project is likely to cost. Whether you're building a ground-level platform or a two-story attached deck, the fundamentals are the same.
Estimate your material quantities before you start buying with our deck calculator and lumber calculator. For project scheduling, routinetoolkit.com helps you track each phase of your build.
Deck Anatomy: Understanding Every Component
A deck is a structural assembly, not just a platform. Every component serves a specific structural purpose.
Ledger board: If your deck attaches to the house, the ledger is the horizontal framing member bolted to the house rim joist. It transfers half the deck's load to the house structure. A failed ledger connection is the leading cause of deck collapses — it must be properly flashed, fastened with structural lag screws or through-bolts at the correct schedule, and never nailed with common nails.
Footings: Concrete footings below the frost line transfer all deck loads to undisturbed soil. Footing diameter is determined by the tributary load area and soil bearing capacity — a structural engineer or your local building department can confirm the required size. Typical residential footings: 10"–16" diameter.
Posts: Vertical members that transfer beam load to footings. For attached decks, posts typically range from 4×4 (for low decks under 6 feet) to 6×6 (for elevated decks). Most current codes and best practices call for 6×6 minimum for any post over 8 feet tall.
Beams: Horizontal members that span between posts and support the joists. A flush beam sits at the same height as the joists (cleaner look, more complex construction); a drop beam sits below the joists (simpler, but reduces clearance underneath).
Joists: The repetitive framing members that span between the ledger (or beam) and the opposite beam. Typically 2×8 or 2×10 at 12" or 16" O.C., depending on span and species.
Decking boards: The surface you walk on. Typically 5/4×6 (which is actually 1" thick × 5.5" wide) for a smooth walking surface, or 2×6 for a chunkier traditional look. Spacing between boards: 1/8" (for dry climates) to 3/16" (for wet climates) to allow drainage.
Railings: Required by code for any deck more than 30" above grade. Minimum 36" tall for decks under 6' above grade; 42" for higher decks. Baluster spacing: 4" maximum to prevent a 4-inch sphere from passing through (the standard for child safety).
Sizing and Height Considerations
Minimum functional sizes:
- Dining for 4: 10×12 minimum (120 sq ft); 12×14 comfortable
- Seating area: 10×10 minimum
- Grilling zone: 6×8 adjacent to main deck area (leave 3 feet clearance from house)
- Combined living/dining: 14×16 to 16×20 for comfortable use
Height impacts everything: A deck over 30" above grade requires guardrails. A deck over 6 feet above grade often requires engineered posts and larger footings. Any deck high enough to create enclosed space underneath (typical: 7'+ clearance) may require the space to be treated as conditioned space or require lattice/skirting to limit access.
Lumber Species Comparison
For structural framing (joists, beams, posts), use pressure-treated lumber rated for ground contact (UC4B or UC4C) where it contacts concrete or soil, and above-ground rated (UC3B or UC4A) for elevated framing.
| Species | Strength | Rot Resistance | Cost (relative) | Notes | |---|---|---|---|---| | Southern Yellow Pine (PT) | Highest | High (treated) | $ | Most common; heavy; needs proper fasteners | | Douglas Fir (PT) | High | High (treated) | $ | Cleaner grain; available in western US | | Hem-Fir (PT) | Moderate | Moderate (treated) | $ | Less stiff; check span tables carefully | | Western Red Cedar | Low-Moderate | Naturally high | $$ | Beautiful; poor structural choice for framing | | Redwood | Low-Moderate | Naturally high | $$ | West Coast premium; excellent decking | | Composite decking | N/A (surface only) | Permanent | $$ | No rot, splinters, or painting; structural framing still wood | | Ipe / hardwood | High | Naturally very high | $$$ | 25+ year lifespan; requires pre-drilling |
Best practice: Use pressure-treated SYP or Douglas Fir for all structural framing (ledger, beams, joists, posts). Use the species of your choice for decking surface — cedar, redwood, PT pine, composite, or tropical hardwood. The decking surface is aesthetic; the framing is structural.
For more on lumber grades and board feet calculations, see our full lumber buying guide and use the lumber calculator.
Joist Span Table
Joist size determines how far you can span between supports. Always verify with your local building department or a structural engineer for engineered designs. These values are for #2 Southern Yellow Pine, live load 40 psf, dead load 10 psf.
| Joist Size | Spacing 12" O.C. | Spacing 16" O.C. | Spacing 24" O.C. | |---|---|---|---| | 2×6 | 9'-9" | 8'-7" | 7'-0" | | 2×8 | 12'-10" | 11'-4" | 9'-3" | | 2×10 | 16'-5" | 14'-6" | 11'-10" | | 2×12 | 19'-10" | 17'-6" | 14'-4" |
How to use this table: Measure the distance between your ledger (or beam) and the opposite beam. That's your joist span. Find the joist size and spacing that accommodates that span with a reasonable margin.
Cantilever: Joists can cantilever past a beam by up to 1/4 of the total joist span. A 2×10 joist spanning 12 feet can cantilever 3 feet past the outer beam — giving the deck a clean look without an additional post. Don't exceed the cantilever limit.
Post Depth: The Frost Line Rule
Posts set in the ground must extend below the frost line — the depth at which the ground freezes in winter. Frost heave (ground movement from freezing water expansion) can lift posts out of the ground and rack the entire deck structure.
Frost depth by region (approximate):
- Deep South / Gulf Coast: 0"–6" (no frost requirement in many areas)
- Mid-Atlantic / Pacific Northwest: 12"–18"
- Midwest / Great Plains: 24"–42"
- Northern New England / Upper Midwest: 48"–60"
- Canada: 48"–72"+
Check your local building code for the required frost depth. In practice, most inspectors want footings at least 12" below the local frost line, not just at the frost line.
Footing options:
- Poured concrete with post base hardware: The modern best practice. Pour the footing below frost, install a post base (Simpson Strong-Tie or similar) into wet concrete, and attach the post with hardware above grade. The post never touches concrete or soil — dramatically extends post life.
- Post buried in concrete: The traditional method. Faster to set up but the post-concrete interface is the single most common failure point due to trapped moisture. Use ground-contact PT and flare the bottom of the hole for bearing.
Building Code Basics
Almost every deck attached to a house or over 30" above grade requires a building permit. The permit process typically requires:
- A site plan showing deck location relative to property lines
- A structural drawing showing footing size, post size, beam size, joist layout
- A connection detail showing how the ledger attaches to the house
The ledger is the most inspected component. IRC requires:
- Flashing that directs water away from the house
- Lag screws or through-bolts (not nails) on a specific spacing schedule by joist span
- Structural connectors (joist hangers) at every joist-to-ledger connection
Why permits matter: An uninspected deck is a liability. If your unpermitted deck collapses and someone is injured, your homeowner's insurance can deny the claim. Permits also protect you at resale — buyers and agents now routinely check permit histories.
Material Cost Ranges
| Component | Cost Range | Notes | |---|---|---| | PT framing lumber (joists, beams) | $0.80–$1.50/linear ft (2×10) | Price varies widely by region | | PT posts (6×6) | $3–$5/linear ft | | | Concrete (footings) | $120–$140/cu yd | Most decks use 1–3 yards | | PT decking (5/4×6) | $1.50–$2.50/linear ft | | | Cedar decking (5/4×6) | $2.50–$4.50/linear ft | | | Composite decking | $4–$12/linear ft | Wide quality range | | Ipe/hardwood decking | $5–$15/linear ft | | | Structural hardware (hangers, post bases) | $300–$800 | For a typical 16×20 deck | | Fasteners (screws, bolts) | $200–$500 | | | Railing system | $30–$200/linear ft | Cable, glass, aluminum vary widely |
Rough total cost ranges (materials only, 12×16 deck):
- Budget PT pine with standard railing: $3,000–$5,000
- Cedar decking with cable railing: $7,000–$12,000
- Composite decking with aluminum railing: $9,000–$16,000
Add 100–150% of material cost for professional labor if hiring out the entire project.
FAQ
Do I need a permit to build a deck? Almost certainly yes if the deck attaches to the house or is over 30" above grade. Requirements vary by municipality — some exempt ground-level platforms under a certain size. Always check with your local building department before starting. Unpermitted work can complicate refinancing and home sales.
How long does pressure-treated lumber last? Modern ACQ (Alkaline Copper Quaternary) or CA (Copper Azole) treated lumber is rated for 20–30+ years in above-ground applications and 15–25 years in ground contact, assuming proper installation (no trapped moisture, proper flashing). CCA-treated lumber from before 2004 contained arsenic — don't reuse it for surfaces people touch.
How far apart should deck posts be? Post spacing is determined by your beam size. A doubled 2×10 beam can span 8–10 feet between posts; a doubled 2×12 can span 10–14 feet. Keep posts at 8 feet or less for modest-sized beams. Your structural drawing will specify this.
Can I build a deck without a ledger (freestanding)? Yes. A freestanding deck doesn't attach to the house and requires its own posts and beams on all four sides. It avoids the complicated ledger flashing detail and doesn't load the house structure. The tradeoff is more posts and footings. Many builders prefer freestanding decks for second-story applications where ledger attachment is complex.
What's the best decking material for a wet climate? In a wet climate (Pacific Northwest, Southeast), choose composite decking, Ipe, or another tropical hardwood for the surface — they handle moisture far better than cedar or pine. Whatever surface you choose, ensure proper drainage between boards and adequate airflow under the deck to prevent rot in the framing.
How long does a deck project take to build DIY? A 200 sq ft ground-level deck: 2–3 weekends for a capable DIYer with a helper. A larger elevated deck with stairs and railing: 3–6 weekends. Factor in permit approval time (1–6 weeks depending on your jurisdiction) before scheduling the project.
What fasteners do I use with pressure-treated lumber? Modern ACQ and CA treated lumber requires hot-dipped galvanized (HDG) or stainless steel fasteners. Standard zinc-plated screws corrode in contact with ACQ treatment within a few years. For hidden fasteners in composite decking, use the manufacturer's specified system. Never use aluminum hardware — it reacts with copper-based treatments.
How much weight can my deck hold? A properly engineered residential deck is designed for 40 lbs per square foot live load (people, furniture) plus 10 lbs per square foot dead load (structure weight). A 200 sq ft deck can handle 8,000 lbs of live load. A hot tub is 200–500 gallons × 8.34 lbs/gal = 1,700–4,200 lbs plus the tub itself — this requires point load engineering beyond standard joist design.