How to calculate deck boards
- Measure the deck in the direction the boards will run (the board run) and across the boards (the deck width). Enter the run as the deck length.
- Add the actual board width to the gap: 5.5 in + 0.125 in = 5.625 in of deck covered per row.
- Divide the deck width in inches by that figure and round up: 144 in ÷ 5.625 in = 25.6, so 26 rows.
- Multiply rows by the board run and add waste: 26 × 16 ft × 1.10 = 457.6 linear feet of decking.
- Divide by the stock length and round up: 457.6 ÷ 16 = 28.6, so you buy 29 boards.
boards = ceil(rows × board run × (1 + waste) ÷ stock length)
Joists follow the same idea along the run: divide the run in inches by the joist spacing, round up and add one for the end joist. A 16-foot run at 16 inches on center is 192 ÷ 16 + 1 = 13 joists. Screws are two per board at every joist, plus 5% for drops: 26 rows × 13 joists × 2 × 1.05 ≈ 710.
Decking boards for common deck sizes
| Deck (run × width) | Area | Rows | Boards | Joists @ 16" | Screws |
|---|---|---|---|---|---|
| 10 × 10 ft | 100 ft² | 22 | 25 × 10 ft | 9 | 416 |
| 12 × 12 ft | 144 ft² | 26 | 29 × 12 ft | 10 | 546 |
| 16 × 12 ft | 192 ft² | 26 | 29 × 16 ft | 13 | 710 |
| 16 × 16 ft | 256 ft² | 35 | 39 × 16 ft | 13 | 956 |
| 20 × 12 ft | 240 ft² | 26 | 29 × 20 ft | 16 | 874 |
| 20 × 16 ft | 320 ft² | 35 | 39 × 20 ft | 16 | 1,176 |
| 20 × 20 ft | 400 ft² | 43 | 48 × 20 ft | 16 | 1,445 |
Assumes 5½-inch boards, ⅛-inch gaps, stock boards as long as the run, 10% waste and two screws per board per joist. Use the calculator for other board sizes or lengths.
Board size: nominal vs actual
Lumber is sold by nominal size, but the calculator needs the actual width, because that is what covers the deck. A board sold as 6 inches wide is 5½ inches wide. Composite boards are sold by actual size, so read the width from the product sheet.
| Board | Actual size | Notes |
|---|---|---|
| 5/4 × 6 wood | 1 × 5½ in | The most common wood decking board |
| 2 × 6 wood | 1½ × 5½ in | Stiffer, allows wider joist spacing |
| 2 × 4 wood | 1½ × 3½ in | Narrow look; about 50% more rows and screws |
| Composite or PVC | about 1 × 5½ in | Check the exact width and the required gap |
Joist spacing
Thinner boards need joists closer together. According to the 2021 International Residential Code (Table R507.7), 1¼-inch (5/4) wood decking can span 16 inches when laid square to the joists and 12 inches when laid at 45°, and 2-inch wood decking can span 24 and 16 inches. Composite and plastic decking spans whatever its manufacturer lists. Many composite boards are rated for 16 inches straight and 12 inches diagonal. Your local code and the product label win over any table.
| Decking | Square to joists | Diagonal (45°) |
|---|---|---|
| 1¼-in wood (5/4) | 16 in | 12 in |
| 2-in wood | 24 in | 16 in |
| Composite / plastic | Per manufacturer | Per manufacturer |
Gaps, waste and layout
- Gap: ⅛ inch suits dry wood. Wet pressure-treated boards shrink as they dry, so many builders lay them tight and let the gap open. Composite makers set their own side gap; use theirs.
- Waste: 10% covers end trims and a few bad boards on a straight layout. Use 15% for diagonal boards, picture-frame borders or a deck with many corners.
- Long decks: when the run is longer than your stock boards, stagger the butt joints and land each joint on a joist, or add a breaker board across the deck. Enter the stock length you will buy and the calculator counts the extra boards.
- Not included: beams, posts, footings, the ledger and railings. For round pier footings use the Sonotube calculator, for posts set straight in the ground the post hole concrete calculator, for deck steps the stair calculator, and for pricing framing lumber by volume the board foot calculator.
Frequently asked questions
How many deck boards do I need for a 12 × 12 deck?
A 12 × 12 ft deck needs about 29 twelve-foot boards with 5½-inch boards and ⅛-inch gaps: 26 rows plus 10% waste. It also needs 10 joists at 16 inches on center and about 546 screws.
How many joists does a 16-foot deck need?
A 16-foot run needs 13 joists at 16 inches on center and 17 at 12 inches on center. Divide the run in inches by the spacing, round up and add one.
Which way should deck boards run?
Deck boards run across the joists. Joists usually run out from the house, so the boards usually run parallel to the house wall. Enter that direction as the deck length.
How much extra decking should I buy?
Buy 10% extra for a straight layout and 15% for diagonal, picture-frame or cut-up layouts. If you can return unopened boards, round up rather than down.
Does this calculator size beams, posts or footings?
No. It counts decking, joists and screws only. Beam size, post spacing, footing size and the ledger connection depend on span tables, loads and local code, so take them from your plans or your building department.
The formula, worked example and tables on this page are generated from the same calculation engine as the calculator, which is checked by automated reference tests. Last reviewed 20 November 2026 by the Solosoft team. Results are planning estimates, not engineering or code approval. See the calculation disclaimer.