Deck Board Calculator

Find how many deck boards, linear feet, screws or hidden clips your deck needs. Enter the size, board width, gap and board length; waste is included.

Deck length
Deck width

Measure to the outside of the frame, and add any overhang past the rim or fascia.

Deck boards run across the joists, usually parallel to the house.
The actual width: 5 ½ in for a 2×6 or 5/4×6, 3 ½ in for a 2×4.
Kiln-dried wood: about ⅛–¼ in. Wet pressure-treated boards shrink, so many builders lay them tight or at ⅛ in.
Best fit: the fewest butt joints, then the least offcut.
16 in is typical. Check local code; it sets the maximum for your board thickness.
10% for straight runs; 15% or more for diagonal decking or borders.

Result

Deck boards to buy29 boards16-ft boards (best fit), 10% waste included
Rows of boards26 rowsOne 16-ft board per row.
Linear footage464 linear ft26 boards before waste; 416 linear ft laid on the deck.
Deck area192 sq ft
Joists13 joists16 in on center, end joists included.
Face screwsAbout 6762 per board at every joist. Buy a few extra.
Or hidden clipsAbout 3381 per board at every joist. Follow the clip maker's count and starter clips.
Boards to buy by length
  • 8-ft 58 boards · 464 linear ft · 26 joints
  • 10-ft 58 boards · 580 linear ft · 26 joints
  • 12-ft 39 boards · 468 linear ft · 26 joints
  • 16-ft Best fit29 boards · 464 linear ft
  • 20-ft 29 boards · 580 linear ft

How to calculate deck boards

Deck boards are counted in rows. Each row covers the width of one board plus one gap, so the number of rows depends on the distance across the boards, and the boards in each row depend on the distance along them (the run) and the length you buy.

  • Rows = distance across the boards (in) ÷ (board width + gap), rounded up
  • Boards = rows × boards per row
  • Boards to buy = boards × (1 + waste % ÷ 100), rounded up
  • Linear feet = boards to buy × board length

The last row is usually ripped (cut lengthwise) to fit, so it counts as a whole board. Use the actual width of the board, not its name: a 2×6 and a 5/4×6 deck board are both 5 ½ inches wide, and a 2×4 is 3 ½ inches. Measure the deck to the outside of the frame and add any overhang past the rim joist or fascia.

Boards per row. When the run is no longer than a board, each row takes one board, and a board at least twice as long as the run gives two rows. When the run is longer than a board, the row needs a butt joint over a joist. The calculator fills each row with full boards plus one shorter piece and cuts as many short pieces from a board as fit, so a 20-foot run with 16-foot boards takes one board and a quarter per row (four 4-foot pieces come from one board). The best-fit suggestion picks the length with the fewest butt joints, and then the least offcut.

Diagonal decking. On a 45° layout every row is a different length, so the calculator works from area instead: linear feet = deck area × 12 ÷ (board width + gap), and boards = linear feet ÷ board length. It assumes offcuts from the long middle rows fill the short corner rows, and the default waste rises to 15 percent to cover the angled cuts. It suggests the shortest board that spans the longest row without a joint.

Joists and fasteners. Joists = run (in) ÷ joist spacing, rounded up, plus one for the end joist. Every board crosses every joist, and each crossing takes two face screws or about one hidden clip. A butt joint puts two board ends on the joist, so it adds another two screws.

Example: a 12 × 16 ft deck

A deck 16 feet along the house and 12 feet out, with 5/4×6 boards running the 16-foot way, 3/16-inch gaps, 16-foot boards, joists 16 inches on center and 10 percent waste:

  1. Board plus gap: 5.5 + 0.1875 = 5.6875 in.
  2. Rows: 12 ft = 144 in, and 144 ÷ 5.6875 = 25.32, so 26 rows.
  3. Boards: one 16-foot board per row, so 26 boards (416 linear feet on the deck).
  4. With waste: 26 × 1.10 = 28.6, so 29 boards, or 464 linear feet.
  5. Joists: 192 in ÷ 16 = 12 spaces, so 13 joists.
  6. Fasteners: 26 × 13 × 2 = 676 face screws, or about 338 hidden clips.

With 12-foot boards each row is a 12-foot board plus a 4-foot piece, and one board gives three pieces: 26 + 9 = 35 boards, 39 with waste, and 26 butt joints to support. The 16-foot boards are the better buy.

Laid diagonally on joists 12 inches apart with 15 percent waste, the same deck has 42 rows and about 405.1 linear feet of board. The longest row is 16.97 feet, so the calculator suggests 20-foot boards: 25 of them.

Deck boards for common deck sizes

5 ½-inch boards (2×6 or 5/4×6) with 3/16-inch gaps, running the long way, 10 percent waste included:

Deck sizeAreaRows12-ft boards16-ft boardsBest fit
10 × 10 ft100 sq ft22252525 × 10 ft
12 × 12 ft144 sq ft26292929 × 12 ft
12 × 16 ft192 sq ft26392929 × 16 ft
16 × 16 ft256 sq ft34513838 × 16 ft
16 × 20 ft320 sq ft34754838 × 20 ft
20 × 20 ft400 sq ft43956048 × 20 ft

The 10 × 10 and 12 × 12 decks take the same number of 12- and 16-foot boards, but the 16-foot boards leave a long offcut on every row. For a quick estimate by area, use linear feet per 100 square feet (no waste added):

Board and gapLinear ft per 100 sq ft12-ft boards per 100 sq ft16-ft boards per 100 sq ft
5 ½ in, no gap218.218.213.6
5 ½ in, ⅛ in gap213.317.813.3
5 ½ in, 3/16 in gap21117.613.2
5 ½ in, ¼ in gap208.717.413
3 ½ in, 3/16 in gap325.427.120.3

Deck screws and hidden clips

The same decks with 16-foot boards and joists 16 inches on center, end joists included:

Deck sizeJoistsRowsButt jointsFace screwsHidden clips
10 × 10 ft9220396198
12 × 12 ft10260520260
12 × 16 ft13260676338
16 × 16 ft13340884442
16 × 20 ft1634341,156578
20 × 20 ft1643431,462731

Choose screws long enough to reach about 1 ½ inches into the joist: 2 ½ inches for 5/4 boards (1 inch thick) and 3 inches for 2× boards (1 ½ inches thick). Use screws rated for treated lumber, coated or stainless, because the copper in pressure-treated wood corrodes plain steel. Screws are sold by count or by the pound, and the count per pound changes with length and gauge, so check the label before you convert. Hidden-clip systems come with their own coverage figures and starter clips; follow the maker's numbers when they differ.

Which way deck boards run, and joist spacing

Deck boards always run across the joists. On a deck built off a ledger, the joists run out from the house, so the boards run parallel to it; that is the "along the length" setting when the length is the side against the house. Boards laid at 45° take more cuts, more waste and closer joists.

Joist spacing sets how stiff the floor feels and is limited by code. The International Residential Code, which most US jurisdictions adopt with local changes, lists maximum joist spacing for decking in Table R507.7 of its 2018 and 2021 editions: 1 ¼-inch-thick wood (5/4 deck boards) may span 16 inches with boards square to the joists and 12 inches on a diagonal, and 2-inch-thick wood (2×6) 24 inches and 16 inches. Composite decking follows the span on its manufacturer's label. Most builders use 16 inches on center for straight runs and 12 inches for diagonals; check your local code and the decking instructions before you frame.

The joist count here includes both end joists. It does not include doubled joists or blocking at butt joints, beams, stair stringers or the ledger.

Gapping pressure-treated and composite decking

Side gaps let water drain, leaves fall through and air dry the boards.

  • Wet pressure-treated lumber often comes from the yard still damp from treatment and shrinks in width as it dries. Many builders lay it tight or with a ⅛-inch gap and let the gap open up over the first season.
  • Dry wood, such as pressure-treated lumber stamped KDAT (kiln-dried after treatment), is already near its final size, so gap it at installation, about ⅛ to ¼ inch.
  • Composite and PVC boards grow and shrink in length with temperature more than wood does. Manufacturers specify the side gap, the end gap between boards and the gap at the house, often with a chart by installation temperature, and their hidden clips set the side gap. Follow the install guide, because the warranty can depend on it.

Tips for ordering deck boards

  • Match the board to the run. A 16-foot run with 16-foot boards needs no joints at all. If the run is longer than your longest board, plan where the joints go before you order.
  • Stagger the butt joints. Do not line up joints on the same joist in neighboring rows. Many builders double the joist or add blocking at each joint so both board ends get full bearing, and many composite makers require it.
  • Count the extras separately. Picture-frame borders, fascia, stair treads and railing caps are not in this count. Add them by length, and raise the waste for mitered borders.
  • Buy a few spares. Some boards will be crooked, split or badly checked. The waste allowance covers them, but keep the leftovers for repairs.
  • Pricing by the board foot. Some lumberyards quote decking by the board foot instead of by the piece; the board foot calculator converts your board count.

Frequently asked questions

How do I calculate how many deck boards I need?

Divide the distance across the boards by the board width plus the gap, and round up to get the rows. Multiply the rows by the boards each row takes, then add 10 percent for waste. With 5 ½-inch boards and 3/16-inch gaps, a 12-foot span is 144 ÷ 5.6875 = 25.3, so 26 rows.

How many deck boards do I need for a 12×16 deck?

About 29 boards 16 feet long, if they run the 16-foot way. That is 26 rows of 5 ½-inch boards with 3/16-inch gaps, plus 10 percent waste. With 12-foot boards every row needs a 4-foot piece to finish it, which brings the order to about 39 boards.

How many screws do I need for decking?

Two face screws per board at every joist, plus two more at each butt joint. A 12×16 deck with 26 rows over 13 joists at 16 inches on center takes 26 × 13 × 2 = 676 screws, about 3 ½ per square foot. With hidden clips it is about one clip per board per joist, or 338.

How much gap should be between deck boards?

About ⅛ to ¼ inch for kiln-dried wood, so water drains and leaves fall through. Pressure-treated lumber that is still wet from treatment shrinks as it dries, so many builders lay it tight or at ⅛ inch. Composite boards need the gap their manufacturer specifies, which hidden clips usually set for you.

Does this work as a composite decking calculator?

Yes. Choose Composite, check the board width on the product's spec sheet, and set the gap and joist spacing the manufacturer calls for. Most composite deck boards are about 5 ½ inches wide and come in 12-, 16- and 20-foot lengths.

How much extra decking should I buy?

About 10 percent for boards that run straight, and 15 percent or more for diagonal decking, picture-frame borders or decks with many corners and cutouts. The extra covers ends trimmed square, splits, crooked boards and offcuts too short to use.

Last updated October 17, 2026.

Board Foot Calculator
Board feet, cost and waste for a list of boards, hardwood or softwood.
How to Read a Tape Measure
Tap any mark on an interactive tape to see its fraction, decimal and mm.
Raised Bed Soil Calculator
Soil for any raised bed in cubic feet, cubic yards and bags.
Fraction to Decimal Chart (Inches)
Every 64th of an inch as a decimal and in mm, with a two-way converter.