Deck Calculator
Deck boards and joists for a deck of any size.
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?
- Enter the length of the deck, which is the way the boards run, and the width, which is the way the joists run.
- 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.
- 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).
- 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.
| Symbol | Meaning | Unit |
|---|---|---|
| L | Deck length, the way boards run | ft (m) |
| W | Deck width, the way joists run | ft (m) |
| b | Actual width of one board | in (mm) |
| g | Gap between boards | in (mm) |
| B | Length of one board as bought | ft (m) |
| s | Joist spacing, center to center | in (cm) |
| x | Extra 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.
| Deck length | 16' 0" |
|---|---|
| Deck width | 12' 0" |
| Board width | 5½" |
| Gap between boards (optional) | 0¼" |
| Board length | 16 ft |
| Joist spacing | 16 in |
| Extra for waste | 10% |
| 16 ft deck boards | 29 |
|---|---|
| Joists | 13 |
| Board length, before extra | 416' 0" |
| Deck area | 192 ft² |
| Rows of boards | 26 |
| 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.
| Board length | Per row | Boards |
|---|---|---|
| 8 ft (2.44 m) | 2 | 58 |
| 10 ft (3.05 m) | 2 | 58 |
| 12 ft (3.66 m) | 2 | 58 |
| 16 ft (4.88 m) | 1 | 29 |
| 20 ft (6.10 m) | 1 | 29 |
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.
| Spacing | Joists |
|---|---|
| 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.
Related calculators
- Fence CalculatorPosts, panels or pickets, and rails for a fence of any length.
- Square Footage CalculatorArea of a rectangle, circle, triangle or trapezoid, in square feet, yards and meters.
- Concrete CalculatorCubic yards and bags for slabs, footings and columns.
- Roofing CalculatorRoof area, roofing squares and bundles of shingles from the size and pitch of your roof.