Start calculating

Deck Cost Calculator

Last reviewed: November 13, 2026. Formulas checked against standard industry conversions. How we calculate.

Quick answer: A new deck costs about $25–$55 per square foot installed for pressure-treated wood and $35–$80 for composite. A 12×12 deck (144 sq ft) runs about $3,600–$7,920 in pressure-treated wood or $5,040–$11,520 in composite, installed, before railing, stairs or a permit. Use the calculator below for your size and material.

Use this deck cost calculator to estimate the total cost of a deck by size and material. Choose DIY (materials only) or professionally installed (materials plus labor), change any rate to match a quote from your area, and add railing, stairs, a permit or tear-out of an old deck.

Deck Cost Calculator

Enter your measurements below. Results update when you change a value, or press Calculate.

Leave the rate at the default for your material and build type, or enter a quote from a local contractor. Changing the material or build type resets the rate to its default.

Measure the exposed perimeter only — the sides not against the house. A 12×12 deck with one side against the house has 36 ft of railing. Wood railing runs about $30 per linear ft, aluminum about $60, composite about $90 and cable about $120.

Enter 0 if no permit is needed. Permit fees commonly run $50–$250 — enter your city’s fee.

Deck area: 144 sq ft

Deck cost (area × rate): $8,280.00

Materials cost: $5,256.00

Labor cost: $3,024.00

Railing: $0.00

Stairs: $0.00

Permit: $0.00

Tear-out: $0.00

Estimated total: $8,280.00

Cost per sq ft (all-in): $57.50

Estimates only. Rates are 2026 US planning ranges — see the tables below. Get local quotes before you buy.

How Much Does a Deck Cost?

A deck’s cost per square foot depends on the material and on whether you build it yourself or hire a contractor. Pressure-treated wood is the cheapest deck material; composite and PVC cost more up front but need less maintenance. The tables and calculator on this page use 2026 US planning ranges: DIY is materials only for the full build (decking, framing, footings and fasteners), and installed is materials plus labor.

How This Page Relates to Our Deck Calculator

Our Deck Calculator prices materials only — it counts deck boards, joists and screws and multiplies your deck area by a materials rate. Its presets ($20 per sq ft for pressure-treated, $25 for cedar, $40 for composite and $45 for PVC) are materials-only figures, and they sit inside the DIY ranges in the table below (pressure-treated $12–$28, cedar $18–$28, composite $28–$45, PVC $35–$55). The pressure-treated preset of $20 and the PVC preset of $45 are the midpoints of their ranges. Those presets do not include labor, permits, railing, stairs or tear-out, which is why the installed totals on this page are higher. Use the Deck Calculator when you want a materials list; use this page when you want the total project cost, DIY or installed.

Deck Cost per Square Foot by Material

The calculator above uses the midpoint of each range as its default rate, and you can change any rate to match a local quote.

MaterialDIY (materials only)Professionally installedCalculator default (DIY / installed)
Pressure-treated wood$12–$28$25–$55$20 / $40
Cedar$18–$28$30–$50$23 / $40
Composite$28–$45$35–$80$36.50 / $57.50
PVC$35–$55$60–$80$45 / $70

Rates are 2026 US planning ranges, checked in November 2026 against TradeCalcs ($15–$35 per sq ft for pressure-treated, $25–$50 for composite), CalculatorZilo ($25–$55 installed for pressure-treated and cedar, $35–$80 for composite and PVC), HomeGuide ($25–$50 installed for pressure-treated, $30–$47 for cedar, $40–$80 for composite; materials-only pressure-treated $14–$28; labor $11–$22), and cross-checked against Remodel Calculators, PaperPlan and QuoteIQ. Where sources disagreed, the wider range is shown.

How Much Does a Deck Cost by Size?

The table below shows installed totals for common deck sizes, before railing, stairs, permits or tear-out. Every cell is the deck area times the installed range for that material, so it matches the calculator’s rates.

Deck sizeAreaPressure-treatedCedarCompositePVC
10 × 10100 sq ft$2,500–$5,500$3,000–$5,000$3,500–$8,000$6,000–$8,000
12 × 12144 sq ft$3,600–$7,920$4,320–$7,200$5,040–$11,520$8,640–$11,520
16 × 20320 sq ft$8,000–$17,600$9,600–$16,000$11,200–$25,600$19,200–$25,600
20 × 20400 sq ft$10,000–$22,000$12,000–$20,000$14,000–$32,000$24,000–$32,000

For example, a 16×20 composite deck installed costs about $11,200–$25,600; the same deck in pressure-treated wood costs about $8,000–$17,600. Add railing, stairs, a permit and tear-out on top of these figures.

Worked Example: A 12×12 Composite Deck, Installed

Take a 12 ft × 12 ft deck, composite decking, professionally installed, with no adders. The deck area is 12 × 12 = 144 sq ft. The installed rate for composite is $35–$80 per sq ft; the calculator uses the midpoint, $57.50. The total is 144 × $57.50 = $8,280. The split is materials 144 × $36.50 = $5,256 and labor 144 × ($57.50 − $36.50) = 144 × $21 = $3,024. Run the same inputs in the calculator above (12 ft × 12 ft, composite, professionally installed, no adders) and you get the same $8,280.

What Else Affects the Cost?

  • Height and levels. A second-story or multi-level deck needs taller posts, more footings and stairs, and costs more per square foot.
  • Railing. Wood railing runs about $30 per linear ft, aluminum about $60, composite about $90 and cable about $120. Railing is charged on the exposed perimeter only.
  • Stairs. About $120 per step; a standard flight usually runs $1,400–$2,600 installed.
  • Permits. Most cities require a permit for a deck attached to the house or more than about 30 inches high. Permit fees commonly run $50–$250 — enter your city’s fee in the calculator.
  • Tear-out. Removing and disposing of an old deck runs about $5 per square foot — about $720 for a 12×12 deck and $1,600 for a 16×20 deck.
  • Region and access. Labor rates and material prices vary by city, and a tight or sloped site adds cost.
  • Layout. Diagonal boards, picture-frame borders and curves use more material and take longer to build.

Once the deck is built, work out how much stain or sealer you need with our guide How Much Deck Stain Do I Need? — and use the deck calculators hub to plan boards, joists, footings and stairs.

Frequently Asked Questions

How much does a deck cost on average?

A new deck costs about $25–$55 per square foot installed for pressure-treated wood and $35–$80 for composite. For a 12×12 deck (144 sq ft) that is about $3,600–$7,920 in pressure-treated wood or $5,040–$11,520 in composite, before railing, stairs or a permit. A 16×20 pressure-treated deck installed costs about $8,000–$17,600.

How much does a 12×12 deck cost?

A 12×12 deck is 144 square feet and costs about $3,600–$7,920 installed in pressure-treated wood, $4,320–$7,200 in cedar, $5,040–$11,520 in composite or $8,640–$11,520 in PVC. Built yourself, the materials cost about $1,728–$4,032 in pressure-treated wood, $2,592–$4,032 in cedar, $4,032–$6,480 in composite or $5,040–$7,920 in PVC — before railing, stairs or a permit.

Is composite decking worth the extra cost over wood?

Composite costs more up front — about $35–$80 per square foot installed, against $25–$55 for pressure-treated wood — but it needs no staining or sealing and resists rot and splinters. Wood is cheaper to buy and easier to refinish. If you plan to stay in the home long term and want low maintenance, composite usually wins; if the budget is tight, pressure-treated wood is the lowest-cost way to get a deck.

How much do you save by building a deck yourself?

DIY saves the labor portion — roughly the difference between the installed and DIY rates: about $20 per square foot for pressure-treated wood, $17 for cedar, $21 for composite and $25 for PVC. On a 12×12 deck that is about $2,450–$3,600 saved, but you take on the framing, footings, permits and inspections yourself.

Do I need a permit to build a deck?

In most US cities, yes, for a deck attached to the house or more than about 30 inches above the ground. A permit fee of $250 is a common default — enter your city’s fee in the calculator. Low, freestanding decks sometimes do not need a permit; check with your local building department before you build.

How much does it cost to replace or tear out an old deck?

Tear-out and disposal usually runs about $5 per square foot — about $720 for a 12×12 deck and $1,600 for a 16×20 deck. A full replacement is the tear-out plus the new build: a new 12×12 pressure-treated deck installed costs about $3,600–$7,920, so a replacement is roughly $4,320–$8,640.

Related Calculators

Last updated: November 2026.

Related calculators

For the materials behind the deck, try the deck calculator and the deck joist calculator. For finishing, see How Much Deck Stain Do I Need? — or browse all of them on the deck calculators hub.

Ready to calculate?

Start with your measurements and get a material estimate in seconds.

Explore all calculators