Deck Cost Calculator (2026)

Estimate the cost to build a deck. Pick your size, height above grade, decking material (pressure-treated, cedar, composite, PVC, hardwood), railing type, and stair count, and we'll compute a planning range. 2026 data; not a contractor bid.

Pressure-treated lumber deck framing with joists set on metal hangers and a drill driver in mid-build behind a modern home

Enter your deck project

Includes materials, labor, an equipment allowance and contractor markup; the breakdown below lists each line.

Common projects

Deck dimensions

The IRC requires a guard where the walking surface is more than 30 in above grade, measured within 36 in horizontally of the open edge; this planner prices one from 30 in up, the conservative side of that line, unless Railing is set to None, when the estimate warns that it is missing. Local amendments control. Taller decks need longer posts, more bracing and footings sized by the design; footing depth itself follows local frost depth and soil, not deck height.

Material & site

Uses the first 3 digits as a planning zone (not exact local pricing). Overrides state average when matched.
This planner prices a guard railing from 30 in above grade, a conservative trigger (codes require guards on decks more than 30 in up): on 3 sides of an attached deck and 4 of a freestanding one.
Step count auto-computed from deck height (7.5 in per riser).

Your deck estimate

Estimated installed range
Calculating…
—
Materials
$0
Labor
$0
Per sq ft
$0

Cost breakdown

Deck cost breakdown: quantity and estimated range for each line item
ItemQuantityEstimated range
Planning estimate, not a bid. 2026 rates on this page cite HomeGuide (8 rows), Trex (4), Angi (3), a Salt Lake City contractor (1), Advantage Lumber (1), BLS wage data (1) and 2 other sources (2 rows). One rate row is an internal estimate with no public source yet. Compare written bids on an identical scope for accurate local pricing.
What's not included: footings deeper than 36 in (frost-line) without surcharge, ledger flashing repair, electrical (lighting, outlets), built-in benches/planters, hot-tub framing reinforcement, and pergolas/roofing.

Bid check

Got a contractor quote? Compare it to the planning range. No contact details collected.

Not sure and Whole estimate compare with the whole estimate. Materials + equipment uses those lines alone, without labor lines or markup; items priced as installed work are left out and the result names them.
Quote per sq ft
—
Range check
—
Scope risk
—
Add a quote amount to compare it against the current estimate.

Methodology & sources

What this is: a planning-range deck calculator. Its rates cite HomeGuide, Trex, Angi, a Salt Lake City contractor, Advantage Lumber, BLS wage data and 2 other sources, and one row is an internal estimate. The note under the estimate counts the rows from each source.

Material pricing is per-square-foot retail data for decking and per-linear-foot installed data for railings. Substructure (joists, beams, posts, footings) is priced at $11-$18 per sq ft installed.

Crew labor is a loaded billing rate ($75-$125/crew-hr), not a raw wage. The range is informed by BLS OEWS occupation 47-2031 (Carpenters), then loaded with payroll burden, crew composition (lead carpenter + helper), equipment overhead, and contractor profit. The OEWS wage on its own would understate billing rates.

Stair count auto-computed from deck height assuming 7.5 in per riser (IRC max 7.75 in). A deck more than 30 in above grade needs a code-compliant guard; this planner prices one from 30 in up.

Per-rate sources are stored in the underlying CSV with each row's source_url, source_date, region, and basis.

Last updated: November 2026. Full methodology →

Helpful materials & tools for this project

Building or supplying your own deck? These are the parts that make up the material line of your estimate:

  • Composite or PVC decking boards — Only if you choose composite or PVC for the walking surface (Trex, TimberTech, AZEK and others). For a pressure-treated or cedar deck, buy boards of that species instead.
  • Hidden deck fasteners & clips — For a clean, screw-free board surface.
  • Joist protection tape — Butyl tape that seals the pressure-treated frame and extends its life.
  • Structural post bases & joist hangers — Rated connectors at posts, beams and joists, as your deck design and local code specify. Simpson Strong-Tie and USP both make them; the brand is your choice.
  • Coated or stainless deck screws — Rated for ground contact and treated lumber.

Suggested materials to help you plan — not an endorsement, and never a contractor referral.

Cost simulator

Monte Carlo simulation

See the full range of likely costs — with the odds

For a typical 12x16 PT family deck, the installed planning band runs $8,932 to $15,367 nationally before regional adjustment. A known surprise risk is rotted ledger or rim joist found (rebuilds), typically adding $500–$3,000 when it occurs.

Worked example: 12x16 PT family deck

To show exactly how the band is built, here's the calculator's own engine run on the 12x16 PT family deck scenario at national average pricing — the same line items the calculator produces for this project, laid out as a bill of quantities.

Line-item bill of quantities for the 12x16 PT family deck worked example, with category and installed range per item
Line itemCategoryInstalled range
Pressure-treated decking (board material) (deck boards)Materials$995 – $1,690
Substructure (joists, beams, posts, footings)Materials$2,033 – $3,456
Deck screws (face-fastened)Materials$56 – $96
Composite railing (installed)Materials$1,553 – $2,640
Stairs (5 steps)Materials$1,029 – $1,750
Decking install labor (board placement)Labor$1,693 – $2,880
Crew labor (framing tune-up, finish details)Labor$480 – $800
Equipment & tool allowanceEquipment$353 – $600
Deck building permitPermits$50 – $300
Mobilization / minimum chargeLabor$200 – $200
Contractor overhead & profitMarkup 26–30%$490 – $956
Installed total$8,932 – $15,367

National average, planning ranges not a bid. Change the size, material, or ZIP in the calculator above to reprice this exact breakdown for your project.

What this project costs in different metros

Regional labor and material markets move the installed price. These bands come from the same engine as the calculator above, run at each metro's planning multipliers — enter your ZIP in the calculator for a figure tuned to your area. National reference: $8,950–$15,350.

Deck typical installed cost by metro area, compared with the national reference
MetroTypical installed rangevs. national
San Francisco, CA$10,500–$18,050+18%
New York, NY$10,650–$18,250+19%
Boston, MA$9,800–$16,850+10%
Chicago, IL$9,950–$17,150+12%
Atlanta, GA$10,050–$17,250+12%
Houston, TX$9,400–$16,150+5%
Miami, FL$8,800–$15,150-1%
Phoenix, AZ$9,150–$15,750+3%

Planning ranges, not contractor quotes. Multipliers are rounded regional planning indices (see methodology), not a reproduction of any proprietary cost table.

Deck cost by material

The same attached 16 × 12 deck, 3 feet off the ground with composite railing, stairs and a permit, changing only the decking boards.

Deck cost by material: installed cost range for each option, produced by this calculator's own engine
DeckingInstalled rangeRelative
Pressure-treated (PT) lumber16 × 12 · 192 sq ft · $46.52–$80.04 per sq ft $8,932 – $15,367
Cedar16 × 12 · 192 sq ft · $49.78–$85.76 per sq ft $9,557 – $16,466
Composite - basic (Trex Enhance / TimberTech Edge)16 × 12 · 192 sq ft · $47.67–$82.77 per sq ft $9,152 – $15,891
Composite - premium (Trex Transcend / TimberTech Pro)16 × 12 · 192 sq ft · $51.82–$88.49 per sq ft $9,950 – $16,990
PVC (AZEK / TimberTech AZEK)16 × 12 · 192 sq ft · $53.21–$88.49 per sq ft $10,216 – $16,990
Hardwood (ipe / mahogany)16 × 12 · 192 sq ft · $56.60–$100 per sq ft $10,868 – $19,204

Planning ranges at national average pricing, not contractor quotes. Enter your ZIP in the calculator above for a figure tuned to your area — these rows use the same engine and the same assumptions.

Deck cost by size

An attached pressure-treated deck 3 feet off the ground with composite railing, stairs and a permit, at five common sizes.

Deck cost by size: installed cost range for each size, produced by this calculator's own engine
Deck sizeInstalled rangeRelative
10 × 10100 sq ft · pressure-treated · $57.28–$98.81 per sq ft $5,728 – $9,881
12 × 12144 sq ft · pressure-treated · $50.25–$86.55 per sq ft $7,236 – $12,463
16 × 12192 sq ft · pressure-treated · $46.52–$80.04 per sq ft $8,932 – $15,367
16 × 20320 sq ft · pressure-treated · $40.58–$69.73 per sq ft $12,984 – $22,312
20 × 24480 sq ft · pressure-treated · $37.73–$64.79 per sq ft $18,111 – $31,098

Planning ranges at national average pricing, not contractor quotes. Enter your ZIP in the calculator above for a figure tuned to your area — these rows use the same engine and the same assumptions.

What moves this price the most

Vary one input across its full range while holding everything else at the typical scenario, and this is how far each choice can move the installed estimate — measured by running the calculator's own engine. The widest bars are where your decisions matter most; the figures show the cheapest-to-priciest span each input creates on its own.

  • Length (ft)$5,250–$37,400
  • Width (ft)$6,650–$31,350
  • Railing type$10,050–$24,050
  • Height above grade (in)$8,650–$17,800
  • Decking material$12,150–$15,050
  • Stairs$10,750–$12,150

A tornado view: each row varies a single input; a real project moves several at once, so totals aren't additive.

How much does it cost to build a deck in 2026?

The two tables above price this calculator’s 16 × 12 reference job (attached, 3 ft above grade, composite railing, stairs, permit): the first by decking board, the second by deck size. HomeGuide’s deck cost guide (February 10, 2026) puts a new pressure-treated deck attached to a one-story home at $25-$50 per square foot installed, about $3,600-$7,200 for 12 × 12 and $10,000-$20,000 for 20 × 20. HomeGuide’s figures describe average attached decks with no stated railing, stairs or permit; this calculator prices a specified job, and the two are not calibrated against each other.

For the 16 × 12 reference job, the chart What moves this price the most varies one input at a time across its tested range: there, the deck’s length and width move the modeled midpoint most, and the railing choice and the deck’s height move it more than the decking board does. At other sizes the order can change; see what drives project costs.

What drives deck cost

  • Decking material — pressure-treated boards at $5-$8 per sq ft and hardwood at $12-$22 per sq ft, board material before markup.
  • Deck height — taller decks need longer posts, more bracing and footings sized by the design (their depth follows local frost depth and soil). Model codes require a guard where the walking surface is more than 30 in above grade; this planner prices a railing from 30 in up, the conservative side of that line.
  • Railing type — wood and composite railings, which this calculator prices the same, at $35-$60 per linear foot installed; glass at $235-$400 per linear foot.
  • Stairs — $206-$350 per step installed. A 36 in deck needs 5 steps; a 60 in deck needs 8.
  • Substructure — $11-$18 per sq ft installed for the joists, beams, posts and footings; complex shapes and steel framing run higher.
  • Permit — this calculator allows $50-$300; the fee is set by your building department.
  • Region — this calculator’s location factors put California and New York labor 30-35% above the national average.

Choosing the right decking material

Prices below are board material only, before installation and markup. The installed cost of each board at the 16 × 12 reference job is in the “Deck cost by material” table above.

Pressure-treated lumber (PT)

Pressure-treated boards: $5-$8 per sq ft. Cheapest, easiest to find, lasts 15-20 years with regular sealing or staining (typically every 1-3 years, depending on sun, weather and product). The default choice for most homeowners. Boards may warp, crack, or splinter over time.

Cedar

Cedar boards: $7-$12 per sq ft. Naturally rot-resistant and insect-repellent. Ages to a silver-gray; needs sealing if you want to keep the warm tone. Lasts 20-30 years.

Composite (Trex Enhance, TimberTech Edge)

Basic composite boards: $5-$9 per sq ft. Capped composite (wood fiber + plastic with a polymer shell). 25-year warranty typical. No sealing or staining; just rinse.

Composite premium (Trex Transcend, TimberTech Pro)

Premium composite boards: $8-$13 per sq ft. Higher-grain capped composite with multi-tone coloring. 30-50 year warranty. Looks closer to real wood than basic composite.

PVC (AZEK / TimberTech AZEK)

PVC boards: $9-$13 per sq ft. All-PVC boards (no wood at all). Lightest weight, fully waterproof, longest lifespan. No staining or rot. The most expensive mainstream option.

Hardwood (ipe, mahogany, garapa)

Hardwood boards: $12-$22 per sq ft. Tropical hardwoods with 50+ year lifespans. Beautiful grain. Needs annual oiling to keep color; otherwise grays. Extremely heavy and hard on tools.

Deck design fundamentals

Sizing

  • 10x12 (120 sf) — small bistro / fire pit area for two.
  • 12x16 (192 sf) — a common family size; fits a 6-person dining table plus a small seating area.
  • 14x20 (280 sf) — comfortable dining + lounge zones.
  • 16x20+ (320 sf+) — outdoor kitchen or hot tub possible.

Height

Most decks attach to a sliding door or doorway, putting them 12-36 in above grade. The IRC requires a guard where the walking surface is more than 30 in above grade, measured within 36 in horizontally of the open edge — more than 30 in, not 30 in exactly, and the measurement is taken to the grade below rather than to the next step down. A residential guard is 36 in tall (42 in commercial). This planner treats 30 in as the trigger, which is the conservative side of the model code; your adopted local code and its amendments are what actually govern. Well below the trigger, a guard is optional — many homeowners skip it for a more open look.

Stairs

Stairs are computed by deck height: at 7.5 in per riser, a 36 in deck needs 5 risers, a 60 in deck needs 8. The IRC max riser is 7.75 in, min tread depth is 10 in. Each step is priced at $206-$350 installed. Tall decks (60 in+) often add a landing partway down.

Footings

Concrete pier footings, often 12 inches across, go below the local frost depth: at least 12 in deep under the IRC, and deeper wherever the frost line is lower. In rocky soil or on slopes, helical-pier footings or stepped concrete piers add cost. Most decks need a footing every 6-8 ft along beams.

Deck replacement cost

Replacing an existing deck costs more than building new, because the old structure has to come out first. HomeGuide (February 10, 2026) puts deck replacement at $30-$55 per square foot installed, and a 20 × 20 replacement at $12,000-$22,000.

  • Demolition & disposal — tear-out labor plus dump fees for treated lumber, which depend on the deck’s size and height and on local dump fees.
  • Boards-only (resurface) — if the substructure is sound, replacing just the decking and railing on the existing frame is the cheapest way to refresh a deck.
  • Full rebuild — if joists, beams, posts, or footings are rotted or out of code, budget for a complete teardown and rebuild at new-construction rates plus demolition.

This calculator prices a new build; it has no tear-out or disposal line, so get removal priced separately. A structural engineer or contractor should confirm whether your existing framing can be reused or must be replaced.

Frequently asked questions

How much does it cost to build a deck in 2026?

HomeGuide's deck cost guide (February 10, 2026) puts a new pressure-treated deck attached to a one-story home at $25-$50 per square foot installed, about $3,600-$7,200 for 12 by 12 ft and $10,000-$20,000 for 20 by 20 ft. In this calculator, the 16 by 12 ft reference job in pressure-treated boards (attached, 3 ft above grade, composite railing, stairs, permit) runs about $8,900-$15,400. A 20 by 14 ft attached deck of basic composite boards with aluminum railing, 3 ft above grade, stairs and permit runs about $12,800-$22,300. HomeGuide's figures describe average attached decks with no stated railing, stairs or permit; this calculator prices a specified job, and the two are not calibrated against each other.

Is composite or pressure-treated decking cheaper?

HomeGuide's deck cost guide (February 10, 2026) puts pressure-treated decks at $25-$50 per square foot installed and composite decks at $40-$80. In this calculator, switching the 16 by 12 ft reference job to basic composite boards, which also switches the face screws to the hidden-fastener line, adds about $220-$520. Composite needs no sealing or staining; pressure-treated boards do.

Do I need a permit to build a deck?

Usually yes. Permit thresholds are set by each jurisdiction rather than by the IRC, and commonly turn on height above grade, floor area, or attachment to the house, often around 30 in or 200 sq ft, but neither number is universal. This calculator's permit line is $50-$300. HomeGuide's deck cost guide (February 10, 2026) puts deck permits at $50-$150. Confirm the trigger and the fee with your local building department before you budget.

What size deck do I need?

12x12 (144 sf) fits a small bistro table for two. 12x16 (192 sf) is a common family deck size. 14x20 (280 sf) fits a dining table plus seating. 16x20+ (320 sf+) supports outdoor kitchens or multi-zone layouts.

How much does a Trex (composite) deck cost?

HomeGuide’s deck cost guide (February 10, 2026) puts composite decks at $40-$80 per square foot installed and Trex decks at $45-$70. In this calculator, basic composite boards (Trex Enhance or TimberTech Edge class) are $5-$9 per sq ft of board material, before markup. Premium composite boards (Trex Transcend or TimberTech Pro class) are $8-$13 per sq ft. The installed cost of each at the 16 × 12 reference job is in the “Deck cost by material” table above; select a composite material in the calculator to model your own deck.

How long does a deck take to build?

A 2-3 person crew typically builds a 200-300 sq ft deck in 4-7 days, depending on weather, footing complexity, and railing system. Composite installation is slower than PT due to hidden fasteners and tighter cuts.

What size joists and beams do I need?

For typical residential decks: 2x8 joists at 16 in O.C. (or 12 in O.C. for composite), 2x10 or 2x12 doubled beams, 6x6 PT posts. Always check the American Wood Council’s deck construction guide (DCA 6), which follows the IRC, or have a structural engineer review your plan for spans over 14 ft.

Can I build a deck myself (DIY)?

Yes for low decks under 30 in (no railing required) and under ~150 sf. Beyond that, the framing complexity, code requirements, and labor of moving lumber make a contractor a reasonable call.

What's the cheapest railing?

In this calculator, wood and composite railings tie at $35-$60 per linear foot installed. Aluminum railing is $47-$80 per linear foot. Cable railing is $118-$200. Glass railing is $235-$400. HomeGuide’s deck cost guide (February 10, 2026) puts wood or vinyl railing at $20-$60 per linear foot.

How long does a deck last?

PT: 15-20 years with maintenance. Cedar: 20-30 years. Composite: 25-50 years. PVC: 50+ years. Hardwood (ipe): 50+ years. The substructure (PT framing) typically outlasts whatever decking sits on it.

Why does the calculator show a price range?

Material and labor costs vary across regions, seasons, and contractors, and composite brands differ in price. The calculator adds up the low and high ends separately, from each line item’s low and high rate, so the range carries that spread instead of a single guess. Use the low end as best-case, the high end as a realistic ceiling.

Common mistakes & questions

  • Undersized framing — joists must meet IRC span tables (not just "looks sturdy").
  • Skip ledger flashing — an unflashed ledger lets water into the house rim joist and the deck framing.
  • Wrong fasteners — interior screws rust through PT in 1-2 years; use exterior-rated coated or stainless.
  • Skip permits — many jurisdictions require one for a deck more than 30 in above grade or over 200 sf; confirm with your building department.
  • Miss railing height code — the IRC requires a 36 in guard on a home; 42 in is the IBC figure for commercial buildings.
  • Ask your contractor: joist size + spacing, post footing depth (frost line), railing code, ledger flashing detail.

When this estimate is wrong

  • Ledger attachment is where decks fail. Proper flashing and lag/through-bolt fastening into the house rim joist — plus repairing any hidden rot found behind the old ledger — is work the estimate cannot see until the band is opened up.
  • Footing depth is set by your frost line, not the deck size. Deep footings in cold-climate soils mean more concrete, more holes to dig, and often a required inspection before backfill.
  • Height above grade drives code. Once the walking surface passes roughly 30 inches you are into guardrail height and infill-spacing requirements, and a taller deck needs a longer, code-compliant stair run.
  • A rebuild can uncover framing rot. Once the old decking comes off, joists, beams, or posts that looked sound may need replacing before the new surface goes down.
  • Demolition and haul-away of the old deck is not in this estimate — tear-out labor plus dump fees for treated lumber are easy to leave out of a first pass.
  • Most jurisdictions require a permit and inspection for an attached deck above a height threshold; a large or elevated deck may need a stamped design, adding engineering fees and review time.
  • Tight site access — a fenced or terraced backyard with no clear path for lumber and a concrete truck — means material moved by hand and higher labor.