Deck Cost Calculator

By Asira Tools Team · Last updated 20 November 2026

Estimate what a new deck will cost — materials and labor — for pressure-treated pine, cedar, or composite decking.

Advertisement

Deck Cost Calculator

Amounts are in the currency you pick — no conversion is applied.
$5,550
Deck area120 sq ft
Deck cost$4,200
Railing cost ($45/ft)$1,350
Cost per sq ft (all in)$46.25

Costs are typical installed averages (materials + labor) in US dollars, before permits. Enter amounts in your selected currency — no conversion is applied. Railing is priced at $45 per linear foot installed. Actual quotes vary by region, height, and site access.

Formulas:

Deck area (sq ft) = Length (ft) × Width (ft)

Deck cost = Deck area × Installed rate per sq ft (pine $18, cedar $25, composite $35)

Railing cost = Railing length (ft) × $45 per ft

Total cost = Deck cost + Railing cost

What This Deck Cost Calculator Does

A deck is priced by the square foot, and the price per square foot depends mostly on the material. This calculator gives you a realistic installed cost — materials plus labor — for the three most common decking materials: pressure-treated pine, cedar, and composite. Enter the deck size, pick the material, add the railing length, and you get an itemized estimate: the deck itself, the railing, the total, and the all-in cost per square foot.

The rates in the calculator are typical installed averages for a straightforward ground-level deck built by a contractor. They cover the decking boards, the joists and beams underneath, the posts and footings, the fasteners, and the labor to build it. They do not cover permits, which vary by area, or extras such as stairs, lighting, or built-in seating. Treat the result as a budgeting figure to compare against contractor quotes — not as a quote itself.

How to Use the Calculator

Measure the deck in feet, length by width. A 12 by 10 foot deck is 120 square feet, which is a comfortable size for a table and four chairs. A 16 by 12 foot deck is 192 square feet, enough for a dining set and a grill. Then pick the material. Pressure-treated pine is the cheapest at $18 per square foot installed; cedar is mid-range at $25; composite is the most expensive at $35 but needs the least maintenance.

Finally, enter the railing length in feet. Railing is needed on any deck more than 30 inches above the ground, and on stairs. A deck attached to the house on one side needs railing on the other three sides, minus the stair opening — for a 12 by 10 deck, that is roughly 30 feet of railing. Railing is priced at $45 per linear foot installed, which covers wood or basic metal railing; glass panels and cable railings cost considerably more.

Deck Material Costs Compared

The three materials differ in price, lifespan, and upkeep, and the cheapest option is not always the cheapest over time. Pressure-treated pine costs $18 per square foot installed and lasts 10 to 15 years with regular staining and sealing. It is the most common deck material in the US because it is affordable and widely available, but it needs staining every 2 to 3 years, and it can warp, crack, and splinter.

Cedar costs $25 per square foot installed and lasts 15 to 20 years. It is naturally resistant to rot and insects, it looks better than pine, and it stays cooler underfoot in summer. It still needs staining or oiling every few years to keep its color — left untreated it weathers to a silver-grey, which some people like and others do not.

Composite decking costs $35 per square foot installed and lasts 25 to 30 years. It is made from wood fiber and recycled plastic, it never needs staining or sealing, and it will not warp, splinter, or rot. The downside is the upfront cost and the fact that it can get hot in direct sun and feel less like real wood. Over a 25-year life, though, composite often works out cheaper than pine once you add up the staining, repairs, and eventual replacement.

Worked Example: A 12 × 10 Composite Deck

Take a deck 12 feet long and 10 feet wide, built with composite decking at $35 per square foot, with 30 feet of railing. The deck area is 12 × 10 = 120 square feet. The deck itself costs 120 × $35 = $4,200. The railing costs 30 × $45 = $1,350. The total is $4,200 + $1,350 = $5,550, which works out to $5,550 ÷ 120 = $46.25 per square foot all in.

For comparison, the same deck in pressure-treated pine would cost 120 × $18 = $2,160 for the deck plus $1,350 for the railing, a total of $3,510 — about $2,000 less upfront. And a larger deck, 16 by 12 feet (192 square feet) in pine with no railing, costs 192 × $18 = $3,456. Railing is a significant part of the total on a small deck: on the 12 by 10 composite deck, the railing is nearly a quarter of the cost.

What Else Affects Deck Cost?

Height is the biggest cost driver after material. A ground-level deck needs short posts and no railing; a deck 6 feet off the ground needs tall posts, cross-bracing, stairs, and railing on all open sides, which can add 30 to 50% to the cost. A second-story deck needs an engineered design and deeper footings, and the labor is slower because everything has to be carried up.

Shape matters too. A rectangular deck is the cheapest to build, because the joists are all the same length and the boards run straight. Curves, angles, and multiple levels all add labor and waste. A multi-level deck can cost 50% more per square foot than a single-level deck of the same area, because each level needs its own framing and its own set of stairs.

Site access affects the price as well. If the crew can back a truck up to the site, delivery and waste removal are cheap. If materials have to be carried through a narrow side gate or down a steep slope, the labor hours go up. And if the ground is sloped or rocky, the footings cost more — digging a footing in rock can take three times as long as digging in soil.

Permits and Building Codes

Most areas require a building permit for a deck, and the permit usually costs $100 to $500 depending on the deck size and the local authority. The permit process involves submitting a plan showing the deck dimensions, the footing locations, and the framing layout, and the work is inspected at two stages: after the footings are dug and after the framing is complete.

The code sets minimum standards for the structure: footing depth (below the frost line, which ranges from 12 inches in warm climates to 48 inches in cold ones), joist spacing (usually 16 inches on center), and railing height (36 inches minimum in most residential codes, 42 inches in some areas). Building without a permit risks a stop-work order, a fine, and trouble when you sell the house — an unpermitted deck can delay or derail a sale.

Tips for Getting a Good Price

Get three quotes. Deck prices vary widely between contractors, and the cheapest quote is not always the best. Compare the material specifications, not just the total — one contractor's $18 per square foot may use thinner joists or cheaper fasteners than another's.

Build in the off-season. Deck builders are busiest in spring and early summer. Booking in autumn or winter can mean a lower price and a faster start, though concrete footings cannot be poured in freezing weather.

Keep the design simple. Every angle, curve, and level change adds labor. A rectangular deck with straight boards is the best value; save the fancy details for a future upgrade.

Ask about the warranty. Composite decking usually carries a 25-year manufacturer warranty, while wood has no warranty beyond the contractor's workmanship guarantee. A longer warranty is worth paying for on a structure that has to last decades.

Common Mistakes to Avoid

The most expensive mistake is building a deck that is too small. Homeowners almost always wish they had built bigger — a deck that only fits a table is frustrating, while a deck with room to move around gets used far more. If the budget allows, add 2 feet in each direction: it adds about 40% to the area of a 12 by 10 deck for roughly 40% more cost.

The second mistake is forgetting the railing in the budget. Railing is often a quarter of the total cost on a small deck, and premium railing — glass panels, cable, or metal balusters — can cost $100 or more per linear foot. Budget for it from the start.

The third mistake is attaching the deck to the house incorrectly. The ledger board — the timber that bolts the deck to the house — is the most common point of failure. It must be bolted through to the house framing, not just nailed to the siding, and it needs flashing to keep water out of the wall. A ledger failure can cause the whole deck to collapse, so this is not a place to cut corners.

Advertisement

Frequently Asked Questions

How much does it cost to build a 12x12 deck?

About $2,592 in pressure-treated pine, $3,600 in cedar, or $5,040 in composite, before railing. A 12x12 deck is 144 square feet, so multiply by $18, $25, or $35 per square foot. Add about $45 per foot of railing.

Is composite decking worth the extra cost?

Often yes over the long term. Composite costs about $35 per square foot installed versus $18 for pine, but it lasts 25 to 30 years with almost no maintenance, while pine needs staining every 2 to 3 years and lasts 10 to 15 years.

How much does deck railing cost?

About $45 per linear foot installed for standard wood or basic metal railing. Premium options cost more: cable railing runs $60 to $100 per foot, and glass panels can exceed $150 per foot.

Do I need a permit to build a deck?

In most areas, yes. A deck permit typically costs $100 to $500 and requires a plan showing dimensions, footings, and framing. Some areas exempt small ground-level decks, so check with your local building department.

How long does a wood deck last?

Pressure-treated pine lasts 10 to 15 years with regular staining and sealing; cedar lasts 15 to 20 years. Composite decking lasts 25 to 30 years. Lifespan depends on climate, maintenance, and how well the deck drains.