Skip to content
Lumber Calculator

Projects

Deck Lumber Calculator

Enter your deck size and height to get the whole material list — ledger, joists, rims, blocking, beams, posts, footings, hardware and deck boards — with a board-length plan that puts every butt joint on a joist.

Updated October 31, 2026Our methodology

Units
Lumber sizes & prices

Inputs

Deck

ft

The side against the house, or the long side of a freestanding deck.

ft

How far the deck projects from the house.

ft

Ground to the top of the deck boards.

Support at the house

Framing

Joists run

Auto keeps every joist span within a conservative rule of thumb.

Beam plies
ft

Beam span between posts. Check your beam size against IRC Table R507.5 (US) or your local code.

Decking

in

3/16″ (about 5 mm) is common for dry boards; wet treated boards are often laid tight.

Pattern
%

Leave empty for the pattern default: straight 7%, picture frame 12%, diagonal 15%.

Footings

in
in

Footing depth must reach below your frost line — ask your building department.

More options
in

How far joists may run past the outer beam. Capped at ¼ of the backspan.

in

Deck boards past the rim on the open sides. 0 = flush.

%

Added to the joist count for crowned, split or twisted boards.

Stock lengths available

Untick lengths your yard does not carry; the optimizer only buys what is ticked.

Loading 3D…

Results

Lumber list

Enter your dimensions to see the lumber list.

Estimate — check sizes and quantities with your lumber yard.

Results

How to calculate lumber for a deck

This deck lumber calculator is a complete lumber calculator for deck building: tell it the size and height and it lists every joist, beam, post, ledger, deck board and hanger you need — the full deck building lumber list, priced.

A deck takeoff has five parts: the joists that carry the boards, the beams and posts that carry the joists, the footings under the posts, the hardware that ties it together, and the deck boards. These are the formulas the calculator uses:

joists      = deck length (in) ÷ spacing (in) + 1
joist length = projection − ledger − rim
rows        = (deck width + gap) ÷ (board width + gap), rounded up
beams       = ledger + enough beams that no joist span exceeds the limit,
              cantilever ≤ backspan ÷ 4
posts/beam  = (beam length − 2 ft) ÷ max post spacing, rounded up, + 1
concrete    = π × (hole diameter ÷ 2)² × depth ÷ bag yield, per hole

An attached deck hangs its joists from a ledger bolted to the house, so it needs one beam fewer than a freestanding deck. A freestanding deck needs at least two beams. Joists normally run away from the house and the boards run parallel to it; you can flip that with Joists run along the house.

The calculator does not look up span tables. It uses a conservative planning rule of thumb — about 1¼ ft of span per inch of nominal joist depth at 16″ on center, so roughly 10 ft for a 2×8 — to choose the number of beams, and warns you when a span is longer. Always check your real spans in IRC Table R507.6 (joists) and R507.5 (beams), which depend on species, grade and snow load.

Worked example: lumber for a 12×16 deck

A 16 ft × 12 ft deck attached to the house, 3 ft high, with 2×8 joists at 16″ on center, one 2-ply 2×10 beam, 6×6 posts at up to 8 ft, 5/4×6 deck boards with a 3/16″ gap and 12″ × 36″ footings:

PartMathBuy
Joists192″ ÷ 16 + 1 = 13; 144 − 1½ − 1½ = 141″13 × 2×8×12′ (15 with 10% waste)
Ledger and rimone each, 16 ft2 × 2×8×16′
Blocking12 blocks at mid-spancut from 2×8 stock
Beambackspan 9′ 10½″, cantilever 2′ (≤ ¼ backspan)2 × 2×10×16′
Posts(16 − 2) ÷ 8 → 2 spans → 3 posts, about 16½″ each1 × 6×6×8′
Concreteπ × 6² × 36 = 4,072 in³ = 2.36 ft³ ÷ 0.6 = 4 bags per hole12 × 80 lb bags
Deck boards(144 + 0.1875) ÷ 5.6875 = 25.4 → 26 rows26 × 5/4×6×16′ (28 with 7%)
Hardwareone hanger and one hurricane tie per joist13 hangers, 13 ties, 3 post bases and caps

Change any input above and the numbers, the 3D model and the lumber list update together. Tap a row in the list to highlight those pieces in the drawing.

Deck board lengths and where the butt joints go

Most calculators stop at “26 boards”. The real question at the lumber yard is which lengths. When a row is longer than the boards you can buy, two boards meet end to end in a butt joint, and that joint must land on the centre of a joist so both ends are supported.

The calculator lays out every row the way a deck builder does:

  1. It finds every joist centre along the row — the only places a joint may fall.
  2. For each row it picks the joints that waste the least wood, preferring fewer joints, using the stock lengths you ticked.
  3. No joint may share a joist with the joints in the two rows before it, so the joints stagger across the deck.
  4. The pieces then go through the cut optimizer, which decides which stock lengths to buy and which offcuts to reuse.

The Deck board layout card shows the boards, the joists and every joint in blue, a table of which rows get which pieces, and the cut plan. If a 16 ft deck uses 16 ft boards there are no joints at all — untick 16′ in More options to see how it would be built from shorter boards.

PatternWhat changesDefault waste
StraightRows run parallel to the house, across the joists7%
Picture frameOne border board around the open sides; end joists doubled for bearing12%
Diagonal 45°About 1.4 × more rows, each board cut at 45° at both ends15%

The waste percentage is extra on top of the cut plan, for split ends, culls and miscuts.

Beams, posts and footings

Beams sit under the joists and are built from two or three plies of 2× lumber nailed or bolted together. Joists may run past the outer beam — a cantilever — but no more than one quarter of the backspan (the span from the ledger or the previous beam). With a 2 ft cantilever the beam of a 12 ft deck sits just under 10 ft from the ledger.

Posts are spaced along each beam, starting about 1 ft in from each end. The allowed beam span between posts depends on the beam size and the joist span it carries — check IRC Table R507.5. Post size and maximum height are covered in IRC R507.4; many builders use 6×6 posts for any deck that is more than a few feet off the ground.

Each post stands on a footing. A round hole holds π × r² × depth of concrete; an 80 lb bag makes about 0.6 cubic feet. The footing must reach below your local frost depth, so the right depth comes from your building department, not from this page.

Buying tips for deck lumber

  • Use pressure-treated lumber for the framing. Check the end tag: posts and framing that are close to the ground or hard to replace should be rated for ground contact.
  • Use connectors and fasteners rated for treated wood — hot-dip galvanized or stainless steel hangers, ties, bolts and screws.
  • Buy joists one length up when the cut length is within an inch of a stock length; treated boards are not always square on the ends.
  • Pick deck boards by hand. Look for straight boards without large knots at the ends, where screws go in.
  • Prices are editable samples. Enter your yard’s prices in the lumber list for a realistic total; they are saved on this device.

Planning shade over the deck? Price a pergola too and keep everything in one lumber list.

Frequently asked questions

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

An attached 12×12 deck with 2×8 joists at 16″ on center needs 10 joists 12 ft long, a 12 ft ledger and rim, one 2-ply 2×10 beam 12 ft long on 3 posts, 12 bags of concrete and 26 rows of 12 ft 5/4×6 deck boards (28 with 7% waste).

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

With 5/4×6 boards (5½″ wide) and a 3/16″ gap, a 12 ft wide deck takes 26 rows. If the boards run the 16 ft length you need 26 boards 16 ft long, or 28 with a 7% waste allowance — no butt joints at all.

How many joists does a 16-foot deck need?

13 joists at 16″ on center (192 ÷ 16 + 1) and 17 at 12″ on center. A picture-frame border adds two more for the doubled end joists.

How far can a 2×8 deck joist span?

It depends on species, grade, spacing and snow load — look it up in IRC Table R507.6. For planning, this calculator assumes about 10 ft at 16″ on center, which is on the conservative side, and adds a beam when a span is longer.

How many bags of concrete per deck post?

A 12″ diameter hole 36″ deep holds about 2.36 cubic feet of concrete, which is 4 bags of 80 lb mix at 0.6 cubic feet each. A 10″ hole of the same depth takes 3 bags.

Where should deck board butt joints go?

Always on the centre of a joist, so each board end has bearing, and staggered so neighbouring rows do not break on the same joist. The calculator places every joint this way and lists the pieces per row.

Does a diagonal deck need more lumber?

Yes. Diagonal rows are longer and every board is cut at 45° at both ends, so plan on about 15% waste instead of 7%, and closer joist spacing — check IRC Table R507.7 and the decking maker’s instructions.

Related calculators

Tools

Projects

Framing

Board feet & pricing

Planning

All calculators

Site

Settings

Units

Lumber sizes & prices

Choose the market whose sizes, stock lengths and sample prices you want.

Theme

Language