Deck Board Calculator

Enter the deck's dimensions, the actual width of the board you are buying and the gap you will hold between boards, and this calculator returns the number of rows, the lineal feet of decking, how many boards of your chosen stock length that takes, the screw or hidden-clip count, and the material cost. It compares every common stock length side by side so you can see whether 16 ft boards or 12 ft boards leave less offcut on your particular deck, and it separates the waste allowance from the coverage arithmetic so you can see exactly what you are paying for.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Deck length (along the boards)The dimension the deck boards run parallel to — normally the long side, and always perpendicular to the joists.16 ft
Deck width (across the boards)The dimension you are covering row by row — usually the joist span, from the ledger out to the rim.12 ft
Actual board widthThe real measured width, not the nominal call-out: a 5/4x6 or a 2x6 both measure 5.5 in, and most composite planks measure 5.5 in too.5.5 in
Gap between boards3/16 in is typical for kiln-dried and composite boards; wet pressure-treated stock is often laid tight because it shrinks as it dries.0.1875 in
Board stock lengthThe length you plan to buy; the comparison table below prices every option against your deck.16 ft
Board layoutA diagonal layout covers the same area but every board gets two angled end cuts, so the offcut pile grows.Straight — boards square to the joists
Waste allowance10% is the usual trade allowance on a simple rectangle; raise it for stairs, picture-frame borders or a deck with several cut-outs.10 %
Joist spacing on centreDrives the fastener count; check the span your decking is rated for, as many composites require 12 in for a diagonal layout.16 in o.c.
Fastening methodFace screwing takes two fasteners at every joist crossing; most hidden clip systems take one.Face screws — 2 per board per joist
Price per boardPrice for one board of the stock length you selected; leave at zero if you only want quantities.22 $

It returns

  • Boards to buy — At the stock length you selected, including the waste allowance.
  • Rows of decking
  • Lineal feet of decking (with waste)
  • Screws or clips
  • Deck area
  • Joists crossed
  • Decking material cost

The formula

N=W+gb+g
lineal ft100 sq ft=1200b+g

In plain text: rows = ceil((W + g) / (b + g)); lineal ft = rows × L × (1 + waste); boards = ceil(lineal ft / stock)

  • NNumber of rows of decking (count)
  • WDeck width, across the boards (in)
  • bActual board width (in)
  • gGap held between boards (in)
  • LDeck length, along the boards (ft)
  • wasteAllowance for offcuts and defects (fraction)

The + g in the numerator is there because N rows contain only N − 1 gaps: the last board has no gap beyond it. Leaving it out under-counts the rows whenever the deck width lands just past a whole module.

Updated Category Stairs, Decks, Railings & Fencing Verified against published test cases Reading time 13 min

Why decking is counted in rows and bought in lineal feet

Decking is the one deck material that cannot be estimated from area alone. Two decks of exactly 200 sq ft take different amounts of board depending on how wide the boards are and how big a gap you hold, because the gap is area you pay nothing to cover. So the takeoff runs in three stages: how many rows fit across the width, how many lineal feet those rows total, and how many pieces of your stock length that is.

Start with the module — the board width plus the gap. A 5.5 in board with a 3/16 in gap has a 5.6875 in module. Divide the deck width by the module and round up, and you have the row count. There is one subtlety worth getting right: N rows contain only N − 1 gaps, because the far edge of the last board has no gap beyond it. That is why the formula adds one gap to the width before dividing. On a 144 in deck it makes the difference between 25.32 and 25.35 rows — both round to 26 — but on a deck whose width lands close to a whole module it changes the answer by a full row.

Then multiply the rows by the deck length to get bare lineal feet. That is the number you would need if every board came in exactly the right length and nothing was cut wrong. Add a waste allowance on top, and divide by the stock length to reach the board count.

One thing this arithmetic does not decide for you is which way the boards run. Deck boards must cross the joists at right angles or on the diagonal — never parallel to them — so the direction is fixed by the framing beneath. Enter the deck length as the dimension parallel to the boards.

Coverage, gaps and the waste allowance

The useful shortcut behind all of this is that lineal feet per 100 sq ft = 1,200 ÷ module. A 5.5 in board at a 3/16 in gap has a 5.6875 in module, so it takes 1,200 ÷ 5.6875 = 211 lineal ft to cover 100 sq ft. A 3.5 in board at the same gap needs 325 lineal ft for the same 100 sq ft — nearly 55% more board, more than 50% more fasteners, and considerably more labour. That is the real cost of narrow decking, and it is invisible if you estimate by area.

The gap deserves more thought than it usually gets. Wet pressure-treated southern yellow pine is normally laid tight, because it shrinks across its width as it dries and opens its own gap — often 1/4 in or more. Kiln-dried lumber and every composite board must be gapped at installation, because they will not shrink to make room. Composite manufacturers also specify an end gap that varies with the temperature at installation, since the material expands lengthwise with heat; that gap is set by the manufacturer's table, not by this calculator.

The waste allowance covers three separate things: offcuts left when a board length does not divide neatly into the deck length, boards rejected for crook, wane or a bad crown, and mistakes. Ten percent is the normal figure for a plain rectangle. Add to it for stairs, for a picture-frame border (which needs mitres and a doubled rim), for cut-outs around posts, and for any deck with more than four corners. A 45° diagonal layout adds another increment because every single board gets two angled end cuts instead of two square ones — the trade rule of thumb is 15% total rather than 10%. If you want to reason about waste more carefully across the whole job, the construction waste factor calculator does that generally.

Fasteners scale with rows and joists, not with area: each board crosses each joist once, and each crossing takes two face screws or one hidden clip. A 16 × 12 deck framed at 16 in on centre has 13 joists and 26 rows, so 338 crossings — 676 screws face-fastened. Screws are sold by count and by weight, so check the box quantity rather than assuming a pound covers a deck.

Worked example: a 16 ft × 12 ft deck in 5/4 × 6

You are decking a 16 ft by 12 ft rectangle with 5/4 × 6 pressure-treated boards, which measure 5.5 in wide. Joists run at 16 in on centre across the 12 ft dimension, so the boards run the 16 ft way. You will hold a 3/16 in gap, allow 10% waste, and buy 16 ft boards at $22 each, face-screwed.

  1. Module. 5.5 + 0.1875 = 5.6875 in.
  2. Deck width in inches. 12 × 12 = 144 in.
  3. Rows. (144 + 0.1875) ÷ 5.6875 = 25.35, rounded up to 26 rows.
  4. Check the coverage. 26 boards and 25 gaps span 26 × 5.5 + 25 × 0.1875 = 143 + 4.6875 = 147.69 in. That is 3.69 in more than the deck, so the last board gets ripped down or the extra is spread across the gaps. Twenty-five rows would span only 142.0 in and leave a 2 in strip uncovered.
  5. Bare lineal feet. 26 × 16 = 416 ft.
  6. With waste. 416 × 1.10 = 457.6 ft.
  7. Boards. 457.6 ÷ 16 = 28.6, so 29 boards of 16 ft.
  8. Joists crossed. 192 in ÷ 16 = 12 spaces, so 13 joists.
  9. Screws. 26 × 13 × 2 = 676.
  10. Cost. 29 × $22 = $638 for the decking.

Sense-check it against the shortcut: the deck is 192 sq ft, and at 211 lineal ft per 100 sq ft that is 405 ft before waste. The row-by-row figure of 416 ft is 2.7% higher, and it should be — the row method rounds up to a whole board across the width, and the shortcut does not.

How to read the result before you order

Look at the row overhang first. The calculator tells you how far past the deck width the last row lands. If it is a fraction of an inch, let it cantilever past the rim joist as a drip edge. If it is 3 or 4 in, you have a decision: rip the last board, which leaves a narrow strip that looks like an afterthought, or widen the gap by a hair across every row to absorb it. Spreading 3.69 in over 25 gaps adds 0.15 in per gap, taking a 3/16 in gap to 5/16 in — noticeable but uniform, and far better looking than a 1.8 in rip at the house wall. Whichever you choose, decide before you fasten the first board, and start from the house so the cut row lands at the outer edge where a fascia can cover it.

Then look at the stock-length table. Longer boards mean fewer butt joints, and every butt joint on a deck is a maintenance liability because water sits in it. But a 16 ft board on a 12 ft deck wastes 4 ft per row unless you can use the offcuts elsewhere. The rule that actually matters: pick the stock length that is a whole multiple of, or slightly longer than, your deck length. A 12 ft deck wants 12 ft boards; a 20 ft deck wants 20 ft boards or two 10 ft boards per row with staggered joints.

Check the span rating against the joist spacing. This is where people get hurt. Most 5/4 pressure-treated decking is rated for 16 in on centre. Most capped composite is rated 16 in on centre for a straight layout but only 12 in on centre for a 45° layout, because a diagonal board spans 1.41 times the joist spacing. Some composite stair treads require 12 in regardless. Look up your specific board — the joist span calculator handles the framing side of the same question.

Finally, sanity-check the cost per square foot. Divide the material cost by the deck area. If that number is far from what you expected, the usual cause is a narrow board: the same deck in 3.5 in stock needs 55% more lineal feet than in 5.5 in stock.

Lineal feet of decking per 100 square feet

Lineal feet = 1,200 ÷ (board width + gap). Multiply by your deck area in hundreds of square feet, then add waste.
Actual board width1/8 in gap3/16 in gap1/4 in gap
3.5 in (2x4)331.0 ft325.4 ft320.0 ft
5.25 in223.3 ft220.7 ft218.2 ft
5.5 in (5/4x6, 2x6)213.3 ft211.0 ft208.7 ft
7.25 in (2x8)162.7 ft161.3 ft160.0 ft

These are bare coverage figures with no waste allowance. A 192 sq ft deck in 5.5 in boards at a 3/16 in gap needs 1.92 × 211 = 405 lineal ft before waste.

Stagger the butt joints, and land them on a joist

Every butt joint must land on a joist, and every joint needs full bearing — which usually means the joist gets a sistered nailer or a doubled member so each board end has its own fasteners rather than sharing a 1.5 in face. Stagger joints so that no two adjacent rows break over the same joist; a three- or four-row repeat looks deliberate, while random joints look like a mistake.

If you can avoid joints entirely by buying full-length boards, do it. Joints are where water sits, where the board ends check, and where a deck starts to fail first.

Mistakes that blow the decking order

  • Using nominal width. A 5/4x6 is 5.5 in, not 6 in. Using 6 in under-counts the rows by about 9%.
  • Forgetting the gap in the row count. Twenty-six boards laid with 3/16 in gaps cover 4.7 in more than twenty-six boards laid tight.
  • Estimating by area with no gap correction. Area alone ignores both the gap and the round-up on the last row.
  • Ordering the wrong stock length. A 12 ft deck decked in 16 ft boards throws away a quarter of every board unless the offcuts serve the stairs or a landing.
  • Assuming a diagonal layout is free. It adds waste, and it usually forces the joists closer together because the board spans 41% further between them.
  • Ignoring end gaps on composite. Composite boards move lengthwise with temperature, and the required end gap depends on the temperature the day you install.
  • Counting fasteners by area. Fasteners follow rows times joists. Halving the board width nearly doubles the screw count for the same deck.

The rest of the deck takeoff

Decking is one line on a deck estimate and rarely the largest. Beneath it, the joists, beam and ledger are sized by span — the floor joist span calculator settles the joist size and spacing, and the framing lumber is priced by the board foot with the board foot calculator. The posts land on footings that have to be sized for the soil, which is the deck footing size calculator.

Above the deck surface, any walking surface more than 30 in above grade needs a guard, and the guard needs infill that a 4 in sphere cannot pass — the baluster spacing calculator divides a rail evenly to that limit. Stairs off the deck start with the stair rise and run calculator, and the treads on those stairs come out of the same decking order, so add their lineal feet to the figure on this page before you buy.

The framing conventions used here follow the American Wood Council's Prescriptive Residential Wood Deck Construction Guide (DCA 6), which is the document most inspectors work from for residential decks built without an engineer's stamp. It sets joist spans, ledger fastening, post and beam sizes and guard details, but it does not set decking span — that comes from the board manufacturer's own listing or from the lumber grading rules.

Key terms

Lineal foot
One foot of board length, regardless of width. Decking is estimated in lineal feet and sold by the piece.
Module
The repeating dimension across a deck: board width plus gap. Row count is deck width divided by the module.
5/4 decking
Nominal five-quarter stock, actually about 1 in thick and 5.5 in wide. Standard residential decking in pressure-treated softwood.
Hidden fastener
A clip or biscuit that fixes the board through its edge groove, leaving no screw heads on the surface. Usually one per board per joist.
Picture frame
A border board mitred around the perimeter of a deck. It adds waste and requires extra framing beneath the mitres.

Frequently asked questions

How many deck boards do I need for a 16x12 deck?

Twenty-nine 16 ft boards of 5/4 × 6, allowing 10% waste. The arithmetic: a 12 ft width is 144 in, a 5.5 in board with a 3/16 in gap is a 5.6875 in module, so you need 26 rows. Twenty-six rows at 16 ft is 416 lineal ft, plus 10% is 457.6 ft, which is 29 boards of 16 ft. If you buy 12 ft boards instead you need 39 of them, and every row has a butt joint.

What gap should I leave between deck boards?

About 3/16 in for kiln-dried lumber and composite, and none at all for wet pressure-treated stock. Wet treated southern yellow pine shrinks across its width as it dries and will open its own gap — sometimes 1/4 in or more — so laying it tight is standard. Kiln-dried and composite boards will not shrink, so the gap has to be built in for drainage and debris. Composite also needs an end gap that depends on the installation temperature; use the manufacturer's table for that.

Does the calculator account for stairs and the picture-frame border?

No — it covers the rectangular field only. Add the stair treads as a separate lineal-feet figure (treads per stair × tread width × number of stairs) and add the perimeter length for a picture-frame border, then raise the waste allowance to cover the mitres. A picture frame also needs blocking beneath the mitre joints, which is a framing item rather than a decking item.

How many screws does a deck take?

Rows × joists × 2 for face screwing. A 16 × 12 deck framed at 16 in on centre has 26 rows and 13 joists, which is 338 crossings and 676 screws. Hidden clip systems use one fastener per crossing, so 338. Buy 10% more than the calculation, and buy the right length: 2.5 in screws for 5/4 decking and 3 in for 2x decking are the usual choices, in a coating rated for contact with treated lumber.

Should I buy 12 ft or 16 ft deck boards?

Buy whichever length divides your deck length with the least offcut, and prefer the one that avoids butt joints. A 12 ft deck decked in 16 ft boards throws away 4 ft per row; the same deck in 12 ft boards has no joints and no waste from length. For a 20 ft deck, a single 20 ft board beats two 10 ft boards every time, because a butt joint is a maintenance point. The comparison table on this page shows the surplus each option leaves.

Can deck boards run parallel to the joists?

No. Decking spans between joists and has to cross them, so boards run perpendicular to the joists or on the diagonal. If you want the boards to run the other way, the framing has to change — either turn the joists or add a layer of sleepers over them. On a diagonal layout the board spans about 41% further between joists than it does square, which usually means tightening the joist spacing from 16 in to 12 in.

What is a normal waste allowance for decking?

Ten percent for a simple rectangle with square corners, and 15% for a 45° diagonal layout or a deck with several angles, cut-outs or a picture-frame border. That covers offcuts, boards rejected for crook or wane, and mistakes. If you are buying an expensive hardwood or a composite that has to be special-ordered, order the higher figure — a second delivery costs more than the surplus boards.

Why does the last row overhang the deck?

Because the deck width is almost never a whole number of modules, so the row count rounds up. You have three ways out: let the last board cantilever past the rim as a drip edge if the overhang is small, rip the last board to width, or spread the difference across every gap. Spreading works well up to about 1/8 in of extra gap per row and looks far better than a narrow ripped strip. Start laying from the house so the adjustment lands at the outer edge.

References