A 300-square-foot deck can cost $6,000 in pressure-treated pine or $24,000 in premium composite with a railing upgrade, and the difference is almost all material and labor line items you can price yourself. A working deck estimator approach starts with square footage, multiplies by per-foot benchmarks, adds permits and extras, and produces a figure accurate within 10% of contractor quotes. This guide walks through the math step by step.
Calculate Square Footage First
Measure deck length times width for a rectangle. For L-shaped decks, break the space into two rectangles, calculate each, and add. A 16×20 rectangle is 320 square feet. Add 10% for design complexity like angled corners, picture framing, or stair landings.
Do not forget vertical elements. A 36-inch-tall railing along a 40-foot perimeter adds 120 square feet of surface area to material calculations (though not floor square footage).
Material Cost Per Square Foot
Pressure-treated pine boards: $3 to $6 per sq ft of deck surface, boards only. Cedar: $6 to $12. PVC decking (Azek, Wolf): $10 to $18. Composite (Trex, TimberTech): $8 to $16. Tropical hardwood like ipe: $15 to $25.
These numbers cover deck boards only. Add 30 to 40% for substructure (joists, beams, posts, hangers), fasteners, and accessories. A complete 320-sq-ft composite deck materials-only runs roughly $4,500 to $7,500.
Substructure and Framing
Pressure-treated 2×8 or 2×10 joists cost $18 to $32 each at 12 to 16 feet. A 16×20 deck needs 14 to 18 joists at 16-inch spacing plus two rim joists and two beams. Figure $600 to $1,000 in framing lumber.
Concrete footings at 4 feet on center run $25 to $50 each in materials (tube form, concrete bag, rebar). A typical 320-sq-ft deck needs 6 to 9 footings, or $150 to $450 in concrete work. Add post bases at $10 each.
Railings and Stairs
Wood railings add $25 to $45 per linear foot. Composite and vinyl railings run $45 to $90 per foot. Aluminum railings with glass panels hit $80 to $150 per foot. A 40-foot railing run in composite costs $1,800 to $3,600.
Stairs cost $150 to $400 per step depending on width and material. A 3-foot-wide stair with 4 steps runs $600 to $1,600 including stringers, treads, and supports. Factor $300 to $600 for a landing pad at the base if pouring concrete or laying pavers.
Fasteners and Accessories
Hidden fasteners for composite decking: $1 to $2 per sq ft. Joist hangers: $2 each, roughly 50 per deck. Structural screws for ledger connections: $25 to $60. Flashing at the ledger: $30 to $50 for a 20-foot run.
Total fastener and hardware budget: $200 to $700 depending on deck size and board type. Stainless steel fasteners add 30 to 50% but are required for cedar, redwood, and most tropicals to prevent black tannin staining.
Labor and Permits
Contractor labor typically runs $15 to $35 per square foot on top of materials. A 320-sq-ft composite deck with premium railings runs $10,000 to $18,000 total labor plus materials installed by a pro.
Permits cost $75 to $500 depending on jurisdiction. Some municipalities charge based on deck value at 1 to 3% of total project cost. Decks attached to the house always require permits; freestanding decks under 30 inches tall often do not, but confirm locally.
Contingency Budget
Add 10 to 15% for the unexpected: hidden rot at the ledger, footing holes hitting rock or old concrete, lumber price changes between estimate and start, or design upgrades during the build. Skipping this line is the most common DIY budgeting mistake.
For a $12,000 materials estimate, set aside $1,200 to $1,800 contingency. If unused, it goes toward furniture, lighting, or deck stain; if needed, it prevents project delays waiting for more funds.
Full Estimator Example
For a 16×20 (320 sq ft) composite deck with 40 feet of composite railing and a 4-step stair: decking $3,200, substructure $1,200, footings $400, railings $2,400, stairs $1,000, fasteners $500, permits $300. Subtotal $9,000. DIY total about $9,900 with contingency.
Same deck built by a contractor: $9,000 materials plus $8,000 labor equals $17,000. Add 10% contingency for $18,700 final budget. Use online tools like Trex’s cost estimator or HomeAdvisor’s deck calculator to sanity-check your numbers, then get three written bids before signing anything.
Regional Cost Variations
Deck pricing swings dramatically by region due to labor rates, lumber availability, and permitting complexity. Midwest and Southern states see the lowest all-in costs at $30 to $45 per sq ft installed. Pacific Northwest, Northeast, and California metros range $45 to $75 per sq ft. Hawaii and Alaska add 20 to 40% on top due to shipping and limited contractor supply.
Lumber prices also fluctuate seasonally. Pressure-treated pine runs cheapest from October through February, when demand drops off and big-box retailers discount inventory. Composite manufacturer rebates commonly appear in March and April to move spring inventory; a $500 rebate on a 400-sq-ft deck covers a full railing upgrade.
Upgrades That Pay Back at Resale
Remodeling Magazine’s Cost vs Value report consistently ranks wood decks at 65 to 75% cost recovery and composite decks at 55 to 65%. The delta favors pressure-treated wood financially, but composite wins on buyer appeal and inspection-free resale. Lighting upgrades ($400 to $1,200 for post caps, stair lights, and accent fixtures) deliver outsized buyer impact for their cost.
Skip expensive custom features that future buyers may not want: elaborate pergolas, built-in bars, and multi-level designs rarely return their cost. Focus budget on size, a quality railing system, and good lighting, which appeal broadly. Cover material choice and color on a design document attached to the closing paperwork; buyers appreciate knowing the deck specs for future refresh work. Keep receipts and warranty cards in a labeled folder for the home file; transferable warranties add real buyer appeal when the deck is still under coverage.
Getting Accurate Contractor Bids
Send each contractor the same written scope document listing square footage, decking brand and color, railing type, stair count, and any unusual design features. Identical scopes produce comparable bids; vague scopes produce wild price swings that hide real cost differences. Ask each bidder for a detailed line-item breakdown, not just a bottom-line number.
Verify contractor licensing and insurance before taking bids seriously. Ask for three recent deck references completed within the past 18 months and call at least two. Check the Better Business Bureau and Google reviews for patterns. The cheapest bid is rarely the best value; target the middle quote when three are close, and ask the highest bidder what their extra cost includes that competitors skipped.