How Many Deck Boards Do I Need?
Enter the deck size and the calculator gives the board count, the gap that layout actually produces, the linear feet to buy, and the waste allowance. The size table below covers the common decks from 8×8 to 20×24.
25 boards fill 144″ across the joists with a 0.271″ gap between them — 5.5″ board plus the gap is 5.771″ of pitch. Set every board from one fixed reference edge, and stagger butt joints across at least 2 joists.
How many deck boards do I need for a 10×12 deck?
21 boards of 5.5″ decking, with the boards running the 12 ft way — 252 linear feet, or 23 boards once you allow 5% for cuts. Only one dimension sets that number: the 10 ft width across the joists.
120″ of deck ÷ 5.625″ of pitch — a 5.5″ board plus a 1/8″ gap — is 21.3, so 21 boards at 5.5″ cover 115.5″. The 4.5″ left over is shared between the 20 joints, which puts every gap at 0.225″: a shade wider than the 1/8″ target and perfectly workable.
| Deck size (ft) | Boards | Gap you get | Linear feet | Buy (+5%) |
|---|---|---|---|---|
| 8 × 8 | 17 | 0.156″ | 136 lf | 18 |
| 8 × 10 | 17 | 0.156″ | 170 lf | 18 |
| 10 × 10 | 21 | 0.225″ | 210 lf | 23 |
| 10 × 12 | 21 | 0.225″ | 252 lf | 23 |
| 10 × 16 | 21 | 0.225″ | 336 lf | 23 |
| 12 × 12 | 25 | 0.271″ | 300 lf | 27 |
| 12 × 16 | 25 | 0.271″ | 400 lf | 27 |
| 12 × 20 | 25 | 0.271″ | 500 lf | 27 |
| 12 × 24 | 25 | 0.271″ | 600 lf | 27 |
| 16 × 16 | 34 | 0.152″ | 544 lf | 36 |
| 16 × 20 | 34 | 0.152″ | 680 lf | 36 |
| 20 × 20 | 43 | 0.083″ | 860 lf | 46 |
| 20 × 24 | 43 | 0.083″ | 1,032 lf | 46 |
Read the first number in a row as the dimension across the joists and the second as the board run. The gap column is the part most calculators leave out: a layout has to land on whole boards, so the gap is whatever divides evenly. On a 20 ft width, 43 boards leave 0.083″ between them — tighter than the 1/8″ target — while 42 boards open it to 0.22″. Both builds are real choices, and the gap column is how you see which one you are buying.
Turning the boards the other way changes the count, because the width across the joists changes. On that 10×12, boards running the 10 ft way means counting across 12 ft: 25 boards of 10 ft, 250 linear feet against 21 boards of 12 ft at 252 — the material is within 2 ft either way, because the deck area did not change. What does change is the number of courses and of butt joints: 25 courses instead of 21, each one a chance to land a joint short of a joist. Run decking the long way so there are fewer courses to get right.
How the board count math works
One dimension decides the count: the deck width across the joists. The length along the joists only turns that count into linear feet.
pitch = board width + gap
boards = (deck width in inches + gap) ÷ pitch, rounded to the nearest board
gap you get = (deck width − boards × board width) ÷ (boards − 1)
The rounding is the part that goes wrong. Divide 144″ of deck by a 5.625″ pitch and you get 25.6; round up to 26 and the boards alone measure 143″, leaving 1″ to spread over 25 joints — 0.04″ each, a surface that looks shut. 25 boards cover 137.5″ and leave 6.5″ across 24 joints, a 0.271″ gap. So round to the nearest board, then check two things: the boards still fit inside the width, and the gap has not collapsed to a sliver. If either fails, use one fewer board.
Use the tape-measure width, not the name. A 1×6, a 5/4×6 and a 2×6 all measure 5.5″ across, so the pitch at a 1/8″ gap is 5.625″. Waste is a separate allowance on top — 5% on the board count, rounded up to whole boards, which is why 21 boards becomes 23 at the counter. If your supplier prices in board feet rather than by the piece, the board foot calculator converts the linear feet into board feet at the width you are buying.
Worked example: 10 ft across, 5/4×6 boards, 1/4″ gaps
Deck 10 ft wide across the joists, 16 ft long along them. The width has to be in inches: 10 ft = 120″. Board 5.5″, gap 0.25″.
- Pitch: 5.5″ + 0.25″ = 5.75″ per board.
- 120″ ÷ 5.75″ = 20.9, so 21 boards.
- 21 boards × 5.5″ = 115.5″ of board.
- Space left for gaps: 120″ − 115.5″ = 4.5″ over 20 joints = 0.225″ per gap.
- 21 × 16 ft = 336 lf; with 5% waste, order 23 boards.
The gap you get is 0.225″, a hair under 1/4″: twenty gaps at a full 1/4″ add up to 5″, and 115.5″ + 5″ = 120.5″, half an inch wider than the deck. Let the gaps average 0.225″, rip one board down by that half inch, or split it between the rims.
Keeping gaps even across the full width
Chaining is the mistake: set a board, drop in a spacer, set the next against it, and repeat. Land each gap only 1/16″ off and twenty of them compound into 1¼″ of drift at the far rim.
Measure every course from one fixed reference instead. Work out the exact pitch: (deck width − board width) ÷ (board count − 1). For the example, (120″ − 5.5″) ÷ 20 = 5.725″. Mark 5.725″, 11.45″, 17.175″, and so on, and set the near edge of each board on its mark. The last board lands flush with the far rim, every joint comes out at 0.225″, and a bad mark stays in its own course.
Snap a chalk line rather than penciling twenty marks, and check against the tape.
Why a gap exists at all
The gap is not a finish detail; it is what keeps the deck from holding water.
- Drainage: water perched on a tight surface wicks into the end grain at the joints and sits on the joists underneath.
- Airflow: moving air dries a deck after rain. A deck that stays wet underneath is where fasteners corrode and framing rots.
- Debris: needles, pollen, and leaf litter wash through instead of packing into the joints.
- Room to move: boards butted tight push on each other as they take on moisture and lift at the edges.
How much a board moves, and why the gap changes with the season
Wood moves almost entirely across its width; the length barely changes. A board measuring 5.5″ in dry June air is wider in August humidity and narrower in January.
In a humid climate the gap closes through the damp months and opens back up as the air dries. Pressure-treated lumber widens the swing: it leaves the yard wet and shrinks as it seasons, so a spring install looks wider by the end of summer.
Composite decking moves on temperature rather than moisture, which is why manufacturers call for a gap wider than the wood rule.
What IRC 2021 R507.7 requires
IRC 2021 R507.7 holds the prescriptive limits, and they govern the joists, not the gap. Maximum joist spacing:
- 1¼″ (5/4) wood decking, perpendicular to the joists: 12″ single span, 16″ multiple span.
- 2″ (2×) wood decking, perpendicular: 24″.
- Diagonal: 8″ and 12″ for 1¼″ decking, 18″ and 24″ for 2″. A diagonal board crosses the joists at an angle and bears on fewer of them.
- Fasteners: at least two 8d threaded nails or No. 8 screws per board at every joist.
The section excludes stairways. What R507.7 never gives is a gap — that is field practice and manufacturer spec.
Butt joints: on a joist, or not at all
Where two boards meet end to end, the joint needs a joist or a block directly under it. A joint in the open bay has nothing carrying its ends: the tips curl, the fasteners pull, and that joint opens wide as the boards move.
Plan joints before you cut. If a cut puts one in open air, move it to a joist you have, add blocking to that bay, or use a longer board. Stagger them between courses — the panel above says at least two joists, because a seam running straight down the deck concentrates every weakness in one line.
Board lengths: what to actually order
The board count is not the order. Decking is sold by the piece in fixed lengths — most yards stock 8, 10, 12 and 16 ft, and some carry 20 ft — so the number on the ticket is linear feet split into lengths that suit the deck.
A 16 ft deck with 25 boards is 400 linear feet: 25 boards at 16 ft, and each one spans the run with no joint at all. The same 400 ft in 12 ft stock is 50 boards, because each course becomes two pieces — and two 12 ft boards make 24 ft for a 16 ft course, so 8 ft is cut off every course. Stagger the cutoffs so the offcut from one course starts the next and most of that comes back, but 5% waste is optimistic for short stock: on a 16 ft run, plan on 10–15%.
Two more things that decide the order. Long boards cost more per foot and may need a trailer or a rack to get home, so price the 16 ft against two 8 ft before you commit. And check the deck length against the stock length before you fall in love with a layout: a 14 ft run with 12 ft boards is a joint in every course, while 16 ft stock covers it with 2 ft off each board.
Common mistakes
- Using the nominal width. A 2×6 is 5.5″ wide, not 6″. At a 6.25″ pitch, 120″ ÷ 6.25″ = 19.2, so you order 20 boards and come up 5¼″ short of the rim.
- Measuring the width in feet. The pitch is in inches, so the width has to be too — 12 ft is 144″.
- Spacing the gaps from the wrong edge. Chaining each gap from the last board compounds small errors into drift at the far rim.
- Butt joints in open air. Nothing supports the ends, so the joint cups, opens, and splits.
- No room for expansion. Boards set tight in a wet climate lift at the edges and load the fasteners when they swell.
Deck board spacing FAQ
What is the maximum joist spacing for deck boards?
Per IRC 2021 R507.7, 1¼″ (5/4) wood decking laid perpendicular to the joists may span 12″ single span and 16″ multiple span; 2″ decking may span 24″. Diagonally, 8″ and 12″ for 1¼″ decking and 18″ and 24″ for 2″. Stairways are excluded.
Can I install deck boards tight with no gap?
No. A closed surface holds water on top, so it wicks into the end grain and sits on the framing, and the boards have nowhere to go when they take on moisture. Use 1/8″ in a dry climate and 1/4″ in a wet one.
How much gap should I leave for pressure-treated lumber?
The same 1/8″ dry / 1/4″ wet rule, but expect the deck to change as the lumber dries: pressure-treated boards leave the yard wet and shrink as they season.
How do I fix deck board gaps that came out uneven?
Lay out the pitch with (deck width − board width) ÷ (board count − 1), mark every course from one fixed reference edge, and set each board on its mark. On a 10 ft deck of 21 boards at 5.5″, that pitch is 5.725″ and every gap comes out at 0.225″.
How many deck boards do I need for a 10×12 deck?
Twenty-one boards of 5.5″ decking with the boards running the 12 ft way and a 1/8″ gap — 252 linear feet, or 23 boards once you add 5% for cuts. The count comes from the 10 ft dimension across the joists: 120″ ÷ 5.625″ = 21.3. Run the boards the other way and the 12 ft width needs 25 boards of 10 ft, 250 linear feet.
How many deck boards are in a bundle?
Decking is not usually sold in fixed bundles — it is priced and picked by the board, in lengths of 8, 10, 12, 16 and sometimes 20 ft. Buy by linear feet and split it into the lengths that suit your deck: 400 linear feet on a 16 ft deck is 25 boards at 16 ft, or 50 boards at 8 ft if the supplier is out of long stock.
Where to go next
This page sizes the surface; the framing has its own math. The deck board spacing guide covers gaps and spacer methods, and the deck beam and joist span calculator checks the joist size and spacing R507.7 assumes. Deck footing size and the concrete calculator handle the pour, and the stair stringer calculator handles the steps.