Deck Lumber Calculator

The footprint and the framing go in; the lumber order comes out — joists, rim, ledger, beam and posts checked against the IRC span tables, then deck boards, screws or hidden clips for the surface. Regional reference: the span tables and 2× dimensional lumber sizes are North American (US IRC; a 2×10 actually measures 38 × 235 mm, a 2×8 38 × 184); other regions use metric timber cross-sections and different span rules — the arithmetic transfers, the lumber names do not.

What you'll need before you start
  • The deck's length and width — length along the house, width is the joist span
  • Joist size and spacing, or the size you're hoping to use — the span verdict will tell you
  • Attachment style: ledger-attached to the house, or freestanding on its own beams
  • For buying: the board's actual face width and gap from the label (defaults cover most)

Enter Your Deck

Units:

Part one — the deck

ft the dimension parallel to the house — joists distribute along it
ft the joist span — how far the joists run from the house outward
ledger deck: 1 beam + hangers at the house · freestanding: 2 beams

Part two — framing

16 is the default · composite caps here · diagonals want 12
checked against IRC Table R507.6 (Southern Pine No. 2)
sets maximum post spacing from IRC Table R507.5
what the yard actually sells — minimizes your offcuts

Part three — decking

in actual face: 5.5 for 6-in nominal boards · 3.5 for 4-in
clips fill the gap field with the 3/16-in Trex standard
in wood 1/4 in is the safe default · clip-set gaps stay editable
longer boards mean fewer joints to stagger
% 10% absorbs staggered joints · diagonals lean toward 15%
Framing — Joists, Beam & Posts IRC span tables, waste included
Joists
count × span — spaced along the deck length
0
Span Verdict
joist size × spacing vs your deck width
—
Joist Boards
at your framing stock length, waste in
0
Rim, Ledger & Ends
ledger + rim joist + 2 end joists
0
Beam
2-ply, splice staggered over posts
0
Posts & Footings
max spacing from the beam table
0
Joist Hangers
one per joist at the ledger — hardware list
0
Framing Boards to Order 0
Decking — Boards & Fasteners true face width + gap, waste included
Coverage
board face + gap — what one board actually covers
0
Decking Board Run
area × 1,000 ÷ coverage — metres of board
0
Rows
boards across the deck width, last row ripped
0
Deck Boards
at your board length, waste in, joints staggered
0
Fasteners
2 screws or 1 clip at every board-joist crossing
0
Decking to Order 0
Plan view of your framing: joists spaced along the length, the beam (or beams) below, posts as filled squares. Redraws as the takeoff changes.
Finished timber deck surface with straight parallel deck boards and visible wood grain
Straight, parallel, evenly gapped boards — the finish every deck takeoff aims for.

What Your Results Mean

The framing panel is the structure order. Joists come from spacing arithmetic — deck length divided by on-centre spacing, rounded up, plus one — and each joist runs the full deck width, which is why the span verdict sits directly under the count: the width you typed is checked against what that joist at that spacing is allowed to carry, and if it fails, the sub-line names the fix. Perimeter members close the frame (ledger and rim along the length, end joists along the sides), the beam comes as two plies with splices staggered, and the post count comes from the beam table's maximum spacing — the calculator distributes posts evenly and shows the actual spacing it used, which will always be at or under the table's cap.

The decking panel is the surface order. Coverage is the board's true face plus the gap — the number the label never says out loud — and the board run in metres is simply area converted through it. Boards divide the run by your stock length with waste on top, and the fastener row counts the two schemes honestly: face screws at two per board-joist crossing, hidden clips at one per crossing plus a starter run.

Reading the Lines

  • Span verdict: OK with headroom is comfort; at the limit means the table allows it with nothing to spare; over span means upsizing, tightening spacing, or a mid-span beam — the sub-line sizes the first two fixes.
  • Joists: count × span. The last space may run short when the length doesn't divide evenly — the rim closes the remainder.
  • Rim, ledger & ends: metres of run and the boards they cut from, waste included. A splice in the ledger lands on blocking, not mid-air.
  • Posts & footings: post spacing is center-to-center; each post wants a footing below frost depth — take the count to the concrete calculator for the bag or yard figure.
  • Rows: boards across the width; the final row is usually ripped to width, which is part of what the waste allowance absorbs.
  • Fasteners: two screws per crossing or one clip per crossing. Composite at 600 mm (24 in) spacing draws a warning — the board's own rating caps first.

What the Calculator Does Not Do

It sizes the flat frame and the surface — not the project. Stairs and railings are separate orders: stringers follow your rise and run, rails follow perimeter and post layout. Hardware beyond hangers — hurricane ties, post bases, ledger fasteners, the beam's nailing schedule — is sold by the box with code-specified counts your supplier knows by heart. Lumber sizes themselves vary by country: this calculator follows the North American IRC tables; in other regions, timber is metric and span tables differ — For the sequence around the numbers — planning, measuring and building — see the deck project plan.

Pro Tip

Order the whole surface from one lot: mill runs color-shift, and the three boards you buy next week will tattoo a shade line across your deck. The deck lumber guide walks every formula here by hand, waste and stagger included.

The Math Behind the Calculator

Framing is counting; decking is one conversion. The span tables doing the structural work are printed below, so the verdicts above are checkable to the source:

joists = ceil(length_mm ÷ spacing_mm) + 1
boards = ceil(board_run_m × (1 + waste) ÷ stock_length_m)
posts = beams × (ceil(length_m ÷ max_post_spacing_m) + 1)
board_run_m = area_m2 × 1,000 ÷ (face_mm + gap_mm)
screws = 2 × rows × joists  ·  clips = rows × joists

Joist capacity and beam capacity come from the IRC's prescriptive tables, Southern Pine No. 2 at the code's 1.9 kPa live + 0.5 kPa dead load (40 + 10 psf) — the same columns your inspector reads:

Joist size300 mm (12 in) o.c.400 mm (16 in) o.c.600 mm (24 in) o.c.
2×63.02 m (9 ft 11 in)2.74 m (9 ft 0 in)2.31 m (7 ft 7 in)
2×83.99 m (13 ft 1 in)3.61 m (11 ft 10 in)2.95 m (9 ft 8 in)
2×104.93 m (16 ft 2 in)4.27 m (14 ft 0 in)3.48 m (11 ft 5 in)
2×125.49 m (18 ft 0 in)5.03 m (16 ft 6 in)4.11 m (13 ft 6 in)

Maximum joist spans, IRC Table R507.6. Cantilevers past a beam cap at one quarter of the actual back-span.

2-ply beam1.8 m (6 ft) joists2.4 m (8 ft) joists3.0 m (10 ft) joists3.7 m (12 ft) joists
2×82.31 m (7 ft 7 in)2.03 m (6 ft 8 in)1.83 m (6 ft 0 in)1.68 m (5 ft 6 in)
2×102.95 m (9 ft 8 in)2.59 m (8 ft 6 in)2.31 m (7 ft 7 in)2.11 m (6 ft 11 in)
2×123.58 m (11 ft 9 in)3.12 m (10 ft 3 in)2.82 m (9 ft 3 in)2.57 m (8 ft 5 in)

Maximum post spacing, IRC Table R507.5, read by the joist span the beam carries. Joist spans past 3.7 m (12 ft) use the last column; between columns the calculator interpolates.

The coverage arithmetic works in any unit because it is a ratio: face plus gap over the area's width direction. Metric mode converts lengths, areas and spacings throughout — board, package and screw counts stay piece counts, because that is how they sell.

Assumptions & Limitations

Every number above rests on these constants. If your deck or product differs, change the matching input — or read the linked guide for the full reasoning.

  • Span tables: IRC R507.6 (joists) and R507.5 (2-ply beams), Southern Pine No. 2, 1.9 kPa live + 0.5 kPa dead (40 + 10 psf) — Douglas Fir-Larch and Hem-Fir run shorter; read the grade stamp
  • Joists counted at both ends: ceil(length ÷ spacing) + 1, last space allowed to run short; each joist runs the full deck width
  • Beam table read by full joist span, capped at the 3.7 m (12 ft) column, linear between columns; beams assumed 2-ply with splices staggered
  • Perimeter: ledger + rim + 2 end joists attached; freestanding swaps the ledger for a second rim and second beam, doubling posts
  • Board faces: 6-in nominal = 140 mm (5.5 in) actual, 4-in nominal = 89 mm (3.5 in) — both editable; gaps default 6 mm (1/4 in) wood, 4.76 mm (3/16 in) clip-set (Trex standard)
  • Waste allowance applies once to all lumber at the percentage you set — 10% default, 5% for dead-straight rectangles, 15% for diagonals
  • Fasteners: 2 screws or 1 clip per board-joist crossing; hidden-clip counts exclude starter/finish screws and picture-frame breaker hardware
  • Stairs, railings, guards, hardware schedules, footing concrete and flashing are outside this takeoff — the hanger count is the reminder, not the hardware list
  • Metric mode converts lengths, areas and spacing; board and fastener counts are piece counts everywhere

Worked Example: The 6 × 3.6 m Attached Deck

The same deck walked through in the deck lumber guide, so every number below is checkable against it. Leave the defaults as they load: 6 × 3.6 m (20 × 12 ft), ledger-attached, 2×10 joists at 400 mm (16 in) on centre, 2-ply 2×10 beam, 3.7 m (12 ft) framing stock, 140 mm (5.5 in) boards face-screwed with a 6 mm (1/4 in) gap, 4.9 m (16 ft) decking, 10% waste:

  1. Joists: 6,000 ÷ 400 = 15 spaces + 1 = 16 joists, each 3.6 m — 57.6 m → 18 boards at 3.7 m (12 ft) stock.
  2. Span verdict: a 2×10 at 400 mm spans 4.27 m (14 ft 0 in) — OK, 0.67 m (2 ft) of headroom.
  3. Perimeter: 6 m ledger + 6 m rim + two 3.6 m ends — 19.2 m → 7 boards.
  4. Beam: 2-ply × 6 m = 12 m → 4 boards; the 3.6 m joist span caps posts at 2.13 m (6 ft 11 in), so 6 m needs 3 spaces — 4 posts at 2.0 m (6 ft 8 in), 4 footings, 16 hangers.
  5. Decking: 21.6 m² × 1,000 ÷ 146 = 148 m, 25 rows → 34 boards at 4.9 m (16 ft); fasteners: 2 × 25 × 16 = 800 screws.

Now stress it. Set the width to 4.27 m (14 ft) with the joists still at 2×8 × 400 mm (16 in): the verdict flips — over span by 0.66 m (2 ft 2 in), and the sub-line shows the way out, a 2×10 reaching exactly 4.27 m with zero margin or a mid-span beam splitting the run into two 2.1 m halves. Tighten the 2×8s to 300 mm (12 in) and you get to 3.99 m (13 ft 1 in) — still short, which is exactly the case where the third fix (the beam) is the only honest one.

Switch fastening to hidden clips: the gap field fills 4.76 mm (3/16 in), coverage tightens to about 145 mm, and the fastener line drops to 400 clips — with Trex's 90-count box covering 4.6 m² (50 sq ft) at 400 mm spacing, that's five boxes for this deck. And select freestanding: the second beam doubles the order to 8 beam boards and 8 posts, the rim doubles to 4 boards, and the hanger count zeroes out because nothing hangs from the house anymore. Every one of those numbers is the formula above, not a guess behind a button.

Run your own deck before believing any of it — tape the footprint off the house with string, decide which dimension the joists run, and let the verdict argue with your plan before your supplier does.

Deck Lumber FAQ

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

About 21 framing boards and 21 deck boards. Ten 2×10 joists at 400 mm (16 in) on centre (11 boards with 10% waste), 2 for the ledger, 2 for the rim, 3 end boards, and 3 for the doubled 2×10 beam — on 3 posts, because the beam table allows 2.1 m (6 ft 11 in) and 3.6 m (12 ft) needs just two spaces. The surface runs 25 rows of 146 mm coverage: 21 boards at 4.9 m (16 ft) lengths and roughly 500 screws.

How far can deck joists span?

In Southern Pine No. 2 per the IRC table: a 2×10 spans 4.27 m (14 ft 0 in) at 400 mm (16 in) on-centre, 4.93 m (16 ft 2 in) at 300 mm (12 in), 3.48 m (11 ft 5 in) at 600 mm (24 in); a 2×8 reaches 3.61 m (11 ft 10 in) at 400 mm; a 2×12, 5.03 m (16 ft 6 in). Span is clear distance between supports. The calculator checks your deck width against the table and, when it fails, sizes the fix — bigger lumber, tighter spacing, or a mid-span beam.

What joist spacing should I use for composite decking?

400 mm (16 in) on centre is the residential maximum for most composite brands, 300 mm (12 in) under diagonal or picture-frame layouts. The calculator warns when hidden clips meet 600 mm (24 in) framing, because the decking board's own span rating fails before the lumber does. Wood decking at 600 mm wants thick 2× boards rated for the spread — check the product sheet either way.

How is the number of deck boards calculated?

Area × 1,000 ÷ coverage millimetres, where coverage is the actual face width plus the gap — 140 mm + 6 mm for standard wood boards. Add the waste percentage and divide by the stock length you're buying. The default deck: 21.6 m² → 148 m → 34 boards at 4.9 m (16 ft) with 10% waste. The waste exists for the staggered joints and the ripped final row, not for decoration.

How many screws do I need for my deck?

Two at every board-joist crossing — rows × joists × 2. The default 6 × 3.6 m (20 × 12 ft) deck: 25 rows across 16 joists is 800 screws, about 37 per square metre (350 per 100 sq ft), which is the published rule of thumb falling straight out of the arithmetic. Hidden clips take one per crossing (400 here), and Trex's 90-count box covers 4.6 m² (50 sq ft) at 400 mm spacing — buy five for this deck.

Does the calculator include stairs and railings?

No — the flat frame and surface only, by design. Stairs add stringers, posts and rail that follow your rise and run; railings follow perimeter and system. Joist hangers are counted as a hardware reminder (one per joist at the ledger), but hangers, hurricane ties, post bases, ledger fasteners and the beam's nailing schedule are box-store items with code-set counts. Footing concrete is a separate pour — take the post count to the concrete calculator.

Lumber to Order
—
View Details