Deck Cost Calculator

Estimate the total cost of building a deck including materials, labor, railing, and stairs.

Written & reviewed by Michael FairUpdated June 2026Based on U.S. codes & pricingHow we calculate

Complete Guide to Estimating Deck Construction Costs

Building a deck is one of the most popular home improvement projects, offering an excellent return on investment. On average, a new deck adds 65-75% of its cost to your home value, making it both a lifestyle upgrade and a smart financial decision.

Deck costs vary dramatically based on materials. Pressure-treated lumber is the most economical option at $15-$25 per square foot installed, while composite decking runs $25-$45 per square foot. Premium options like PVC or exotic hardwoods can exceed $50-$75 per square foot.

Material costs typically represent about 50% of total deck cost, with labor making up the remaining 50%. For a standard 12x16-foot deck, expect to pay $3,000-$5,000 for pressure-treated wood or $5,000-$9,000 for composite materials, including labor.

Additional features significantly impact total cost. Railings add $20-$40 per linear foot. Built-in stairs typically cost $500-$2,000 depending on complexity. Adding a pergola or built-in seating can add $1,000-$5,000 to the project.

When budgeting, factor in permits ($50-$500), hardware and fasteners ($200-$500), and site preparation costs. Some jurisdictions require engineering drawings for larger decks, which can add $500-$1,500 to the project cost.

Footings and framing are where deck budgets quietly grow. Local code dictates footing depth (below the frost line in cold climates, often 36–48 inches), and each footing needs concrete plus a post base. Ledger board attachment to the house must be flashed and bolted correctly — improper ledger connections are a leading cause of deck collapses, so this is not a place to cut corners.

Composite versus wood is a total-cost-of-ownership decision, not just a sticker price. Pressure-treated wood is cheapest upfront but needs cleaning and re-staining every 1–2 years, at $0.50–$1 per square foot each time. Composite and PVC cost 2–3x more initially but need only occasional washing. Over a 20-year horizon the lifetime costs often converge — and composite wins on appearance retention.

Fasteners and hardware are a small line item with an outsized effect on longevity. Use hot-dipped galvanized or stainless steel connectors and screws, especially with modern pressure-treated lumber, whose copper-based preservatives corrode ordinary steel quickly. Hidden fastener systems give composite decks a clean look but add cost and installation time. Joist hangers, hurricane ties, and post bases should all be code-rated for your loads.

Permits and inspections protect you at resale. Most jurisdictions require a permit for decks over 200 sq ft or more than 30 inches off the ground, with inspections at the footing and framing stages. An unpermitted deck can complicate a home sale and may need to be torn out or retroactively approved. Factor $150–$500 in permit costs and some scheduling time into the plan.

How to Use This Calculator

1. Enter the deck length and width in feet. 2. Select your decking material (affects cost per sq ft). 3. Toggle railing and stairs options. 4. Adjust the labor rate per sq ft if needed. 5. Click "Calculate" for a detailed cost breakdown. Note: Costs are approximate and vary by region. Always get multiple quotes from contractors.

Understanding Your Result

Your result is a cost breakdown for your deck project — materials, labor, and key extras like railings and stairs — based on the decking material, deck dimensions, and features you selected. The total reflects typical 2026 contractor pricing in the US. DIY builds typically cost about half the total (materials only), though you still need permits, footings, and structural knowledge.

Worked Example

A 12 × 16 ft composite deck (192 sq ft), 3 feet above grade, with railings on three sides and one set of stairs.

  1. 1Composite decking boards: 192 sq ft + 10% waste = 211 sq ft × $10–$14/sq ft = $2,110–$2,955.
  2. 2Pressure-treated framing (joists 16" OC, beam, 6 posts): approximately $900–$1,300.
  3. 3Concrete footings (6 Sonotube footings below frost line): approximately $180–$360.
  4. 4Hardware and fasteners (joist hangers, post bases, hidden clips, screws): approximately $350–$500.
  5. 5Railings (48 linear ft × $25–$40/ft): $1,200–$1,920. Stairs (one set, 4 steps): $300–$600.

Materials total roughly $5,040–$7,635. Professional labor typically adds a similar amount, putting the fully installed cost at about $9,000–$14,000 with railings and stairs. Without railings and stairs, the same deck runs closer to $5,000–$9,000 installed — which matches the common rule of thumb for a mid-range composite deck.

Assumptions Behind This Estimate

  • Composite decking is priced at $10–$14 per square foot for the boards alone (e.g., Trex Select or TimberTech Prime); premium lines cost $14–$18.
  • The substructure (joists, beams, posts, ledger board) uses pressure-treated lumber, which is structurally required even under composite decking.
  • Footing depth is dictated by local frost line — typically 36–48 inches in cold climates. The calculator assumes poured Sonotube footings with post bases.
  • Labor is estimated at roughly 50% of total project cost for a standard rectangular deck; multi-level, curved, or elevated decks have higher labor ratios.
  • Permit costs ($150–$500) and engineered drawings (if required by your jurisdiction) are not included in the material estimate.

Decking Material Cost Comparison

Cost per square foot by decking material type
MaterialCost/sq ft (Material)Cost/sq ft (Installed)LifespanMaintenance
Pressure-Treated Pine$2–$5$15–$2510–15 yearsAnnual stain/seal
Cedar$4–$8$20–$3515–20 yearsStain every 2–3 years
Redwood$6–$12$25–$4020–25 yearsStain every 2–3 years
Composite (Trex, TimberTech)$8–$14$25–$4525–50 yearsMinimal — occasional wash
PVC/Cellular$10–$18$30–$5025–50 yearsVirtually none
Ipe/Exotic Hardwood$12–$25$40–$7540–75 yearsAnnual oiling

Prices include typical waste factor. Labor rates vary by region.

Before You Buy: Practical Advice

  • Get at least three contractor quotes and compare them line by line — lumber prices fluctuate seasonally, and labor rates vary widely by region.
  • Do not skip the ledger board flashing: an improperly flashed ledger is the leading cause of deck collapses and will rot the rim joist of your house.
  • Use hot-dipped galvanized or stainless steel fasteners and connectors — modern pressure-treated lumber's copper preservatives corrode ordinary steel within a few years.
  • Factor in lifetime cost, not just sticker price: pressure-treated wood costs about $0.50–$1 per square foot to clean and re-stain every 1–2 years, which over 20 years can exceed the composite upcharge.
  • Check whether your jurisdiction requires permits (most do for decks over 200 sq ft or 30 inches above grade) — an unpermitted deck can be a dealbreaker at resale.

Frequently Asked Questions

How much does a 12x16 deck cost?

A 12x16 foot deck (192 sq ft) costs $3,000-$5,000 for pressure-treated lumber or $5,000-$9,000 for composite materials, including labor. Add $1,500-$3,000 for railings and stairs.

Is composite decking worth the extra cost?

Composite decking costs 2-3x more upfront but requires virtually no maintenance. Pressure-treated wood needs annual staining/sealing ($500-$1,000/year). Over 15-20 years, composite often costs less when you factor in maintenance.

Do I need a permit to build a deck?

Most jurisdictions require permits for decks over 200 square feet or more than 30 inches above grade. Permit costs range from $50-$500. Check with your local building department before starting construction.

How long does it take to build a deck?

A professional crew can typically build a standard 12x16 deck in 2-4 days. DIY projects usually take 2-4 weekends. Complex multi-level decks or those requiring significant site preparation may take 1-2 weeks.

How much does it cost to build a 20x20 deck?

A 20x20 foot deck (400 sq ft) costs roughly $6,000–$10,000 in pressure-treated lumber or $10,000–$18,000 in composite, including labor. Elevated decks requiring tall posts, stairs, and railings sit at the higher end. Material alone for a DIY build runs about half those figures, though structural and code knowledge is essential.

What is the cheapest way to build a deck?

Pressure-treated lumber with a simple rectangular design, a ground-level or low-height platform (avoiding tall posts and stairs), and DIY labor is the most economical approach. Keeping the deck under the size or height that triggers permits also saves money and time. Standard framing spacing and stock lumber lengths reduce both cost and waste.

How long does a pressure-treated deck last?

A well-built and regularly maintained pressure-treated deck lasts 10–15 years, sometimes 20+ with diligent annual cleaning and sealing. The framing often outlasts the deck boards. Composite and PVC decking last 25–50 years with minimal upkeep, which is why many owners pair composite boards with a pressure-treated frame.

Do I need footings for a deck?

Yes — nearly all decks need footings to transfer load to stable ground and resist frost heave. Footing depth is set by local code and frost line, commonly 36–48 inches in cold climates. Only very low, freestanding ground-level platforms may use precast deck blocks, and even then only where permitted. Skipping proper footings leads to sinking and shifting.