20x20 deck: materials list and cost
A 20 × 20 ft deck is 400 sq ft. Attached to the house and 3 ft off the ground, it needs 48 2x8 joists, 12 footings and 48 deck boards. Materials cost about $2,500–$4,700 in pressure-treated wood or $5,400–$9,700 in composite, including 60 ft of railing.
20x20 deck: wood vs. composite
| Decking | Boards | Fasteners | Joist spacing | Railing | Materials cost |
|---|---|---|---|---|---|
| Pressure-treated 5/4x6 | 48 × 20 ft | 1366 screws | 16" | Wood (4x4 posts, 2x2 balusters) | $2,500–$4,700$6.25–$11.75/sq ft |
| Cedar 5/4x6 | 48 × 20 ft | 1366 screws | 16" | Wood (4x4 posts, 2x2 balusters) | $3,700–$6,300$9.25–$15.75/sq ft |
| Composite (1" x 5.5") | 48 × 20 ft | 676 hidden clips | 16" | Composite/aluminum kit | $5,400–$9,700$13.50–$24.25/sq ft |
All three use pressure-treated southern pine framing. See composite vs. wood decking for maintenance and lifespan.
20x20 deck materials list (pressure-treated)
| Item | Quantity |
|---|---|
| Footings & posts | |
| Footings, 12" diameter × 36" deep (edge beam)12" form tubes; 4 bags of 80 lb concrete each | 4 |
| Footings, 18" diameter × 36" deep (interior beams)18" form tubes; 9 bags of 80 lb concrete each | 8 |
| 80 lb bags of concrete mix | 88 |
| 6x6 pressure-treated posts, ground contact (cut to about 19") | 2 × 14 ft |
| Post bases (anchored to footings) and post caps sized for the beam | 12 each |
| Framing | |
| Beam: (2) 2x8 (3 spans of 6' 8") | 2 × 2x8 × 20 ft |
| Interior beam: (2) 2x10 (3 spans of 6' 8") | 2 × 2x10 × 20 ft |
| Interior beam: (2) 2x10 (3 spans of 6' 8") | 2 × 2x10 × 20 ft |
| Joists: 2x8 at 16" on centerLap or butt over interior beams | 48 × 8 ft |
| Rim joist: 2x8 | 1 × 20 ft |
| Ledger board: 2x8 pressure-treatedNever attach to brick veneer or cantilevered floors | 1 × 20 ft |
| Decking | |
| Pressure-treated 5/4x6 deck boardsIncludes 10% waste | 48 × 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 2x8 (hot-dip galvanized or stainless) | 16 |
| Hurricane ties (joist to beam) | 48 |
| Exterior deck screws (2 per board per joist)Coated or stainless, 2½"–3" | 1366 |
| Railing | |
| 4x4 guard posts, 36" min. guard height (60 ft of railing)Bolt to rim and joists per IRC/DCA 6 guard post detail | 13 × 8 ft |
| 2x4 top and bottom rails | 15 × 8 ft |
| 2x6 rail cap | 8 × 8 ft |
| 2x2 balusters (gaps under 4") | 132 × 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.
20x20 deck questions
How many deck boards do I need for a 20x20 deck?
About 48 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 20x20 deck need?
12 footings, about 12" in diameter, with posts every 6' 8" under a (2) 2x8 beam and 2 intermediate beams. A freestanding version needs another row of footings along the house. See deck footings.
What size joists for a 20x20 deck?
2x8 joists at 16" on center, with 2 intermediate beams so each joist spans 6' 8". That's the prescriptive minimum from the IRC span tables. Going one size up makes a stiffer deck.
How much does a 20x20 deck cost?
Materials run about $2,500–$4,700 in pressure-treated, $3,700–$6,300 in cedar and $5,400–$9,700 in composite. Professional installation adds labor on top, often more than the materials. See what drives deck cost.
How do I square a 20x20 deck?
Measure both diagonals of the frame; they should each be 28' 3". Use the 3-4-5 rule to set the first corner.
Customize this deck
Materials list
| Item | Quantity |
|---|
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
- 16x24 deck384 sq ft
- 16x20 deck320 sq ft
- 12x24 deck288 sq ft
- 14x20 deck280 sq ft
- 16x16 deck256 sq ft
- 12x20 deck240 sq ft
Deck building guides
- How to Build a Deck: Step-by-Step OverviewThe full sequence for building a wood deck, from permit and layout through footings, framing, decking, railing and stairs, with links to each detailed guide.
- Deck Joist Span Chart (IRC 2021) for 2x8, 2x10 and 2x12Maximum deck joist spans at 12, 16 and 24 inches on center for southern pine and fir, plus deck beam spans, from the IRC prescriptive deck tables.
- Deck Joist Spacing: 12, 16 or 24 Inches On Center?How far apart deck joists should be for wood, 2x6 and composite decking, straight or diagonal, and how many joists your deck needs.
- The 3-4-5 Rule: How to Square a Deck FrameUse the 3-4-5 rule (and its 6-8-10 and 9-12-15 versions) to make deck corners exactly 90°, then confirm with diagonal measurements.
- Deck Railing Height: Code Requirements (IRC 2021)When a deck needs a guard, minimum railing height, baluster spacing, stair rails and post spacing under the 2021 International Residential Code.
- Deck Board Spacing: How Big a Gap Between Boards?The right gap between deck boards for pressure-treated, kiln-dried, cedar, hardwood and composite decking, plus end gaps and how many boards you need.
- Deck Footings: Size, Depth and How Many You NeedHow deep and how big deck footings should be, how many footings common deck sizes need, and how much concrete to buy.
- Deck Ledger Board: How to Attach a Deck to a HouseLedger board size, fasteners, flashing and the mistakes that cause deck collapses, based on IRC 2021 Section R507.9.
- Deck Blocking: When You Need It and How to Install ItWhat deck joist blocking does, where it's required or recommended, spacing for mid-span blocking, and blocking for railing posts and decking.
- How Much Does It Cost to Build a Deck? (Materials by Size)Deck materials cost per square foot and for common sizes from 10x10 to 20x20 in pressure-treated, cedar and composite, plus what drives the price.
- Composite vs. Wood Decking: Cost, Lifespan and MaintenanceCompare composite, pressure-treated and cedar decking on upfront cost, maintenance, lifespan, heat, framing requirements and long-term value.
- How Far Can Deck Joists Cantilever? Rules and LimitsHow far deck joists and beams can overhang their supports, the one-quarter back-span rule, how code editions differ, and how to keep a cantilevered deck from bouncing.
- 4x4 vs 6x6 Deck Posts: Which Size Do You Need?When a 4x4 deck post is enough and when you need a 6x6, covering post height, notching for beams, code changes, wobble and cost.
- Freestanding Deck Next to a House: Rules and How to Build ItHow to build a freestanding deck beside a house without a ledger, covering the extra beam, footings in backfill, bracing, gaps at the wall, permits and setbacks.