Costs & Estimating calculator

Deck Cost Calculator

A deck cost per square foot estimate that shows the total, the cost per square foot and where the money goes, before you commit to a material. Enter the size, height, material, railing and stairs, then compare every decking material side by side, including its cost per year of life. A cheap board that needs replacing costs more than a dearer one that lasts, so see the full picture first.

  • Free to use
  • No sign-up
  • Formula and sources shown
Deck Cost Calculator

Got the number? Save it before it gets lost.

A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.

Save this estimate in the app
Start from:

Size and shape

Higher decks need taller posts, bracing and stronger footings.

Materials

Required by most codes above 30 in off the ground.

Each step is counted at 4 ft wide.

Who builds it

Extras

Have a quote? Enter its price per sq ft for the frame and decking to use it instead of ours.

Typical cost, pressure-treated pine deck

$5,581

Likely range $4,292 to $6,870 · about $29 per sq ft

Deck area

192 sq ft

Cost per square foot

$22 to $36

Frame, footings and posts

$2,899

Decking surface

$1,632

Permit and extras

$400

Sales tax on materials

$142

Contingency

$507

  • Planning ranges for the United States. A written quote from two or three local contractors is the real price.

Cost of every decking material for this size

Same size, height, railing and steps, so you can compare like for like. The last column spreads the cost over the years the deck lasts and adds yearly upkeep.

MaterialTypical totalRangePer sq ftLasts aboutPer year of life
Pressure-treated pine$5,581$4,292 to $6,870$2915 years$602
Cedar$6,632$5,068 to $8,196$3520 years$524
Redwood$7,028$5,294 to $8,761$3720 years$543
Composite$8,799$6,621 to $10,977$4630 years$322
PVC (cellular)$9,703$7,524 to $11,881$5135 years$296
Ipe (tropical hardwood)$10,773$8,158 to $13,389$5640 years$385

Turn this result into a priced plan

Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.

Open this calculator in the app

Formula

Cost = Area × [(frame + footings) × height factor + decking + labour] + railing + stairs + permit + tax + contingency

Worked example. A 16 × 12 ft pressure-treated deck at ground level (192 sq ft), built by a contractor with a $400 permit, 7% tax on materials and 10% contingency: about $5,580 typical, in a range of $4,290 to $6,870, which is $29 per sq ft.

A deck costs roughly $18 to $60 per square foot installed, depending mainly on the decking material. A 16 × 12 ft pressure-treated deck at ground level costs about $5,580 with a permit, tax and contingency, or $29 per sq ft. Composite decking of the same size costs about $8,800, but lasts longer and needs less upkeep. Know the range first, then choose the material that fits your budget and your weekends.

Key takeaways

  • •Material sets the price. Pressure-treated pine is cheapest; composite, PVC and ipe cost up to twice as much per square foot.
  • •Height matters. A deck more than 6 ft off the ground costs about 60% more for framing than one at ground level.
  • •Railing and stairs add real money, from about $30 per linear foot of railing and $75 to $155 per step.
  • •Labour is about half the total, so building it yourself can cut the cost by 40 to 50%.
  • •Compare cost per year of life, not only the price. Composite and PVC often win over 30 years.

How to use the deck cost calculator

  1. Enter the deck length and width in feet, and choose how high it sits above the ground.
  2. Pick the decking material, the railing type and the number of steps.
  3. Choose whether a contractor builds it or you do, and your local price level.
  4. Add your permit cost, any extras such as lighting or a pergola, sales tax and a contingency.
  5. If you have a quote, enter its price per square foot to replace our estimate.
  6. Read the typical total and the range, then compare all six materials below.

Deck cost per square foot by material

These are installed ranges for the deck itself at ground level: frame, footings, decking boards and labour, before railing, stairs, permit and tax.

MaterialCost per sq ftLasts aboutYearly upkeep per sq ft
Pressure-treated pine$17.70 to $29.5015 years$1.20
Cedar$21.20 to $35.5020 years$1.00
Redwood$22.20 to $38.0020 years$1.00
Composite$28.20 to $48.0030 years$0.15
PVC (cellular)$32.20 to $52.0035 years$0.10
Ipe (tropical hardwood)$35.20 to $59.0040 years$0.60

Typical ranges for the United States. Frame and footings are $11.20 to $19.00 per sq ft of this; decking boards and labour make up the rest.

What the money goes to: a 16 × 12 ft example

For a 192 sq ft pressure-treated deck at ground level built by a contractor, the typical cost works out like this.

Part of the jobTypical cost
Frame, footings, posts and framing hardware$2,899
Decking boards and installation$1,632
Permit$400
Sales tax on materials (7%)$142
Contingency (10%)$507
Total$5,581

Notice that the frame, which you cannot see afterwards, costs more than the boards. Skimping on footings and flashing to save a few hundred dollars is the most common and most expensive mistake.

What makes a deck cost more or less

  • •Size. A bigger deck costs more in total but a little less per square foot.
  • •Height. Tall decks need longer posts, bracing, bigger footings and stairs.
  • •Material. Decking boards are the largest choice you make after size.
  • •Shape. Curves, angles, multiple levels and picture frame borders add waste and labour.
  • •Railing and stairs. Railing is priced per linear foot and stairs per step.
  • •Foundation. Poor soil, rock, frost depth or a deck that needs engineered footings raises cost. Check the footing size with the footing calculator.
  • •Region. Labour and materials cost about 12% less in low-cost areas and about 20% more in high-cost areas.
  • •Site access. Hard-to-reach backyards add delivery and labour time.
  • •Demolition. Removing and disposing of an old deck costs about $2 to $4 per sq ft.

Railing and stair costs

Railing typeInstalled per linear foot
Pressure-treated wood$30 to $60
Composite$55 to $95
Aluminum$45 to $85
Cable$80 to $150
Glass panel$120 to $250

Stairs add about $75 to $155 per 4 ft wide step in pressure-treated wood, and more in composite or hardwood. Plan the stair layout with the stair calculator and the baluster count with the deck railing calculator. To order boards and joists, use the deck calculator.

Material comparison: cost over the life of the deck

The cheapest deck to build is not always the cheapest to own. This comparison uses the 16 × 12 ft deck above and divides the typical cost by the years each material lasts, then adds yearly upkeep such as staining and sealing.

MaterialTypical costLasts aboutCost per year of life
Pressure-treated pine$5,58115 years$602
Cedar$6,63220 years$524
Redwood$7,02820 years$543
Composite$8,79930 years$322
PVC (cellular)$9,70335 years$296
Ipe (tropical hardwood)$10,77340 years$385

Includes the $400 permit, tax and contingency. Your numbers change with the calculator above.

DIY or hire a contractor?

Labour is roughly half of a typical deck's price. If you have the skills, building it yourself can save about 40 to 50%. The calculator removes labour and adds 5% of materials for tools and rentals when you choose DIY.

  • •Hire out the parts that fail: footings, ledger attachment and flashing. A bad ledger can pull a deck off the house.
  • •DIY the parts that are easy to learn: decking boards, railing and stairs, if your local code allows it.
  • •Get a permit either way. An unpermitted deck can cause trouble when you sell or file an insurance claim.

Permits and building code

A permit for a deck is usually $100 to $1,000 and often needs a plan showing footings, the ledger and guards. Under the International Residential Code, guards are required where the deck is more than 30 in above grade, at a minimum height of 36 in, with openings that do not let a 4 in sphere pass. Footings must reach below the frost line in cold areas. Your building department sets the local rules.

Deck cost by size: worked examples

The table below uses the installed per-square-foot ranges from the material table above, so it covers the deck structure only: frame, footings, decking boards and labour. Railing, stairs, permit, tax and contingency go on top, and the calculator above adds them for your exact deck.

Deck sizeAreaPressure-treated, structure onlyComposite, structure only
10 × 10 ft100 sq ft$1,770 to $2,950$2,820 to $4,800
12 × 12 ft144 sq ft$2,549 to $4,248$4,061 to $6,912
12 × 16 ft192 sq ft$3,398 to $5,664$5,414 to $9,216
16 × 20 ft320 sq ft$5,664 to $9,440$9,024 to $15,360
20 × 20 ft400 sq ft$7,080 to $11,800$11,280 to $19,200

Structure only, at ground level. A raised deck adds about 25% to the frame cost at 2 to 6 ft high and about 60% above 6 ft.

Example 1: 10 × 10 ft pressure-treated deck, ground level

  • Area: 100 sq ft.
  • Structure: 100 × $17.70 to $29.50 = $1,770 to $2,950.
  • Add about 26 ft of railing on the open sides, a $100 to $1,000 permit, tax and a 10% contingency. A small deck like this is the cheapest way to get outdoor living space, and it is the easiest size to build yourself.

Example 2: 12 × 16 ft composite deck, ground level

  • Area: 192 sq ft.
  • Structure: 192 × $28.20 to $48.00 = $5,414 to $9,216.
  • Add railing, stairs if the deck is raised, a permit, tax and contingency. The same deck in pressure-treated pine costs $3,398 to $5,664 for the structure, so composite adds roughly $2,000 to $3,500 here and saves the staining bill every 2 to 3 years.

Example 3: 20 × 20 ft pressure-treated deck, ground level

  • Area: 400 sq ft.
  • Structure: 400 × $17.70 to $29.50 = $7,080 to $11,800.
  • A deck this size almost always needs railing on three sides, about 56 ft, plus stairs and a permit. The total with railing, permit, tax and contingency is roughly $11,000 to $17,000, which is why a 20 × 20 ft deck is usually a pro job even for keen DIYers.

Notice that the cost per square foot does not fall much as the deck gets bigger, because most of the cost is boards, framing and labour that scale with area. What does spread out is the fixed cost: one permit, one set of stairs and one ledger, so a bigger deck costs a little less per square foot once those are included.

DIY or hire a contractor? The full comparison

Labour is roughly half of a typical deck's price, so the DIY question is really a question about your time, your tools and your comfort with structural work. Order the boards and joists with the deck calculator, plan the steps with the stair calculator and size the footings with the footing calculator before you decide.

Build it yourselfHire a contractor
MaterialsYou pay the same, plus about 5% for tools and rentalsIncluded, often at a trade discount
Labour$0, but 40 to 60 hours of your weekends for a 192 sq ft deckAbout half the total project cost
Permit and inspectionsYou apply and meet the inspectorUsually handled for you
Time to finish3 to 6 weekends for a typical deckAbout 1 to 2 weeks for a typical deck
WarrantyNone, except the material warrantyWorkmanship warranty, often 1 to 5 years
RiskYou carry the footing, ledger and flashing riskLicensed and insured, and the contractor carries the risk
  • •Hire out the parts that fail: footings, ledger attachment and flashing. A bad ledger can pull a deck off the house, and a footing above the frost line will heave.
  • •DIY the parts that are easy to learn: decking boards, railing and stairs, if your local code allows it and you are comfortable with the tools.
  • •Get a permit either way. An unpermitted deck can cause trouble when you sell or file an insurance claim, and an inspector catches mistakes while they are still cheap to fix.
  • •Price your own time honestly. Saving $4,000 over six weekends is a good deal if you enjoy the work and poor value if the deck sits half-finished for a year.

How to compare deck quotes line by line

Three quotes for the same deck can differ by thousands of dollars and still all be honest, because they rarely cover the same scope. The cheapest quote is often the one that left something out. Compare them line by line before you sign.

  1. Same size and material. Make every quote name the decking brand and grade, the board width and the framing lumber, not just pressure-treated or composite.
  2. Footings. Ask for the footing type, depth and number. Footings below the frost line cost more than shallow blocks and are the part you cannot fix later.
  3. Ledger and flashing. The quote should include the ledger board, flashing and fasteners. Missing flashing is the most common cause of rot behind a deck.
  4. Railing and stairs. Check the railing type, the linear feet and the number of steps. Railing alone can be $1,200 to $5,000 of the job.
  5. Permit and inspections. Ask who applies and whether the fee is included. Permits usually run $100 to $1,000.
  6. Demolition and disposal. If an old deck comes out, the quote should say who removes it and where it goes.
  7. Cleanup and warranty. Ask what is left tidy, what the workmanship warranty covers and for how long.
  8. Payment schedule. Never pay the full price up front. A common pattern is a deposit, a payment at framing and the balance at final inspection.

Put the three totals in the calculator's local price box as a price per square foot and see how each one changes your total. If one quote is far below the others, ask what it leaves out before you celebrate.

Replacing an old deck: demolition and rebuild

Replacing a deck costs about the same as building new, plus demolition. Removing and disposing of an old deck costs about $2 to $4 per square foot, so a 192 sq ft deck adds about $384 to $768 before the rebuild starts. Get the concrete quantities for the new footings from the concrete calculator and the framing lumber from the lumber calculator.

  • •Inspect before you reuse. An old ledger, posts or footings can sometimes be reused, but only if an inspector or engineer approves them. Rotted ledger boards and undersized footings are the two most common reasons a rebuild costs more than planned.
  • •Check the framing underneath. Boards hide the frame, and a deck that looks tired on top often has joists and beams that are worse. Budget for replacing some framing even if the boards look like the only problem.
  • •Upgrade while it is open. A rebuild is the cheapest time to add flashing, wider stairs, better railing or lighting, because the structure is already exposed.
  • •Plan for disposal. Old pressure-treated wood cannot be burned and many landfills charge by weight, so ask whether the quote includes hauling.

Deck cost and home value

A deck is one of the better home improvements for resale, but it is not an investment that pays for itself. Published cost-versus-value surveys in recent years have typically put deck recoupment at roughly half the project cost, with wood decks a little higher than composite. A $10,000 deck might add about $5,000 to the sale price, and the rest is value you enjoy while you live there.

  • •Keep the deck in proportion. Decks that cost more than about 5% of the home's value rarely pay back proportionally, so match the material to the house.
  • •Build it to code and keep the paperwork. A permitted deck with inspection sign-offs is worth more at sale than an unpermitted one, however well it was built.
  • •Maintain it. A pressure-treated deck that is stained every 2 to 3 years photographs and sells far better than a grey, splintered one, and the upkeep cost is about $1.20 per square foot per year.
  • •Think about the next owner. A simple rectangle in a popular material sells more easily than a highly personal design in an unusual colour.

Ways to save money on a deck

  • •Build smaller. A 12 × 12 ft deck costs about $4,300 in pressure-treated pine against about $9,000 for 16 × 20 ft.
  • •Use pressure-treated framing under any decking, even composite.
  • •Choose standard board lengths, usually 12 or 16 ft, to cut down on waste.
  • •Skip a high railing by building the deck lower than 30 in off the ground, where your code allows.
  • •Build in the off-season, when contractors have more time and may discount the work.
  • •Get at least three quotes with the same scope.

Assumptions

  • •Prices are planning ranges for the United States in 2026 and include materials and installation by a contractor unless you choose DIY.
  • •Frame and footings are priced per square foot and increased by 25% for decks 2 to 6 ft high and 60% for decks higher than 6 ft.
  • •Railing is counted around the open sides: three sides if the deck is attached to the house, four if freestanding, less 4 ft for a stair opening.
  • •Stairs are priced per step at 4 ft wide, scaled to the decking material.
  • •DIY removes labour and adds 5% of materials for tools and rentals. It does not value your time.
  • •Your own quote always beats an estimate. Use the local price box to swap in a real price per square foot.

Sources✓ Verified

  • International Residential Code, Section R507 (Exterior decks) and R312 (Guards). Footing, ledger, joist and guard requirements that drive deck cost. Guards are required where the walking surface is more than 30 in above grade, at 36 in minimum height, with openings that a 4 in sphere cannot pass.
  • Manufacturer and supplier price lists, 2025 and 2026. Decking board, framing lumber, railing and hardware ranges used for the per square foot figures.
  • Contractor labour rate surveys. Installed labour ranges for framing, decking, railing and stairs, adjusted by the local price level you choose.

Formula reviewed November 2026.

Most decks cost about $18 to $60 per square foot installed, depending on the material. Pressure-treated pine is at the low end at roughly $18 to $30. Cedar and redwood run about $21 to $38, composite about $28 to $48 and PVC or ipe about $32 to $59. Railing, stairs, height and permits add to this.

A 12 × 12 ft (144 sq ft) pressure-treated deck at ground level costs about $4,300 including permit, tax and a 10% contingency, in a range of about $3,330 to $5,260. The same deck in composite is about $6,700, in a range of $5,080 to $8,340.

A 16 × 20 ft (320 sq ft) pressure-treated deck at ground level costs about $9,000 including permit, tax and contingency, and the same deck in composite is about $14,400. Railing and stairs would add to each.

Composite costs more up front, about 50% more than pressure-treated in this calculator, but needs almost no staining and lasts about twice as long. Over its life the cost per year is lower. Check the comparison table above for your deck.

Railing runs about $30 to $60 per linear foot for pressure-treated wood, $55 to $95 for composite, $45 to $85 for aluminum, $80 to $150 for cable and $120 to $250 for glass, installed. A deck with 40 ft of railing therefore adds about $1,200 to $2,400 for wood and more for other types.

Taller decks need longer posts, cross bracing and larger footings, and the work takes longer and needs more safety. Above 30 inches you also need guards and stairs that meet code.

Most areas require a permit for a deck that is attached to the house or higher than about 30 inches. Permits often cost $100 to $1,000. Your building department will tell you about setbacks, footing depth and inspections.

Labour is about half of a typical deck's cost. Building it yourself can save roughly 40 to 50%, but it needs tools, time and skill with footings, flashing and ledger attachment, which are the parts that fail.

Pressure-treated pine is the cheapest to buy and install. Composite and PVC cost more but save on staining and sealing, so they can cost less per year over their life.

Get two or three written quotes with the same scope: size, material, railing, stairs, footing type and permit. Then enter the price per square foot in the local price box to see how it changes your total.

A professional crew typically needs about a week for a 192 sq ft deck and up to 2 weeks for a large or multi-level deck, plus design and permit time on top. A skilled DIYer working weekends needs about 3 weekends for 192 sq ft and about 6 weekends for a 480 sq ft deck. Weather, inspections and material delivery can add days.

A ground-level, pressure-treated pine deck in a simple rectangle, built yourself, is the cheapest legitimate option. The structure's materials for a 12 × 16 ft deck run roughly $1,700 to $2,800, about half the installed structure cost, plus about 5% for tools and rentals. Use standard 12 or 16 ft board lengths to cut waste, and skip railing only where the deck is under 30 inches high and your code allows it.

Converters to use with the Deck Cost Calculator

Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.

Browse all converters

More costs & estimating calculators

Metal Roof Cost CalculatorCosts & EstimatingMetal Roof Cost CalculatorA metal roof cost estimate that shows the total installed cost, the price per square foot and per roofing square, and where the money goes. Enter the roof size and pitch, choose the metal, and compare it with asphalt shingles over the life of the roof, not just on the day you pay. The dearer roof can be the cheaper one once you count the years it lasts.Roof Inspection Cost CalculatorCosts & EstimatingRoof Inspection Cost CalculatorA roof inspection cost estimate that shows what each type of inspection costs, so you can book the right one instead of paying for more than you need. Enter the roof size, pitch, height and material, compare walk-on, drone, thermal and insurance inspections, then use the roof health check to see how urgent an inspection is. A small inspection fee now can save you from a leak you find too late.Construction Loan CalculatorCosts & EstimatingConstruction Loan CalculatorA construction loan calculator that shows how much you can borrow, the cash you need, the interest you pay while building, a month-by-month draw schedule and the monthly payment once the house is finished. Enter the build cost, land and interest rate, and see the loan in stages, so you borrow against a plan you understand instead of a number you hope is right.Window Replacement Cost CalculatorCosts & EstimatingWindow Replacement Cost CalculatorA window replacement cost calculator that shows the total cost, the cost per window and how long the energy savings take to pay the job back. Enter how many windows you are replacing, their size and type, the frame material and the glass, then compare every window type for your house. A quote means more when you already know the range it should fall in.Countertop CalculatorCosts & EstimatingCountertop CalculatorA countertop calculator that turns your layout into the area, the material and installation cost, and the price per square foot, with every material compared side by side. Enter a straight run, L-shape, island or both, plus the size, material, edge profile and backsplash. The material sets the price, so compare it before you fall in love with a slab.Cost to Build a House CalculatorCosts & EstimatingCost to Build a House CalculatorA cost to build a house calculator that shows the total cost to build, the cost per square foot and per room, and where every dollar goes, using the National Association of Home Builders' published cost breakdown. Enter the living area, finish level, garage and basement. A house budget built on a single per-square-foot guess invites surprises, so build yours from the real line items.

Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.