ReplaceCost

Home › Deck

Deck cost

Deck cost calculator

Estimate the cost to build or replace a deck: square footage and board material, height, railing, stairs, demolition and permits, with a check on what insurance would pay after a covered loss.

Reviewed 8 October 2026

See the illustrated guide

Written and maintained byMantu Kumar
Evidence review8 October 2026
Calculation rulesRead the methodology Quality standardEditorial policy

Key facts at a glance

  • Professionally built decks run about $30–$60 per sq ft all-in.
  • 300 sq ft pressure-treated: $4,500–$7,500 installed.
  • 300 sq ft composite: $9,000–$18,000 installed.
  • Railing $20–$80 per foot; stairs $50–$150 per step.
  • Permits usually cost $50–$500.
  • Building it yourself saves about 50%–60%, paying for materials only.

Sources: RemodelAI and NerdWallet, listed at the end of this page.

Deck building cost estimate

No email · nothing sent

On the deck itself

See the boards, the house connection and the height off the ground

The photograph is taken from the deck, so the surface, the wall it meets and the stairs down to the yard are all visible.

Wood deck attached to a house, with deck boards, a railing, stairs and the framing visible above the yard.
Boards, railing, the house wall and the stairs. Those four things drive most of a deck estimate.AI-generated illustration for explanation. Not a site inspection, measurement or eligibility record.

The three detail views below enlarge parts of the same photograph. Use them with the checks underneath.

Deck boards, railing and the edge where the framing shows.Deck boards and railing

Measure the deck surface

Multiply length by width for the area. Measure the open sides separately for railing, and count the steps down to the yard.

Deck boards meeting the house wall beside a sliding door.Where the deck meets the house

Check the ledger and flashing

An attached deck hangs on a ledger fastened to the house. Ask how it is bolted and flashed. That joint is the detail that fails first if water gets behind the siding.

Deck stairs and the open framing above the yard.Stairs and height off the ground

Plan the footings and the steps

Height above grade sets post size, bracing, railing and how many steps you need. A slope often means taller posts at one end.

Before you sign a deck quote, confirm these

Structure
Footing size and depth, joist size and spacing, and how the ledger is attached and flashed
Surface
Decking material, fasteners and the board warranty
Safety
Railing height, baluster spacing, stair rise and run, and the permit and inspections
Price a fence around the yard
Advertisement

Deck cost per square foot by material

DeckingInstalled per sq ftTypical life
Pressure-treated pine$15 – $2510 to 20 years
Cedar$25 – $3515 to 20 years
Redwood$30 – $4515 to 25 years
Composite$30 – $6025 to 30 years or more
PVC$35 – $6030 years or more
Ipe hardwood$35 – $6040 years or more
Installed deck platform 2 to 8 ft above grade, before railing, stairs and permits. Source: RemodelAI 2026 deck cost guide.

The framing under almost every deck is pressure-treated lumber, so the board material changes the surface cost, the upkeep and the life more than the structure. Composite and PVC cost more at the start and need no staining.

Railing, stairs and height

Railing is required on most decks more than 30 inches above the ground and runs from about $20 per foot in wood to $80 or more in aluminum, and more again for cable or glass. Stairs cost roughly $50 to $150 per step. A second-story deck needs taller posts, bracing and staging, so it costs noticeably more per square foot than one close to the ground.

Permits, footings and the ledger

Repair, resurface or rebuild

If the framing is sound, new boards and railing on the old structure can save a third or more. Probe joists, posts and the ledger with a screwdriver; soft wood, rusted fasteners or a missing ledger flashing mean the frame should be rebuilt before new decking goes on. The repair or replace calculator explains the general rules of thumb.

What insurance covers

Attached decks are part of the dwelling; free-standing ones are other structures. Storm, fire and tree damage are usually covered, rot and wear are not. If someone is injured on a failing deck, the liability part of the policy responds, which is a strong reason to fix a loose railing promptly.

Advertisement

Questions

How much does it cost to build a deck per square foot?

Installed decks commonly run about $15 to $25 per sq ft in pressure-treated pine and $30 to $60 in composite or PVC, before railing and stairs. All-in, professionally built decks often land between $30 and $60 per sq ft.

How much does a 300 sq ft deck cost?

In pressure-treated pine, 2 to 8 ft high, with 40 ft of wood railing and four steps, this calculator returns about $5,600 to $10,200 at the national average, including a permit allowance.

Is composite decking worth the extra cost?

Composite costs more to build but needs no staining or sealing and typically lasts 25 to 30 years or more, against 10 to 20 for pressure-treated wood. Over the life of the deck the gap narrows.

Do I need a permit to build a deck?

Usually, for decks attached to the house or more than about 30 inches above the ground. The permit brings plan review and inspections of footings, framing and the ledger.

Can I replace just the deck boards?

Yes, if the joists, beams, posts and ledger are sound. Resurfacing with new boards and railing often costs a third less than a full rebuild.

Does homeowners insurance cover a deck?

Attached decks are covered as part of the dwelling and detached ones as other structures, for covered causes such as fire, wind and falling trees. Rot, insects and wear are excluded.

How long does a deck last?

Pressure-treated wood decks often last 10 to 20 years, cedar and redwood 15 to 25, and composite or PVC 25 years or more with the framing kept dry.

Related

How to use this result This is a planning range from published per-square-foot prices and ReplaceCost’s assumptions, not a quote. Footings, framing, local code and the site change the real price. Get itemized quotes that list the framing and decking separately.
Evidence trail

Sources used to check this tool

Per-square-foot prices come from published deck cost guides; structural terms from the American Wood Council deck guide.

Reviewed 8 October 2026

These organizations do not endorse ReplaceCost. The written policy, program rules, contractor scope and applicable law control the real result. See the full methodology for the source hierarchy and update process.

Deck planning

Price the platform, the railing and the stairs

Board material sets the surface cost; height, railing and stairs set the rest.

Cost per square foot Decking material sets the base rate.
Railing and stairs Priced by the foot and by the step.
Ledger and footings The structure decides safety and permit approval.
Coverage Attached decks are part of the dwelling.
Related searches

Popular deck cost searches

Common wording people use when comparing costs, estimates and next steps.

More related searches 9 more

By material and size

trex deck cost per square foot cedar deck cost second story deck cost 300 sq ft deck cost deck stairs cost per step

Repair and permits

deck resurfacing cost deck demolition cost do i need a permit for a deck does homeowners insurance cover deck damage
Every estimator, one method

All replacement cost tools

Each tool itemizes the work, shows a planning range, and explains how age, depreciation and your deductible can change the insurance check.

Roof$6,800–$32,000Squares, pitch, material and the ACV/RCV payout split. Solar$15,000–$40,000System size, installed cost, savings and payback period. HVAC$4,000–$19,000Furnace, AC and heat pump costs sized by tonnage. Windows$650–$1,900 eachInsert or full-frame replacement, per window and whole house. Water heater$1,300–$7,500Tank and tankless systems by capacity, fuel and access. Siding$8,700–$32,000Wall-area estimate for vinyl, fiber cement and wood. Gutters$1,900–$5,500Linear-foot estimate for sectional, seamless and guards. Flooring$3–$22 / sq ftMaterial, removal, subfloor repair and water-claim matching. Claim gapACV vs RCVSee the first check, depreciation holdback and your final share. Rebuild cost$200–$305 / sq ftWhole-home rebuild range and a Coverage A shortfall check. Roof areaSquares and bundlesPitch-corrected roof area, waste and shingle bundles to order. Roof taxDeduction & basisDeductible, depreciated or added to basis: a roof by how the home is used. Roof grantsFree screeningCheck which roof repair programs fit your income, age and location. File a claim?File or pay yourselfPayout after deductible against the premium increase a claim can bring. Water damage$1,300–$25,000Drying, flood cuts, flooring and mold by water category and delay. Repair or replace$5,000 & 50% rulesAC, furnace, water heater or roof: test the repair against new. AC size (BTU)BTU and tonsRoom or whole-home cooling load, unit size and tonnage. Fence$10–$65 / ftLinear-foot fence cost by material and height, with gates. Deck$15–$60 / sq ftDeck boards, framing, railing and stairs by material.

Planning summary: Start with the physical replacement estimator, then run the Claim gap tool with the replacement figure, item age, expected life and deductible from your declarations page. The result is a planning estimate — not a contractor quote or coverage decision.