Deck Building Guide: Materials, Cost & Calculator (2026)
Complete guide to planning and building a deck. Covers cost per square foot by material, joist spacing, ledger attachment, footings, railing requirements, and permit needs.
Deck Cost by Material (2026)
Deck costs vary significantly based on decking material, framing, footings, railing, and labor. Here are typical installed costs per square foot of deck surface:
- Pressure-treated pine: $15–$30 per sq ft installed. Most economical choice. Requires staining/sealing every 1–2 years to prevent warping, splitting, and graying. Requires proper fasteners (hot-dipped galvanized or stainless steel) as standard zinc-plated fasteners corrode in treated wood.
- Cedar and redwood: $25–$45 per sq ft installed. Naturally rot and insect resistant. Beautiful grain. More dimensionally stable than pine. More expensive but less chemical treatment.
- Composite decking: $35–$65 per sq ft installed. Made from wood fiber and recycled plastic. Very low maintenance (no staining required). Wide variety of colors and wood-grain finishes. Warranty periods of 25–30 years. Best long-term value for many homeowners.
- PVC/capped composite: $45–$75 per sq ft installed. Fully capped with protective polymer shell. Stain, scratch, and fade resistant. Premium pricing but minimal ongoing maintenance costs.
- Tropical hardwood (ipe, tigerwood): $30–$60 per sq ft for materials alone. Extremely dense, naturally resistant to rot, insects, and fire. Very long lifespan. Requires pre-drilling for all fasteners due to hardness. Sustainability concerns for some species.
Framing and Joist Spacing
The framing is as important as the decking surface. Standard deck joists are 2×8 or 2×10 lumber (pressure-treated) spaced 12 or 16 inches on center:
- 12-inch spacing: Required for diagonal decking patterns and most composite decking products. Provides stiffer feel underfoot. Requires roughly 30% more lumber than 16-inch spacing.
- 16-inch spacing: Standard for horizontal hardwood or solid composite decking. Most common framing for residential decks.
- 24-inch spacing: Not recommended for residential decking — feels bouncy and may not meet code for expected live load requirements.
Always consult the decking manufacturer's installation guide for required joist spacing — composite decking products vary by brand, and using incorrect spacing voids the warranty.
Ledger Attachment
Decks attached to the house connect through a ledger board — a horizontal 2× board bolted directly to the house rim joist. Proper ledger attachment is critical: deck collapses are most commonly caused by ledger failure. Key requirements:
- Use structural lag screws (1/2 inch diameter minimum) or through-bolts in a staggered pattern per code
- Install deck flashing over and behind the ledger to prevent water infiltration into the house framing
- Remove any siding, trim, and housewrap from the ledger contact area before attachment
- Free-standing decks (not attached to the house) require additional footings but avoid ledger concerns entirely
Footings: The Foundation of Your Deck
Deck posts must rest on concrete footings that extend below the frost line. Frost depth varies from 12 inches in the deep south to 48+ inches in northern climates. Check your local building department for the required depth. Footings must also be sized for the load they carry — a 10-foot tributary area post typically needs a 12–16 inch diameter footing.
Pre-cast deck blocks (surface-mounted) are allowed in some jurisdictions for free-standing low-level decks but are not suitable for elevated or attached decks in most codes.
Railing Requirements
Building codes require guardrails on decks 30 inches or more above grade (in many jurisdictions, 24 inches). Key requirements typically include:
- Minimum rail height: 36 inches (42 inches for decks over 30 feet above grade in some codes)
- Maximum baluster spacing: 4 inches clear (so a 4-inch sphere cannot pass through)
- Rail posts must be structurally adequate to withstand 200 lbs lateral force
Railing adds $35–80 per linear foot installed (wood) or $60–130 per linear foot for composite or cable railing systems.
Permits and Inspections
Building permits are required in virtually all US jurisdictions for decks attached to the house and for elevated decks. The permit process ensures your deck is structurally safe and legally sellable. Unpermitted decks can complicate home sales and insurance claims. Permit fees typically run $150–500. Inspections occur at footings (before concrete), framing, and completion.