Garden & Outdoor · Field Guide

How Much Lumber Do I Need to Build a Deck?

Updated September 2026 11 min read MyHouseLogic Editorial
Units:

Dual figures like 2–4 in (50–100 mm) follow this setting — and every calculator on MyHouseLogic uses it too.

A deck is a stack of simple decisions wearing the costume of one big project. The surface boards sit on joists, the joists sit on a beam, the beam sits on posts, and the posts sit on footings in the ground. Every board in that stack answers a question you can compute: how far a joist can span, how many joists fit along the house, how far apart posts can stand under the beam, and how many deck boards cover the area you just framed. Get each answer from its table and its formula, For the whole job in working order — plan, measure, calculate, build — the deck project plan sequences exactly that.

What the order won't forgive is guesswork in the two directions. Joists running the wrong way, or a width that quietly exceeds the span a 2x8 is allowed to carry, turns a plan into a re-order — and pressure-treated lumber bought in two trips rarely matches the first load. This guide sizes every member of a basic rectangular deck using the same tables your building department uses, works one 20 × 12 ft6 × 3.6 m example from footprint to screw count, and the deck lumber calculator runs the whole takeoff live as you type.

Quick answer

a 20 × 12 ft6 × 3.6 m attached deck, 2×10 joists at 16 in400 mm on centre and a doubled 2×10 beam, needs about 29 framing boards: 16 joists (18 boards with 10% waste), a 20 ft6 m ledger and rim (2 boards each), 2 end joists (3 boards), and a 2-ply beam (4 boards) on 4 posts at 6 ft 8 in2.0 m spacing. The surface takes 34 deck boards at 16 ft4.9 m, with a 140 mm face + 6 mm gap and 10% waste, and about 800 screws — two at every joist crossing.

Deck Framing from First Principles

Five members, one load path. The decking carries your feet to the joists. The joists are the closely spaced beams running perpendicular to the house — each one hands its share of the load to the supports at both ends. On an attached deck, the joist's house end hangs in a metal joist hanger nailed to the ledger, the board bolted to the house framing; the far end sits on the beam, which is usually two 2× boards nailed together (a "2-ply" or "doubled" beam). The beam concentrates a whole strip of joists onto posts, and each post ends in a footing of concrete below frost depth. A rim joist closes the far end of the joist run, and end joists close the two sides.

A freestanding deck swaps the ledger for a second beam and its own posts at the house side — same members, one more line of them, and no dependence on the house's framing for support. Either way, the takeoff is the same five questions: how far can the joists span, how many are there, how long are the rim and ledger, how much beam, and how many posts can the beam ask for. The order in which you answer them matters, because joist span drives the beam, and the beam drives the posts.

The rules below come from the prescriptive tables of the International Residential Code — the span figures your inspector will check. They are North American: the IRC and its dimensional lumber (the 2× sizes, where a 2×10 actually measures 38 × 235 mm and a 2×8 38 × 184) belong to the US and Canada; elsewhere framing timber is sold in metric cross-sections under different span rules, and the arithmetic below transfers even where the names do not. The tables assume Southern Pine No. 2, the benchmark pressure-treated framing lumber sold across most of North America, carrying the code's standard 1.9 kPa of people plus 0.5 kPa of deck weight (40 psf + 10 psf). Douglas Fir-Larch and Hem-Fir, common in the West, span slightly less at the same size, and cedar or redwood framing less still: when in doubt, pull the species off the grade stamp on the board and use the shorter number.

Step 1 — Size the Joists Before You Count Them

Joist size answers to span — the clear distance between supports, ledger to beam — and to spacing, and the code table sizes the trade exactly. At 16 in400 mm on centre, the workhorse spacing:

Joist size12 in300 mm o.c.16 in400 mm o.c.24 in600 mm o.c.
2×69 ft 11 in3.02 m9 ft 0 in2.74 m7 ft 7 in2.31 m
2×813 ft 1 in3.99 m11 ft 10 in3.61 m9 ft 8 in2.95 m
2×1016 ft 2 in4.93 m14 ft 0 in4.27 m11 ft 5 in3.48 m
2×1218 ft 0 in5.49 m16 ft 6 in5.03 m13 ft 6 in4.11 m

IRC Table R507.6 (North American), Southern Pine No. 2, 1.9 kPa live + 0.5 kPa dead (40 + 10 psf). Span is the clear distance between supports, not total board length.

Read it as a menu, not a challenge. The 20 × 12 ft6 × 3.6 m example spans 3.6 m, so 2×10s at 16 in400 mm carry it with 2 ft0.67 m of headroom; 2×8s at 400 mm top out at 11 ft 10 in3.61 m, and this 3.6 m span clears them by seven millimetres — 'at the limit', with no margin for a cupped joist. When a deck is just short, the three honest fixes are upsizing the lumber, tightening the spacing (which buys span — the same 2×8 reaches 3.99 m, 13 ft 1 in, at 300 mm o.c.), or adding a mid-span beam that splits the span in two. Sometimes the extra post beats the bigger joists; compare all three.

Two footnotes live under this table. A joist may cantilever — run past the beam — but only by one quarter of its actual back-span: a joist bearing 12 ft3.6 m between ledger and beam may overhang 3 ft0.9 m beyond the beam, no more. And the table assumes decking laid perpendicular to the joists; diagonal or picture-frame patterns need the joists tightened to 12 in300 mm o.c. under most products, because a board crossing the framing at 45 degrees spans farther between joists.

Step 2 — Count the Joists

Joists are distributed along the dimension parallel to the house, and the count is spacing arithmetic, not guesswork: divide the deck length by the on-centre spacing, round up to a whole number of spaces, and add one joist for the far end of the first space. In millimetres, for a 20 ft6 m deck at 16 in400 mm on centre: 6,000 ÷ 400 = 15 spaces, plus one = 16 joists. The last space is allowed to run a little short when the length doesn't divide evenly — the rim joist closes whatever remains. Deck length that lands on an even module (3.6 m at 400 mm, 3.6 m at 600 mm, 5.4 m at 300 mm) divides perfectly and hides no remainder at all.

Each joist runs the full span, so joist length equals the deck width — 12 ft3.6 m boards for the example deck. The takeoff line is therefore 16 joists × 3.6 m = 57.6 m, and at a 12 ft3.7 m stock length with 10% cut waste that is ceil(57.6 × 1.1 ÷ 3.7) = 18 boards. Buy the stock length that minimizes offcuts: for a 3.6 m joist, 3.7 m stock is exact; for a 4 m span you're into 4.3 or 4.9 m (14s or 16s), and the calculator totals whichever length you set.

Step 3 — Ledger, Rim, End Joists and the Beam

The perimeter members close the frame. On an attached deck, the ledger runs the deck's length against the house (6 m — two 3.7 m boards with the splice landed on blocking), the rim joist closes the far end over the beam (another 6 m, 2 boards), and two end joists close the sides (2 × 3.6 m, 3 boards with waste). A freestanding deck replaces the ledger with a second rim and a second beam. One hanger per joist at the ledger — 16 for the example — belongs on the hardware list, not the lumber list, and the ledger's lag screws or structural screws are specified separately from the joist count.

The beam is where decks earn their posts. A doubled 2×10 beam spanning between posts can carry much less than a 2×10 joist can, because it gathers load from the whole joist span behind it — which is why the beam table is read by the joist span it supports:

2-ply beam (SP No. 2)6 ft1.8 m joists8 ft2.4 m joists10 ft3.0 m joists12 ft3.7 m joists
2×87 ft 7 in2.31 m6 ft 8 in2.03 m6 ft 0 in1.83 m5 ft 6 in1.68 m
2×109 ft 8 in2.95 m8 ft 6 in2.59 m7 ft 7 in2.31 m6 ft 11 in2.11 m
2×1211 ft 9 in3.58 m10 ft 3 in3.12 m9 ft 3 in2.82 m8 ft 5 in2.57 m

IRC Table R507.5 (North American), 2-ply Southern Pine No. 2. Maximum post spacing (centre to centre) by the joist span the beam carries; a beam may cantilever past its end post by up to one quarter of the adjacent span.

The example deck's 12 ft3.6 m joist span sends a 2-ply 2×10 beam to the table's 12 ft3.7 m column: posts no more than 6 ft 11 in2.11 m apart. A 6 m beam therefore needs 3 spaces between posts — ceil(6 ÷ 2.11) — which is 4 posts at an even 6 ft 8 in2.0 m, and 4 footings under them. Posts land at both beam ends and between, and the beam itself is 2 plies × 6 m = 12 m of beam: 4 boards at 3.7 m stock with waste, their splices staggered so no two plies break over the same post bay. Footings below frost depth, sized by your soil, are a concrete order — the concrete calculator turns 4 footing tubes into bag counts or ready-mix fractions.

Joist spans past 12 ft3.7 m simply stop at the table's last column — the 3.7 m figure carries forward as the cap, which is conservative and honest. A freestanding deck runs this same math twice, once per beam, and doubles the post count: 8 posts for the 20 × 12 ft6 × 3.6 m freestanding version, 4 per beam. What the tables never cover is hardware: the hangers, the hurricane ties that pin joists to beams in wind country, the post bases that keep concrete and post apart, and the beam's nailing schedule — the code prescribes it, suppliers sell it by the box, and the calculator deliberately counts only what a saw can cut.

Step 4 — The Decking Itself

Decking is an area-to-board-length conversion, and the only trap is the board's real width. A "6-inch" deck board is 5½ in140 mm of actual face; add the gap you'll leave between boards — 1/4 in6 mm is the default for pressure-treated wood, which is still shrinking on the rack — and each board covers 5.75 in146 mm of deck. The formula: square metres × 1,000 ÷ coverage millimetres = metres of decking. The 240 sq ft21.6 m² example needs 21.6 × 1,000 ÷ 146 ≈ 148 m of decking, which at 16 ft4.9 m boards with 10% waste is ceil(148 × 1.1 ÷ 4.88) = 34 boards.

Composite boards are the same math with different constants: the face is still 5½ in140 mm, and hidden clips set the side gap — Trex's fasteners hold boards at 3/16 in4.76 mm, which the calculator fills in for you when you switch fastening methods. What composites change is structure: 16 in400 mm o.c. is the residential maximum under most brands, 12 in300 mm for diagonal or picture-frame layouts, and stair treads often demand 300 mm even when the field doesn't. Check the installation sheet for the specific product — the span rating printed there is the manufacturer's tested number, and warranty claims live or die on it.

The board count is a total, not a layout: 16 ft4.9 m boards on a 20 ft6 m deck must break somewhere, and pros stagger those butt joints across mid-joists, using each board's offcut to start a later row. That's why the waste allowance is 10% rather than 2% — it absorbs both the stagger and the ripping of the final row, whose last board is usually a narrow strip. Order the whole surface at once. Lot numbers color-match, and a second trip for three boards is a second delivery run and a visible shade line.

Step 5 — Fasteners: Two Screws per Crossing

Screw counts are crossing arithmetic. Face-screwed decking takes two screws wherever a board crosses a joist — one per edge, a thumb-width in from each side — so the count is rows × joists × 2. The example deck runs 25 rows of 5.75-in146 mm coverage across 16 joists: 25 × 16 × 2 = 800 screws, which works out to about 37 per square metre (347 per 100 sq ft) — right on the published rule of thumb of 350 per 100 sq ft. Buying by the pound is buying blind — box counts vary by brand and screw size, so divide 800 by the count printed on the box you are actually holding and round up to the next whole box.

Hidden clips run one per crossing instead of two, because each stainless screw angles through the clip into the joist while the clip grips the groove of the board above: 25 × 16 = 400 clips for the example at 16 in400 mm o.c. Manufacturer packaging anticipates exactly this arithmetic — Trex's 90-count Hideaway box is labeled as covering 50 sq ft4.6 m² at 400 mm spacing, so the 240 sq ft21.6 m² example orders 5 boxes and has a handful of spares for the breaker boards a picture-frame border demands. Add the starter clips for the first row and face screws for the last board and any perimeter breaking the pattern, and buy stainless fasteners within 25 km (15 miles) of salt water, always.

Waste, Grade Stamps and the Delivery

Two disciplines keep a deck lumber order honest. The first is waste as a percentage with a reason: 10% across the framing absorbs the checking, the crown and the one board you'll mismeasure; 10% across the decking absorbs the staggered joints and the ripped last row. Straight-walled rectangular decks can lean to 5%, and diagonal layouts or lots of notches should lean to 15% — the percentage is an input, not a constant, precisely because it's a judgment.

The second is species discipline. The span tables above are Southern Pine No. 2, and the takeoff arithmetic is species-blind — but the span capacity is not. Douglas Fir-Larch and Hem-Fir boards carry shorter spans at the same size, which means the same deck may need 2×12s where a Southern Pine deck framed happily on 2×10s. The grade stamp on each board's face says exactly what you bought; if the stamp and the plan disagree, the lumber loses and the inspector wins. While you're reading stamps, reject the badly checked and the heavy warp — a crown you can see across a 12 ft3.7 m run is a deck surface that waves forever.

On delivery day, count what the truck actually carried against the takeoff you printed, sticker the stack off the ground under cover, and let pressure-treated lumber dry a few days before it meets fasteners sealed for wet wood. And keep the list: every deck changes a rail height or a stair width between plan and build, and the delta between what you ordered and what you used is the calibration for the next one.

Where to Read Next

The bottom line: size the joists from the span table before counting anything, let the joist span pick the beam and the beam pick the posts, convert the area through the board's true 5½-in140 mm face, and allow two screws at every crossing. A lumber takeoff that shows its arithmetic survives the supplier's yard, the inspection, and the second trip you won't have to make.

Deck Lumber FAQ

How much lumber do I need for a 12×12 deck?

About 21 framing boards for an attached 12 × 12 ft3.6 × 3.6 m deck with 2×10 joists at 16 in400 mm on centre: ten joists (11 boards with waste), 2 for the ledger, 2 for the rim, 3 end boards, and 3 for the doubled 2×10 beam — sitting on 3 posts and 3 footings, since the beam table allows 6 ft 11 in2.1 m and 3.6 m needs just two spaces. The surface takes 21 more boards at 16 ft4.9 m — 25 rows of 146 mm coverage, 10% waste — and roughly 500 screws. Run it in the calculator and the same takeoff re-runs for any size.

How far can a 2×10 deck joist span?

14 ft4.27 m at 16 in400 mm on centre in Southern Pine No. 16 ft 2 in2 — 4.93 m if the joists tighten to 12 in300 mm, and 11 ft 5 in3.48 m at 24 in600 mm. Remember span is clear distance between supports, not board length: a 2×10 with 12 ft3.66 m of span and a 2 ft0.6 m cantilever past the beam is a 14 ft4.27 m board carrying a legal 3.66 m span. Douglas Fir-Larch and Hem-Fir run 100–150 mm (a few inches) shorter per column.

What is standard joist spacing for a deck?

16 in400 mm on centre for wood decking, and that is also the residential maximum for most composite brands. Tighten to 12 in300 mm under diagonal or picture-frame decking, and treat 24 in600 mm as thick-wood-board territory only — check the product's own span rating first. Tighter spacing buys span capacity from the code table, which is one of the three legitimate fixes for a span that's just short.

How do I calculate how many deck boards I need?

Area × 1,000 ÷ coverage millimetres = metres of board, where coverage is the actual face (140 mm, 5½ in, for 6-in nominal) plus the gap (6 mm wood, 4.76 mm clip-set composite). So 100 sq ft9.3 m² needs about 64 m (209 lineal ft) of board. Add your waste — 10% is the honest default — then divide by the stock length and round up. Staggering the joints is why the waste exists: a 16 ft4.9 m board cut for a 20 ft6 m row leaves an offcut that starts a later row.

How many screws or hidden clips do I need per square foot?

Two screws per board-joist crossing works out to about 37 screws per square metre (350 per 100 sq ft) at 16 in400 mm spacing — the rule of thumb falls straight out of the arithmetic. Hidden clips are one per crossing: roughly 18 per square metre (160 per 100 sq ft) at 400 mm, and manufacturer boxes are sized for it (a Trex 90-count Hideaway box covers 4.6 m², 50 sq ft). Add starter and finish fasteners at the deck edges, and use stainless near salt water.

Should deck boards run perpendicular or diagonal to the joists?

Perpendicular, unless the pattern is the point. Straight boards span the shortest distance and sit happily on 16 in400 mm framing. Diagonals and picture frames look sharper but extra structure and waste: 12 in300 mm on-centre framing under most products, plus the extra cutting that pushes waste toward 15%. Count the extra joists and boards before falling for the angle.