Deck Calculator
Deck boards, joists and fasteners from the deck size, board width and gap.
Updated
You need
52boards
26 rows across the span, 2 pieces per row
- Linear feet of decking
- 416
- Joists
- 13
- Deck screws
- 728
- Board plus gap
- 5.750 in per row
Materials only. Joist and beam spans, footings and ledger attachment depend on species, grade and load, so take those to your local code and your lumber supplier.
Advertisement
In short
How many deck boards do I need?
Divide the span by the board width plus one gap. A 16 by 12 ft deck in 5 1/2 in boards with a 1/4 in gap takes 26 rows, which is 416 linear feet, or 52 boards from 12 ft stock. Joists at 16 in on centre over the 16 ft length come to 13, and two screws per board per joist works out at 728 screws.
This counts material only. Joist spans, beam sizing, footings and how the ledger attaches to the house are governed by species, grade, load and local code, so take those to your building department and your lumber supplier.
How to use the deck calculator
Start by settling the direction. The length you enter is the way the boards run, and the width is the direction rows accumulate across. That matters because joists run perpendicular to the decking, so the same rectangle gives different joist counts depending on which way round you build it.
Then use the actual board width rather than the name on the label. Softwood decking sold as 6 inch is 5 1/2 inches wide, and 4 inch is 3 1/2 inches. Plan a 12 ft span on 6 inch boards and you are half an inch short on every row, which compounds into a missing row by the end.
26
Rows across a 12 ft span
5 1/2 in boards, 1/4 in gaps
52
Boards for a 16 ft run
two 12 ft pieces per row
13
Joists at 16 in on centre
over the 16 ft length
Why the gap lowers the count rather than raising it is worth a second. Widening the gap makes each row cover more span, so fewer rows reach the far side. It only ever pushes the count down. A 12 ft span takes 27 rows butted tight and 26 at a quarter inch gap, and a 20 ft span drops from 44 to 42.
Advertisement
The gap is also doing a real job, not just arithmetic. Boards need somewhere for water to drain and room to move with the seasons, and the right size depends on the material and on how wet the boards are when you lay them. Your decking manufacturer publishes a spacing for its product, and that instruction beats any general figure.
Joist spacing is a choice with consequences in three directions at once. Tighter spacing means more joists, more screws and a stiffer deck. Over a 16 ft length the count runs 17 joists at 12 inch centres, 13 at 16 inch, and 9 at 24 inch. What spacing you are allowed to use is a different question, answered by code and by the decking manufacturer.
Now work out the steps down
Almost every deck ends in a flight, and the rise from the deck surface to the ground has to divide into equal risers before you cut a single stringer.
Open the stair calculator →Read the screw count as a shopping estimate rather than a fastening schedule. Two screws per board per joist is common practice for face-screwed decking, and this tool adds a second pair wherever a butt joint puts two board ends on the same joist. Hidden fastener systems and clip systems count completely differently.
Do
- Enter the actual board width, so 5 1/2 inches rather than a nominal 6.
- Include the gap, because each row occupies its board plus one gap.
- Follow the gap your decking manufacturer publishes for its product.
- Take joist and beam spans to your building department before you build.
- Plan butt joints so every board end lands on a joist, never between two.
Don't
- Size joists or beams from anything you read on a website, including this one.
- Assume composite and wood boards want the same spacing or the same fasteners.
- Count on offcuts from one row filling the gap in another row.
- Read the screw figure as a fastening schedule for a structural connection.
- Attach a ledger to the house without checking what the code requires.
Deck boards, joists and screws for common deck sizes, all figured on 5 1/2 inch boards with a 1/4 inch gap, joists at 16 inch centres, and 12 ft stock. Boards run along the first dimension and rows count across the second.
| Deck size | Rows | Linear feet | Boards | Joists | Screws |
|---|---|---|---|---|---|
| 10 × 10 ft | 21 | 210 | 21 | 9 | 378 |
| 12 × 12 ft | 26 | 312 | 26 | 10 | 520 |
| 16 × 12 ft | 26 | 416 | 52 | 13 | 728 |
| 16 × 16 ft | 34 | 544 | 68 | 13 | 952 |
| 20 × 12 ft | 26 | 520 | 52 | 16 | 884 |
| 20 × 16 ft | 34 | 680 | 68 | 16 | 1,156 |
| 24 × 16 ft | 34 | 816 | 68 | 19 | 1,360 |
Why there are no span tables here
You will not find a joist span, a beam span or a post size on this page, and that is a deliberate refusal rather than an oversight. A span table is not a general fact. It is a function of species, grade, the actual dimension of the member, the spacing, whether the joist is continuous or cantilevered, and the load the deck has to carry.
Change any one of those and the allowable span changes with it. Southern pine and hem fir of the same nominal size are not interchangeable, a number two board is not a select structural board, and a deck that carries a hot tub is not carrying a residential live load. A table copied without its assumptions is worse than no table at all.
The consequence of getting it wrong is also different in kind from the rest of this page. Order too few boards and you drive back to the yard. Undersize a beam and the failure mode is people falling. Deck collapses are not hypothetical, and they tend to happen when the deck is full.
- Ask your building department which code edition they have adopted and whether a permit is required.
- Ask your lumber supplier for the species and grade of what you are actually buying.
- Get the span figures from the adopted code or from a design professional, for that species and grade.
- Follow the decking manufacturer instructions for joist spacing, gap and fasteners.
- Treat ledger attachment and footings as structural work, not as trim.
How board width changes the whole order
Narrower boards are more work in every direction, and the numbers make that concrete. Cover the same 12 ft span in 3 1/2 inch boards instead of 5 1/2 inch ones and the row count goes from 26 to 39, the linear feet from 416 to 624, and the screw count from 728 to 1,092.
That is half as many rows again, half as much material again, and half as many screws again, for exactly the same deck. Narrow boards buy you a finer look and, on some layouts, a better fit to the space, but the labour is where the cost really lands.
The reverse holds too. Wider boards cover span faster and drive fewer fasteners, which is part of why 5 1/2 inch decking became the default. The trade off is that a wide board cups and moves more than a narrow one, which is exactly what the gap between boards is there to absorb.
Advertisement
Full guide
How Many Deck Boards Do I Need? Rows, Gaps and the Fencepost
A six-inch board is three different widths, and the gap between boards is part of what they cover.
Read the full guide →The formula, worked line by line
Counting rows is a fencepost problem wearing decking. Lay N boards across a span and you get N boards but only N minus 1 gaps, because the last board has nothing after it to be spaced away from. Ignore that and the arithmetic slowly overcounts on every wide deck.
Solve it properly and the tidy form falls out. You need N times the board width plus N minus 1 times the gap to reach the span, which rearranges to the span plus one gap, divided by the board plus one gap, rounded up.
Boards then come from rows rather than from linear feet. Decking butt joints have to land on a joist, so an offcut left over from one row cannot generally be used to finish another. Each row is counted on its own, and its last piece is a partial board you still buy whole.
rows = (span in inches + gap) ÷ (board width + gap), rounded UP
linear feet = rows × board run length
boards per row = run length ÷ stock length, rounded UP
boards = rows × boards per row
joists = (run length in inches ÷ joist spacing, rounded UP) + 1
screws = 2 × rows × (joists + boards per row − 1)- Span in inches
- 12 ft = 144 in
- Each row occupies
- 5.5 + 0.25 = 5.75 in
- Rows
- (144 + 0.25) ÷ 5.75 = 25.1, so 26
- Linear feet
- 26 × 16 = 416 ft
- Boards from 12 ft stock
- 26 × 2 = 52
- Joists at 16 in o.c.
- (192 ÷ 16) + 1 = 13
- Screws at two per board per joist
- 728
Those 26 rows cover 149.25 inches against a 144 inch span, so the last row is cut down by a little over five inches. That is normal and it is why the count rounds up: 25 rows would leave the deck five inches short of the edge.
The joist line is the same fencepost logic as the rows, in the other direction. Twelve spaces at 16 inch centres across a 16 ft run need thirteen joists, because there is one at each end as well as at every division. Drop to 24 inch centres and it is nine; tighten to 12 inch and it is seventeen.
The screw formula adds one term to the obvious one. Two per board per joist gives two times rows times joists, and then each butt joint puts a second board end on a joist that was already carrying one, so that row needs another pair. With one joint per row on a 16 ft deck from 12 ft stock, that is the plus one in the bracket.
One practical note on stock lengths. If your run is 16 ft, buying 16 ft boards removes every butt joint and every joint related screw, which is why the same deck built from 16 ft stock needs fewer fasteners than one built from 12 ft. Long boards cost more per foot and are harder to handle, so it is a genuine trade rather than a free win.
Advertisement
Questions people ask
How many deck boards do I need for a 16 by 12 foot deck?
With 5 1/2 inch boards and a 1/4 inch gap, a 12 foot span takes 26 rows, and at 16 feet long that is 416 linear feet of decking. From 12 foot stock each row needs two pieces, so 52 boards. Those 26 rows cover 149.25 inches against a 144 inch span, so the final row gets ripped down by about five inches, which is normal. Change to 3 1/2 inch boards and the same deck needs 39 rows and 78 boards instead.
Covered in depth in How Many Deck Boards Do I Need? Rows, Gaps and the Fencepost →
What gap should I leave between deck boards?
Follow the instructions for the product you are laying, because the right gap depends on the material and on how wet the boards are when you install them. Wood decking that goes down soaking wet will shrink as it dries, so it is often laid tighter than dry stock. Composite and PVC boards move with temperature rather than moisture and have their own published spacing, including end gaps that wood does not need. The gap exists to let water drain and to give the boards somewhere to go when they move, so it is not decoration.
How far apart should deck joists be?
That is set by the code your jurisdiction has adopted and by the decking manufacturer, not by preference. Composite and PVC boards frequently require closer spacing than solid wood, and running boards diagonally usually requires closer spacing again because the effective span between supports increases. What this calculator does is tell you how many joists a given spacing produces: over a 16 foot run that is 17 joists at 12 inch centres, 13 at 16 inch, and 9 at 24 inch. Which of those you are allowed to build is a question for your building department.
How many screws does a deck need?
Two screws per board at every joist crossing is the common practice for face-screwed decking, so a 16 by 12 foot deck with 26 rows and 13 joists works out at 728 screws once you add a second pair at each butt joint. Treat that as a quantity to buy rather than a fastening specification: the size, type and corrosion rating of the fastener depend on the decking material and on whether the framing is treated lumber, and hidden fastener or clip systems count on an entirely different basis.
Why does this calculator not give joist or beam spans?
Because a span figure is meaningless without the species, the grade, the actual member size, the spacing and the load, and publishing one without all five would be a safety problem rather than a convenience. Southern pine and hem fir behave differently at the same nominal size, a number two board is not a select structural board, and a deck carrying a hot tub is not carrying an ordinary residential live load. Get spans from the code your jurisdiction has adopted, from your lumber supplier for the species and grade you are actually buying, or from a design professional.
Sources
Where the constants and formulas on this page come from. Each line names the figure it backs.
Why nominal lumber measures less than its name: nominal 6 inch softwood is 5 1/2 inches dressed and dry, and nominal 4 inch is 3 1/2.
Voluntary Product Standard PS 20-20, American Softwood Lumber Standard — NIST, PS 20-20
Shop decking tools on Amazon
Browse current options and prices directly on Amazon — we don’t list products here.
As an Amazon Associate we may earn from qualifying purchases.
Related guides
Home Improvement
How to Connect a Portable Generator to Your House
One decision picks your method: are you powering things, or powering circuits? Everything else follows from that, including whether you need an electrician at all.
August 26, 2026 · 14 min read
Home Improvement
How Much Grass Seed Do I Need? Rates by Grass Type
The rate for every grass type, the half rate for overseeding, and the seeding window that decides whether any of it works.
August 26, 2026 · 7 min read
Home Improvement
How Much Yeast Is in a Packet? Seven Grams, and Three Quarters of a Tablespoon
The teaspoon answer is everywhere. The tablespoon answer is the one people actually need, because a whole tablespoon is a third too much.
August 23, 2026 · 11 min read