Deck Calculator: Materials and Cost Estimate

Get the lumber list, hardware and price for your deck in under a minute.

Project Details
Enter your measurements and requirements
$
Results
Calculated estimates for your project
Deck area240 sq ft
Decking boards29 x 20 ft (26 rows, 10% waste)
Fasteners874 screws, 3 boxes of 350
Joists16 2x10 at 16 in, spanning 12.0 ft
Beam2-ply 2x10
Posts and footings4 6x6 posts, 22 bags of 80 lb concrete
Railing44 ft, 9 posts, 106 balusters under 4 in apart
Estimated cost$3,400 ($14 per sq ft)
Same deck inPressure-treated $3,400, cedar $4,942, composite $6,182

Turn these numbers into a build plan.

  • 240 sq ft deck area
  • 29 (20 ft) decking boards
  • 16 @ 16" joists
Materials List
Recommended materials and quantities
Decking: Pressure-treated boards, 5.5 in x 20 ft29, $928
Decking: Deck screws (350 per box)3 boxes, $135
Framing: 2x10 joists, 12 ft16, $403
Framing: 2x10 rim and band boards44 linear ft, $92
Framing: 2x10 ledger with flashing and 30 lag screws20 ft, $117
Framing: 2-ply 2x10 beam40 linear ft, $84
Framing: Joist hangers and hurricane ties32, $64
Framing: 2x10 mid-span blocking15, $42
Foundation: 6x6 posts with bases and caps4, $280
Foundation: 80 lb concrete for footings22 bags, $154
Railing: Railing, 9 posts, 106 balusters44 linear ft, $1,100
house (ledger)16 2x10 joists at 16 in, 4 posts, boards run left to right

Need the beam, post or footing size? Use the deck beam span calculator and the deck footing size calculator. Concrete per hole is in the sonotube calculator, stair cuts in the stair stringer calculator, and baluster gaps in the spacing calculator.

Next you will need

Show your build

Finished the deck calculator: materials and cost estimate? Snap a before and after. The photo maker lines them up into one image you can post, and a free Blueprint account keeps the photos with your measurements and materials.

Project plan · built from your numbers

20 x 12 ft deck

A 240 sq ft deck framed with 16 2x10 joists at 16 in on center over 4 posts, decked with 27 boards 5.5 in wide. Plan assumes a low deck; attached or tall decks need a permit and inspected footings.

Materials
$3,400
Time
2 weekends
Level
Advanced
8 steps 9 tools 8 materials
  1. 1

    Permit, design, and utility locate

    Most towns require a permit for a deck over 30 in high or attached to the house, with footing and framing inspections. Draw your 20 x 12 ft plan, confirm joist span tables for 2x10 at 16 in, and call 811.

    • Apply for a permit if required
    • Check span tables for your lumber
    • 811 utility locate
  2. 2

    Lay out and square

    Set batter boards and strings for the outline. Square the corners with 3-4-5 and match the diagonals. Mark the post locations along each beam line.

    • Strings at finished height
    • Diagonals equal
    • Mark 4 footing locations
  3. 3

    Dig and pour footings

    Dig 4 holes below frost depth, or to the depth your permit specifies, and pour the footings (22 bags in all) with post bases set in the wet concrete. Schedule a footing inspection before the pour if required.

    • Holes below frost line
    • Footing inspection if required
    • Post bases aligned to the string
01 · Your numbers
Deck area
240 sq ft
Decking boards
29 (20 ft)
Joists
16 @ 16"
Est. cost
$3,400
02 · The plan

8 steps · 9 tools · 8 materials

5 more steps, the full tool list and a shopping list you can check off as you go.

03 · Finished

Your plan is 60% built. Save it.

3/5

20 x 12 ft deck

Finished in 2 weekends · $3,400 DIY

Built for your deck area of 240 sq ft. Your first plan saves free. No card needed.

Or save it with just your email

We send a link; open it and this plan is your first project. Your first plan saves free. No card needed.

Borrow these 9 tools from neighborsFull how-to guide: Build a deck

12 x 16 deck materials list

An attached 12 x 16 ft pressure-treated deck, 3 ft high, 16 in joists, 5-1/2 in boards and a 3-sided railing:

ItemQuantityCost
Decking: Pressure-treated boards, 5.5 in x 16 ft29$742
Decking: Deck screws (350 per box)3 boxes$135
Framing: 2x10 joists, 12 ft13$328
Framing: 2x10 rim and band boards40 linear ft$84
Framing: 2x10 ledger with flashing and 24 lag screws16 ft$100
Framing: 2-ply 2x12 beam32 linear ft$90
Framing: Joist hangers and hurricane ties26$52
Framing: 2x10 mid-span blocking12$34
Foundation: 6x6 posts with bases and caps3$210
Foundation: 80 lb concrete for footings21 bags$147
Railing: Railing, 8 posts, 96 balusters40 linear ft$1,000

Total about $2,921, or $15 per sq ft.

How much decking for common deck sizes

DeckBoardsJoistsPostsPressure-treatedComposite
10 x 10 ft25 x 10 ft9 2x83$1,871$3,346
12 x 12 ft29 x 12 ft10 2x103$2,373$4,282
12 x 16 ft29 x 16 ft13 2x103$2,921$5,266
16 x 20 ft38 x 20 ft16 2x124$4,439$7,943
20 x 20 ft48 x 20 ft16 beam4$5,150$9,434

How the math works

  1. Count the board rows. Divide the deck depth in inches by the board width plus the gap. 12 ft at 5-1/2 in boards with a 3/16 in gap is 26 rows.
  2. Pick a board length. Use boards that match the deck length, or ones that split it evenly, so butts land on joists. Add 10% waste (18% for diagonal).
  3. Count the joists. Joists run out from the house and are counted along it: length in inches / spacing + 1. A 20 ft deck at 16 in takes 16 joists.
  4. Size the joists and beam. Read the joist size from the span table for the deck depth, then the beam and post spacing from IRC Table R507.5.
  5. Add footings, railing and stairs. One footing per post, about 4 to 6 bags of concrete each, a railing post every 6 ft and balusters under 4 in apart.
Joist span quick reference (southern pine, 40 psf, IRC Table R507.6)
Joist12 in on center16 in24 in
2x69'11"9'0"7'7"
2x813'1"11'10"9'8"
2x1016'2"14'0"11'5"
2x1218'0"16'6"13'6"

Beam and post sizes come from the deck beam span calculator, and footing sizes from the deck footing size calculator.

Waste factors and permits

PatternWaste to add
Straight, boards match the deck length5 to 10%
Straight with butt joints10%
Diagonal15 to 20%
Picture frame or herringbone20 to 25%

Pull a permit for anything attached to the house or over 30 in high, call 811 before digging, and keep the deck building cheat sheet handy for ledger flashing and inspection order. Need stairs off the deck? Get the rise and run from the stair calculator and the stringer layout from the stair stringer calculator; the piers come from the sonotube concrete calculator. Refinishing an existing deck instead? See how to refinish a deck.

Deck calculator FAQ

How many deck boards do I need for a 12x16 deck?

With 5-1/2 in boards running the 16 ft way, about 26 rows. Using 16 ft boards and 10% waste that is 29 boards.

How much lumber do I need to build a deck?

A 12 x 16 ft attached deck takes 29 deck boards, 13 2x10 joists, rim and ledger boards, a beam on 3 posts and 21 bags of concrete. The calculator lists every piece.

How many screws per deck board?

Two screws at every joist the board crosses. A 16 ft board over 16 in joists crosses 13 joists, so 26 screws. That works out to about 350 screws per 100 sq ft.

How many joists for a 12x20 deck?

Joists run 12 ft out from the house and are counted along the 20 ft side: at 16 in on center that is 16 joists (2x10).

How much does a 12x16 deck cost to build yourself?

About $2,921 in pressure-treated materials, $4,202 in cedar or $5,266 in composite, including framing, footings and a 3-sided railing, at US average prices.

Is this deck calculator free? Do I need to sign up?

Yes, it is free with no sign-up. Print or share the list as is; saving it as a project in Blueprint is optional.

What joist spacing for composite vs wood decking?

Wood decking runs fine at 16 in on center (24 in for 2x6 boards). Most composite needs 16 in, and 12 in for diagonal patterns or stairs. Check the board maker's instructions.

Do I need a permit to build a deck?

Most towns require one for decks over 30 in above grade or attached to the house, with footing and framing inspections. Call 811 before digging.