Cost to build a 20x20 deck
A 20x20 deck is 400 square feet, and at that size the decking is no longer the expensive part. The frame is: two spans, a beam, and a footing layout that has to be right the first time.
Installed cost for a 400 sq ft deck
| Decking | Installed per sq ft | 20x20 total |
|---|---|---|
| Pressure-treated pine | $15–25 | $6,000–10,000 |
| Cedar | $20–32 | $8,000–12,800 |
| Composite (capped) | $28–45 | $11,200–18,000 |
| PVC | $32–50 | $12,800–20,000 |
| Hardwood (ipe) | $35–60 | $14,000–24,000 |
US 2026 installed figures including standard railing, stairs and labor. The spread at this size is wide mostly because height and railing length diverge — a ground-level 20x20 against two walls is a completely different job from the same deck 8 ft up on three open sides.
Materials, before a single hour of labor
| Line | Composite | Treated pine |
|---|---|---|
| Decking (with 10% waste) | $4,180 | $1,540 |
| Framing — joists, beams, hangers | $1,280 | $1,280 |
| Footings (16 posts) | $448 | $448 |
| Fasteners and flashing | $440 | $440 |
| Materials subtotal | $6,348 | $3,708 |
Why 400 square feet is a framing problem first
- Two spans and a beam. A 20 ft dimension means a drop beam with two post lines, and the footings under it are the load path for the whole deck.
- Frost depth. At this size the footings are the item most likely to be wrong, and correcting one after the deck is framed is a rebuild. Check your local frost depth before you dig.
- Railing. Roughly 80 linear feet on a free-standing deck, about $6,800 installed — still the single largest line on a pine build.
- Lateral bracing. A deck this large and this high needs diagonal bracing or knee braces, which a 12x16 at ground level does not.
Where the money is best spent at this size
On the frame and the footings, not the surface. A 20x20 in treated pine with a well-built frame outlasts the same deck in composite over a frame that was undersized, and the difference in material is about $2,600 — a fraction of what it costs to rebuild once.
What a 400 sq ft estimate leaves out
- It does not cover engineering review, which some jurisdictions require above 200 sq ft or above a certain height.
- It does not price stairs, and a deck this size usually has two runs.
- It does not include the ledger or a free-standing alternative, which is a structural decision with its own cost.
- It does not include lighting, skirting or a privacy screen, all priced separately.
Questions people actually ask
How much does a 20x20 deck cost?
Installed, $6,000–10,000 in pressure-treated pine, $11,200–18,000 in composite, and $14,000–24,000 in hardwood. Materials alone are about $3,708 in pine and $6,348 in composite, before railing.
How many square feet is a 20x20 deck?
400 square feet — double a 12x16, and large enough that the framing and footings drive the cost more than the decking does.
Does a 20x20 deck need two beams?
Usually one drop beam with two post lines, sized for the span and the load. Two beams are only needed if you are breaking the deck into three spans. Use the beam span tables for your lumber.
How many footings does a 20x20 deck need?
Typically 16: eight perimeter posts plus the beam post line, spaced by the beam and joist span limits. The count follows the span, not the area — check the joist and beam tables before you set anything.