Skip to main content

CalcDune

Home / Construction Calculators / Deck Cost Calculator

Deck Cost Calculator

Estimate what a new deck costs — materials and installed price for pressure-treated wood or composite decking.

Deck Cost Calculator

Estimate the cost of building a deck — decking material, railing, stairs, footings and a materials take-off.

How this is calculated

Cost = (decking & framing per area × area × height factor + railing per length × length + stairs per step × steps + footings × cost each) × (1 + permit & contingency) × local adjustment. Prices are typical US averages.

Choose your deck size, height, decking material and railing, and decide between DIY materials or professional installation. The calculator estimates a total cost with a typical range, cost per area, footing count and a basic materials take-off.

Results are estimates for planning purposes only. Real-world quantities depend on site conditions, materials and workmanship. Always verify measurements, follow local building codes and confirm quantities with your supplier or a qualified professional before ordering or building.

About the Deck Cost Calculator

Deck quotes vary wildly, and without a baseline it is hard to tell a fair price from an inflated one. This calculator estimates the DIY materials cost and the professionally installed price for a new deck, from its size, height and decking material. It covers pressure-treated lumber, cedar and composite, and breaks out footings, posts, beams, joists and railing so you can see where the money goes.

How to use

  1. Enter the deck length and width in feet — a 12 by 16 foot deck is 192 square feet.
  2. Enter the height off the ground. Raised decks need more posts, deeper footings and stairs.
  3. Choose your decking: pressure-treated pine, cedar or redwood, or composite/PVC boards.
  4. Choose DIY materials only, or professionally installed — labor is typically 40 to 60 percent of the total.
  5. Add railing if the deck is over 30 inches high — code requires it, and it is a major cost line.

Understanding your results

The materials estimate covers boards, framing, footings, hardware and railing. The installed estimate adds labor. The per-square-foot figure lets you compare quotes apples to apples, and the footing count shows the concrete and post bases the structure needs.

How the calculation works

Deck area is length times width, multiplied by a per-square-foot rate: roughly USD 8 to 12 for pressure-treated materials alone (USD 15 to 25 installed), and USD 12 to 20 for composite materials (USD 25 to 45 installed). Raised decks add a height multiplier for extra posts and stairs. Footings run about one per 36 to 48 square feet; railing is priced per linear foot of open edge.

Deck Cost Calculator FAQs

A pressure-treated wood deck typically costs USD 15 to 25 per square foot professionally installed, while composite runs USD 25 to 45 per square foot. Materials alone are roughly half those figures. A basic 12×16 ground-level wood deck often lands between USD 3,000 and 5,000 installed; the same deck in composite can reach USD 6,000 to 9,000.
Pressure-treated wood costs about half as much upfront but needs staining every 2 to 3 years and lasts 10 to 15 years. Composite costs more initially, needs only occasional washing and lasts 25 to 30 years. If you plan to stay in the home long term, composite usually wins on total cost and time saved; for a quick budget deck, wood is the answer.
In most areas, yes — especially for decks over 30 inches high, attached to the house, or above a certain size. The permit process verifies footing depth, ledger attachment and railing height against local code. Unpermitted decks can stall a home sale and create insurance problems. Check with your local building department before buying materials.
Sixteen inches on center is the standard for wood decking. Composite decking often requires 12 inches on center, or 16 inches maximum, because composite boards are more flexible — check the manufacturer specs, since wrong spacing voids warranties. Diagonal decking patterns also need 12-inch spacing to support the angled boards.
Footings must extend below the local frost line — commonly 36 to 48 inches in northern climates — or freeze-thaw cycles will lift the deck. Each footing typically needs an 8 to 12 inch diameter concrete pier on a wider footer pad. A 12×16 deck usually needs 6 to 8 footings depending on beam spans.
Nabil Sharif, founder of CalcDune

Written by

Nabil Sharif

Founder of CalcDune — a free library of 137 online calculators for finance, health and everyday math. Every calculator shows the formula behind its result, so you can see exactly how your numbers are worked out.

More articles by Nabil →

Related Calculators