1. Home
  2. Roofing, Decks & Lumber
  3. Decking Calculator
Roofing, Decks & Lumber

Decking Calculator

Enter the deck size, the board width and the gap. You get the rows of decking, the boards to buy in your chosen length, the joists and the screws.

  • No sign-up
  • No personal info
  • Imperial & metric
  • Formulas shown
Decking Calculator illustration

Your project

Quick start

Framing and cost

Result

Quick answer

Rows of decking = (deck width + gap) ÷ (board width + gap), rounded up. A 12 × 16 ft deck with 5½ in boards and ⅛ in gaps needs 26 rows: 416 linear feet, or 29 boards of 16 ft with 10% waste, on 13 joists at 16 in on center and about 676 screws.

How to use the decking calculator

  1. Enter the deck size. The length is the direction the deck boards run; the width is measured across them. Joists run across the boards.
  2. Pick the actual board width. A 5/4×6 or 2×6 board is really 5½ inches wide. Composite boards are usually 5½ inches too.
  3. Set the gap. About ⅛ inch for kiln-dried wood and the gap the manufacturer gives for composite. Wet pressure-treated boards are often laid tight because they shrink.
  4. Choose the board length you will buy and a waste allowance.

Decking formulas

Rows = (deck width + gap) ÷ (board width + gap), rounded up Linear feet = rows × deck length Boards = linear feet × (1 + waste) ÷ board length, rounded up Joists = deck length ÷ joist spacing, rounded up, + 1 Screws ≈ rows × joists × 2

Example: a 12 ft width is 144 in. (144 + 0.125) ÷ (5.5 + 0.125) = 25.6, so 26 rows. 26 × 16 ft = 416 linear feet; with 10% waste that is 457.6 ft, or 29 boards of 16 ft.

How many deck boards do I need?

Deck (width × length)AreaRows of 5½ in boardsLinear feet + 10%Joists at 16 inScrews
8 × 10 ft80 ft²18198 ft9324
10 × 10 ft100 ft²22242 ft9396
10 × 12 ft120 ft²22290 ft10440
12 × 12 ft144 ft²26343 ft10520
12 × 16 ft192 ft²26458 ft13676
12 × 20 ft240 ft²26572 ft16832
16 × 20 ft320 ft²35770 ft161,120
16 × 24 ft384 ft²35924 ft191,330

Boards run along the length. Joist count includes both end joists; rim boards are extra.

Joist spacing and framing

  • 16 in on center is standard for 5/4 and 2× wood decking laid straight.
  • 12 in on center is common for diagonal decking and is required by many composite makers for diagonal or commercial use.
  • 24 in on center only works with 2× decking where your code allows it.
  • The calculator counts joists and two rim boards. Beams, posts, footings, ledger and hardware are not included: their sizes depend on spans, loads and your building code.
Decks carry people. Joist and beam spans, ledger attachment, footings and guard rails are covered by building codes, and most attached decks need a permit. Use the American Wood Council’s deck guide or a local professional for the structure.

Tips for buying decking

  • Buy boards as long as the deck when you can. Fewer butt joints look better and waste less.
  • If the deck is longer than your boards, stagger the joints and land each one on a joist (double the joist under butt joints for composite).
  • Use coated or stainless deck screws rated for treated lumber, two per board at each joist, or the hidden fasteners your decking calls for.
  • Deck stairs? Use the stair calculator. Posts in concrete? See the post concrete calculator.

Sources, assumptions and limits

What the calculator assumes

  • Rectangular deck with boards running parallel to the length; diagonal layouts are covered by the 15% waste option.
  • Joists run across the boards with one at each end; rim boards, blocking, beams, posts and footings are not counted.
  • Screws are two per board at each joist crossing.

Where the numbers come from

  • American Wood Council: DCA 6 prescriptive residential wood deck construction guide (joist and beam spans, fastening)

Checked by the DIY Calc team against the sources above. Products and local rules vary, so treat every result as an estimate. Found an error? Email [email protected].

Frequently asked questions

How many deck boards do I need for a 12x16 deck?
With 5½ in boards and ⅛ in gaps, 26 rows across the 12 ft width. That is 26 boards of 16 ft, or 29 with 10% waste.
How many deck boards for a 10x10 deck?
22 rows of 5½ in boards, each 10 ft long: 22 boards of 10 ft, plus one or two spares.
How do I calculate linear feet of decking?
Divide the deck width by the board width plus gap to get the number of rows, then multiply by the deck length. Add 10% for waste.
How many screws do I need for a deck?
Two screws per board at every joist. A 12 × 16 ft deck with joists at 16 in needs about 676, roughly 350 screws per 100 square feet.
What gap should I leave between deck boards?
About ⅛ inch for dry wood. Composite and PVC boards need the gap their manufacturer specifies, often 3/16 to ¼ inch, because they expand with heat.

Last reviewed . Estimates only: see the disclaimer.

Embed this calculator

Free for blogs, schools and contractors. Paste this code into your page. The small “Powered by” line is optional, and we appreciate it if you keep it.