BOARDFOOTLY TOOL
Deck Board Calculator
Enter your deck size and this free deck board calculator tells you how many boards, joists, and screws to buy — with a least-waste stock comparison and a diagonal-layout mode. Order the boards once, and order the right number.
Free. No sign-up. Nothing leaves this page.
Your deck
Boards run along the length, joists run across the width. If your deck is framed the other way round, swap the two numbers.
Layout
Boards and spacing
How the board count is calculated
Five steps, straight layout — the formulas below are the ones decking calculators publish (see yardbuildtools, whose worked example this page reproduces):
Rows = ceiling((deck width + gap) / (board width + gap))
Pieces per row = ceiling(deck length / stock length)
Boards = rows x pieces per row x (1 + waste %)
Joists = ceiling(deck length / joist spacing) + 1
Screws = 2 x rows x joists
The gap is added to the board width because each row covers its board plus its gap — only the last row has no gap after it, which is why the deck width gets one gap added too. Joists get a +1 for the starting joist at the edge of the deck. Screws are two per board at every joist the board crosses, the standard fixing for deck boards. Diagonal mode works row by row at 45 degrees instead: each row is clipped to the deck edges, so rows near the corners are short and the longest row is the deck diagonal. Joists close up to 12 in on center — the spacing Trex and TimberTech specify for diagonal decking — and waste rises to at least 15%, because angled end cuts leave triangles you cannot reuse.
Worked example: a 16 x 12 ft deck with 5.5 in boards, a 1/8 in gap, 16 ft stock, and 10% waste. Rows = ceiling((144 + 0.125) / 5.625) = ceiling(25.62) = 26 rows. Pieces per row = ceiling(16 / 16) = 1. Boards = 26 x 1 x 1.10 = 28.6, rounded up to 29 boards. Joists = ceiling(192 / 16) + 1 = 13 joists. Screws = 2 x 26 x 13 = 676 screws. Deck area is 192 sq ft, joist lumber is 13 joists x 12 ft = 156 linear ft, and rim joists run the perimeter, 2 x (16 + 12) = 56 linear ft.
Which way the boards run
A deck has two directions, and they are set by each other. The joists are the frame underneath; the deck boards run across them, at right angles. On most decks the boards run parallel to the house, because the joists then run out from the house and the board length matches the deck length — a 16-foot deck takes 16-foot boards with no butt joint at all. If the boards ran the other way, every row would need a joint, and every joint is a place where water sits and a board end can lift. The calculator assumes boards run along the deck length and joists run across the width, which is the usual build. If your deck is framed the other way round, swap the two numbers: enter the dimension the boards run along as the length.
The gap between boards is small and it does a lot of work. It lets rain through instead of pooling on the surface, it gives each board room to swell in wet weather and shrink in dry weather, and it is what keeps a deck from buckling in a damp summer. A 1/8-inch gap is the usual figure for pressure-treated wood, which is often installed nearly tight when it is still wet from the yard and opens up as it dries. Composite boards move less with moisture but more with heat, and most makers ask for 3/16 to 1/4 inch — check the installation guide for the exact board you are buying, because the maker’s number is the one the warranty follows. The gap also changes the count: the calculator adds the gap to the board width before dividing, so a wider gap means slightly fewer boards across the same width.
Stock length is where money is won or lost. A deck board is sold by the foot, and every butt joint throws away the offcut between the end of the last piece and the end of the stock board. When the stock length divides the deck length evenly, there is no offcut at all: a 16-foot deck takes 16-foot boards, or two 8-foot boards, with nothing left over. A 10-foot board on the same deck leaves a 4-foot offcut on every row. The comparison table in the results shows this for your deck, so you can see whether the cheaper length per foot is actually cheaper once the offcuts are counted. Waste is the second allowance: 10% covers butt joints, a board with a bad knot or a twist, and a cut measured once instead of twice. Raise it to 15% for a deck with angles, a picture-frame border, or boards that arrive less than straight.
A diagonal layout turns the boards 45 degrees to the joists, and it changes the frame as well as the board count. Because a board at 45 degrees spans further between two joists than a board at right angles, the joists must close up to 12 inches on center — the spacing decking makers including Trex specify for diagonal work — against 16 inches for a straight lay. The board count rises for a different reason: every row is a different length, from a short corner piece to the full diagonal of the deck, and the angled end cuts leave triangles that cannot be reused. Allow 15% waste instead of 10%, and expect roughly 40% more boards overall: for the 16 by 12 foot deck in the worked example, a published angled-layout calculator counts 41 boards against 29 laid straight. The diagonal mode above works this out row by row for your deck, using the same 12-inch joist spacing and 15% waste.
Screws are counted two per board at every joist the board crosses, which is the standard fixing for deck boards — one screw each side of the board’s centerline, so the board cannot cup or twist. Hidden clips use the same count of fixing points, so the number is a fair guide for clips too. The joist count comes from the length the joists are spaced along, divided by the spacing, plus one for the starting joist. Rim joists run around the outside of the frame, so their length is the deck perimeter. None of these counts covers posts, beams, or footings, which depend on the span tables for your joist size and your local code — the American Wood Council’s DCA 6 guide is the reference most inspectors work from. Treat every figure on this page as a planning estimate: confirm the final order with your supplier, and measure the frame again once it is built, because a frame that is half an inch out changes the last row.
Frequently asked questions
How many boards for a 12 x 12 deck?
A 12 x 12 ft deck with 5.5 in boards, a 1/8 in gap, 16 ft stock, and 10% waste needs 26 rows and 29 boards, with 10 joists at 16 in on center and 520 screws. The board count matches the 16 x 12 deck because the width — the side the rows are counted across — is the same 12 ft.
Which way do deck boards run?
Deck boards run at right angles to the joists, usually parallel to the house, so the board length matches the deck length and each row needs no butt joint. If your joists run the other way, swap the length and width in the calculator.
What gap between deck boards?
Use 1/8 in for pressure-treated wood, which is often installed nearly tight while wet and opens up as it dries. Most composite makers ask for 3/16 to 1/4 in. Check the installation guide for your exact board — the maker’s number is the one the warranty follows.
How many screws per board?
Two screws per board at every joist the board crosses — one each side of the board’s centerline. A 16 x 12 ft deck with 26 rows and 13 joists takes 2 x 26 x 13 = 676 screws. Hidden clips use the same count of fixing points.
What is the least-waste stock length?
The stock length that divides your deck length evenly, so no offcut is left on any row. For a 16 ft deck that is 16 ft stock — or 8 ft stock, two pieces per row with zero offcut. The comparison table in the results shows every stock length for your deck, with the least-waste lengths marked.
Keep calculating: Board foot calculator · Plywood calculator · Lumber cost calculator
