Deck Material & Cost Estimator

Use this deck material calculator to turn your deck's length and width into a full lumber, footing and hardware list with a realistic cost estimate.

Decking
Framing & footings
Pricing & options

Estimates only. By using this calculator you agree to our Terms.

Planning estimate only. Framing limits follow conservative rules of thumb set below the IRC R507 (2021) deck tables for Southern Pine. Local codes, snow loads, soil and frost depth vary. This tool is not engineering, permit or inspection approval — confirm the design with your local building department before you build.

How to Use This Deck Material Calculator

Enter your deck's length (along the house) and width (how far it projects out), then choose a decking material, board size and length, joist size and spacing, and the maximum post spacing along each beam. Set the waste slider, your footing depth and, if you like, a labor rate, then press Calculate. You get a total with a ±15% budget range, a line-by-line material list, a side-by-side comparison of all five decking materials, and a plan-view diagram that redraws with your numbers.

Why This Matters

Decks are among the easiest home projects to misbudget. Order too few boards and you pay for a second delivery mid-build; order too many and you carry hundreds of dollars of offcuts. For a 16 × 12 ft attached deck (192 sq ft) at the default settings, this calculator puts materials at about $2,316 for pressure-treated pine, $3,088 for cedar and $3,650 for composite, or roughly $12, $16 and $19 per square foot. Ten surplus 12-ft cedar boards at $2.90 per linear foot is $348 you didn't need to spend.

Framing mistakes cost more. A joist span that is too long means an extra beam line, extra posts and extra footings, and those are far easier to add on paper than after the concrete has cured. Homeowners use the estimate to choose between materials, contractors use it to sanity-check a quote, and DIYers use it to build a shopping list. Prices also swing by region, so the regional multiplier lets you scale everything before you call a lumber yard.

How It's Calculated

All quantities are rounded up, and framing limits are conservative. Labor is added as your rate times deck area and is not scaled by the regional multiplier.

Rows = ceil(width in × 12 ÷ (face + 0.125 in gap))
Boards = ceil(rows × length × (1 + waste) ÷ board length)
Joists = ceil(length × 12 ÷ spacing) + 1
Bays = ceil(width ÷ max joist span); beam lines = bays (attached) or bays + 1 (freestanding)
Posts = beam lines × (ceil(length ÷ post spacing) + 1)
Bags per footing = ceil(π × 0.5² × depth ft ÷ 0.45 cu ft)

Joist spans. The maximum single-span limits used are, in feet at 12 / 16 / 24 in on center: 2×6 9 / 8 / 6.5, 2×8 11.5 / 10 / 8, 2×10 14.5 / 12.5 / 10, 2×12 17 / 14.5 / 12. They sit below the IRC R507 tabulated values for Southern Pine. If your width is longer than the limit, the deck is split into equal bays and an extra beam line is added.

Beams and posts. Beams are priced as doubled 2×10 at 6 ft post spacing and tripled 2×10 at 8 ft. One extra ply is added if a joist bay is longer than 10 ft. Posts are 6×6 pressure-treated, one footing per post, with 12-inch diameter tube forms.

Ledger and fasteners. Attached decks include a ledger board, flashing and two structural fasteners per foot of ledger, plus two joist hangers per joist and two deck screws at every board-joist crossing. Framing lumber gets a 5% allowance.

Unit prices (national planning averages). Decking per linear foot, 6-inch face: pressure-treated $1.25, cedar $2.90, redwood $3.80, composite $4.10, ipe $6.80. Four-inch boards are priced at 70% of those. Framing per linear foot: 2×6 $1.15, 2×8 $1.65, 2×10 $2.35, 2×12 $3.00 (beams use $2.35 per ply-foot). Each post costs $38, post base and connectors $22, tube form $24 and a 60-lb concrete bag $5.75. Joist hangers are $2.75 each, ledger fasteners $3.25 each, ledger flashing $4.00 per foot and screws $0.08 each.

Worked Example

A 16 ft long × 12 ft wide attached deck, pressure-treated 6-inch boards in 12-ft lengths, 2×8 joists at 16 in, 6 ft post spacing, 36-in footings, 10% waste, average region, no labor:

  1. Area: 16 × 12 = 192 sq ft.
  2. Decking: 144 in ÷ 5.625 in = 25.6, so 26 rows. 26 × 16 ft × 1.10 = 457.6 ft ÷ 12 = 38.1, so 39 boards at $15.00 = $585.00.
  3. Joists: 192 ÷ 16 = 12, plus 1 = 13 joists. 13 × 12 ft × 1.05 = 164 ft at $1.65 = $270.60. The 12 ft width exceeds the 10 ft limit for 2×8 at 16 in, so there are 2 bays of 6.0 ft and 2 beam lines.
  4. Rim and ledger: 17 ft each at $1.65 = $28.05 each.
  5. Beams: 2 lines × 16 ft × 2 plies × 1.05 = 68 ft at $2.35 = $159.80.
  6. Posts: 4 per line × 2 lines = 8 posts: $304.00, plus $176.00 connectors.
  7. Footings: 8 tubes = $192.00. Each footing needs 6 bags, so 48 bags = $276.00.
  8. Hardware: 26 hangers $71.50, 32 ledger fasteners $104.00, 16 ft flashing $64.00, 710 screws $56.80.

The total is $2,315.80, or $12.06 per sq ft, with a budget range of $1,968 to $2,663. Switching only the decking to composite raises the total to $3,649.60.

Tips & Common Mistakes

Frequently Asked Questions

How accurate is this deck cost estimate?

Prices are national planning averages, not supplier quotes. The ±15% range reflects normal swings in lumber prices and regional differences. Use the regional price level to scale, then confirm with local quotes.

Does the estimate include concrete for footings?

Yes. It assumes a 12-inch diameter footing at the depth you enter and 0.45 cubic feet per 60-lb bag, rounded up. At 36 in that is 6 bags per footing, about $34.50 at the base price, plus a $24 tube form.

How far can 2×8 deck joists span?

This tool limits 2×8 joists to 10 ft at 16 in on center, 11.5 ft at 12 in and 8 ft at 24 in. Those limits are deliberately below the IRC R507 tables for Southern Pine. Your species, grade and local code may allow less, so check your local span table.

How many joists do I need for my deck?

Divide the deck length in inches by the spacing and round up, then add one for the end joist. A 16 ft deck at 16 in on center needs 13 joists. The tool also adds hangers, a rim board and a ledger.

Does this include railing, stairs or permits?

No. It covers decking, framing, posts, footings, ledger flashing and fasteners. For railings and baluster counts, use the related railing calculator below. Permit fees and inspections vary by town.

Is composite decking worth the higher price?

In the default example, composite adds about $1,335 over pressure-treated pine in materials ($3,650 versus $2,316). It avoids staining and sealing, but this tool doesn't price maintenance, so weigh the 10–20 year cost yourself.

Calculator by Toolwick