To find how many deck boards you need, divide the deck's width in inches by the width of one board, and round up. A 12-foot-wide deck is 144 inches, and 144 ÷ 5.5 is 26.2, so it takes 27 rows of standard 5.5-inch decking. Our deck calculator runs that sum and counts the joists and footings as well. Below you'll find the formula, a chart for common deck sizes, and what to add for gaps and waste.
Deck boards are laid in rows, side by side, so the count depends on the side the rows stack up across.
If your boards are as long as the deck, each row is one board, and 27 rows means 27 boards. That's how the deck calculator counts. It treats length as the direction the boards run and width as the direction the rows stack. On a deck attached to a house, length is usually the side along the wall and width is how far the deck sticks out.
The 5.5 inches is the real width of a board sold as a 5/4x6 or a 2x6. Lumber names are nominal, and the board you take home is narrower than its label.
These figures come straight from the calculator's formula, using 5.5-inch boards with no gap and joists 16 inches apart.
| Deck (length × width) | Area | Deck boards | With 10% extra | Linear feet | Joists at 16 in. |
|---|---|---|---|---|---|
| 10 × 8 ft | 80 sq ft | 18 boards, 10 ft long | 20 | 180 ft | 9 |
| 10 × 10 ft | 100 sq ft | 22 boards, 10 ft long | 25 | 220 ft | 9 |
| 12 × 10 ft | 120 sq ft | 22 boards, 12 ft long | 25 | 264 ft | 10 |
| 12 × 12 ft | 144 sq ft | 27 boards, 12 ft long | 30 | 324 ft | 10 |
| 16 × 12 ft | 192 sq ft | 27 boards, 16 ft long | 30 | 432 ft | 13 |
| 20 × 12 ft | 240 sq ft | 27 boards, 20 ft long | 30 | 540 ft | 16 |
| 16 × 14 ft | 224 sq ft | 31 boards, 16 ft long | 35 | 496 ft | 13 |
| 20 × 16 ft | 320 sq ft | 35 boards, 20 ft long | 39 | 700 ft | 16 |
The "10% extra" column is a rule of thumb, not a calculator output. It covers damaged boards, bad cuts and offcuts. If you plan to lay the boards diagonally, allow more, because every row ends in an angled cut.
Look at the 12 × 12 and 16 × 12 rows. Both need 27 boards. The longer deck doesn't need more rows, it needs longer ones, which is why the linear feet column is the better guide to cost.
Most decks are built with a small gap between boards so water can drain. Each gap makes a row take up slightly more room, so you need slightly fewer rows. The calculator's board width field is labelled "incl. gap" for that reason: add your gap to the board width before you type it in.
| Board width you enter | 144 in. ÷ board width | Rows for a 12 ft wide deck |
|---|---|---|
| 3.5 in. (a 1x4 or 2x4, no gap) | 41.1 | 42 |
| 5.5 in. (a 5/4x6 or 2x6, no gap) | 26.2 | 27 |
| 5.625 in. (5.5 in. board + 1/8 in. gap) | 25.6 | 26 |
| 5.75 in. (5.5 in. board + 1/4 in. gap) | 25.0 | 26 |
| 7.25 in. (a 2x8, no gap) | 19.9 | 20 |
On a 12-foot deck, a 1/8-inch gap saves one row. Follow your decking maker's instructions for the gap size. Composite boards come with their own spacing rules, and wet pressure-treated lumber shrinks as it dries, so it's often installed tighter.
The calculator assumes one full-length board per row. That works when your supplier stocks boards as long as your deck.
When the deck is longer than that, each row is made of two or more boards that meet over a joist. Multiply the rows by the number of boards per row. A 24-foot deck built from 12-foot boards needs 2 per row, so 27 rows becomes 54 boards. The lumber calculator is handy for pricing a mixed order like that by the board or by the foot.
Joists are the framing boards under the decking. They run across the width, and you space them evenly along the length. The count is the deck length divided by the spacing, rounded up, plus one for the joist at the far end.
For a 16-foot deck at 16 inches on center: 16 ft is 192 in., 192 ÷ 16 = 12 spaces, plus one makes 13 joists.
| Deck length | Joists at 12 in. on center | At 16 in. | At 24 in. |
|---|---|---|---|
| 8 ft | 9 | 7 | 5 |
| 10 ft | 11 | 9 | 6 |
| 12 ft | 13 | 10 | 7 |
| 16 ft | 17 | 13 | 9 |
| 20 ft | 21 | 16 | 11 |
| 24 ft | 25 | 19 | 13 |
Sixteen inches is the most common spacing for boards laid square to the joists. Closer spacing costs more lumber: on a 16-foot deck, going from 16 to 12 inches adds four joists. Your decking maker's instructions and your local building code set the widest spacing you're allowed to use, so check both before you pick.
Treat the calculator's footing figure as a placeholder. It allows one support line for every 8 feet of deck width plus one more, and puts two footings on each line. A deck up to 8 feet wide shows 4 footings, one over 8 and up to 16 feet shows 6, and one over 16 and up to 24 feet shows 8.
That count doesn't grow with the deck's length, and a real one does. A long beam needs posts along it, and how far apart they can sit depends on the beam size, the lumber and your local code. Footing depth is a local matter too, because footings have to reach below the frost line where you live. Get the real number from your building department before you dig. When you have it, the concrete calculator tells you how many bags each hole takes.
Only two things: deck boards times your price per board, plus joists times your price per joist. With the default prices of $8 a board and $14 a joist, the 16 × 12 deck comes to 27 × $8 + 13 × $14 = $398.
That isn't the cost of a deck. Beams, posts, concrete, joist hangers, screws, railings and stairs are all left out, and so is labor. For a full budget, use the deck cost calculator, and see our comparison of composite vs wood deck cost before you choose a material.
With boards running the 16-foot length and standard 5.5-inch decking, you need 27 boards, each 16 feet long: 144 inches ÷ 5.5 = 26.2, rounded up. Add about 10% for waste, which makes 30.
22 boards, each 10 feet long, using 5.5-inch decking with no gap: 120 inches ÷ 5.5 = 21.8, rounded up to 22. With 10% extra for waste, order 25.
5.5 inches. Lumber sizes are nominal, so a 5/4x6 and a 2x6 both measure 5.5 inches across. Use the real width, plus your gap, when you count rows.
13 joists at 16 inches on center: 192 inches ÷ 16 = 12 spaces, plus one for the end. At 12 inches on center it's 17, and at 24 inches it's 9.
About 10% is a common rule of thumb for boards laid straight. Allow more for a diagonal pattern, because every row ends in an angled cut that leaves an offcut.