Skip to content

Deck Cost Calculator

Estimate what a new deck costs by size, decking material, railing and stairs.

Units
ft
ft
$
ft
$
$
0

    Default prices are editable examples. Height off the ground, permits and footings add cost.

    Show the formula
    
      

    The cost of a new deck is mostly its area × an installed price per square foot for the decking material you choose. Railings are priced per foot and stairs per step. With the calculator's defaults (a 16 × 12 ft pressure-treated deck with 30 ft of railing and 4 steps), the estimate is about $9,270, or about $48 per ft² overall.

    How to Use the Deck Cost Calculator

    1. Pick your units. Keep US for feet, or switch to Metric for meters.
    2. Enter the deck length and width. Use the outside size of the finished deck.
    3. Choose the decking. Pressure-treated wood, cedar or redwood, composite, or PVC. Each one has a default installed price per ft².
    4. Enter your own price per ft² if you have one. Leave it at 0 to use the default.
    5. Enter the railing length and price. Count only the open sides. A side against the house or one that is low to the ground may not need a railing. The default is 30 ft at $65 per ft.
    6. Enter the number of stair steps and the price per step. The default is 4 steps at $150 each.
    7. Read the result. The big number is the estimated total. Below it you see the cost of the deck, the railing and the stairs, the overall cost per ft² and the price used per ft². Open Show the formula to check each step.

    How the Deck Cost Is Calculated

    • Deck = length × width × price per ft²
    • Railing = railing length × railing price per foot
    • Stairs = number of steps × price per step
    • Total = deck + railing + stairs

    Worked example with the defaults: 16 × 12 = 192 ft² × $35 = $6,720 for the deck. 30 ft of railing × $65 = $1,950. 4 steps × $150 = $600. The total is $9,270, which is about $48 per ft² once railing and stairs are spread over the deck area.

    Deck Cost by Material

    Here is the same 16 × 12 ft deck with the same railing and stairs at each of the calculator's default decking prices. These are editable planning figures that include framing and labor. Use your own quotes once you have them.

    DeckingDefault price per ft²Example totalUpkeep
    Pressure-treated wood$35≈ $9,270Clean and seal or stain every 2 to 3 years.
    Cedar or redwood$45≈ $11,190Naturally resists rot. Stain it to keep the color.
    Composite$60≈ $14,070No staining. Wash it once or twice a year.
    PVC$70≈ $15,990Lightest upkeep, and it does not absorb water.

    Composite and PVC cost more up front. Pressure-treated wood needs sealing or stain every few years, though, so the gap closes over time. Use the deck stain calculator to price that upkeep. Note that the framing under composite and PVC is still usually pressure-treated lumber.

    What Else Adds to the Cost of a Deck

    • Height off the ground. A tall deck needs longer posts, more bracing, guardrails on every open side and more stairs.
    • Footings. Each post sits on a concrete footing below the frost line. Deep frost lines and rocky soil add cost. The concrete footing calculator sizes them.
    • Attachment to the house. A deck attached to the house needs a properly flashed and bolted ledger board.
    • Permits and inspections. Most attached or raised decks need a permit.
    • Railing style. Cable, glass and aluminum railings cost much more per foot than wood or basic composite.
    • Extras. Built-in benches, lighting, skirting, pergolas and demolition of an old deck.

    Code Points That Affect the Price

    Under the International Residential Code (IRC), which most US towns adopt in some form:

    • A guard (railing) is required where the deck surface is more than 30 in above the ground. It must be at least 36 in tall, and the gaps between balusters must not let a 4 in sphere pass. Our baluster spacing calculator gives even, code-safe gaps.
    • Stairs are limited to a riser height of 7¾ in or less and a tread depth of 10 in or more. Stairs with four or more risers need a handrail.
    • Many decks need a permit. The IRC exempts only small decks: 200 ft² or less, 30 in or less above grade, not attached to the house and not serving the required exit door. Your town may be stricter.

    DIY or Contractor?

    Labor is often a large share of a deck's price. A ground-level, freestanding deck is a reasonable DIY project for a handy owner. Raised and attached decks carry real safety risks, so they are better left to a pro or at least built with a permit and inspections. To price a DIY build, list the materials with the deck calculator and deck screw calculator, then type your material cost per ft² into Price per ft².

    Frequently Asked Questions

    How much does a deck cost per square foot?

    The calculator's default installed prices are $35 per ft² for pressure-treated wood, $45 for cedar or redwood, $60 for composite and $70 for PVC. Railings and stairs are added on top, so the overall cost per ft² ends up higher.

    How much does a 12 × 12 deck cost?

    A 12 × 12 deck is 144 ft². At $35 per ft² for pressure-treated wood, the deck itself is about $5,040. With 24 ft of railing at $65 and 4 steps at $150, the total is about $7,200.

    How much does a 16 × 20 deck cost?

    A 16 × 20 deck is 320 ft². At $35 per ft², the decking and frame come to $11,200. In composite at $60 per ft², the same area costs $19,200, before railing and stairs.

    Is composite decking worth the extra cost?

    It is if you want to avoid sanding and staining and plan to keep the home for years. Composite costs more up front, but it skips the regular staining that wood needs.

    Does a deck need a permit?

    Most decks do, especially decks attached to the house or more than 30 in above the ground. Small, low, freestanding decks may be exempt. Check with your local building department.

    How long does it take to build a deck?

    A simple ground-level deck can be built in a few days. Larger or raised decks, decks with stairs and complex railings, and time waiting for permits and footing inspections can stretch it to a few weeks.