Deck Cost Calculator

Building a 320 sq ft (16 x 20 ft) pressure-treated wood deck costs $3,880–$12,500 in the U.S., and most people pay around $8,190. This deck cost calculator adjusts that range for your state, the deck's size, the decking material, railing and stairs. The decking material moves the price more than anything else: the same deck in composite runs a typical $12,700.

A new wood deck with railing and steps going up against the back of a house, with spare boards and a saw nearby

Your project

National ballpark · a 320 sq ft (16 x 20 ft) pressure-treated wood deck

Low$3,880
Typical$8,190
High$12,500

This is a planning range, not a quote.

Limited data: deck permit (sources disagree). The real range may be wider.

CostLowTypicalHigh
Materials$1,470$3,140$4,800
Labor$2,210$4,700$7,200
Permit (varies by city) national$200$350$500
Total$3,880$8,190$12,500

How this deck cost calculator works

Enter your ZIP code, the deck's area in square feet, the decking material, the height, the length of railing you need and whether the deck has stairs. The calculator multiplies your area by an installed price per square foot for that material, adds railing by the foot, adds stairs if you tick them, adds a permit fee, then adjusts the result for wages and prices in your state.

You get three numbers. Low is what a simple deck on flat ground can cost. Typical is where most quotes land. High covers harder sites, more framing and busy seasons. The breakdown splits the bill into materials, labor and the permit. Labor is about 60% of a deck job in our data, because framing, setting posts and fastening boards are mostly hand work.

The state adjustment uses construction wages from the Bureau of Labor Statistics for the labor part and regional price levels from the Bureau of Economic Analysis for the materials part. The permit fee isn't adjusted, because cities set it. The full method is on our How we calculate page.

This is a planning range, not a quote. A builder who sees your yard will spot slope, soil and access problems that no calculator can.

What the estimate includes and leaves out

The default 320 sq ft example has no railing and no stairs, so it fits a low deck close to the ground. Add both if your deck needs them, because together they can change the total a lot.

Height is an input, but it doesn't change the number. Our sources price decks by height in one table and by board material in another, and none of them combines the two, so we can't add a height charge without counting some costs twice. The table by height below shows how much more a tall deck costs per square foot. If your deck sits well off the ground, plan toward the high end or above.

Removing an old deck, built-in benches, lighting, a pergola or a roof aren't in the estimate either.

Deck cost by decking material

The boards you walk on set most of the price, because they also decide the fasteners, the framing spacing and how long installation takes.

OptionLowTypicalHighUnit
Cedar$20$36$52/sq ft
Composite$25$39$52/sq ft
Pressure-treated wood$12$25$38/sq ft
Pvc *$17$25$33/sq ft

* Limited data: one source, sources that disagree widely, or a single figure.

Four deck board materials side by side: pressure-treated wood, cedar, composite and PVC

On our 320 sq ft example, pressure-treated wood comes to $3,880–$12,500 (typical $8,190), cedar to $6,440–$17,100 (typical $11,800) and composite to $8,200–$17,100 (typical $12,700). PVC lands at $5,640–$11,100 (typical $8,350). That PVC figure looks low next to composite because only one source prices installed PVC decks, so treat it with care.

Pressure-treated wood is lumber treated against rot and insects; it's the budget choice and needs regular sealing. Cedar resists rot on its own and costs more. Composite boards mix wood fiber and plastic, and PVC boards are all plastic; both skip staining. For a deeper look at the plastic-based option, see the composite deck cost calculator.

Deck cost by height

OptionLowTypicalHighUnit
Ground level$10$15$20/sq ft
Raised *$25$38$50/sq ft
Second story$40$45$50/sq ft

* Limited data: one source, sources that disagree widely, or a single figure.

These prices come from a different set of sources than the material table, which is why the calculator shows them as a guide only. A deck at ground level costs $10–$20 per square foot in this table. A raised deck runs $25–$50, a figure from one source. A second-story deck costs $40–$50, because it needs tall posts, heavy beams, deeper footings and, almost always, railing and stairs.

What affects the price

Size

Area drives the main line directly, since every square foot is priced the same. The permit and stairs don't grow with size. Measure the deck you want, not the patio space you have, and decide early whether it wraps a corner of the house.

Decking material

Going from pressure-treated wood to composite moves our typical example from $8,190 to $12,700. Material-only prices show why: pressure-treated boards run $3.00–$6.00 per square foot, cedar $4.00–$9.00 and composite $5.00–$14 before labor.

Railing

Railing is priced per linear foot of rail, at $35–$68, typical $51. Our four sources disagree a lot here. Measure every open edge that will need a rail, plus both sides of any stairs. A deck that's only a step or two above the ground may need little or no railing; ask your building department.

Stairs

A set of stairs adds $150–$1,500 to the estimate, typical $1,500, and moves our example to $4,030–$14,000 (typical $9,690). Sources price stairs very differently, from a single step to a full flight, so this line is rough. Tell each builder how many steps you need and how wide.

Height and the site

A tall deck needs bigger posts and footings, and a sloped yard can make one end of a deck much taller than the other. Rocky soil and tight access add labor too. None of this is priced separately in our data.

Permit

The calculator adds a $200–$500 permit, typical $350. Sources disagree on this fee, and your city may charge more or less.

When to budget toward the high end

Plan nearer the high number if the deck sits more than a few feet off the ground, if your yard slopes, if the deck attaches to the house, if you want premium boards, hidden fasteners or a custom railing, or if deck builders in your area are booked well ahead.

Deck cost by state

Labor is about 60% of a deck bill, so local wages explain most of the gap between states. For our 320 sq ft pressure-treated example, the typical price runs from $6,930 in Oklahoma, $6,990 in Arkansas and $7,080 in South Dakota to $9,570 in California, $9,740 in Illinois and $10,500 in Hawaii.

Ways to lower the cost

  • Keep the deck low. A deck near the ground needs less framing and often less railing.
  • Pick boards for your upkeep plans. Pressure-treated wood costs least to build; plan time for sealing.
  • Use a simple shape. A rectangle wastes fewer boards and less labor than angles and curves.
  • Size it to how you'll use it. Every extra square foot adds to the main line.
  • Tear out the old deck yourself if it's safe to do so, and ask what each builder would charge without removal.

Hiring tips

Get at least three written quotes for the same deck: same size, board, height, railing length and number of steps. Ask each builder to list framing lumber, decking, fasteners, footings, railing, stairs, the permit and removal as separate lines, then compare them with the breakdown above. A quote far below our low number deserves questions about footing depth, joist spacing and what's left out.

Ask who pulls the permit and schedules the inspections, and how the deck will attach to the house. Get the start date, payment schedule and warranty in writing, including any warranty on the boards themselves. I'd also ask what happens if the crew finds rot in the house wall where the deck connects. Check that the company has a license where your state requires one, and ask for proof of insurance. Bring the ballpark. Ask for the line items.

FAQ

How much does a deck cost per square foot?

Installed, most decks run $12–$52 per square foot, depending on the boards. Pressure-treated wood costs $12–$38 (typical $25), PVC $17–$33 (typical $25), cedar $20–$52 (typical $36) and composite $25–$52 (typical $39). These are national prices for a deck near the ground, before railing, stairs, the permit and your state adjustment.

How much does a 16 x 20 deck cost?

A 16 x 20 deck is 320 sq ft. In pressure-treated wood it costs $3,880–$12,500, typical $8,190, including a permit but no railing or stairs. In cedar the range is $6,440–$17,100 (typical $11,800), and in composite $8,200–$17,100 (typical $12,700). Add stairs and the pressure-treated deck moves to a typical $9,690.

Is labor or material the bigger part of a deck bill?

Labor, at about 60% of the job in our data. On the 320 sq ft pressure-treated example, labor runs $2,210–$7,200 (typical $4,700) and materials $1,470–$4,800 (typical $3,140). Our sources put deck labor alone at $15–$35 per square foot, typical $25.

Does a raised or second-story deck cost more?

Yes. One set of sources prices a ground-level deck at $10–$20 per square foot and a second-story deck at $40–$50, because tall posts, beams and footings take more lumber and work. The calculator doesn't add a height charge, so plan above the estimate for anything well off the ground.

How much does deck railing cost?

Installed railing runs $35–$68 per linear foot, typical $51, from four sources that disagree quite a bit. Enter your railing length in the calculator and it adds that line to the estimate. Glass, cable and metal railings usually sit at the high end or above.

Do I need a permit to build a deck?

In many places, yes, especially for a raised deck or one attached to the house. Permit fees in our data run $200–$500, typical $350, and the calculator adds that fee to every estimate without a state adjustment. Sources disagree on the fee, so call your local building department for the real number.

Does the calculator price a pergola?

No. This calculator covers the deck itself: boards, framing, labor, railing, stairs and the permit. We don't have pergola prices in our data, so ask for a pergola or shade structure as a separate line on each quote.

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

Removal isn't in the calculator. Our sources put it at $5.00–$13 per square foot, typical $8.75, or $500–$1,500 for a whole deck. Only two sources price each figure, so treat them as rough. Ask each contractor to list demolition and haul-away separately.

Sources and method

National prices from public cost guides, collected 2026-10-21; state adjustment from BLS wages and BEA price levels.

  1. Advantage Lumber (retailer) · 2026-07-30
  2. Advantage Lumber (retailer) · 2026-03-04
  3. Bob Vila · 2023-06-06
  4. Bob Vila · 2024-04-19
  5. CostHelper · undated
  6. Decks.com (Trex) · undated
  7. Decks.com (Trex) · 2026-05-25
  8. Fixr · updated Jan 11 2023
  9. Inch Calculator · 2023-07-07
  10. Lawn Love · 2025-12-27
  11. Lawn Love · 2025-12-27
  12. NerdWallet · updated Nov 26 2025
  13. The Pricer · 2025-10-11

How we calculate