Free calculator — no sign-up
Deck Cost Calculator
Most homeowners spend $4,339–$12,653 on a deck, averaging about $8,321 — but the price swings with size and material. Enter your deck's dimensions, pick a material, and set your installed price per square foot, and this calculator works out the total, the cost per square foot, how many decking boards you need, and the materials-only cost.

Your numbers
Your result
Deck area320square feet
- Total installed costinstalled price plus railings and stairs
- $14,400.00
- Cost per sq fttotal ÷ deck area
- $45.00
- Decking boards needed5.5-in × 16-ft boards, including 10% waste
- 48
- Materials-only costdecking boards only, before labour and framing
- $5,440.00
Results update as you type. They are estimates for planning — see the disclaimer below.
How it works
Deck area = length × width. Installed total = area × installed $/sq ft (national range $30–$60). Materials-only $/sq ft: pressure-treated pine about $3.50, cedar about $5, composite about $17. Boards: a 5.5-in × 16-ft board covers 7.33 sq ft; boards = area ÷ 7.33, plus 10% waste, rounded up. Railings add about $35–$55 per linear foot installed; stairs add about $25–$50 per step.
How to use it
- Measure the deck's length and width in feet.
- Pick the decking material — pressure-treated is cheapest, composite costs more but needs less upkeep.
- Enter the installed price per square foot from a local quote (or use $45, a typical composite figure).
- Add railing length and stair steps if your deck has them.
- Read the total cost, the board count for buying materials, and the materials-only cost to compare against a labour quote.
Worked example
A 16 ft × 20 ft composite deck at $45 per square foot installed, no railings or stairs.
Step 1 — area: 16 × 20 = 320 sq ft. Step 2 — installed total: 320 × $45 = $14,400. Step 3 — cost per sq ft: $14,400 ÷ 320 = $45.00. Step 4 — boards: one 5.5-in × 16-ft board covers (5.5 ÷ 12) × 16 = 7.33 sq ft. 320 ÷ 7.33 = 43.6 boards, and 43.6 × 1.10 waste = 48.0, so 48 boards. Step 5 — materials-only check: 320 × $17 = $5,440 for the composite boards alone; the rest of the $14,400 is labour, framing, fasteners and profit.
Result: 320 sq ft — total $14,400 ($45.00 per sq ft), 48 decking boards.
Try it yourself: enter the example numbers above and check you get the same answer.
What your result means
A 320 sq ft composite deck at $45 a square foot runs about $14,400 installed — above the national average project cost of $8,327, because composite costs more than pressure-treated pine and this deck is a good size. The materials-only figure ($5,440) shows how much of the bill is labour and framing: if a contractor quotes far above $14,400, ask what is driving it — a second level, a permit, or premium railing. If the total looks high, switching to pressure-treated pine (about $3.50/sq ft materials) is the biggest single saving.
Frequently asked questions
How much does it cost to build a deck?
Most homeowners spend $4,339–$12,657, averaging about $8,327 (HomeAdvisor 2025). Installed cost runs $30–$60 per square foot: pressure-treated pine at the low end, composite and PVC at the high end. A 320 sq ft composite deck at $45/sq ft costs about $14,400.
How much does composite decking cost per square foot?
Composite decking materials run about $12–$22 per square foot (about $17 on average), and installed composite decks typically cost $25–$54 per square foot. Composite costs more up front than wood but needs no staining or sealing.
How many decking boards do I need?
Divide the deck area by the coverage of one board, then add 10% waste and round up. A 5.5-inch-wide, 16-foot board covers 7.33 sq ft, so a 320 sq ft deck needs 320 ÷ 7.33 = 43.6 boards, plus waste = 48 boards.
Is pressure-treated pine or composite cheaper?
Pressure-treated pine is cheaper to build — about $3.50 per square foot in materials versus about $17 for composite. But pine needs staining and sealing every few years, while composite needs almost no upkeep. Over 15–20 years the total cost can be close.
How much do deck railings cost?
Railings run about $35–$55 per linear foot installed, depending on material — wood at the low end, metal or composite at the high end. A deck with 50 feet of railing adds roughly $1,750–$2,750 to the project.
Deck Cost Calculator by place
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- Delaware
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
- Nebraska
- Nevada
- New Hampshire
- New Jersey
- New Mexico
- New York
- North Carolina
- North Dakota
- Ohio
- Oklahoma
- Oregon
- Pennsylvania
- Rhode Island
- South Carolina
- South Dakota
- Tennessee
- Texas
- Utah
- Vermont
- Virginia
- Washington
- West Virginia
- Wisconsin
- Wyoming
- New York, New York
- Los Angeles, California
- Chicago, Illinois
- Dallas, Texas
- Houston, Texas
- Atlanta, Georgia
- Washington, District of Columbia
- Miami, Florida
- Philadelphia, Pennsylvania
- Phoenix, Arizona
- Boston, Massachusetts
- Riverside, California
- San Francisco, California
- Detroit, Michigan
- Seattle, Washington
- Minneapolis, Minnesota
- Tampa, Florida
- San Diego, California
- Denver, Colorado
- Orlando, Florida
- Charlotte, North Carolina
- Baltimore, Maryland
- St. Louis, Missouri
- San Antonio, Texas
- Austin, Texas
- Portland, Oregon
- Sacramento, California
- Pittsburgh, Pennsylvania
- Las Vegas, Nevada
- Cincinnati, Ohio
- Kansas City, Missouri
- Columbus, Ohio
- Indianapolis, Indiana
- Nashville, Tennessee
- Cleveland, Ohio
- San Jose, California
- Virginia Beach, Virginia
- Jacksonville, Florida
- Providence, Rhode Island
- Raleigh, North Carolina
- Milwaukee, Wisconsin
- Oklahoma City, Oklahoma
- Louisville, Kentucky
- Richmond, Virginia
- Memphis, Tennessee
- Salt Lake City, Utah
- Fresno, California
- Birmingham, Alabama
- Grand Rapids, Michigan
- Hartford, Connecticut
Guides
Related calculators
ConstructionConcrete CalculatorCubic yards, cubic feet, bags, weight and cost — for slabs, patios and footings.Calculate now
Home & DIYFence Cost CalculatorFence cost by the linear foot, with gates.Calculate now
Home & DIYPaint CalculatorGallons of paint for any room, by coats.Calculate now
Home & DIYRoof Cost CalculatorRoof squares and replacement cost, by material.Calculate nowMore in Construction calculators or all calculators.
