Pitch & Plank

Deck material calculator

20x20 deck materials list

A 20 by 20 foot deck covers 400 square feet. Here is the materials list and what it costs, with a calculator you can adjust.

Measurements

Deck length

Along the house

Deck width

Out from the house

in

Actual width. A 5/4x6 or 2x6 is 5.5 in.

in

1/8 in is 0.125

24 in only works with 2 in thick boards

%

Decks deeper than about 14 ft usually need 2

ft

Along each beam. Enter 0 to skip posts and beams.

$ per ft

Treated pine. A 16 ft board at $15.19 is $0.95 a foot. Store price checked October 2026.

$ per ft

Joists, ledger, rim and beams. A treated 2x10, 12 ft long, at $25.59.

$ each

A treated 6x6, 8 ft long

$ each
$ per box

A box of 1,000. Enter 0 for any price to leave it out.

Results

Decking to buy
48 boards, 20 ft long
Deck area
400 sq ft
Rows of boards
43
Decking, with waste
946 ft
Joists
16 joists, 20 ft long
Ledger and rim board
40 ft
Beam boards, two per beam
80 ft
Deck screws
1,514
Joist hangers
16
Posts and footings
8
Estimated materials cost
About $2,325
Decking cost
$912
Framing lumber cost
$937
Posts, hangers and screws cost
$476
House20' 0"20' 0"

Materials list for a 20x20 deck

For a deck 20 feet along the house and 20 feet out, with 5.5 inch boards, a 1/8 inch gap, joists 16 inches on center and 10 percent waste. Change any of it in the calculator above.

ItemQuantityCost
Deck boards, 5.5 in wide48 boards, 20 ft long$912
Joists16 boards, 20 ft long$682
Ledger and rim board2 boards, 20 ft long$85
Beam boards4 boards, 20 ft long$170
Posts8$340
Footings8Not priced
Joist hangers16$54
Deck screwsAbout 1,514, in 2 boxes of 1,000$82
TotalAbout $2,325

Prices are store prices checked in October 2026, with all framing priced as treated 2x10 at $2.13 a foot. Change any price in the calculator to match your quote.

Forty-eight 20 foot deck boards, sixteen 20 foot joists and 20 foot ledger, rim and beam boards make this the largest order on the list by far. Have it delivered and stacked close to the work.

What a 20x20 deck costs

About $2,325 in lumber and hardware, or $6 per square foot, before concrete, railing, stairs, flashing, stain and tax. HomeAdvisor puts labor at $15 to $35 per square foot, so a contractor-built 20x20 comes to about $8,325 to $16,325. Compare cedar and composite boards in the deck cost calculator.

What fits on a 20x20 deck

A 20x20 deck is 400 square feet, the largest size on this list and five times an 8x10. It fits a table for eight, a grill, two lounge chairs and a sofa set all at once.

Counting room to pull out chairs and walk past, a 20x20 deck holds a table for eight (14 by 10 feet), a grill with room to cook (5 by 5 feet), two lounge chairs (7 by 7 feet) and a sofa, two chairs and a low table (10 by 8 feet). Set up for lounging instead, it holds a sofa, two chairs and a low table (10 by 8 feet) and a grill with room to cook (5 by 5 feet). These are rough planning sizes, so measure your own furniture.

At this size, think in areas: dining near the kitchen door, lounging toward the yard, and a clear path from the door to the stairs between them.

Compared with the 16x20, this deck adds 80 square feet and room for a sofa, two chairs and a low table (10 by 8 feet).

Framing a 20x20 deck

Joists run out from the house: 16 of them at 16 inches on center, each 20 feet long. The list frames the deck with two beams, one near the middle and one at the outer edge, so each joist spans about 10 feet. DCA 6 does not cover that layout, because its beam and footing tables are for a beam carrying a single span of joists, and a middle beam carries joists on both sides. The table gives the smallest joist DCA 6 allows for each 10 foot span.

Species12 in on center16 in on center24 in on center
Southern Pine2x82x82x10
Douglas fir-larch, hem-fir, spruce-pine-fir2x82x82x10
Redwood, western cedar2x82x82x10

In Southern Pine at 16 inches, that is a 2x8. The ledger, and any joist or rim a railing post bolts to, must be at least 2x8.

No joist in DCA 6 spans 20 feet; the longest span in its table is 18 feet. So a deck this deep needs a beam partway out, with the joists either ending on it or running past it as an overhang, which the guide limits to a quarter of the span. Plan the beams, posts and footings with your building department or an engineer.

For a 10 foot joist span, DCA 6 Table 5 puts 1/2 inch lag screws every 18 inches into a solid lumber band joist, about 15 along this 20 foot ledger, or through-bolts every 34 inches, about 9. No lead anchors, and no ledger on brick or stone veneer.

Whatever layout you choose, draw a framing plan like the one DCA 6 asks for, showing the joists, beams, posts, footings and ledger fasteners, and take it to the building department before you dig.

Deck boards on a 20x20 deck

43 rows of boards run along the house, across the joists. Twenty foot boards cover each row in one piece. Shorter boards work if each joint lands on a joist: at 16 inches on center a 12 foot and an 8 foot board meet right on one, while two 10 foot boards meet between joists unless you add one there. Laid on a diagonal, 5/4 wood boards need joists 12 inches apart, not 16: 21 joists instead of 16.

Railing and stairs

More than 30 inches up, a railing is required: 60 feet on the three open sides, about 13 railing posts and 132 balusters 1.5 inches wide, less the stair opening. See the baluster and stair calculators.

Footings and concrete

This deck needs 8 footings in the two-beam layout. DCA 6 does not size footings under a middle beam, so get the size from your building department, then turn it into a bag count with the concrete footing calculator.

Permits and code limits

Under the model code, only a deck of 200 square feet or less, no more than 30 inches up, not attached to the house and not serving the main exit door skips the permit. This deck bolts to the house, and at 400 square feet it is over the size limit too, so even a freestanding version would need a permit. Local rules vary, so ask your building department.

DCA 6 only covers decks that stick out from the house no farther than they run along it. A square 20x20 sits exactly at that limit. It also leaves out decks with snow loads over 40 psf, and hot tubs: water 3 feet deep weighs about 187 pounds per square foot, against the 40 psf live load its tables assume.

Before you build a 20x20 deck

A deck this large changes how the yard drains and how much light reaches the windows next to it. Check both before you build, along with any local setback rule that keeps decks a set distance from the property line.

Other deck sizes

8x1010x1010x1212x1212x1412x1612x2014x1614x2016x1616x2020x20

Common questions

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

48 boards 20 feet long: 43 rows of 5.5 inch boards, plus 10 percent waste.

How many joists do I need for a 20x20 deck?

16 joists 20 feet long at 16 inches on center, counting the two end joists.

How many screws do I need for a 20x20 deck?

About 1,514, two wherever a board crosses a joist, plus 10 percent.

How much does a 20x20 deck cost in materials?

About $2,325 in pressure-treated lumber and hardware, or $8,325 to $16,325 built by a contractor.

Can 20 foot joists span a 20x20 deck?

No. The longest span in DCA 6 Table 2 is 18 feet, for a Southern Pine or Douglas fir 2x12 at 12 inches on center. A 20 foot deep deck needs a beam partway out.

How many posts does a 20x20 deck need?

The list above counts 8: four under each of two beams, no more than 8 feet apart. Because DCA 6 does not size a middle beam, confirm the post count, beam size and footings with your building department.

Tools for this job

Each link opens an Amazon search for that item. As an Amazon Associate I earn from qualifying purchases.

Sources

Facts on this page were last checked against these sources in October 2026.

Related calculators