What this calculator is for
Rectangular decks: the surface boards, the joists beneath them and the screws that fix the two together. It gives you the three counts a lumber yard will ask about first. Diagonal layouts, picture-frame borders and multi-level decks need the rectangle split into sections — calculate each section and add the boards, then handle borders and steps as their own lists.
Formula and assumptions
Boards run along the length. Each row covers one board width plus one gap across the width, and the row count rounds up to whole boards. Joists run across the width, spaced along the length at the spacing you enter, with one extra joist for the far end — that spacing is your framing plan's input, not a recommendation from this page; what spacing your deck needs depends on your boards, spans and local requirements, which this calculator does not assess. Screws assume exactly 2 per board–joist crossing. No waste, breakage or spare-board allowance is included anywhere in these counts.
Reading your result
The big figure is the board count for the surface. Joists is the number of joist members under the deck at your spacing. The screw count is a fixing count, not a box count — divide by the count per box your supplier sells to get boxes, and round up. If the last board row lands as a narrow rip cut, your layout may need one fewer full board and one ripped board instead; the count here assumes full-width rows.
Worked example
A 12 ft × 10 ft deck with 5.5 in boards, a 0.25 in gap and joists at 16 in: the width is 120 in, each row covers 5.5 + 0.25 = 5.75 in, so boards = ceil(120 ÷ 5.75) = 21 boards. Joists = floor(144 ÷ 16) + 1 = 10 joists. Screws = 21 × 10 × 2 = 420 screws. These figures are computed by the same tested function the calculator above runs — change the inputs and they move together.
Common mistakes
Using the nominal board width. A nominal 2×6 board is actually 5.5 in wide; entering 6 in undercounts the rows. Forgetting the gap. Boards are counted at board width plus gap — leaving the gap at 0 packs the rows tighter than you will lay them. Counting joists without the end one. Spacing divides the length into bays; the joist count is bays plus one. Treating the screw count as a purchase count without adding your own spares for bent screws and split ends.
Quick reference: common deck sizes
Counts for common decks at 5.5 in boards, a 0.25 in gap and 16 in joist spacing, computed by the same function as the calculator:
| Deck | Length | Width | Boards | Joists | Screws |
|---|---|---|---|---|---|
| Small deck | 10 ft | 8 ft | 17 | 8 | 272 |
| Medium deck | 12 ft | 10 ft | 21 | 10 | 420 |
| Family deck | 16 ft | 12 ft | 26 | 13 | 676 |
| Large deck | 20 ft | 16 ft | 34 | 16 | 1088 |
| Long deck | 24 ft | 12 ft | 26 | 19 | 988 |
Exact counts with no waste allowance — add your own spares on top.
Common questions
Which way do the boards run in this calculator?
Along the length you enter. Each row of boards covers one board width plus one gap across the width, and the count rounds up to whole boards. If your deck lays boards across the short side instead, swap the length and width you enter — the board count follows the direction you choose.
Why does the screw count use 2 per crossing?
That is the stated assumption of this calculator: two screws where each board crosses each joist. Hidden fastener systems, one-screw fixing or wider boards change the count — the result shows the assumption so you can scale it: halve it for one fixing per crossing, or use your fastener maker's count per board.
Is any waste or breakage allowance included?
No. The counts are the exact geometric counts for a perfect rectangle with no cuts, defects or spares. Most builders add their own allowance on top — how much is your call based on board quality and how many angled cuts your layout needs; this page deliberately does not hide a percentage inside the numbers.
Does this include posts, beams or footings?
No. It counts only the deck surface boards, the joists under them at your spacing, and the screws fixing boards to joists. Rim boards, beams, posts, footings, stairs and railing are separate lists that depend on your design and ground conditions.