Deck Calculator
How many deck boards do I need for a 12x12 deck?
With 6 in boards (5.5 in actual) and a 3/16 in gap, a 12 × 12 ft deck has 26 rows: 26 boards of 12 ft, or 28 with 5% extra (312 linear ft). With joists at 16 in on center it takes 10 joists and about 520 deck screws.
This deck calculator estimates the decking boards, joists and screws for a rectangular deck. Enter the deck length and width, pick your board width, gap and board length, and choose a joist spacing, and it works out how many rows of boards fit across the deck and how many boards to buy.
It also counts the joists at 12, 16 or 24 in on center and estimates face screws at two per board at every joist. It is a materials estimate for the deck surface and joists, not a structural design or a cost estimate, so use it alongside span tables and your local code.
Enter your details
How to Use the Deck Calculator
- 1
Enter the deck size
Type the length (the direction the boards run, usually along the house) and the width (the direction the joists run) in feet.
- 2
Choose the decking
Pick the board width (6 in nominal boards are 5.5 in wide, 4 in nominal are 3.5 in), the gap between boards, the board length you plan to buy (8 to 20 ft), and an extra percentage for waste (5% by default).
- 3
Pick the joist spacing
Choose 12, 16 or 24 in on center. Check the maximum spacing your decking allows.
- 4
Read the estimate
Results update as you type: boards to buy, rows, linear feet of decking, deck area, joist count and the number of deck screws.
How the deck calculator works
Decking boards run the length of the deck and sit on joists that run across it. The calculator first finds how many rows fit across the width: each row takes one board width plus one gap (the last row needs no gap), rounded up so the deck is fully covered.
Each row then needs enough boards to cover the length. If your boards are longer than the deck, one board covers a row, and when a board is at least twice the deck length it yields two or more full pieces. If the deck is longer than your boards, each row needs several boards joined over joists. The waste percentage is added on top and rounded up.
Joists are the deck length in inches divided by the spacing, rounded up, plus one so both ends have a joist. Screws assume the usual pattern of two face screws per board at every joist it crosses.
Rows = ⌈(width × 12 + gap) ÷ (board width + gap)⌉
Boards = rows × ⌈length ÷ board length⌉ × (1 + waste %), rounded up
Joists = ⌈length × 12 ÷ joist spacing⌉ + 1
Screws = rows × joists × 2Worked example: a 16 x 12 ft deck
Take a deck 16 ft long and 12 ft wide, with 16 ft long 6 in boards (5.5 in actual), a 3/16 in gap, joists at 16 in on center and 5% extra for waste.
- Deck area: 16 × 12 = 192 sq ft.
- Rows: (144 + 0.1875) ÷ (5.5 + 0.1875) = 25.35, rounded up to 26 rows.
- Boards: each 16 ft board covers a full row, so 26 boards, and 26 × 1.05 = 27.3, rounded up to 28 boards to buy. That is 416 linear feet of decking.
- Joists: 16 × 12 ÷ 16 = 12, plus 1 = 13 joists, each spanning the 12 ft width.
- Screws: 26 rows × 13 joists × 2 = 676 deck screws.
Boards, joists and screws for common deck sizes
All rows use 6 in boards (5.5 in actual), a 3/16 in gap, joists at 16 in on center, boards as long as the deck, and 5% waste. Size is given as length (board direction) × width (joist direction), so a "12 x 16" deck appears twice: once with boards running the 16 ft side, once with them running the 12 ft side.
| Deck (L × W) | Area | Rows | Boards to buy | Joists (length) | Screws |
|---|---|---|---|---|---|
| 10 × 10 ft | 100 sq ft | 22 | 24 × 10 ft | 9 (10 ft) | 396 |
| 12 × 12 ft | 144 sq ft | 26 | 28 × 12 ft | 10 (12 ft) | 520 |
| 16 × 12 ft | 192 sq ft | 26 | 28 × 16 ft | 13 (12 ft) | 676 |
| 12 × 16 ft | 192 sq ft | 34 | 36 × 12 ft | 10 (16 ft) | 680 |
| 16 × 16 ft | 256 sq ft | 34 | 36 × 16 ft | 13 (16 ft) | 884 |
| 20 × 12 ft | 240 sq ft | 26 | 28 × 20 ft | 16 (12 ft) | 832 |
| 20 × 16 ft | 320 sq ft | 34 | 36 × 20 ft | 16 (16 ft) | 1,088 |
| 16 × 20 ft | 320 sq ft | 43 | 46 × 16 ft | 13 (20 ft) | 1,118 |
| 20 × 20 ft | 400 sq ft | 43 | 46 × 20 ft | 16 (20 ft) | 1,376 |
How spacing, board width and gap change the count
Closer joists add joists and screws; narrower boards add rows. All figures are for the same 16 x 12 ft deck with 16 ft boards and 5% waste.
| Setup | Rows | Boards | Joists | Screws |
|---|---|---|---|---|
| 6 in boards, 3/16 in gap, 16 in o.c. (default) | 26 | 28 | 13 | 676 |
| 6 in boards, joists at 12 in o.c. | 26 | 28 | 17 | 884 |
| 6 in boards, joists at 24 in o.c. | 26 | 28 | 9 | 468 |
| 4 in boards (3.5 in), 3/16 in gap | 40 | 42 | 13 | 1,040 |
| 6 in boards, no gap | 27 | 29 | 13 | 702 |
Choosing board length: where the estimate can be beaten
- Board at least twice the deck length: the calculator cuts multiple pieces from each board. A 10 × 10 ft deck with 20 ft boards needs 11 boards (12 with 5% waste) instead of 24 of 10 ft. Same linear footage, fewer pieces to haul.
- Deck longer than your boards: each row gets ⌈length ÷ board length⌉ boards and offcuts are not reused. A 24 × 12 ft deck with 16 ft boards is counted as 52 boards (55 with waste). In practice you can lay each row as 16 ft + 8 ft and cut every third board into two 8 ft pieces, so 39 boards cover it, as long as the 8 ft joints land on joists (96 in is a multiple of 16 in) and are staggered.
- Plan board lengths so butt joints fall on joists (often doubled or blocked) and do not line up row after row.
What the estimate does not include
- Ledger board, rim joists, beams, posts, blocking and joist hangers. Price and size them from your framing plan; the board foot calculator helps convert lumber lists to board feet.
- Footings for the posts. Use the Column tab of the concrete calculator for round footings and Sonotubes.
- Stairs, railings and fascia. The stair calculator works out the rise, run and number of steps.
- Screws at butt joints and dropped screws: add 5 to 10% to the screw count. Hidden fastener systems are counted differently, so follow the clip maker's coverage figure instead.
- Cost: the calculator gives quantities only. Multiply the boards, joists and screw boxes by your local prices.
Tips and common mistakes
- Match joist spacing to the decking. Many composite and PVC boards require 16 in on center or less for straight runs and 12 in for diagonal layouts; thinner wood boards also need closer joists. The manufacturer's instructions set the limit.
- Gap boards to suit the material. Pressure-treated boards are often installed wet and tight, then shrink to leave a gap; kiln-dried wood and composites need a set gap, often 1/8 to 1/4 in.
Structural safety: when to call a professional
Deck failures cause serious injuries. Joist size and span, beam size, post and footing size, the ledger connection to the house, and guard height all have to meet your local building code. In the US, many jurisdictions base deck rules on the International Residential Code (section R507) and the American Wood Council's prescriptive deck guide (DCA 6).
Most areas require a permit and inspection for attached or raised decks. A low, freestanding platform deck is a reasonable DIY project; a deck attached to the house, more than a few feet off the ground, on a slope, or carrying a hot tub should be checked by your building department, a qualified deck builder or an engineer.
Features
- Deck area and rows of decking across the width
- Board count for 8 to 20 ft boards, with adjustable waste
- Joist count at 12, 16 or 24 in on center
- Deck screw estimate (2 per board at each joist)
- 6 in or 4 in nominal boards and a choice of board gaps
Frequently Asked Questions
How many deck boards do I need for a 12x12 deck?
With 6 in boards (5.5 in actual) and a 3/16 in gap, a 12 ft wide deck needs 26 rows. Using 12 ft boards, each row takes one board, so you need 26 boards, or 28 with 5% extra for culls and cuts. That is 312 linear feet of decking. With no gap, as with wet treated lumber installed tight, you need 27 rows.
How many deck boards for a 12x16 deck?
If the boards run along the 16 ft side, the 12 ft width takes 26 rows of 6 in boards, so 26 boards of 16 ft, or 28 with 5% extra, on 13 joists. If the boards run along the 12 ft side, the 16 ft width takes 34 rows: 34 boards of 12 ft, or 36 with extra, on 10 joists. Both use about 676 to 680 screws.
How many screws do I need per square foot of decking?
With 6 in boards and joists at 16 in on center, plan on about 3.5 screws per square foot, based on two screws per board at each joist. A 16 x 12 ft deck works out to 676 screws on 192 sq ft. At 12 in joist spacing it rises to about 4.6 per square foot (884 screws). Add 5 to 10% for butt joints and drops.
How many joists do I need for a 16 foot deck?
Divide the length in inches by the spacing and add one. For a 16 ft deck at 16 in on center, that is 192 ÷ 16 = 12, plus 1, for 13 joists. At 12 in on center you need 17, and at 24 in on center you need 9. The joist size needed for the span has to come from a span table and your local code.
What size gap should I leave between deck boards?
It depends on the material. Wet pressure-treated boards are often butted tight because they shrink as they dry. Kiln-dried wood and most composite boards need a gap, commonly 1/8 to 1/4 in, for drainage and movement, and composite makers usually specify it. A 3/16 in gap is a common middle value and the calculator's default.
Is 24 inch joist spacing OK for a deck?
Only if your decking is rated for it. Some thicker wood decking can span 24 in, but many composite, PVC and 5/4 wood boards are limited to 16 in on center, and diagonal layouts often need 12 in. Spacing joists too far apart makes boards feel bouncy and can void a warranty. Check the decking manufacturer's instructions and your local code.
Last reviewed