Skip to content
Yardwork

Deck Calculator

Free deck board calculator: enter the deck size, the actual board width and gap, and the board length to see how many decking boards to buy.

  • Updated October 2026

How big is your deck?

Common deck sizes

More optionsFeet · boards along the length · 5‑1/2 in boards, 3/16 in gaps · 10% extra
Deck and boards in
Boards run along
Board width and gap in

Measure it; not the nominal size.

From the board maker's instructions.

Also called the waste allowance.

Jump to the full result: Boards to buy29 boards26 rows457.6 linear ft

Buy

29boards

16 ft long, with 10% extra.

Rows of boards

26

1 board per row

Linear feet

416 ft

457.6 ft with the extra

The last row would be a narrow strip. Many builders rip the first and last boards to similar widths instead.

Decking boards only. Framing, fasteners, stairs, and railings are not included.

See the math
If no offcuts are reused
26 boards
Last row width
1-13/16 in
Deck area
192 ft²

Shopping list

As an Amazon Associate I earn from qualifying purchases.

You may also need

Links open Amazon search results. Check each product's label for coverage or yield before buying; quantities above come from your inputs.

See top picks: Circular saws →

AnswerA 16 × 12 ft deck with 5-1/2 in boards and 3/16 in gaps needs 26 rows of boards (416 linear ft), so buy 29 boards 16 ft long, with 10% extra.

16 × 12 ft · 26 rows
Top view: board rows and gaps to scale; ripped last row in gray, butt joints dashed

How to use this deck calculator

  1. Enter the deck's length and width, and the length of the boards you plan to buy.
  2. Under More options, choose which direction the boards run and enter the real board width, measured with a tape. Nominal sizes are larger than real ones: the softwood lumber standard lists a nominal 6 in width at 5-1/2 in dressed.
  3. Enter the gap between boards from the board manufacturer's installation instructions.
  4. Set a waste allowance for end trims, cuts, and boards you reject.

How to calculate deck boards: the formula, shown

Decking is laid in rows. Each row is one board wide plus one gap, except the last row, which has no gap after it. The number of rows is the smallest whole number n where n × board width + (n − 1) × gap covers the deck. Each row is as long as the deck dimension the boards run along. The total length of all rows, plus an allowance, divided by the board length gives the boards to buy.

Default example. A 16 ft × 12 ft deck with boards running the 16 ft length, 5-1/2 in boards, 3/16 in gaps, 16 ft boards, and a 10% allowance. Trex lists its square-edge boards at 5.5 in wide with a minimum 3/16 in side-to-side gap. Your boards and gap may differ. Change the inputs above and the result panel recalculates; this worked example always shows the default.

Default example arithmetic
Across      = 12 ft × 12 = 144 in
Rows        = (144 + 0.1875) ÷ (5.5 + 0.1875) = 25.3516 → 26 rows
Last row    = 144 − 25 × 5.6875 = 1.8125 in wide (ripped)
Linear feet = 26 rows × 16 ft = 416 ft
Allowance   = 416 × (1 + 10/100) = 457.6 ft
Boards      = 457.6 ft ÷ 16 ft = 28.6 → 29 boards

In this example the last row is only 1.81 in wide. A small change to the gap or to the overhang at each edge, or ripping the first and last boards to similar widths, gives a neater finish.

Top view of a 16 × 12 ft deck showing its 26 rows of decking boards and the gaps between them drawn to scale
The default example deck from above, with the board rows and gaps drawn to scale.

Deck boards for common deck sizes

Decking for common deck sizes, computed with the same formula as the calculator. Boards run along the first dimension, 5-1/2 in actual board width, 3/16 in gaps, 16 ft boards, and a 10% allowance. Different boards or gaps change the counts.

Deck boards for common deck sizes
DeckRowsLinear feet16 ft boardsNo offcut reuse
10 × 10 ft222201622
12 × 12 ft263122226
16 × 12 ft264162926
16 × 16 ft345443834
20 × 12 ft265203652
20 × 16 ft346804768
24 × 16 ft348165768

Quick answers: how many deck boards for common decks

Each answer is computed with the same formula as the calculator, using its default settings unless the question says otherwise.

How many 10 ft deck boards for a 10x10 deck?

A 10 × 10 ft deck with boards running lengthwise takes 22 rows of 5-1/2 in boards with 3/16 in gaps (220 linear ft), so buy 25 boards 10 ft long, including a 10% allowance.

How many 12 ft deck boards for a 12x12 deck?

A 12 × 12 ft deck with boards running lengthwise takes 26 rows of 5-1/2 in boards with 3/16 in gaps (312 linear ft), so buy 29 boards 12 ft long, including a 10% allowance.

How many 16 ft deck boards for a 16x20 deck?

A 16 × 20 ft deck with boards running lengthwise takes 43 rows of 5-1/2 in boards with 3/16 in gaps (688 linear ft), so buy 48 boards 16 ft long, including a 10% allowance.

How many 20 ft deck boards for a 20x12 deck?

A 20 × 12 ft deck with boards running lengthwise takes 26 rows of 5-1/2 in boards with 3/16 in gaps (520 linear ft), so buy 29 boards 20 ft long, including a 10% allowance.

More questions (4)

How many 12 ft deck boards for a 24x12 deck?

A 24 × 12 ft deck with boards running lengthwise takes 26 rows of 5-1/2 in boards with 3/16 in gaps (624 linear ft), so buy 58 boards 12 ft long, including a 10% allowance.

How many linear feet of decking for a 14x20 deck?

A 14 × 20 ft deck with 5-1/2 in boards running lengthwise and 3/16 in gaps needs 43 rows, or 602 linear ft of decking (662.2 with a 10% allowance), which is 42 boards 16 ft long.

How many linear feet of decking for a 20x24 deck?

A 20 × 24 ft deck with 5-1/2 in boards running lengthwise and 3/16 in gaps needs 51 rows, or 1,020 linear ft of decking (1,122 with a 10% allowance), which is 71 boards 16 ft long.

How many deck boards for a 16x14 deck with 1/4 inch gaps?

A 16 × 14 ft deck with boards running lengthwise takes 30 rows of 5-1/2 in boards with 1/4 in gaps (480 linear ft), so buy 33 boards 16 ft long, including a 10% allowance.

How many deck boards do I need to order?

For the default deck, buy 29 boards of 16 ft. With no offcut reuse at all, the layout itself needs 26.

  • Cutting assumptions: the board count is based on total linear feet plus your allowance. That assumes offcuts from one row can be used in another. If the deck is longer than your boards, each row needs a butt joint, and the “no offcuts reused” figure shows the count if every row uses fresh boards.
  • Choosing board length: boards that match the run (or divide evenly into it) waste the least. Joints must land on framing, so plan them with your joist layout.
  • Not included: joists, beams, posts, footings, fasteners, fascia, stairs, and railings. Framing sizes and spans depend on loads and local code, which need proper design inputs. This calculator doesn't estimate them; see deck joist spacing and spans for the published spacing and span tables. For the screws and the drill to drive them, DEWALT vs Milwaukee drill/driver kits compared works out the screw count for this example deck.
  • Picture-frame borders and angled layouts use more material. Raise the allowance, or calculate border boards separately.

Tips for planning decking

  • Measure several boards. Composite and wood boards can differ slightly from their listed width.
  • Check the manufacturer's gap rules for both side-to-side and end-to-end gaps. Some depend on temperature at installation.
  • Footings for a ground-level deck often use bagged concrete. Size them with the concrete calculator.
  • For an L-shaped deck, split it into rectangles that share the same board direction and add the board counts.
  • To cut boards to length and rip a narrow last row, compare saws in the cordless circular saws for decking buying guide.

Deck calculator FAQ

How many deck boards do I need?

Work out how many rows of boards cover the deck: divide the deck width plus one gap by the board width plus one gap, and round up. Multiply the rows by the deck length to get linear feet, add an allowance, and divide by the board length. Round up to whole boards.

How many deck boards for a 12 x 16 deck?

With boards running the 16 ft length, 5.5 in boards, 3/16 in gaps, and 16 ft boards, the deck takes 26 rows and 416 linear feet. With a 10% allowance that is 29 boards. Different board widths or gaps change the count.

Should I use the nominal or the actual board width?

Always the actual width. Nominal sizes are larger than the finished board. The American Softwood Lumber Standard lists a nominal 6 in width at 5-1/2 in dressed, and composite boards state their own actual dimensions.

How big should the gap between deck boards be?

Follow the board manufacturer's instructions. For example, Trex states a minimum side-to-side gap of 3/16 in for its decking, and recommends more for docks and heavily wooded areas. Other products differ.

More questions (4)

How much extra decking should I buy?

It depends on the layout, the board lengths, and how many cuts you make. The calculator defaults to a 10% allowance as an adjustable example. Use more for diagonal layouts, borders, or when board length doesn't divide evenly into the deck.

Why are there two board counts?

The main count assumes offcuts can be used in other rows, so it is based on total linear feet plus the allowance. The 'no offcuts reused' figure is rows × boards per row. It is the most you would need if every row started with fresh boards.

Does the calculator include joists, beams, or footings?

No. Framing depends on spans, loads, wood species or product, and local code. Those need design inputs this calculator doesn't collect. Use your plans, a span table from an authoritative source, or a qualified professional.

Can I use metric measurements?

Yes. Enter the deck and board length in meters, and the board width and gap in millimeters. The calculator converts everything to the same unit before working out rows.

Calculators

  • Concrete Calculator — Slab volume in cubic feet, cubic yards, and cubic meters, with ready-mix order size and bag counts for documented products.
  • Paint Calculator — Gallons or liters of paint for your walls and number of coats, using the coverage printed on your paint's label.
  • Roof Pitch Calculator — Pitch as x/12, roof angle in degrees, slope percentage, and the sloped length for a given horizontal run.
  • Stair Calculator — Number of risers and treads, exact riser height, total run, stair angle, and stringer length from floor-to-floor rise.
  • Board Foot Calculator — Board feet per piece and in total from thickness, width, length, and quantity, with optional cost at your price per board foot.

Guides

Buying guides

Sources