How Many Deck Boards Do I Need?
Count deck rows from board width and gap, then convert linear feet to boards of a chosen stock length, with allowance for cuts.
Last reviewed: November 11, 2026
The short answer
Rows of boards stack across the width of the deck, so the number of rows is the deck width divided by board width plus gap, rounded up. Multiply rows by the deck length for linear feet, add an allowance, and divide by the stock length, rounding up again.
Use the Deck Board CalculatorThink in rows, not square feet
Decking is sold as boards of fixed length and width, so area is only a rough guide. The accurate way to count is by rows. Each row is one board width plus one gap, and the rows fill the deck from one edge to the other. If the last row will not fit exactly, you round up and plan to trim that board narrower.
This matters because a small change in board width or gap changes the row count. A deck 12 feet wide is 144 inches. With 5.5 inch boards and a 0.25 inch gap, the pitch is 5.75 inches, giving 25.04 rows, which is 26 rows. With a 0.125 inch gap the pitch is 5.625 inches, giving 25.6 rows, still 26. Whether you land at 25 or 26 depends on the real boards, so measure one.
Deck board formulas
Row pitch = board width + gap Rows = deck width ÷ row pitch, rounded up Linear feet = rows × board run length Boards = linear feet × (1 + allowance % ÷ 100) ÷ stock length, rounded up
Use actual board width, not the nominal size, and the same unit for width, gap, and deck width.
Worked example: a 16-by-12-foot deck
Boards run along the 16 ft length. They are 5.5 inches wide, with a 0.25 inch gap, in 16 ft stock lengths. The allowance is 10%.
- Deck width: 12 ft = 144 in
- Row pitch: 5.5 + 0.25 = 5.75 in
- Rows: 144 ÷ 5.75 = 25.04, so 26 rows
- Linear feet: 26 × 16 = 416 ft
- With 10%: 416 × 1.10 = 457.6 ft ÷ 16 = 28.6, so 29 boards
Result: You would buy 29 boards of 16 ft. Without the allowance, 26 boards would cover the rows exactly with no room for mistakes or bad boards.
When the run is longer than the stock
If the deck is longer than a single board, boards must be joined end to end. Joints are usually made over a joist, and the joints are staggered from row to row. Every cut leaves an offcut, and some offcuts can start the next row, while others cannot. The calculator’s allowance covers this on average.
For a 20 ft deck with 12 ft boards, each row needs one full board plus an 8 ft piece. Cutting 8 ft off a 12 ft board leaves 4 ft, which can start a different row if the joints are staggered, but you still need some extra. Sketch the layout, count the cut pieces, and compare it with your calculated total.
Gap, border, and picture frames
The gap between boards comes from the product and fastener instructions. Some products leave a specific gap and others give a range that varies with temperature or moisture. Use the manufacturer’s figure. Over 25 rows, a difference of 0.125 inch per gap is 3.125 inches of total width, so the row count can change.
A picture-frame border is a different layout: boards run around the edge and the field boards are shorter. Calculate the border and the field as separate areas and add them. The calculator treats the deck as one rectangle.
What the board count does not include
- Structure
- Joist size, spacing, and board span limits come from the decking manufacturer and local code, not from a quantity calculation.
- Fasteners and clips
- The number depends on the system. Count from the manufacturer’s spacing and the number of joists crossed by each row.
- Trim, stairs, and railings
- Stair treads, fascia, and railings are separate takeoffs.
- Finishes
- Stain, sealer, and cleaner are priced and counted separately.
Choosing the stock length
Stock length changes the cost and the waste. If your deck is 16 ft long, 16 ft boards cover each row without a joint. If the deck is 14 ft long and the shortest board you can buy is 16 ft, each row wastes 2 ft, which is 12.5% of the board.
Compare the totals for each stock length you can buy, including the waste, rather than choosing the longest by default. Longer boards are also harder to carry and can cost more per foot, so the lowest total is not always the lowest board count.
Expansion, ends, and the first row
Boards expand and contract with moisture and temperature, which is why manufacturers specify gaps at the ends and against walls as well as between boards. Those end gaps are small, but over a long run they affect the board length you can use, so check the product instructions before cutting your plan.
The first row sets the line for the rest. Lay it carefully against a straightedge, because an error at the start carries across every row. If the deck width does not divide evenly, you can adjust the gap slightly, within the manufacturer’s limits, or rip the first and last boards to match.
Deck board questions
Do boards run the long way or the short way?
Either. The calculator asks for the run length and the width across, so enter the dimension the boards run along as the length.
Why round the row count up?
A partial row still needs a board. It can be trimmed to fit, but it is one more board.
Can I use this for composite boards?
Yes, if you enter the product’s actual width, gap, and stock length. Follow the manufacturer’s installation instructions for spacing.