/* ===== 动画无障碍:尊重系统减少动效 ===== */ @media (prefers-reduced-motion: reduce){ .pv-in, .pv, .paintSweep, .wallOpen, .board-anim, .rail-anim, .post-anim, .bump, .play-btn svg, .play-btn{ animation: none !important; transition: none !important; } .pv-in, .paintSweep{ opacity: 1 !important; transform: none !important; } }
Wraps, gaps and lumber length

The deck width never divides evenly — here is what you do about it

Five and a half inch boards plus an eighth inch gaps almost never close a deck width exactly. This page counts the boards across, then gives you three ways to close the leftover and what each one costs. The gap width is the thing nobody else tells you.

Your deck

ft
ft
in
5.5 in is a real 5/4×6 board, not 6
in
1/8 in passes water, 1/4 in lets debris through
/board
Boards to buy
0boards
across the deck, gap included
Boards across (rows)0
Leftover after rows0
Final gap if you even them out0
Lumber needed0
Joists under the deck0
12 ft boards 0 ft offcut
What to order
Deck boards0
Screws (2 per joist)0
Stain or sealer0
Board cost0
Material total0

Even out the gaps: no extra board, no cut board.

Three ways to close the leftover

The rows rarely add up to the deck width exactly. That leftover is not waste — it is a decision you make once, at the edge, and it changes how the whole deck looks.

Even gaps is the default for good reason: every board stays full width and nothing extra is bought.

16 ft or 12 ft — which leaves less on the floor

Deck boards are sold in fixed lengths. Buy too long and every row leaves an offcut; buy too short and you are joining boards mid-span, which is the one thing a deck cannot do.

Where the leftover goes

The deck seen from above. Pale strips are the gap; the band at the right edge is the leftover you have to close. Zoomed below: the last board and the gap, to scale.

Board Gap Leftover
Boards fill from the house wall out. The pale band is what a whole number of boards could not cover.

What to actually buy

Boards are sold in fixed lengths, so the order is rows plus the offcut they leave. This separates the deck face from the screws and the stain.

Purchase
Boards to buy25 boards
Board length12 ft
Rows across25 rows
Boards per row1
Offcut left over0 ft
Screws2 boxes
Boards per row is what a fixed length forces: a 12 ft deck on 16 ft boards buys 19 boards instead of 25, but leaves a 4 ft offcut on every row. The offcut line is priced at the same rate per foot.
Budget
Deck boards
Accessories
Waste & rounding
Delivery
Labor
Sales tax
Total
Accessories means joist tape, hidden fasteners, a breaker bar and spare bits — type your own number. Screws and stain are already counted from the panel above; board price is yours.
Where these numbers come from+

Formats assumed. A 5/4 × 6 board measures 5.5 in of face, not 6. Gaps are taken at 1/8 in for composite and hardwood, 1/4 in for softwood that swells. Screws are counted at two per board per joist crossing, 16 in on centre.

Not from us. Board price, screws per box and stain coverage come from the fields above. Board length is a buying decision, not a fact — the comparison table higher up prices every length you can order.

How boards are counted

1. Count across, not by area

Deck boards run in rows. The number of rows is the deck width divided by one board plus one gap — not the area divided by anything.

rows = floor((width + gap) ÷ (board width + gap))

A 12 ft deck is 144 in. With a 5.5 in board and a 1/8 in gap, one unit is 5.625 in, and 25 units fit in 140.6 in. That is 25 rows and 3.4 in left over.

2. The leftover is the whole problem

Three ways to close it, and they are not equivalent:

Even the gaps. Spread the 3.4 in across the 24 gaps and each gap grows by about 0.14 in. No board is cut, no board is added, every board stays full width. This is what a good crew does and it is free.

Cut the last board. Hold the 1/8 in gap and let the edge board finish the run. You save a joint, but the edge board is noticeably wider than the rest and it catches the eye from across the yard.

Add a board. Push the gaps back down and fit a 26th row. It works only if the squeezed gap stays above about 1/16 in — below that, water stops draining and the deck rots from the joists up.

3. Length is a separate decision

Rows are cut from the board length you buy. A 12 ft deck on 12 ft boards leaves nothing. On 16 ft boards every row leaves a 4 ft offcut — and four of those offcuts make one more row, which is why 25 rows on 16 ft boards needs 19 boards, not 25.

boards = ceil(total row length ÷ board length)

Worked example — 12 × 12 ft deck, 5.5 in boards, 1/8 in gaps

144 in wide, 25 rows, 3.4 in left over. Even gaps: 0.14 in final gap, 25 boards. Twelve foot boards: 25 boards, no offcut, $500. Sixteen foot boards: 19 boards, 4 ft offcut, $380 on paper — but the 16 ft price per board is usually higher, so check both lines before you decide.

What the number assumes

  • Board face width is the visible width — a 5/4×6 board measures 5.5 in, not 6.
  • Deck width is joist to joist inside the rim, so the edge board cannot overhang.
  • Rows are single boards end to end. A deck longer than the board length needs a butt joint over a joist.
  • Offcuts are reusable only in whole-board lengths. A 4 ft offcut cannot finish a 12 ft row.
  • Screws are counted at two per board per joist crossing, including the rim joists.
  • Stain is sold by deck area, not board area — the gaps do not need coating.

The number we refuse to leave out

Almost every deck calculator stops at "you need 25 boards". The useful answer is the gap width after you close the edge — because that is what decides whether the deck drains and whether the last row looks tarted up.

Questions people actually search

How many deck boards do I need for a 12×12 deck?+
25 boards across, laid as 25 rows, with a 5.5 in board and a 1/8 in gap. Each row runs the 12 ft length, so 25 boards of 12 ft — or 19 boards of 16 ft with a 4 ft offcut per board. The row count comes from the width, never from the area.
What gap should I leave between deck boards?+
1/8 inch for composite and most hardwood, 1/4 inch for softwood that swells. Below 1/16 inch water stops draining; above 1/4 inch heels catch and small debris drops through. Even out the gaps rather than cutting the last board — the eye reads even gaps as deliberate.
Should I buy 16 ft or 12 ft deck boards?+
Match the board length to the deck length if you can. A 12 ft deck on 12 ft boards wastes nothing. On 16 ft boards every row leaves a 4 ft offcut, but four offcuts make a row, so 25 rows needs 19 boards instead of 25. The 16 ft board usually costs more per foot, so run both lines of the comparison before ordering.
How many screws per deck board?+
Two per joist crossing, which is 2 × the number of joists the board spans. On 16 in joist spacing a 12 ft board crosses about 9 joists, so 18 screws per board. A 12×12 deck is roughly 450 screws, or 2 boxes at 250.
Can I cut the last deck board narrower?+
You can, but it is usually the wrong move. A narrower edge board reads as a mistake from every angle, while spreading the same leftover across all the gaps is invisible. Cut the last board only when the leftover is more than half a board — then the edge board would look cut anyway.

Next in the same build

The deck frame goes in before a single board is laid.

TR
Written and maintained by the TallyReno build desk
Gap and board widths follow the 5/4×6 dressed sizes sold at US lumber yards · prices are 2026 retail averages
Last reviewed: November 19, 2026
Reviewed every 90 days