OrcaCalc Open on OrcaCalc

Deck Cost Calculator

Cost range to build a deck by size and material, with labor, railing, stairs, permit and a board and joist count.

ft
ft
$
$
ft
Railings are required on most decks more than 30 in above the ground.
$
$
Wood railings are at the low end; aluminum, composite, cable and glass at the high end.
$
$
Estimated cost range
$4,629 – $11,600
Middle of the range
$8,115
Cost per sq ft of deck
$24.11 – $60.42 per sq ft of deck
Deck boards and joists
192 sq ft: about 29 16-ft deck boards (5.5 in wide, 10% waste) and 13 joists at 16 in on center
Working
16 ft × 12 ft = 192 sq ft. Boards: 12 ft of width ÷ 5.69 in per board = 26 rows × 1 board length(s) + 10%.
Cost breakdown
ItemLowHigh
Decking, framing and hardware (192 sq ft × $2–$5)$384$960
Labor (192 sq ft × $15–$35)$2,880$6,720
Railing (28 ft × $30–$90)$840$2,520
Stairs (3 steps × $100–$300)$300$900
Permit (typical)$225$500
Total$4,629$11,600

The cost to build a deck depends on its size, the decking material and who builds it. Angi's 2026 data puts deck materials at about $2 to $5 per square foot for pressure-treated wood and $12 to $22 for composite, with professional labor adding $15 to $35 per square foot. This deck cost calculator multiplies those ranges by your deck's area, then adds railing, stairs and a permit.

A 16 × 12 ft pressure-treated deck with 28 ft of railing and three steps comes to $4,629 – $11,600 built by a contractor. The same deck in composite is $6,549 – $14,864; built yourself in pressure-treated wood, $1,749 – $4,880.

How to use the deck cost calculator

  1. Enter the deck length along the house and its depth out into the yard.
  2. Pick pressure-treated or composite decking, or enter your own materials price per square foot.
  3. Choose contractor or DIY; for a contractor, adjust the labor range to your area.
  4. Enter the length of railing (the open sides) with a price range per foot, and the number of stair steps.
  5. Include a permit if your city requires one, then read the cost range, breakdown and board count.

Formula

Deck area = Length × Depth
Cost = Area × (materials + labor per sq ft) + railing ft × price per ft + steps × price per step + permit
Deck boards ≈ ⌈Depth × 12 ÷ (5.5 + 3/16 in gap)⌉ × ⌈Length ÷ 16⌉ × 1.10 · Joists = ⌈Length × 12 ÷ 16⌉ + 1

Materials per square foot cover decking, joists, beams, posts, footings and hardware for a simple ground-level or low deck. Board and joist counts assume boards run along the house and joists run out from it at 16 inches on center; use the deck board calculator for an exact board takeoff and fastener count.

Worked example

16 × 12 ft pressure-treated deck, contractor-built, 28 ft of railing, 3 steps, permit.

  1. Area: 16 × 12 = 192 sq ft.
  2. Materials: 192 × $2–$5 = $384 – $960. Labor: 192 × $15–$35 = $2,880 – $6,720.
  3. Railing: 28 ft × $30–$90 = $840 – $2,520. Stairs: 3 × $100–$300 = $300–$900. Permit: $225–$500.
  4. Total: $4,629 – $11,600, about $24 to $60 per square foot.

Deck cost by size (deck surface only)

Contractor-built, no railing or stairs:

Deck sizeAreaPressure-treatedComposite
10 × 10 ft100 sq ft$1,700 – $4,000$2,700 – $5,700
12 × 12 ft144 sq ft$2,448 – $5,760$3,888 – $8,208
16 × 12 ft192 sq ft$3,264 – $7,680$5,184 – $10,944
20 × 12 ft240 sq ft$4,080 – $9,600$6,480 – $13,680
20 × 16 ft320 sq ft$5,440 – $12,800$8,640 – $18,240
24 × 16 ft384 sq ft$6,528 – $15,360$10,368 – $21,888

Raised decks, multi-level designs, built-in benches, lighting and roof covers push costs toward or past Angi's typical $30 to $60 per square foot all-in figure.

Pressure-treated wood vs composite

Pressure-treated pine is the cheapest decking and is easy to cut and fasten, but it needs cleaning and sealing or staining every one to three years (see the deck stain calculator) and lasts roughly 15 to 20 years. Composite costs three to four times as much for the decking, but it doesn't need staining, resists rot and insects, and often carries a 25-year or longer warranty. Composite decks still sit on a pressure-treated frame, which is why material prices for the two overlap less than board prices alone would suggest.

Permits, footings and codes

Most cities require a permit for decks attached to the house, more than 30 inches above grade or over 200 square feet, which is the threshold in the International Residential Code. Inspectors check footing depth (below the frost line), ledger flashing and attachment, joist spans and guard height (36 in minimum on most residential decks). Plan footings with the concrete footing calculator and stairs with the stair stringer calculator.

Caveats and assumptions

  • Prices are 2026 national ranges for simple decks; high-cost regions, steep sites and second-story decks cost more.
  • Railing and stair prices are editable typical ranges; hardwoods, glass, cable and lighting can cost far more.
  • Board and joist counts are quick estimates for a rectangular deck with boards parallel to the house.
  • Removing an old deck, site grading and hauling are not included.

Frequently asked questions

How much does a 16 × 12 deck cost?

About $4,629 – $11,600 in pressure-treated wood and $6,549 – $14,864 in composite, contractor-built with 28 ft of railing, three steps and a permit.

How much does a 12 × 12 deck cost?

The deck surface alone runs about $2,448 – $5,760 in pressure-treated wood and $3,888 – $8,208 in composite, before railing, stairs and permit.

Is it cheaper to build a deck yourself?

Labor is usually more than half the cost, so DIY can cut the bill by 60% or more. The example deck drops from $4,629 – $11,600 to about $1,749 – $4,880. You still need a permit and inspections where required.

Is composite decking worth the extra cost?

Often, if you plan to stay. It costs more up front but saves years of staining and board replacement. Over 20 years, total costs of wood and composite can come out close.

Do I need a permit to build a deck?

Usually, if the deck is attached to the house, more than 30 inches off the ground or larger than 200 sq ft. Check with your city or county building department before you start.

Sources

This calculator gives estimates for planning and education. Check measurements, local codes, supplier specs and your school's official policy before relying on a result. See our disclaimer and how we build and check calculators.