ProjectMath

Deck Cost Calculator: Price per Sq Ft & Materials

Regional factor: USACE PAX Newsletter 3.2.1 (18 Aug 2026), DoD Area Cost Factors1, as of 2026-10-14. How regional pricing works (incl. Canada/CAD note).

Which decking fits your project

No ratings and no paid placements: these are trade-offs from the sourced prices on this page. Ranges are HomeGuide figures via RoofToYard (see Methodology).

Lowest upfront cost

Pressure-treated pine

$25–$50/sq ft installed

Pick it if price comes first and you’re fine cleaning and sealing it periodically.

Skip it if you want a deck you never have to stain.

Natural wood look

Cedar

$30–$47/sq ft installed

Pick it if you want real wood with natural rot resistance.

Skip it if you want the lowest price: its low end is above pressure-treated’s.

Low maintenance

Composite

$40–$80/sq ft installed

Pick it if you’d rather pay more now than stain or seal later.

Skip it if budget is the main concern: it starts well above wood.

All-synthetic

PVC

$60–$80/sq ft installed

Pick it if the deck is around a pool or in a damp spot and you want no wood fiber at all.

Skip it if you’re pricing for the lowest cost.

What common deck sizes cost

Deck sizePressure-treatedComposite
10×10 ft (100 sq ft)$2,500–$5,000$4,000–$8,000
12×12 ft (144 sq ft)$3,600–$7,200$5,760–$11,520
12×16 ft (192 sq ft)$4,800–$9,600$7,680–$15,360
16×20 ft (320 sq ft)$8,000–$16,000$12,800–$25,600
20×20 ft (400 sq ft)$10,000–$20,000$16,000–$32,000

Computed with this page’s calculator at the US national average, before the regional adjustment. Use the calculator for your exact size and state.

Methodology

Installed cost = area × installed $/sq ft. Ranges (pressure-treated $25–50, cedar $30–47, composite $40–80, PVC $60–80) are HomeGuide figures (Feb 2026) as compiled by RoofToYard, Cost to Build a Deck (2026)2, as of 2026-10-14. Other sources run lower: SmartDeckingCalculator's 2026 report3 models pressure-treated at $19.80–25.30 and composite at $43.20–55.20 per sq ft. Expect real quotes anywhere in that spread.

Materials: boards run parallel to the house. Board count = width in inches ÷ 5.75 in (5.5 in board + ¼ in gap), +10% waste, each one deck-length long. Joists = width-of-run ÷ spacing + 1, each one deck-width long. This is a quick takeoff and not a structural design. Check your local code (IRC span tables) for beam, footing and ledger sizing.

More deck sizes, all four materials

Deck cost is mostly area × a per-square-foot rate: $25–$50 for pressure-treated, $30–$47 for cedar, $40–$80 for composite and $60–$80 for PVC, installed. Here are more sizes than the table above.

Deck sizePressure-treatedCedarCompositePVC
8×10 ft (80 sq ft)$2,000–$4,000$2,400–$3,760$3,200–$6,400$4,800–$6,400
10×12 ft (120 sq ft)$3,000–$6,000$3,600–$5,640$4,800–$9,600$7,200–$9,600
12×20 ft (240 sq ft)$6,000–$12,000$7,200–$11,280$9,600–$19,200$14,400–$19,200
14×20 ft (280 sq ft)$7,000–$14,000$8,400–$13,160$11,200–$22,400$16,800–$22,400
16×16 ft (256 sq ft)$6,400–$12,800$7,680–$12,032$10,240–$20,480$15,360–$20,480
16×24 ft (384 sq ft)$9,600–$19,200$11,520–$18,048$15,360–$30,720$23,040–$30,720
20×24 ft (480 sq ft)$12,000–$24,000$14,400–$22,560$19,200–$38,400$28,800–$38,400

Computed from this page’s sourced rates at the US national average (no regional adjustment). Use the calculator above for your exact size and state.

Framing it yourself? Watch the weekly lumber price index before you buy, and see where to find cheaper lumber.

DIY vs hiring a pro

DIYHire a pro
What you pay forLumber, fasteners, footings and tool rentalMaterials plus labor, overhead and warranty
PermitsYou pull the permit and book inspectionsUsually handled by the contractor
Biggest riskFooting, ledger and flashing mistakesPicking an unlicensed or uninsured builder

Attached and raised decks usually need a permit and inspection. Check with your building department before you buy lumber.

DIY makes sense if

Hire a pro if

  • it attaches to the house with a ledger, which has to be flashed and bolted correctly
  • it’s raised or second-story
  • your town requires stamped plans or engineering for the size you want

Worked example

StepArithmetic
Deck12 × 16 ft pressure-treated, joists 16 in on center
Area12 × 16 = 192 sq ft
Installed192 × $25–$50/sq ft = $4,800–$9,600
Deck boards (5.5 in + 1/4 in gap, +10%)12 × 12 ÷ 5.75 × 1.1 → 28 boards × 16 ft
Joists12 × 12 ÷ 16 + 1 = 10 × 12 ft

Limits: when not to trust the number

  • Stairs, railings, elevated or second-story decks, and footings in frost zones raise the cost.
  • Most decks need a permit and inspection. Beam and footing sizes come from your local code, not this calculator.
  • National ranges can’t see your site. Use the result to judge whether a quote is reasonable, then get local written quotes.

Frequently asked questions

How much does a 12×12 deck cost?

With this calculator at the US average, a 12×12 (144 sq ft) deck is about $3,600–$7,200 in pressure-treated wood and $5,760–$11,520 in composite, installed.

Is composite decking worth the extra cost?

You pay more up front: $40–$80 per sq ft installed versus $25–$50 for pressure-treated. In exchange you skip the staining and sealing that wood needs.

Why do deck estimates vary so much?

Sources disagree. Our ranges are HomeGuide’s; SmartDeckingCalculator’s 2026 report models pressure-treated at $19.80–$25.30 and composite at $43.20–$55.20 per sq ft. Real quotes can land anywhere in that spread, so get at least three.

Does the calculator include railings and stairs?

No. It prices the deck surface by area and gives a quick board and joist count. Ask each builder to price railings, stairs and footings as separate lines so you can compare quotes.

How much does it cost to build a deck per square foot?

About $25–$50 per square foot installed for pressure-treated wood, up to $40–$80 for composite and $60–$80 for PVC.

How much does a 16×16 deck cost?

256 sq ft runs about $6,400–$12,800 in pressure-treated wood and $10,240–$20,480 in composite, installed.

Recommended tools & materials

As an Amazon Associate, ProjectMath earns from qualifying purchases. It doesn’t change what you pay. Links open Amazon search results (no prices here because they change daily). Affiliate disclosure.

Sources

  1. USACE PAX Newsletter 3.2.1 (18 Aug 2026), DoD Area Cost Factors usace.contentdm.oclc.org
  2. RoofToYard, Cost to Build a Deck (2026) rooftoyard.com
  3. SmartDeckingCalculator's 2026 report smartdeckingcalculator.com

← All decks & lumber calculators & guides

Last reviewed: 2026-11-19 by Craig Antoine, editor. Prices are national planning ranges; get local quotes. How we price.