Deck Cost Calculator

How we build and test

Enter the size of your deck and choose the decking, height, railing and stairs to estimate the cost to build it in 2026, by a contractor or as a DIY project.

Leave empty for 2 sides + front.

Include permit
Who builds it

Deck cost

Enter the length and depth of the deck.

What this calculator does

  • Deck cost by decking material, height and railing
  • Stairs and permit
  • Installed or DIY, with cost per square foot

How to use the deck cost calculator

  1. Enter the length along the house and the depth out from it.
  2. Pick the decking material and the height. Raised decks need taller posts, bigger footings and bracing, and second-story decks need more again.
  3. Pick a railing. Codes require a guard on any deck surface more than 30 in above the ground. If you leave the railing length empty, the calculator assumes both sides and the front.
  4. Enter the number of stair steps, then choose whether to include a permit and whether you are hiring a contractor.

How the estimate is built

Deck = area × installed price per ft² × height factor
  height factor: ground 1.00, raised 1.15, second story 1.35
Railing = length × price per linear ft
Stairs = steps × $75–$200
Permit = $100–$500
DIY ≈ 45% of the installed price (materials only)
Decking Installed, per ft² (with framing) Lifespan Upkeep
Pressure-treated pine $20 – $35 10–15 years Stain or seal every 2–3 years
Cedar $30 – $50 15–20 years Seal every 1–2 years
Composite $35 – $60 25–30 years Wash once or twice a year
PVC $45 – $70 30+ years Wash
Ipe $50 – $80 40+ years Oil yearly, or let it gray
Railing Per linear ft installed
Wood $20 – $45
Composite $35 – $75
Aluminum $45 – $90
Cable or glass $90 – $200

The ranges reflect 2026 US contractor pricing from published cost guides. Framing is usually pressure-treated lumber whatever the decking, which is why composite decks cost less than twice as much as wood ones even though the boards cost three times as much.

Worked example: a 16 × 12 ft composite deck

  1. Area: 16 × 12 = 192 ft².
  2. Decking and framing: 192 × $35 to $60 × 1.15 for a raised deck = $7,728 to $13,248.
  3. Composite railing on 16 + 12 + 16 = 44 ft at $35 to $75 = $1,540 to $3,300.
  4. Four steps: $300 to $800. Permit: $100 to $500.
  5. Total: $9,668 to $17,848, with about $13,760 typical, or $50 to $93 per square foot all in.

Ways to save

  • Build a ground-level deck under 30 in if the site allows. It needs no railing and much less structure.
  • Use composite for the decking, which you see and walk on, and pressure-treated lumber for the hidden framing.
  • Keep the shape a simple rectangle and use standard board lengths. Angles and curves add labor and waste.
  • Schedule in late fall or winter, when deck builders are less busy.

Questions

How much does a 12 × 12 deck cost?

144 ft² at $20 to $35 per ft² is about $2,900 to $5,000 for a ground-level pressure-treated deck, and about $5,000 to $8,600 in composite, before railing and stairs.

Is composite decking worth the extra cost?

Composite costs more up front but needs no staining. Over 20 to 25 years, the cost of sealing and replacing boards on a wood deck often closes most of the gap.

Do I need a permit to build a deck?

Most US towns require one for decks attached to the house, more than 30 in above grade, or over 200 ft². Check with your building department, because inspectors look closely at the ledger, footings and guard rails.

These are budget estimates, not quotes. Get written quotes from at least three licensed deck builders before you commit.

Related calculators