To find how many deck boards you need, divide the deck's depth in inches by one board's actual width plus one gap, and round up to get the rows. Then count the boards each row takes, which depends on the lengths you can buy, because every butt joint must land on a joist.
A deck that runs 14 ft out from the house, with 5 1/2 in boards and 1/8 in gaps, needs 30 rows. On a deck 20 ft long, that is 30 boards of 20 ft, or 55 from a mix of 8, 10, 12 and 16 ft lengths. The Deck Material Calculator plans those cuts and adds the framing, footings, concrete and screws.
How to calculate deck materials with Zutilium
- Open the Deck Material Calculator, choose Feet and inches or Metric, and pick a Shape: Rectangle, L-shape or Several sections.
- Enter the Length along the house (ft), Width out from the house (ft) and Height above grade (in), and choose Attached (ledger) or Freestanding.
- Under Deck boards, pick the Board, Gap between boards and Direction, then tick every length your store stocks under Board lengths you can buy.
- Under Framing, set the Lumber species and Joist spacing (on center), and leave Joist size, Beam size and Beam lines on Automatic.
- Under Footings and concrete, set the Soil bearing, a Footing depth below grade (in) below your frost line and the Concrete bag size, then review Railing and Stairs.
- Read Your deck and the Code checks: change anything marked Fix, and take anything marked Check to your building department.
- Add unit prices in the Shopping list for an Estimated total, then use Copy summary, Download list (CSV), Download cut plan (CSV) or Print.
Before you shop, open the Cut plan to see each row's pieces and the board each one comes from. Everything runs in your browser; nothing is uploaded.
How many deck boards do I need? The row method
On a deck framed out from the house, the boards usually run parallel to it, across the joists. Use actual sizes: a 5/4×6 or 2×6 deck board is 5 1/2 in wide.
- Measure the depth the rows cover, usually the width out from the house: 14 ft is 168 in.
- Add one gap to the board width: 5 1/2 + 1/8 = 5.625 in per row.
- Divide and round up: 168 ÷ 5.625 = 29.87, so 30 rows, the last one ripped lengthwise to 4 7/8 in.
- Turn rows into boards: one per row if a board covers the row, otherwise pieces that meet on joists.
- Add stair treads, any picture-frame border and spares, all cut from the same stock.
The square-foot shortcut (deck area ÷ board coverage, plus 10%) gives linear feet, not a shopping list, because it ignores which lengths fit your rows.
When the last row would be a sliver, the calculator widens the gaps instead, by no more than half a gap each. It also adds 5% spare boards by default (Spare boards (%)) for split or warped boards and miscuts, on top of the offcuts in the cut plan.
Why the board lengths you can buy change the count
A butt joint must be centered on a joist so both board ends bear on it, and each piece should cross at least three joists: the multiple-span case in Table R507.7 of the 2021 International Residential Code (IRC), which allows 16 in spacing under 5/4 boards. The calculator also keeps neighboring rows off each other's joint joists. Here are the 30 rows of a 20 × 14 ft deck with joists 16 in apart, stair treads left out:
| Lengths ticked | Boards to buy | Joints | Cut waste |
|---|---|---|---|
| 20 ft | 30 + 2 spare | 0 | 0% |
| 8, 10, 12 and 16 ft | 55 + 3 spare | 30 | 1.6% |
| 16 ft only | 40 + 2 spare | 44 | 6.3% |
| 14 ft only | 45 + 3 spare | 30 | 4.8% |
| 12 ft only | 53 + 3 spare | 60 | 5.7% |
| 10 ft only | 69 + 4 spare | 60 | 13% |
With the calculator's default lengths of 8, 10, 12 and 16 ft, the plan repeats every three rows (4 + 16, 8 + 12, then 12 + 8 ft), so no row shares a joint joist with the next.
Every piece on this deck is a multiple of 16 in, and so are 8, 12, 16 and 20 ft boards. A 10 ft board never fits whole: at most 9 ft 4 in of it can be used, and with only 10 ft stock the offcuts come to 13%. With joists 12 in apart, every whole-foot length fits.
Each joint also adds two screws, one pair per board end, so tick every length your yard stocks and compare waste, not just counts. Diagonal boards use more board, and 5/4 boards laid at 45° need joists no more than 12 in apart.
How many joists for a deck
Joists run out from the house, so count them along it: the length in inches divided by the spacing, rounded up, plus one. A 20 ft deck at 16 in on center has 240 ÷ 16 = 15 spaces and 16 joists; at 12 in it has 21.
Table R507.7 caps the spacing under wood decking at 16 in for 5/4 boards across the joists, 12 in at 45° and 24 in for 2x boards. Composite and PVC usually need 16 in, or 12 in diagonally, as in Trex's joist guide, so check your board's instructions.
The joist size depends on the species and the span from ledger to beam, in 2021 IRC Table R507.6. Maximum spans at 16 in on center:
| Joist | Southern pine | Douglas fir, hem-fir, SPF | Redwood, cedar |
|---|---|---|---|
| 2×6 | 9 ft 0 in | 8 ft 4 in | 8 ft 0 in |
| 2×8 | 11 ft 10 in | 11 ft 1 in | 10 ft 7 in |
| 2×10 | 14 ft 0 in | 13 ft 7 in | 13 ft 0 in |
| 2×12 | 16 ft 6 in | 15 ft 9 in | 15 ft 1 in |
The example's joists span 13 ft, the 14 ft deck less a 1 ft cantilever past the beam. That is too far for a southern pine 2×8, so the calculator picks 2×10, and the overhang is well inside the table's limit, interpolated to 3 ft 2 in for a 13 ft back span. On Automatic it takes the smallest joist that passes, at least 2×8 when guard posts bolt to it, and adds a beam line when no size works.
Beams, posts and footings
Table R507.5(1) gives a beam's span between posts for an effective joist span: the actual span times a factor from Table R507.5(5) that rises with the cantilever. Here 1 ÷ 13 = 0.077, which the calculator rounds up to the table's 1/12, factor 0.72, for an effective span of 9.36 ft.
A 3-ply 2×10 southern pine beam may then span 10 ft 4 1/2 in, so the 20 ft beam needs three posts 10 ft apart. On Automatic, the calculator picks the beam that needs the fewest posts; a 2-ply 2×12 would need four.
Each post carries a tributary area: half the joist span plus the cantilever, times the post spacing, so the middle post carries (6.5 + 1) × 10 = 75 sq ft. Table R507.3.1, interpolated and rounded up, gives a 22 in round footing 7 in thick on 1,500 psf soil, used for every post; on 3,000 psf soil it would be 16 in round and 6 in thick. Keep the default 1,500 psf (unknown or clay) unless your building department says otherwise.
The 6×6 posts are about 1 ft 2 1/2 in tall, far under the 14 ft in Table R507.4. Footings go at least 12 in below undisturbed ground (R507.3.2), and below the frost line when the deck is attached to a frost-protected house (R507.3.3).
These figures are general information from the 2021 IRC, not an engineered design or professional advice. Jurisdictions amend the tables and snowy areas use other values, so check your local building code and get a permit.
How much concrete for deck footings
The default Footing shape, Pad with a tube pier, is a round pad with a 10 in form tube up to 2 in above grade. For one footing 36 in deep:
Pad: 3.1416 × 11 × 11 × 7 = 2,661 cu in
Tube: 3.1416 × 5 × 5 × (36 - 7 + 2) = 2,435 cu in
One footing = 5,096 cu in (2.95 cu ft)
Three post footings plus two 12 in stair footings (4,298 cu in each) total 23,882 cu in, or 13.8 cu ft, and 15.2 cu ft with the default 10% extra. QUIKRETE's Concrete Mix data sheet gives 0.60 cu ft per 80 lb bag, so 15.2 cu ft is 25.3 bags, rounded up to 26; in 60 lb bags (0.45 cu ft) it is 34.
The two stair footings alone are over a third of that pour, and filling the whole 22 in hole instead (Same width all the way down) would take 56 bags, which is why bag counts vary so much between calculators.
A complete deck materials list for a 20 × 14 ft deck
This is the calculator's list for the example: attached with a ledger, 36 in above grade, pressure-treated 5/4×6 boards with 1/8 in gaps, southern pine joists 16 in apart and 48 in wide stairs at the front. To reproduce it, select Feet and inches, press Reset to the example and enter 20 and 14.
| Item | Quantity | Size |
|---|---|---|
| Deck boards | 59 + 3 spare | 5/4×6, 8 to 16 ft |
| Joists | 16 | 2×10, 14 ft |
| Ledger and rim joist | 1 each | 2×10, 20 ft |
| Beam plies | 3 | 2×10, 20 ft |
| Posts | 3, from one 8 ft length | 6×6, ground contact |
| Concrete | 26 bags | 80 lb |
| Deck screws | 1,084 (3 boxes) | #9 × 2 1/2 in |
| Joist hangers and hurricane ties | 16 each | One per joist |
| Ledger lag screws | 20 | 1/2 in, every 13 in |
| Railing | 44 ft | 14 posts, 112 balusters |
| Stair stringers | 4 | 2×12, 8 ft |
The 59 boards are the 55 from the row plan plus four 10 ft boards for the treads. Two boards make an 11 1/8 in tread, deep enough to need no nosing, and each 10 ft board gives two 4 ft treads, which an 8 ft board can't once the calculator allows 1/8 in for the saw cut.
Screws follow R507.7, two per board at every joist: 480 crossings on the rows, 30 more at the joints and 32 on the treads make 542 crossings, or 1,084 screws. The list also has blocking, post hardware, flashing tape and two 1,500 lb lateral hold-downs within 24 in of each end of the deck (R507.9.2).
The 36 in rise gives 5 risers of 7 3/16 in on 4 stringers 15 1/2 in apart, inside the 18 in maximum in AWC's DCA 6 deck guide. Because the deck is more than 30 in above grade, its open sides need guards at least 36 in high with no opening a 4 in sphere can pass, and four or more risers need a handrail (R312.1 and R311.7).
Add unit prices for a total and a cost per square foot; delivery, tax, tools, permits and labor are not included. If you bill for the job, the priced list can go straight into an Invoice Generator invoice (how to make an invoice covers what it must show), and the Work Hours Calculator totals crew time. For a roof over the deck, the Roof Pitch Calculator handles pitch and rafters (how to calculate roof pitch walks through it), but the roof's loads fall outside these deck tables.
Troubleshooting
The last board is a thin strip
Change the Gap between boards, adjust the depth by an inch or two, or rip the first and last rows equally. The calculator warns when the last board would be under a third of a board wide.
A joist or decking check says Fix
Use deeper joists, closer spacing or another beam line. For example, 24 in spacing under 5/4 boards fails the decking check, because Table R507.7 allows 16 in.
A beam is marked Check
An added middle beam carries joists from both sides, which Table R507.5(1) does not cover, so its size is an equal-load estimate. Have it checked by your building department or a designer.
There is no room for posts
On a low deck, the boards, joists and beam can use up the whole height. Set the beam on the piers or choose Flush (joists in hangers) under Beam, and keep the lumber clear of the ground. The summary then shows 0 posts but keeps the post footings, which become the piers under the beam; post bases and caps drop off the list, so add beam-to-pier connectors your building department accepts.
Frequently asked questions
How many deck boards do I need for a 16x20 deck?
For a deck 20 ft along the house and 16 ft out, 5 1/2 in boards with 1/8 in gaps give 34.1 rows, and widening the gaps to about 5/32 in fits 34 full rows. That is 34 boards of 20 ft plus 2 spares, or 63 boards with 34 joints from 8, 10, 12 and 16 ft lengths, before stair treads.
Can a deck board joint fall between joists?
No. A joint between joists leaves both board ends unsupported, and R507.7 requires decking to be fastened to every support with two 8d threaded nails or two No. 8 screws. Center each joint on a joist or added blocking, and keep joints in neighboring rows on different joists.
How far can a deck beam span between posts?
It depends on the beam, the species and the effective joist span. In Table R507.5(1), a southern pine 2-ply 2×10 spans 9 ft 0 in at an 8 ft effective joist span and 8 ft 0 in at 10 ft; a 3-ply 2×12 spans 13 ft 3 in and 11 ft 10 in. A beam may also extend past its end posts by up to a quarter of its span (R507.5).
Do I need a permit to build a deck?
Usually. The model 2021 IRC (R105.2) exempts only a deck of 200 sq ft or less, no more than 30 in above grade, not attached to the house and not serving the required exit door, and exempt work must still meet the code. Many cities and counties change those limits, so ask your building department before you buy materials.