Skip to content
Snapline

Deck Calculator

Deck boards and joists for a deck of any size.

Unit system

The way the boards run.

The way the joists run.

The actual width, as printed on the label.

Use the gap your board maker calls for. Leave empty for none.

The length you will buy.

Center to center. Your deck plan or local code sets it.

Covers cuts and boards you will not use.

Examples: ,

??

Enter deck length, deck width and board width to see the result.

Short answer

Divide the deck width by the width of one board plus its gap, and round up, to get the rows. Multiply by the boards in a row and add extra for cuts. Joists are the deck length divided by the spacing, rounded up, plus one.

On this page

How do I use the deck calculator?

  1. Enter the length of the deck, which is the way the boards run, and the width, which is the way the joists run.
  2. Enter the actual width of one board, from the label and not the nominal size, and the gap between boards if your board maker calls for one.
  3. Pick the length of board you will buy and the spacing of the joists. In Metric, these lists keep feet and inches, the sizes sold in the US, and show the metric equivalent beside each, such as 12 ft (3.66 m).
  4. Read the boards, then the joists. Keep the extra at 10%, or change it.

How are the boards and joists counted?

The calculator counts rows, then boards in a row. The extra applies to the boards only.

  • Rows of boardsRows = round up (W ÷ (b + g))
  • Boards in a rowPer row = round up (L ÷ B)
  • BoardsBoards = round up (Rows × Per row × (1 + x ÷ 100))
  • JoistsJoists = round up (L ÷ s) + 1

Round up means to the next whole number. The plus 1 is because a row of joists has one more joist than spaces between them. The calculator does not reuse the leftover piece of a cut board, so the count can run a little high.

What the symbols mean
SymbolMeaningUnit
LDeck length, the way boards runft (m)
WDeck width, the way joists runft (m)
bActual width of one boardin (mm)
gGap between boardsin (mm)
BLength of one board as boughtft (m)
sJoist spacing, center to centerin (cm)
xExtra for waste, boards only%

Worked example

A deck 16 feet long and 12 feet wide, with 16 foot boards that are 5.5 inches wide, a quarter inch gap, joists 16 inches apart and the default 10% extra.

You enter
Deck length16' 0"
Deck width12' 0"
Board width5½"
Gap between boards (optional)0¼"
Board length16 ft
Joist spacing16 in
Extra for waste10%
You get
16 ft deck boards29
Joists13
Board length, before extra416' 0"
Deck area192 ft²
Rows of boards26
Joist length (each)12' 0"

A common mistake

Using the nominal size of a board. A board sold as a 6 may be narrower than 6 inches once it is milled. Use the width printed on the label, or measure one, or the row count will be off.

How does board length change the count?

Each board takes up its width plus its gap, and the deck width divided by that gives the rows. The last row is cut to fit.

Board length changes the total. A board that is shorter than the deck needs a second board in every row, and the leftover piece is not reused. A board longer than the deck gives one board per row, but each row wastes the rest of it. It pays to price more than one length. The calculator starts at 12 ft boards, our default and not a rule.

Boards for a 16 × 12 ft deck, 5.5 in boards, ¼ in gap, 10% extra
Board lengthPer rowBoards
8 ft (2.44 m)258
10 ft (3.05 m)258
12 ft (3.66 m)258
16 ft (4.88 m)129
20 ft (6.10 m)129

What spacing for the joists?

The spacing comes from your deck plan and your local code. The Journal of Light Construction (JLC) describes the American Wood Council's deck guide, DCA 6, and says its span tables show allowable spans and overhangs for 2x6, 2x8, 2x10 and 2x12 joists spaced 12, 16 and 24 inches on center.

The calculator offers those three spacings and starts at 16 inches, our default and not a rule. It does not choose the lumber size or check the span: ask your building department which table it accepts.

Joists for a 16 ft deck, by spacing
SpacingJoists
12 in (30.5 cm)17
16 in (40.6 cm)13
24 in (61.0 cm)9

What does this calculator not include?

It counts decking boards and joists. It leaves out the footings, the beam, the posts, the ledger, the railing, the stairs and the fasteners. Those carry the weight of the deck and the people on it, and they depend on the load and on your local building code.

Before you buy lumber

Ask your building department what they require, and whether you need a permit.

Frequently asked questions

How many deck boards do I need?

Count the rows, then the boards in each row. The number of rows is the width of the deck divided by the width of one board plus its gap, rounded up. If one board is long enough for the whole row, that is your count. Add extra for cuts. The table above shows how the board length changes the total.

Which way should the boards run?

Boards lie across the joists. This calculator assumes the boards run along the length you enter as the deck length, and that the joists run the other way, along the width. If your plan is turned the other way, swap the two numbers.

Does this include the frame, the railing and the screws?

No. It counts decking boards and joists only. The footings, the beam, the posts, the ledger, the railing, the stairs and the fasteners depend on the load and on your local code.