How deck boards, joists and screws are calculated
Most decking estimates go wrong in the same three places: the gap between boards is ignored, the board length is chosen after the count, and the joists are an afterthought. This page walks through the formulas, then runs a 16 by 12 ft deck from start to shopping list.
1. Begin with the finished footprint
Measure the deck surface you will actually walk on, not the frame underneath. Length times width gives the area in square feet, and that number matters for staining and for checking the board count later, but it is not the number that drives the order. Boards are bought in linear feet and pieces, so the calculator works in rows and lengths instead of dividing area by board area.
Decide which way the boards run before you start. The usual layout runs boards parallel to the house and perpendicular to the joists. If you plan a diagonal pattern, the rows get longer and the waste allowance must rise.
Deck area = length (ft) × width (ft)
A 16 by 12 ft deck is 192 sq ft. That figure is a sanity check, not the order quantity: the same area needs different board counts depending on whether you use 3.5 in or 7.25 in boards.
2. Rows are set by board width plus the gap
Each row occupies the board width plus one gap. Convert the deck width to inches, divide by that occupied width, and round up. Rounding up matters: half a row still needs a full board, and a partly covered edge looks unfinished.
Rows = ⌈ deck width (in) ÷ (board width + gap) ⌉
For a 12 ft wide deck using 5.5 in boards and a 1/8 in gap, the occupied width is 5.625 in. The deck is 144 in wide, so 144 ÷ 5.625 = 25.6, which rounds to 26 rows. With 3.5 in boards the same deck needs 40 rows, and with 7.25 in boards it needs 20. Board width changes the order far more than most people expect.
A wider gap lowers the row count slightly but lets more water and debris through. One eighth to three sixteenths of an inch is the normal range for wood decking in most of the United States.
3. From rows to linear feet and pieces
Multiply the row count by the deck length to get the linear feet of decking. This is the number a lumber yard understands, and it is also the number you compare against the price per linear foot in a quote.
Board linear feet = rows × deck length (ft) Boards to buy = ⌈ linear feet ÷ board length × (1 + waste) ⌉
The board length you choose changes both the piece count and the number of butt joints. Long boards reduce joints but are heavier. Short boards are easier to carry but leave more seams, and every seam needs a joist underneath it. The calculator assumes boards run the full length of the deck; add roughly 15% for a picture-frame border or diagonal layout.
| Board length | Best for | Trade-off |
|---|---|---|
| 8 ft | Small decks, tight access | Most joints and the highest piece count |
| 12 ft | Decks up to 12 ft wide | A good balance for one-person handling |
| 16 ft | Decks 12 to 16 ft wide | Fewer joints, noticeably heavier |
| 20 ft | Large decks with clear access | Fewest joints, hardest to maneuver |
If the deck is longer than the longest board you can buy, plan the butt joints to land on a joist and stagger them between rows. Joints that line up across the deck create a visible seam and a weak line.
4. Joists come from the spacing, not the area
Joists run across the short direction and support the boards. Their count depends on the deck length and the spacing you choose, not on the deck area. Add one because both ends of the deck need a joist.
Joists = ⌊ deck length (in) ÷ spacing (in) ⌋ + 1 Joist linear feet = joists × deck width (ft)
At 16 in on center, a 16 ft deck needs floor(192 ÷ 16) + 1 = 13 joists. Each joist spans the 12 ft width, so the frame uses 156 linear feet of joist material before rim joists and blocking. At 12 in spacing the same deck needs 17 joists, which is why tighter spacing raises the lumber cost quickly.
This tool counts joists; it does not check whether your chosen size can span the distance. Always confirm the joist size, species and spacing against a span table for your area, especially if the deck will hold a hot tub or a heavy grill.
5. Screws are counted per board per joist
Face-fastened decking uses two screws at every crossing of a board and a joist. One screw lets the board cup and the free end lift as it dries. Multiplying rows by joists by two gives the total crossings, and that is the number to round up to the nearest box.
Screws = rows × joists × 2
For the 16 by 12 deck with 26 rows and 13 joists, that is 26 × 13 × 2 = 676 screws. Buy at least one box more. Hidden fastener systems use a clip at every joist instead, and their coverage per bucket is printed on the label.
6. Worked example: 16 by 12 ft deck
A 16 ft by 12 ft deck, 5.5 in boards, 16 ft board length, 16 in joist spacing, 1/8 in gap and 10% waste.
| Step | Calculation | Result |
|---|---|---|
| Deck area | 16 × 12 | 192 sq ft |
| Rows | 144 ÷ (5.5 + 0.125), rounded up | 26 rows |
| Board linear feet | 26 × 16 | 416 ft |
| Boards to buy | 416 ÷ 16 × 1.10, rounded up | 29 boards |
| Joists | floor(192 ÷ 16) + 1 | 13 joists |
| Joist linear feet | 13 × 12 | 156 ft |
| Screws | 26 × 13 × 2 | 676 screws |
Twenty-nine 16 ft boards is 464 linear feet, about 11% more than the 416 ft needed. The margin covers end cuts and a split board.
7. What the calculator leaves out
The result covers decking and joists. It does not include footings, posts, beams, hangers, flashing, stair stringers, railing or the rim joist. Those items can add 20% to 40% to the material cost on a first-floor deck.
- Rim joist: the perimeter of the frame, usually two boards deep on the outside edge.
- Stairs: stringers, treads and risers are measured separately.
- Railing: posts, balusters and top rail are priced per linear foot of perimeter.
- Frame fasteners: joist hangers and anchor bolts are not part of the deck screw count.
Check the permit requirements before ordering. Guardrail height, footing depth and joist attachment details vary by state, and an inspector can stop a project that was priced correctly but framed to the wrong detail.