Deck calculator

Count the boards and joists for a deck. Give the deck's size, your board width, gap and length, and the joist spacing, and see the boards with waste, the joists and the cost as you type, with the sum shown.

Counts whole boards and whole joists, and tells you what the code says about the spacing you pick.

The deck

Boards run along the length; the joists run across it under them. 16' 6" works.
Joists on center

The boards

The board's real width: a 5/4 × 6 or 2 × 6 is 5 1/2 in. Use the gap your board maker gives.

Prices optional

Free for your own website, with no account and no ads.

Put the deck calculator on your website

Paste this code into an HTML or embed block on any page. Your visitors use the calculator right there, the same as here: free, no sign-up, no ads, and nothing they type is sent anywhere.

Preview it

It fits any width from a phone up to 640 px and grows to the calculator's height. The line under it links to this page, so your visitors can see where it comes from. Every calculator you can embed

Free calculator by Billsmith

Boards29
Joists13
See the working

Deck boards and joists, worked out

Rows of boards

Each row takes one board width and one gap, except the last, which needs no gap after it. So rows = (deck width + gap) ÷ (board width + gap), rounded up. A 12 foot (144 inch) deck in 5 1/2 inch boards with 1/8 inch gaps: 144.125 ÷ 5.625 = 25.6, so 26 rows, and the last one may need ripping to fit.

Boards in a row

Each row takes whole boards: deck length ÷ board length, rounded up. A 20 foot deck in 12 foot boards takes 2 a row, with ends meeting over a joist. Offcuts are not counted back in, so buy lengths that suit the deck, or stagger the joints and use the waste figure.

Joists

Joists run across the deck under the boards. Their number is the length ÷ the spacing, rounded up, plus one for the far end. Rim joists, beams, posts, blocking and hangers are separate, and their sizes come from the span tables in your code.

Joist spacing and the code

The International Residential Code Table R507.7 sets the widest joist spacing for wood decking laid square to the joists: 1 1/4 inch thick boards 16 inches where a board crosses three or more joists and 12 inches where it crosses two; 2 inch thick boards 24 inches. Composite decking follows its maker's instructions, and your local code rules.

Board width

Type the board's real width. A nominal 6 inch board is 5 1/2 inches wide dry under the American Softwood Lumber Standard, so a 5/4 × 6 or a 2 × 6 covers 5 1/2 inches plus its gap. Composite and hardwood boards have their own sizes: read them off the label.

Then quote it

Press "Put this deck on an estimate" and the boards and joists land on two lines of the estimate template at your prices, ready to add the framing, fasteners and labor. For lumber priced by the board foot, the board foot calculator turns pieces into board feet.

Questions

How many deck boards do I need?

Divide the deck's width plus one gap by the board width plus one gap, and round up for the rows. Multiply by the boards each row takes along the length, then add waste. A 12 foot wide deck in 5 1/2 inch boards with 1/8 inch gaps is (144 + 0.125) ÷ 5.625 = 25.6, so 26 rows; in 16 foot boards on a 16 foot deck that is 26 boards, or 29 with 10% waste.

How many joists does a deck need?

Divide the length the joists are spread over by the spacing, round up, and add one for the end. A 16 foot deck with joists 16 inches on center is 192 ÷ 16 = 12 spaces, so 13 joists.

How far apart should deck joists be?

Under the International Residential Code (Table R507.7), 1 1/4 inch thick wood decking laid square to the joists can span 16 inches where each board crosses three or more joists, and 12 inches where it crosses only two; 2 inch thick wood decking can span 24 inches. Composite decking follows its maker's instructions.

How wide is a 5/4 x 6 deck board?

5 1/2 inches, as a nominal 6 inch board is dressed to 5 1/2 inches dry under the American Softwood Lumber Standard (PS 20 Table 3). Measure your own boards: composite and hardwood boards have their own sizes.