Audited 27 Jul 2026·Last updated 28 Oct 2026·5 citations·Tier 1·0 uses

Deck Board Calculator

Count the deck boards, lineal feet, screws and board cost for a rectangular deck from its size, board width, gap, stock length, joist spacing and waste.

Deck Board Calculator

Number of board courses
26
Rows of boards needed to cover the deck width, rounded up to a whole course.
Deck surface area
192
Board module width (board + gap)
5.75
Total lineal feet before waste
416
Boards to buy
29
Estimated fastener count
676
Estimated deck board cost
696.00

Background.

A 16-by-12-foot deck has 192 square feet of surface, but nobody sells decking by the square foot. You buy boards of a fixed length, lay them side by side with a gap between each, and screw them down wherever they cross a joist. The order depends on how many rows of boards fit across the deck, how many feet of board those rows add up to, and how many stock lengths cover that with a margin for offcuts and the odd bad board.

With 5.5-inch boards and a quarter-inch gap, each row takes 5.75 inches of the deck's width. Twelve feet is 144 inches, and 144 ÷ 5.75 = 25.04, so the deck needs 26 rows, called courses, each 16 feet long: 416 lineal feet. Allow 10% for waste and that comes to 29 boards in 16-foot lengths, or $696 at $24 a board. Two screws at each of the 13 joists every course crosses add up to 676 fasteners.

Small choices move those numbers more than you might expect. Lay the same boards tight together and the deck needs 27 courses; open the gap to 3/8 inch and it needs 25. Turn the boards to run the 12-foot way and there are 34 shorter courses, each leaving a 4-foot offcut if you cut it from a 16-foot board. Set the joists 12 inches apart instead of 16 and the screw count rises to 884. Trying a few combinations before ordering is cheaper than a second trip to the lumber yard, or a pile of unused boards.

What is deck board calculator?

A deck board estimate turns the plan of a rectangular deck into a purchase list for its walking surface. A course is one row of boards running the length of the deck. The module is the width each course takes up, board plus gap. Lineal feet is the total length of board needed, whatever its width, and the stock length is the length boards are sold in, usually even numbers of feet for lumber. Board width means the actual width: a nominal 2×6 measures 1.5 by 5.5 inches, and 5/4×6 decking is also 5.5 inches wide. The estimate covers decking only. Joists, beams, posts, footings, ledger attachment, guards and stairs are structural, and the American Wood Council's DCA 6 guide sets out prescriptive rules for building them under the International Residential Code.

How to use this calculator.

  1. Enter the Deck length in the direction the boards will run, in feet (16.5 for 16 ft 6 in). On a deck built off a ledger, the joists usually run out from the house, so the boards run parallel to the wall and this is the side along the house.
  2. Enter the Deck width, the dimension across the courses.
  3. Enter the Board actual width as measured, not the nominal size, and the Gap between boards. Composite makers specify their own gap; wet pressure-treated boards shrink as they dry, so they are often laid with little or no gap.
  4. Enter the Board stock length you will buy and a Waste allowance. Ten percent suits a straight layout; raise it for diagonal boards, borders or many short courses.
  5. Enter the Joist spacing on centre and the Fasteners per board per joist crossing: two face screws is the usual pattern, while hidden clip systems follow their maker's count.
  6. Enter the Price per deck board for the stock length chosen, then read the courses, lineal feet, boards to buy, fasteners and cost.

The formula.

Boards = ⌈ ⌈W ⁄ m⌉ × L × (1 + w) ⁄ Lₛ ⌉

The module comes first: m = (board width + gap) ÷ 12, in feet. The number of courses is the deck width divided by the module, rounded up, N = ⌈W ÷ m⌉, because a part course still needs a board, even if it is ripped narrower. Lineal feet is N × L, where L is the deck length the boards run along. Waste is added to that length, lineal feet × (1 + w), and the result is divided by the stock length and rounded up to whole boards: Boards = ⌈N × L × (1 + w) ÷ Lₛ⌉. Cost is the number of boards times the price of one.

Fasteners are counted at joist crossings. A course of length L crosses ⌈L ÷ s⌉ + 1 joists, where s is the joist spacing in feet: one joist at the start, one every s, and one at the far end. When the length is not an exact multiple of the spacing, the last bay is shorter but the far rim joist still takes its screws, so the count rounds up: a 15-foot deck at 16-inch spacing has 13 crossings per course, not 12, and 26 courses at 2 screws each give 676 screws. Multiply the crossings by the number of courses and by the fasteners at each crossing.

Three simplifications are worth knowing. The module counts a gap after every board, including the last, so a width that comes out just over a whole number of courses gets an extra course that may only need to cover a fraction of an inch. The board count pools all the length together, as if offcuts will be joined end to end over joists; if every course must be one unbroken board, you need at least one board of sufficient length per course, which can be more. And the fastener count has nothing extra for butt joints, borders, fascia or stairs.

The deck is treated as a plain rectangle with straight courses running across the joists. Diagonal and herringbone layouts, picture-frame borders, breaker boards, curves and cut-outs around posts all need a separate allowance.

A worked example.

Example

Take the default deck: 16 feet long in the direction the boards run, 12 feet wide, with 5.5-inch boards, quarter-inch gaps, 16-foot stock, 10% waste, joists at 16 inches and two screws per crossing. Each course takes 5.5 + 0.25 = 5.75 inches. The 12-foot width is 144 inches, and 144 ÷ 5.75 = 25.04, which rounds up to 26 board courses. At 16 feet each that is 26 × 16 = 416 lineal feet, or 416 × 1.10 = 457.6 feet with waste. Divided by 16-foot boards, 457.6 ÷ 16 = 28.6, so you buy 29 boards, costing 29 × $24 = $696. The surface area is 16 × 12 = 192 square feet. For fasteners, a 16-foot course is 192 inches, which holds 192 ÷ 16 = 12 joist spaces and therefore 13 joists. The screw count is 26 × 13 × 2 = 676. Of the 29 boards, 26 are one per course and the other 3 are the waste allowance. The 26th course is a borderline case: 25 boards with 24 gaps cover 143.5 inches, just half an inch short of 12 feet.

gap In0.25
joist Spacing In16
fasteners Per Crossing2
board Width In5.5
price Per Board24
deck Length Ft16
waste Percent10
deck Width Ft12
stock Board Length Ft16

Frequently asked questions.

Why does the gap between boards change how many I need?
Because the gap takes up deck width just as the boards do. On a 12-foot deck with 5.5-inch boards, butting them tight gives a 5.5-inch module and 27 courses; an eighth-inch or quarter-inch gap gives 26; a 3/8-inch gap gives 25. Each course is a full 16-foot board here, so the gap you choose moves the order by a board or two and the screw count by 26 for every course added or removed.
Which way should the boards run, and does it change the order?
Boards normally run across the joists, so the joist layout decides the direction. On the default deck, boards running the 16-foot way need 26 courses and 416 lineal feet; running the 12-foot way they need 34 courses and 408 lineal feet, with 680 screws instead of 676. The lineal footage barely changes, but cutting 12-foot courses from 16-foot boards leaves a 4-foot offcut every time, so 12-foot stock would suit that layout better.
Does the board count assume I'll join offcuts together?
Yes. It divides the total length by the stock length, as though every offcut can be joined to another over a joist. For a 10-foot deck built from 16-foot boards it asks for 18 boards, which works only if 6-foot offcuts are pieced into courses with butt joints. If you want each course to be one unbroken board, you need one board per course, 26 here, or a stock length that divides evenly, such as 20-foot boards cut in half.
What stock length should I buy?
One that matches the course length or divides into it with little left over. A 20-foot-long deck with 16-foot boards needs 36 boards, because each course is a full board plus a 4-foot piece, with butt joints that must land on a joist and should be staggered from course to course. The same deck with 20-foot boards needs 29, each course a single length. Longer boards cost more each, so compare the totals, not the board price.
What happens at the last course?
The width rarely divides into whole courses, so the last board is usually ripped narrower. When the division comes out only just over a whole number, as with 25.04 courses on the default deck, the extra course exists to cover a sliver: 25 boards with 24 gaps reach 143.5 inches of the 144. Builders in that position often let the outer board overhang the frame slightly or adjust the gaps rather than rip a narrow strip, which saves a board and a row of screws.
How much extra decking should I order for offcuts and bad boards?
The default 10% covers trimming board ends square, cutting around the odd split or warped board and the offcuts of a straight layout. Raise it for diagonal decking, where every course ends in an angled cut, for picture-frame borders, for decks with many short courses, or if you plan to sort boards for colour and grain. Because boards are rounded up whole, small changes may not show: 15% on the default deck asks for 30 boards rather than 29.
What does the fastener count leave out?
It counts one set of fasteners wherever a course crosses a joist, 13 crossings per 16-foot course at 16-inch spacing. A butt joint puts two board ends on one joist, and each end needs its own screws, so joints add to the total. Borders, fascia and stair treads are not counted at all. Many hidden clip systems use about one clip per board at each joist; if yours does, enter 1 per crossing, which gives 338 on the default deck, and check the maker's figure.
Does joist spacing matter beyond the screw count?
Yes, because every decking board has a maximum span between supports. Thinner boards such as 5/4 decking need joists closer together than 2-inch lumber, diagonal layouts need closer spacing than square ones because each board spans further between joists, and composite boards carry the maker's own limits. In the calculator, tighter spacing only raises fasteners, from 676 at 16 inches to 884 at 12 inches on the default deck, but check the rated span before choosing a board.
How do I add a picture-frame border?
Estimate it separately. One row of border around a 16-by-12 deck is 2 × 16 + 2 × 12 = 56 lineal feet; with 10% waste that is 61.6 feet, or four 16-foot boards. The field inside the frame shrinks by twice the width of a border course on each dimension, so run the calculator again with the reduced length and width. Mitred corners and the extra blocking a border needs are part of the framing, not the decking estimate.
What does the cost figure include?
Only deck boards: the boards to buy multiplied by the price you enter per board, $696 for the default deck. Screws or clips, joists and beams, posts and footings, fascia, railings, stairs, sealer, tax and delivery are all extra. Prices are usually quoted per board of a given length or per lineal foot; to use a per-foot price, multiply it by the stock length before entering it.

How this page was produced

Published by
Quanta Calculator
Primary sources
5 cited below
Method
Boards = ⌈ ⌈W ⁄ m⌉ × L × (1 + w) ⁄ Lₛ ⌉
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon