What this calculator gives you
Most deck calculators stop at a board count. This one lays out the whole structure, and the lumber and footings on the list are the same pieces you see in the 3D model — tap Show in 3D next to a line to light up that part.
- Decking — rows, board lengths per row with joints over joists, staggered seams, ripped boards, and spares.
- Framing — joist size chosen from the span table, rim, a ledger of at least 2×8, a built-up beam sized for your post spacing, 6×6 posts, sister joists under composite butt seams, and extra joists for a picture-frame border.
- Foundation — footing size from the deck area each post carries and your soil, form tubes, concrete volume and bags.
- Hardware — joist hangers and their fasteners, joist-to-beam ties, rim nails, post bases and caps, beam ply nails, ledger lag screws, lateral load connectors, flashing, and deck screws or hidden clips.
- Cut list — which stock lengths to buy and how to cut each board, with the offcut shown.
- Code check — joist span and cantilever, decking span, beam span, post height, footing size and guard warnings, each naming its source (IRC section, manufacturer guide or calculator rule).
Example: a 16' × 12' attached deck
The calculator opens with a 16' × 12' deck, 3' off the ground, attached to the house, with composite boards on 2×8 joists (Douglas fir / hem-fir / SPF) at 16" on center. Here is what it works out:
| Item | Composite | Pressure-treated 5/4×6 |
|---|---|---|
| Deck area | 192 sq ft | 192 sq ft |
| Decking rows | 26 | 26 |
| Decking boards (with spares) | 29 (26 × 20' + 3 spare) | 38 (19 × 16', 7 × 12', 8 × 10' + 4 spare) |
| Joists | 13 × 2×8 | 13 × 2×8 |
| Joist span (ledger to beam) | 10' 10-1/2" | 10' 10-1/2" |
| Beam | 3-ply 2×8 | 3-ply 2×8 |
| Posts and footings | 3 · 17" pad + 12" pier | 3 · 17" pad + 12" pier |
| Concrete (80 lb bags) | 15 | 15 |
| Fasteners | 355 hidden clips | 765 deck screws |
How the numbers are worked out
Decking boards
Rows are laid from the house out (composite boards start 1/4" from the wall): as many full boards as fit (board width + gap each), then one ripped board for what is left. Boards overhang the rim by up to 3/4" (plus the fascia), and that overhang may shrink slightly so the last board isn’t a sliver; if a rip would still be under 2", the last two boards are ripped to equal widths. A row longer than the longest stock board is split over a joist, each piece bears on at least three joists, and each row’s seams avoid the joists used by the rows next to it.
Joists
Joists go at your spacing from one end, plus the end joist; if the last gap would be too narrow to frame (under about 3"), the last joists are spaced evenly instead, so no space is ever wider than your spacing. The span is measured from the ledger to the beam; the calculator picks the smallest joist that the span table allows for your species and spacing, and that also allows your overhang past the beam (thedeck joist span calculator compares every size and spacing):
| Southern pine | 12" o.c. | 16" o.c. | 24" o.c. |
|---|---|---|---|
| 2×6 (5-1/2" deep) | 9' 11" | 9' | 7' 7" |
| 2×8 (7-1/4" deep) | 13' 1" | 11' 10" | 9' 8" |
| 2×10 (9-1/4" deep) | 16' 2" | 14' | 11' 5" |
| 2×12 (11-1/4" deep) | 18' | 16' 6" | 13' 6" |
Source: IRC 2021 Table R507.6, No. 2 grade, wet service, 40 psf live load + 10 psf dead load.
Beam, posts and footings
Posts are spaced evenly along the beam, no farther apart than your maximum, and the beam overhangs the end posts by no more than a quarter of the post spacing. The beam is the smallest built-up 2-ply or 3-ply size whose allowable span covers that spacing (IRC Table R507.5, using the effective joist span for your overhang). Every footing is sized as the largest footing any post needs for the deck it carries (on either beam; the table's thickness is not always larger for a larger area) and your soil (Table R507.3.1), and braced corner posts get at least 0.9 of a middle-post footing (AWC DCA 6). Concrete = pad volume + pier volume (up to 2" above grade), divided by your bag’s yield.
Hardware
One hanger and one beam tie per joist — joists nailed tight together (a sister joist, the picture-frame plies) share one multi-ply hanger and tie — plus a base and a cap per post, rim nails, and beam ply nails in two rows at 16". Ledger lag screws follow the IRC spacing for your joist span. Face-screwed boards get two screws at every joist; grooved composite boards get one hidden clip per board per joist. Both add 5% for drops.
Stairs are not in this list — the deck stair calculator works out steps, stringers and their footings. Here one footing size fits every post (the largest any post needs); the deck footing calculator sizes each one for its own post.
Frequently asked questions
How many deck boards do I need for a 16×12 deck?
With 5-1/2" boards and a 3/16" gap, a 16' × 12' attached deck takes 26 rows. Running the boards along the 16' side, that is 26 composite boards before spares, or 29 with a 10% allowance (26 × 20' + 3 spare). Rows here are a little over 16' with the overhang, so the calculator also suggests narrowing the frame a few inches to use 16' boards.
How do I calculate how many joists I need?
Lay joists at your spacing from one end and add the joist at the other end: a 16' (192") deck at 16" on center has 12 spaces, so 13 joists. When the last space would be too narrow to frame (under about 3"), drop that joist and space the last few evenly — the calculator does this for you. Then size the joists from the span table: the span is the distance from the ledger to the beam.
How far can a 2×8 deck joist span?
Under IRC 2021 Table R507.6 (40 psf live + 10 psf dead load), a No. 2 2×8 at 16" on center spans 11' 10" in southern pine, 11' 1" in Douglas fir-larch, hem-fir or SPF, and 10' 7" in redwood or western cedar. At 12" on center the southern pine figure rises to 13' 1".
How many bags of concrete do I need per deck footing?
A 12"-diameter hole 36" deep, with the concrete 2" above grade, holds about 2.49 cubic feet. An 80 lb bag yields about 0.60 cu ft, so plan on 5 bags per footing (6 of the 60 lb size). That is only an example: under IRC Table R507.3.1 many posts need a footing wider than 12". The calculator sizes one footing that fits every post (the largest any post needs for the deck it carries) and your soil — as a wider pad at the bottom of the hole with a 12" tube pier above it when needed — and counts the bags for both.
How much extra decking should I buy?
The cut list already reuses offcuts, so the spare is only for defects and miscuts. Manufacturers suggest about 5% (Trex) to at least 10–15% (TimberTech) for straight layouts, and about 30% for diagonal or herringbone patterns (TimberTech).
Can I use 24" joist spacing?
Only with decking rated for it. The IRC allows 24" on center for 2× wood decking, but 5/4 wood boards are limited to 16" (12" diagonal), and most composite and PVC lines to 16" (12" diagonal). The calculator warns you when spacing exceeds your board’s limit.