Lumber Calculator

12x20 deck: materials list and cost

A 12 × 20 ft deck is 240 sq ft. Attached to the house and 3 ft off the ground, it needs 16 2x10 joists, 4 footings and 29 deck boards. Materials cost about $1,620–$3,020 in pressure-treated wood or $3,480–$6,260 in composite, including 44 ft of railing.

Joists16 × 2x1016" o.c., span 12' 0"
Beam(2) 2x10posts every 6' 8"
Footings4 × 16"28 bags of concrete
Squaring diagonal23' 4"corner to corner
house · ledger 20 ft · 16 joists 2x10 @ 16" o.c. 12 ft

12x20 deck: wood vs. composite

DeckingBoardsFastenersJoist spacingRailingMaterials cost
Pressure-treated 5/4x629 × 20 ft820 screws16"Wood (4x4 posts, 2x2 balusters) $1,620–$3,020$6.75–$12.58/sq ft
Cedar 5/4x629 × 20 ft820 screws16"Wood (4x4 posts, 2x2 balusters) $2,340–$3,980$9.75–$16.58/sq ft
Composite (1" x 5.5")29 × 20 ft406 hidden clips16"Composite/aluminum kit $3,480–$6,260$14.50–$26.08/sq ft

All three use pressure-treated southern pine framing. See composite vs. wood decking for maintenance and lifespan.

12x20 deck materials list (pressure-treated)

ItemQuantity
Footings & posts
Footings, 16" diameter × 36" deep (edge beam)16" form tubes; 7 bags of 80 lb concrete each4
80 lb bags of concrete mix28
6x6 pressure-treated posts, ground contact (cut to about 17")1 × 8 ft
Post bases (anchored to footings) and post caps sized for the beam4 each
Framing
Beam: (2) 2x10 (3 spans of 6' 8")2 × 2x10 × 20 ft
Joists: 2x10 at 16" on center16 × 12 ft
Rim joist: 2x101 × 20 ft
Ledger board: 2x10 pressure-treatedNever attach to brick veneer or cantilevered floors1 × 20 ft
Mid-span blocking: 2x1015 blocks19 linear ft
Decking
Pressure-treated 5/4x6 deck boardsIncludes 10% waste29 × 20 ft
Hardware
Ledger fasteners: ½" through-bolts or approved ledger screws, staggeredExact spacing depends on joist span: see IRC Table R507.9.1.3(1)about 30
Ledger flashing (Z-flashing or membrane)21 ft
Joist hangers for 2x10 (hot-dip galvanized or stainless)16
Hurricane ties (joist to beam)16
Exterior deck screws (2 per board per joist)Coated or stainless, 2½"–3"820
Railing
4x4 guard posts, 36" min. guard height (44 ft of railing)Bolt to rim and joists per IRC/DCA 6 guard post detail9 × 8 ft
2x4 top and bottom rails11 × 8 ft
2x6 rail cap6 × 8 ft
2x2 balusters (gaps under 4")96 × 36"

Assumes an attached deck with a ledger, 36" from grade to the deck surface, southern pine No. 2 framing, straight decking, 36" footing depth, no stairs. Change any of these in the calculator below.

12x20 deck questions

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

About 29 boards 20 ft long for 5½" boards laid straight across the joists, including 10% waste. Diagonal decking needs about 15% more and 12" joist spacing.

How many footings does a 12x20 deck need?

4 footings, about 16" in diameter, with posts every 6' 8" under a (2) 2x10 beam. A freestanding version needs another row of footings along the house. See deck footings.

What size joists for a 12x20 deck?

2x10 joists at 16" on center, spanning 12' 0" from the ledger to the beam. That's the prescriptive minimum from the IRC span tables. Going one size up makes a stiffer deck.

How much does a 12x20 deck cost?

Materials run about $1,620–$3,020 in pressure-treated, $2,340–$3,980 in cedar and $3,480–$6,260 in composite. Professional installation adds labor on top, often more than the materials. See what drives deck cost.

Is a 20x12 deck the same as a 12x20?

Same 240 sq ft and about the same decking, but the framing changes. This page assumes the deck sticks out 12 ft from the house, so joists span 12 ft. Built 20 ft out (20x12), it needs 30 2x8 joists and 9 footings instead of 16 2x10 joists and 4 footings. Set width and depth in the calculator below to match your layout.

How do I square a 12x20 deck?

Measure both diagonals of the frame; they should each be 23' 4". Use the 3-4-5 rule to set the first corner.

Customize this deck

ft in
Your building department sets the exact depth

    Materials list

    ItemQuantity

    Planning estimate only. Framing sized from IRC 2021 Tables R507.5 and R507.6 (40 psf live load, No. 2 lumber, no snow load); your city or county may amend them. Confirm with your local building department before ordering or building. Costs are materials only; lumber prices move weekly and vary 20–40% by region.

    Other deck sizes