Lumber Calculator

How Much Does It Cost to Build a Deck? (Materials by Size)

Updated October 2026

For materials only, a deck typically costs about $4–$8 per sq ft in pressure-treated wood, $7–$12 in cedar and $9–$16 in composite, before railing and stairs. Railing adds roughly $15–$25 per foot in wood or $30–$55 in composite and aluminum systems.

Deck materials cost by size

Attached deck, 3 ft high, with railing on the three open sides, no stairs:

Deck sizePressure-treatedCedarComposite
10x10 (100 sq ft)$850–$1,550$1,150–$1,950$1,800–$3,250
12x12 (144 sq ft)$1,120–$2,050$1,550–$2,630$2,380–$4,280
12x16 (192 sq ft)$1,370–$2,540$1,940–$3,300$2,930–$5,270
12x20 (240 sq ft)$1,620–$3,020$2,340–$3,980$3,480–$6,260
14x20 (280 sq ft)$1,840–$3,440$2,680–$4,560$3,960–$7,120
16x16 (256 sq ft)$1,740–$3,250$2,510–$4,270$3,740–$6,740
16x20 (320 sq ft)$2,060–$3,860$3,020–$5,140$4,440–$7,980
20x20 (400 sq ft)$2,500–$4,700$3,700–$6,300$5,400–$9,700

The composite figures assume pressure-treated framing under composite decking, which is how most composite decks are built. Each size links to a full materials list in the deck calculator size guides.

What drives deck cost

  • Decking material: the biggest variable. Composite costs roughly twice as much as pressure-treated up front, but needs far less upkeep. See composite vs. wood decking.
  • Railing: on a raised deck, railing can cost as much as the decking itself.
  • Height: taller decks need longer posts, more bracing, and railing and stairs.
  • Stairs: each step adds stringers, treads and handrail.
  • Shape and pattern: angles, borders and diagonal decking add waste and labor.
  • Footings: deep frost lines mean more concrete per footing.
  • Permit: fees vary widely by city.

Materials vs. installed cost

These figures are materials only. Professional installation adds labor, which varies a lot by region, deck height, site access and complexity. It’s common for the installed price to be well over double the materials. Get at least three quotes, and make sure each includes permits, railing, stairs and debris removal.

Ways to save

  • Build close to the ground (under 30”) to skip railing where your code allows.
  • Use pressure-treated framing even with composite decking.
  • Pick standard sizes that use full board lengths (12, 16 or 20 ft) to cut waste.
  • Do the demolition, staining or railing yourself, and leave the structure to a pro.

Get a materials list and estimate

The deck calculator prices your exact size, height, decking, railing and stairs, and prints the materials list to take to the lumber yard for a firm quote.