
Deck cost calculator
Estimate a new deck from its size and decking material, with railing and the boards to order, adjusted for carpenter wages where you live. Every price line shows where it comes from.
Estimated cost
$11,200–$16,000
Middle of the range: $13,600
$35.00–$50.00 per sq ft
Boards to order: 72 boards of 16 ft (34 rows × 2, plus 5%) and about 1,088 screws.
A 20 × 16 ft (320 sq ft) composite deck, national prices.
National prices. Add your ZIP code to adjust the labor part for local carpenter wages.
| Line | Range |
|---|---|
| Composite deck, installed (320 sq ft) | $11,200–$16,000 |
| Total | $11,200–$16,000 |
- This deck most likely needs a building permit. Most decks need a building permit. The model building code (IRC R105.2) exempts a deck only if it is 200 sq ft or less, 30 in or less above the ground, not attached to the house and not serving the required exit door. Official fees vary: Montgomery County, MD charges $194.67 for a deck up to 500 sq ft plus a filing fee of at least $286.60; Rancho Palos Verdes, CA charges $0.43 plus $0.64 per sq ft with a $113 issue fee; Godfrey, IL charges $35 plus a fee based on the job value.
- Stairs add to the cost; there is no current independent price for them (the only one comes from a lumber retailer), so they are not priced. Ask for them in the quote.
- A raised deck (more than 30 in above the ground) needs taller posts, bracing and usually stairs; ask for it in the quote. Published figures for raised decks price a steel or aluminum frame upgrade, not the extra height, so they are not used.
- Not priced: redwood and aluminum decks (no current published prices), engineering or plans, lighting and built-ins.
An estimate from published national prices, not a quote. Only a builder who sees your yard can price the deck.
Compare decking for this deck
For 320 sq ft with the same railing, national prices. Cost per year divides the middle of the range by the lifespan, from the longest to the shortest life. Wood needs re-staining.
| Decking | Estimated cost | Middle | Lifespan | Cost per year | Re-staining |
|---|---|---|---|---|---|
| Pressure-treated woodPrice: one source · Lifespan: one source | $8,000–$12,800 | $10,400 | 10–15 years | $693–$1,040 | $640–$1,600 every 2–3 years |
| CedarPrice: one source · Lifespan: one source | $9,600–$16,000 | $12,800 | 15–20 years | $640–$853 | $640–$1,600 every 2–3 years |
| CompositeLifespan: one source | $11,200–$16,000 | $13,600 | 25–30 years | $453–$544 | None |
| PVC (cellular)Price: one publisher · No upper limit published | $19,200–$22,400 | $20,800 | No published lifespan | — | None |
| Tropical hardwood (ipe)Lifespan: one source | $17,600–$25,600 | $21,600 | 50+ years | $432 or less | $640–$1,600 every 2–3 years |
How this estimate works
We start from what national cost publishers agree a deck costs per square foot for each decking material, add railing and removal of an old deck, and adjust only the labor part for carpenter wages in your area.
No calculator can see your yard. Use the result to budget and to check quotes, then get a deck builder to measure and price the job.
- Installed price. The band that national cost publishers (2025–2026) agree on, per sq ft of deck, for each decking material with the frame and labor. Prices published by sellers of the product (such as a lumber retailer) are shown as context only. Pressure-treated wood and cedar have one current source each; redwood and aluminum are left out because no current installed prices are published.
- Railing and removal. Railing per linear ft (all materials) and removing an old deck per sq ft. Stairs add to the cost; there is no current independent price for them (the only one comes from a lumber retailer), so they are not priced. Ask for them in the quote.
- Your location. No 2025–2026 page gives a labor share range for decks. A deck builder (Outdoor Living, 2025) says labor is "half or more"; we use 50% as our assumption. That 50% of every line is multiplied by your area’s carpenter median wage divided by the national median ($29.12 an hour), from BLS Occupational Employment and Wage Statistics (OEWS), Carpenters (SOC 47-2031), hourly median wage, May 2025.
- Boards to order. Trex: boards 5.5 in wide, a 3/16 in side gap (2026 installation guide) and about 5% extra boards. Joists 16 in on center and 2 screws per joist crossing are our assumptions.
- Raised decks. A raised deck (more than 30 in above the ground) needs taller posts, bracing and usually stairs; ask for it in the quote. Published figures for raised decks price a steel or aluminum frame upgrade, not the extra height, so they are not used.
- The result. The low and high ends add up the low and high end of every line. “Middle of the range” is the midpoint, not a prediction.
Worked example
A 20 × 16 ft composite deck (320 sq ft) at ground level, attached to the house, with no railing, at national prices: $35–$50 per sq ft, so $11,200–$16,000, and the middle of the range is $13,600. You would order about 72 boards of 16 ft.
See how we price.
Frequently asked questions
How much does a deck cost per square foot?
For a composite deck, national cost publishers agree on $35–$50 per sq ft installed, frame and labor included. Pressure-treated wood runs $25–$40, cedar $30–$50 and tropical hardwood $55–$80 (one current source each), and PVC $60–$70. Prices published by sellers of the product, such as a lumber retailer, are context only.
Do I need a permit for a deck?
Most decks do. The model building code exempts a deck only if it is 200 sq ft or less, 30 in or less above the ground, not attached to the house and not serving the required exit door. The calculator tells you which applies and shows official fee examples.
Why does my ZIP code change the price?
About half of a deck is labor. We take the median hourly wage of carpenters in your metro area, or your state where the metro figure is not published, from the Bureau of Labor Statistics and compare it with the national median. Only the labor part moves.
How many deck boards do I need?
Enter the length along the boards and the width. The calculator counts the rows of 5.5 in boards with a 3/16 in gap, the boards per row for the board length you choose, and about 5% extra, plus the screws.
Does a raised deck cost more?
Usually, because it needs taller posts, bracing and stairs. No published figure prices the extra height itself, so the calculator does not add one; ask for it in the quote.
Is composite cheaper than wood over time?
The comparison table divides each material’s middle cost by its lifespan, and shows the re-staining wood needs every 2 to 3 years at $2–$5 per sq ft (one current source).
How much does railing add?
About $25–$30 per linear foot for deck railing of any material, from one current source (Lawn Love). A lumber retailer’s figure is shown as context only.
What about stairs?
Stairs add to the cost, but there is no current independent price for them: the only published figure comes from a lumber retailer, so the calculator does not price them. Ask for stairs in the quote.
Where the numbers come from
Prices checked 2026-11-14; next check 2027-05-14. Wages: BLS Occupational Employment and Wage Statistics (OEWS), Carpenters (SOC 47-2031), hourly median wage, May 2025 (released 2026-05-15). ZIP codes: U.S. Census Bureau, 2020 ZCTA to county relationship file and the BLS OEWS area definitions, May 2025.
Related deck guides


Screened In Porch Cost Guide What It Will Really Cost You
