Deck Calculator: Boards, Joists, Screws and Cost
Deck calculator
- Decking and joists
- –
- Deck boards
- –
- Joists
- –
- Ledger and rim joist
- –
- Joist hangers
- –
- Deck screws
- –
How we calculate this
- Deck boards run along the house. Rows = depth ÷ (5½ in board + ⅛ in gap), the gap AWC’s DCA 6 calls for. Boards = rows × boards per row, plus your extra.
- Joists = length ÷ spacing, rounded down, plus one, so there is a joist at each end. Each spans the deck’s depth: 12 ft boards up to 12 ft deep, 16 ft boards beyond.
- The ledger against the house and the rim joist at the front each run the deck’s length, in 16 ft pieces. One hanger per joist at the ledger.
- Screws: DCA 6 calls for 2 #8 screws per board at every joist, so screws = rows × joists × 2, plus your extra, in whole boxes.
- Span check: DCA 6 Table 2 lists the longest joist span and overhang for each species, size and spacing. Not included: beams, posts, footings, ledger bolts, flashing, railings, stairs, tax and labor.
On this page
A 12 × 16 ft deck, 16 ft along the house and 12 ft out, takes 29 deck boards of 5/4 × 6 × 16 and 13 joists of 2 × 8 × 12 at 16 inches on center, plus a ledger, a rim joist, 13 joist hangers and 2 boxes of screws. At the Lowe’s prices we checked in , that decking and joist framing costs $810.71–$843.21, or $4.22–$4.39 per square foot. Beams, posts and footings are extra. Enter your own deck above.
Quick answers for common sizes
| Deck (along house × out) | 16 ft deck boards | Joists | Materials | Beam (DCA 6) |
|---|---|---|---|---|
| 10 × 10 ft 100 sq ft | 25 | 8 × 12 ft | $612.23–$633.23 $6.12–$6.33 per sq ft | Beam at the edge |
| 12 × 10 ft 120 sq ft | 25 | 10 × 12 ft | $657.47–$683.07 $5.48–$5.69 per sq ft | Beam at the edge |
| 12 × 12 ft 144 sq ft | 29 | 10 × 12 ft | $712.87–$738.47 $4.95–$5.13 per sq ft | Beam set back |
| 16 × 12 ft 192 sq ft | 29 | 13 × 12 ft | $810.71–$843.21 $4.22–$4.39 per sq ft | Beam set back |
| 20 × 12 ft 240 sq ft | 58 | 16 × 12 ft | $1,335.26–$1,377.26 $5.56–$5.74 per sq ft | Beam set back |
| 24 × 12 ft 288 sq ft | 58 | 19 × 12 ft | $1,403.12–$1,452.02 $4.87–$5.04 per sq ft | Beam set back |
Decks longer than 16 ft take two boards per row; mixing 12 and 8 ft boards, or 16 and 4 ft offcuts, can cut the waste the table shows for 20 and 24 ft decks.
For the 12 × 16 ft deck, the deck boards are the biggest line, $401.65 (50% of the total), followed by the joists at $257.27–$287.17 (32%). The ledger and rim come to $55.04–$57.64, the hangers to $36.79 and the screws to $59.96.
Can your joists span it?
The American Wood Council’s DCA 6, a prescriptive guide based on the 2015 International Residential Code, lists how far each joist size can span. For No. 2 lumber at 16 inches on center:
| Joist | Southern pine | Hem-fir, Douglas fir-larch, SPF |
|---|---|---|
| 2 × 8 | 11 ft 10 in | 11 ft 1 in |
| 2 × 10 | 14 ft 0 in | 13 ft 7 in |
| 2 × 12 | 16 ft 6 in | 15 ft 9 in |
The span runs from the ledger to the beam. DCA 6 also lets joists overhang the beam: the lesser of the overhang listed in its table or a quarter of the span. So a deck can be a little deeper than the span if the beam is set back from the front edge. With 2 × 8 southern pine at 16 inches, that allows up to 13 ft 10 in of depth. The calculator checks this for the size, spacing and species you pick and tells you when you need closer joists, deeper joists or another beam.
The lumber we priced is southern yellow pine. The West Sacramento store near our California ZIP code didn’t have it for pickup and stocks hem-fir instead, which spans a little less; choose the species on your lumber tag in the calculator.
What it costs
| Product | Price range | Where and when we checked |
|---|---|---|
| 5/4 × 6 in × 12 ft pressure-treated pine deck board | $10.33 per 12 ft boardNo store pickup near CA 95814 | |
| 5/4 × 6 in × 16 ft pressure-treated pine deck board | $13.85 per 16 ft boardNo store pickup near CA 95814 | |
| 2 × 8 in × 12 ft #2 pressure-treated pine (ground contact) | $19.79–$22.09 per 12 ft boardNo store pickup near CA 95814 | Lowe's ·
|
| 2 × 8 in × 16 ft #2 pressure-treated pine (ground contact) | $27.52–$28.82 per 16 ft boardNo store pickup near CA 95814 |
| Product | Price range | Where and when we checked |
|---|---|---|
| Simpson Strong-Tie LUS28Z joist hanger, 2 × 8, ZMAX | $2.83 per hanger | |
| Deck Plus #8 × 2 in deck screws, 625 per box | $29.98 per box of 625 |
Prices are from Lowe’s in at the store nearest to each reference ZIP code. Lumber prices were close in Texas and Ohio; the 2 × 8 joists cost more in Ohio.
Rules from DCA 6 that change the count
- Board gaps: space deck boards about ⅛ inch apart. The calculator uses 5½ in boards plus a ⅛ in gap.
- Fasteners: 2 #8 screws or 2 8d threaded nails per board at every joist.
- Board ends: each piece of decking must bear on at least 3 joists. Plan your butt joints so short offcuts don’t end up spanning just two.
- Hangers and hardware: joist hangers must be at least 60% as deep as the ledger or beam, and hangers and fasteners must be galvanized or stainless steel.
- Ledger: at least a 2 × 8.
What this leaves out
The beam or beams under the joists, the posts and their footings, ledger bolts and flashing, railings, stairs, stain or sealer, tool rental, permits, tax and labor. DCA 6 has tables for beams, posts and footings, and it says a deck shouldn’t be used until it passes final inspection. Check with your building department about permits before you start.
Frequently asked questions
- How many deck boards do I need for a 12x16 deck?
- With 16 ft boards running along the 16 ft side and a 12 ft depth, you need 26 rows of 5½ in boards with ⅛ in gaps, one board per row. With 10% extra, buy 29 boards of 5/4 × 6 × 16. With 12 ft boards along a 16 ft side, each row takes two boards.
- How many joists do I need for a 16 foot deck?
- At 16 inches on center, a 16 ft long deck needs 13 joists: 192 inches ÷ 16 = 12 spaces, plus one so there is a joist at each end. At 12 inches on center it needs 17, and at 24 inches, 9.
- How far can a 2x8 deck joist span?
- The American Wood Council’s DCA 6 (based on the 2015 IRC) lists 11 ft 10 in for No. 2 southern pine 2 × 8 joists at 16 inches on center, and 11 ft 1 in for hem-fir, Douglas fir-larch or spruce-pine-fir. A southern pine 2 × 10 spans 14 ft 0 in. Joists can also overhang the beam by a limited amount. Your local building department has the final say.
- How many screws do I need for a deck?
- DCA 6 calls for 2 #8 screws (or 2 8d threaded nails) per deck board at every joist. A 12 × 16 ft deck with 13 joists and 26 rows of boards takes 676 screws, or about 744 with 10% extra: two boxes of 625.
- How much does a 12x16 deck cost in materials?
- About $811 to $843 for the decking and joist framing (5/4 × 6 pressure-treated deck boards, 2 × 8 joists at 16 inches, ledger, rim joist, hangers and screws) at the Lowe’s prices we checked in November 2026, or about $4.22 to $4.39 per square foot. Beams, posts, footings, railings, stairs, tax and labor are extra.
Plan the rest of the project
Sources
- American Wood Council: DCA 6, Prescriptive Residential Wood Deck Construction Guide (based on the 2015 IRC) (accessed )
- Lowe's: Severe Weather 5/4-in x 6-in x 12-ft Standard Southern Yellow Pine Pressure Treated Deck Board (item 312286) (accessed )
- Lowe's: Severe Weather 5/4-in x 6-in x 16-ft Standard Southern Yellow Pine Pressure Treated Deck Board (item 312520) (accessed )
- Lowe's: Severe Weather 2-in x 8-in x 12-ft #2 Prime Southern Yellow Pine Ground Contact Pressure Treated Lumber (item 308747) (accessed )
- Lowe's: Severe Weather 2-in x 8-in x 16-ft #2 Prime Southern Yellow Pine Ground Contact Pressure Treated Lumber (item 312273) (accessed )
- Lowe's: Simpson Strong-Tie LUS28Z 2-in x 8-in ZMAX Face Mount Joist Hanger (item 108806) (accessed )
- Lowe's: Deck Plus #8 x 2-in Wood to Wood Deck Screws, 625 per box (item 1148803, model 48414) (accessed )