Deck Cost Calculator
Estimate what it costs to build a deck — enter the size, material, height and railing to get a low-to-high installed total, the cost per square foot, and a materials-versus-labor breakdown.
How much does it cost to build a deck?
In 2026 a built deck typically runs $25 to $60 per square foot installed, so a common 300–400 sq ft deck lands between roughly $7,500 and $24,000. The figure swings on four things: the deck's size, the decking material, how high it sits off the ground, and how much railing and stairs it needs. Pressure-treated wood is the cheapest build; capped composite and PVC cost more up front but need far less upkeep. The calculator above prices your exact size and choices and splits the total into materials and labor, so you can see what a DIY build would save.
Deck cost formula
A full deck quote is more than one price per square foot. Estimators build it up from four layers — the framing (substructure), the decking surface, the railing, and any stairs — then add permits and tear-off:
total = (substructure $/sq ft + decking $/sq ft) × area × height factor + railing length × rail rate + stairs + permit + tear-off
- Substructure (footings, posts, beams, joists, ledger): about $8–$18 per sq ft, more for tall or hillside decks that need deep footings.
- Decking surface: the board material itself, roughly $3–$20 per sq ft in material depending on species/brand (see table).
- Railing: about $10–$50 per linear foot installed (~$30 average), with cable and glass at the top of that range.
- Stairs: roughly $150–$350 per step, or about $1,000–$2,000 per flight.
- Permit: commonly $50–$500; large or engineered decks can run higher.
Worked example: a 16 × 20 ft composite deck
Say you want a 16 ft × 20 ft = 320 sq ft composite deck, about 3 ft off the ground, with railing on the two open sides (36 ft) and one short flight of stairs:
- Substructure: 320 sq ft × $12/sq ft = $3,840
- Composite decking installed: 320 sq ft × $30/sq ft (board + labor) = $9,600
- Railing: 36 lin ft × $30/lin ft = $1,080
- Stairs (one flight, ~5 steps): $1,400
- Permit: $250
Adding those gives roughly $16,170, or about $51 per square foot all-in — squarely in the mid-to-upper range for composite. Swap in pressure-treated boards and the same deck drops to around $9,000–$11,000. The calculator runs this math for your size and material instantly.
Deck cost by material
| Material | Installed $/sq ft | Notes |
|---|---|---|
| Pressure-treated wood | $15 – $25 | Lowest cost, needs sealing every 2–3 yrs |
| Cedar / redwood | $20 – $35 | Natural look, rot-resistant |
| Composite (Trex) | $30 – $60 | Low maintenance, ~25-yr warranty |
| PVC (AZEK) | $35 – $70 | Most weather- and stain-resistant |
| Tropical hardwood (Ipe) | $50 – $65 | Premium, very dense and durable |
Cost figures are 2026 estimates and vary widely by region, deck height and access.
Cost by deck size (composite, installed)
| Deck size | Area | Typical range |
|---|---|---|
| 10 × 10 ft | 100 sq ft | $3,000 – $6,000 |
| 12 × 16 ft | 192 sq ft | $5,800 – $11,500 |
| 16 × 20 ft | 320 sq ft | $9,600 – $19,200 |
| 20 × 20 ft | 400 sq ft | $12,000 – $24,000 |
The add-ons that drive the bill up
The base price-per-square-foot covers a simple, low rectangle. These line items are what separate a $9,000 deck from a $24,000 one:
| Item | Typical cost | When it applies |
|---|---|---|
| Railing | $10 – $50 / lin ft | Required on most raised decks; cable/glass at the high end |
| Stairs | $150 – $350 / step | Each flight down to grade |
| Deeper / taller footings | +$8 – $18 / sq ft | Elevated or hillside decks, deep frost lines |
| Tear-off of old deck | $500 – $1,000 | Replacing an existing deck |
| Permit & inspection | $50 – $500 | Almost always required for attached/raised decks |
How much of a deck is labor?
Labor is the single biggest share of a built deck — usually 50% to 70% of the total, or roughly $11–$22 per square foot for a standard pressure-treated build, and more for elevated or complex designs. That is why doing the build yourself can cut the cost roughly in half. The estimate above splits the midpoint about 45% materials and 55% labor; a DIY build keeps the labor portion in your pocket but adds your time and tool costs.
Waste and ordering extra
Add about 10% extra decking for cuts, the occasional bad board and future repairs — bump that to 15% for a diagonal, picture-frame or herringbone board layout, which produces more offcuts. Buying boards from the same production batch up front also avoids slight shade differences later. To size the boards, joists and fasteners precisely, run the deck board calculator; for a ground-level build on blocks, use the floating deck calculator.
Common deck-cost mistakes
- Pricing only the decking. The boards are often a third of the job — framing, railing and stairs make up the rest.
- Forgetting the permit. Skipping it can mean fines, a forced rebuild, or a failed home sale; budget $50–$500.
- Ignoring height. A 2-foot deck and a 10-foot deck on the same footprint are very different prices — taller decks need longer posts, bigger footings and guard railing.
- Underbuying boards. Running short mid-project risks a batch/color mismatch on the refill; the 10% waste allowance covers this.
- Comparing quotes by total only. Always compare per-square-foot and confirm what's included (footings, railing, stairs, disposal).
When to DIY vs hire a pro
A low, freestanding, ground-level deck under about 200 sq ft is a realistic DIY weekend-plus project and is where the labor savings are biggest. Hire a licensed deck builder once the deck is attached to the house (the ledger connection is a leading cause of deck collapses), sits more than ~30 inches off the ground, spans long beams, or sits on a slope — these need engineered footings, proper flashing and an inspection. According to the decks.com cost guide, a new deck also returns roughly 50% of its cost in added home value, so a code-compliant build pays back better than a cheap one that won't pass inspection.
Pouring footings? Size the concrete with the concrete calculator, and if your deck carries a roof, check the slope with the roof pitch calculator. Hiring out? Compare quotes from local deck builders below.
These are planning estimates only — material and labor prices change by season and region. Verify with a local deck builder or supplier and your building department before you buy or build.
Prices vary by location. Verify with local suppliers.
How much does it cost to build a deck?
A deck's cost comes down to its size, the decking material, how high it sits, and railing. Installed, decks run from about $15 per square foot for pressure-treated wood up to $70 per square foot for premium PVC. The calculator above prices your exact size and choices, and splits the total into materials and labor so you can see what doing it yourself would save.
cost = area × material rate (× height) + railing length × rail rate
Deck cost by material
| Material | Installed $/sq ft | Notes |
|---|---|---|
| Pressure-treated wood | $15 – $25 | Lowest cost, more upkeep |
| Cedar / redwood | $20 – $35 | Natural look |
| Composite (Trex) | $30 – $60 | Low maintenance |
| PVC (AZEK) | $35 – $70 | Most weather-resistant |
Cost by deck size (composite, installed)
| Deck size | Area | Typical range |
|---|---|---|
| 10 × 10 ft | 100 sq ft | $3,000 – $6,000 |
| 12 × 16 ft | 192 sq ft | $5,800 – $11,500 |
| 16 × 20 ft | 320 sq ft | $9,600 – $19,200 |
Building it yourself? Size the lumber with the deck board calculator or plan a ground-level build with the floating deck calculator. Hiring out? Compare quotes from local deck builders below.
Frequently asked questions
Do I need a permit to build a deck?
In most US jurisdictions, yes — any deck attached to the house, or a freestanding deck above a certain height or size (often around 30 inches high or 200 square feet), needs a building permit and at least one inspection. Permit fees commonly run $50 to $500, and larger or engineered decks cost more. Building without a required permit can mean fines, a forced rebuild, or trouble when you sell the home, so check with your local building department before you start.
How much does a 20x20 deck cost?
A 20x20 deck is 400 square feet. In pressure-treated wood that is roughly $10,000 to $14,000 installed; in composite it is more like $16,000 to $24,000, and premium PVC or hardwood pushes it higher. Railing on the open sides, stairs and elevated footings add to those figures. Enter 20 by 20 and your material above for a tailored low-to-high estimate.
Does a new deck add value to your home?
Yes — a well-built deck is one of the better outdoor returns, recouping roughly 50% of its cost in added home value on average, with wood decks often returning a bit more of their lower cost than premium composite. The bigger payoff is usability, but a code-compliant, permitted deck also protects resale, while an un-permitted or unsafe one can scare off buyers and inspectors.
How can I build a deck for less money?
The biggest savings come from choosing pressure-treated wood over composite, keeping the deck low and ground-level to avoid tall footings and guard railing, sticking to a simple rectangle, and doing the labor yourself where it is safe to (labor is 50 to 70% of the cost). A freestanding ground-level or floating deck also skips the more involved ledger connection to the house. Buy boards in one batch to avoid waste, and get at least three itemized quotes if you hire out.
How much does it cost to build a deck?
Installed, a deck typically runs about $15–$25 per square foot for pressure-treated wood, $20–$35 for cedar, $30–$60 for composite like Trex, and $35–$70 for PVC. A average 300 sq ft deck therefore lands roughly between $6,000 and $18,000 depending on material, height and railing. Enter your size and material above for an estimate.
How much does a 12×12 deck cost?
A 12×12 deck is 144 square feet. In pressure-treated wood that is about $2,200–$3,600 installed; in composite it is more like $4,300–$8,600. Adding railing, stairs or height raises it. The calculator prices your exact size and choices.
Is a composite or wood deck cheaper?
Pressure-treated wood is cheaper to build — often half the up-front cost of composite. Composite (Trex, TimberTech) and PVC (Azek) cost more initially but need far less maintenance and last longer, so they can be cheaper over the deck’s life. The calculator lets you compare materials side by side.
How much of a deck’s cost is labor?
Labor is usually around half of a built deck’s cost, sometimes more for elevated or complex designs. The estimate above splits the midpoint roughly 45% materials and 55% labor; doing it yourself saves the labor portion but adds your time and tool costs.
Does the cost include railing and stairs?
Railing adds meaningfully to the total — often $20–$60 per lineal foot installed — and stairs add a few hundred dollars per flight. The calculator includes a railing option and a height factor; unusual features like built-in benches, lighting or multiple levels would add more.