How the deck calculator counts
The calculator assumes a rectangular deck with the decking running along the house, so the joists run out from the house and the boards cross them. The area is the width along the house times the depth, the same as in the square footage calculator.
Worked example: a deck 12 ft along the house and 10 ft deep with boards 5 1/2 inches wide and 1/8 inch gaps needs (120 + 0.125) ÷ 5.625 = 21.4, so 22 rows. That is 22 × 12 = 264 linear feet, and with 10% waste and 16 ft boards, 19 boards. Joists 16 inches on center across 144 inches give 9 spaces and 10 joists. Face screwed at two screws per joist, the decking takes 440 screws. With hidden clips it takes 210 clips between the boards plus 10 start clips along the first board.
Decking 5 1/2 inches wide is the actual width of a 5/4x6 or 2x6, and a 2x4 is 3 1/2 inches wide, as the lumber calculator lists for every nominal size. It also works out board feet and cost for the framing. Composite boards have their own sizes: Trex lists its boards at 5.5 inches wide.
Screws, clips and gaps
The American Wood Council’s Prescriptive Residential Wood Deck Construction Guide, known as DCA 6, says to attach decking to each joist with two 8d threaded nails or two #8 screws and to space decking boards approximately 1/8 inch apart. It also asks that each piece of decking bear on at least three joists. Trex’s installation guide requires two screws per joist for face screwing, a gap of at least 3/16 inch between the long edges of its boards, and hidden fasteners at every joist. Each hidden clip sits in the gap between two boards, which is why the clip count follows the gaps, not the boards. The first board is held by start clips, and the last board is fastened as the clip instructions describe.
Where two boards meet end to end over a joist, you need fasteners for both ends, so long decks built from shorter boards take a few more screws or special clips than the count above. Add them to the waste allowance or count them on your layout.
Joist spans from DCA 6
Joist size depends on the span, the spacing and the wood. The table below is Table 2 of DCA 6, which is based on the 2015 International Residential Code. It assumes a 40 psf live load, a 10 psf dead load, No. 2 grade lumber and wet service conditions. The span is measured from the face of the support at one end to the face of the support at the other end, and the overhang past the beam may not exceed the table value or a quarter of the actual span, whichever is less. DCA 6 limits joist length to 18 ft for its footing design and requires at least a 2x8 for the ledger and for joists that carry guard posts.
| Species | Size | Span at 12 in | 16 in | 24 in | Overhang at 12 in | 16 in | 24 in |
|---|---|---|---|---|---|---|---|
| Southern Pine | 2x6 | 9 ft 11 in | 9 ft | 7 ft 7 in | 1 ft | 1 ft 1 in | 1 ft 3 in |
| 2x8 | 13 ft 1 in | 11 ft 10 in | 9 ft 8 in | 1 ft 10 in | 2 ft | 2 ft 4 in | |
| 2x10 | 16 ft 2 in | 14 ft | 11 ft 5 in | 3 ft 1 in | 3 ft 5 in | 2 ft 10 in | |
| 2x12 | 18 ft | 16 ft 6 in | 13 ft 6 in | 4 ft 6 in | 4 ft 2 in | 3 ft 4 in | |
| Douglas Fir-Larch, Hem-Fir, Spruce-Pine-Fir | 2x6 | 9 ft 6 in | 8 ft 4 in | 6 ft 10 in | 11 in | 1 ft | 1 ft 2 in |
| 2x8 | 12 ft 6 in | 11 ft 1 in | 9 ft 1 in | 1 ft 8 in | 1 ft 10 in | 2 ft 2 in | |
| 2x10 | 15 ft 8 in | 13 ft 7 in | 11 ft 1 in | 2 ft 10 in | 3 ft 2 in | 2 ft 9 in | |
| 2x12 | 18 ft | 15 ft 9 in | 12 ft 10 in | 4 ft 4 in | 3 ft 11 in | 3 ft 3 in | |
| Redwood, Western Cedars, Ponderosa Pine, Red Pine | 2x6 | 8 ft 10 in | 8 ft | 6 ft 10 in | 9 in | 10 in | 11 in |
| 2x8 | 11 ft 8 in | 10 ft 7 in | 8 ft 8 in | 1 ft 5 in | 1 ft 7 in | 1 ft 9 in | |
| 2x10 | 14 ft 11 in | 13 ft | 10 ft 7 in | 2 ft 5 in | 2 ft 7 in | 2 ft 8 in | |
| 2x12 | 17 ft 5 in | 15 ft 1 in | 12 ft 4 in | 3 ft 7 in | 3 ft 9 in | 3 ft 1 in |
Example: a 12 ft deep deck with 2x8 Douglas Fir-Larch joists 16 inches on center and a 1 ft overhang has a span of 11 ft. Table 2 allows 11 ft 1 in, and the overhang may be up to 1 ft 10 in, so both fit. DCA 6 covers single-level decks attached to the house and leaves out hot tubs and snow loads above 40 psf. It states that all construction must be approved by the authority having jurisdiction, and the code adopted where you live may differ, so check with your local building department before you build. Beam sizes, posts, footings and ledger bolts are in other tables of DCA 6 and are not part of this calculator.
Ledger, rim and beam
For a deck attached to the house, the ledger runs along the house and the rim joist along the outer edge, so both are as long as the deck is wide. The end joists close the two sides and are already part of the joist count. The beam runs under the joists parallel to the house, near the outer edge, minus any overhang.
Steps down to the yard? The stair calculator works out the rise, run, number of steps and stringer length.
How to use the deck calculator
- 1Choose US or metric units and enter the deck width along the house and the depth out from it.
- 2Enter the actual width of your decking, the gap between boards and the length of the boards you will buy.
- 3Pick the joist spacing, screws or hidden clips, and a waste allowance.
- 4Optionally open the joist span check, choose the species and joist size, and enter the overhang. Then copy the result or a link.
Sources
- American Wood Council: DCA 6, Prescriptive Residential Wood Deck Construction Guide (decking requirements, Table 2 joist spans and overhangs)
- Trex: 2024 Decking Installation Guide (two screws per joist, gapping, hidden fasteners at every joist)
Related guides
- Cubic Yards Explained: Mulch, Gravel, Soil and Concrete
- Moving Checklist: What to Do 8 Weeks Before Moving Day
- Home Office Deduction: Who Qualifies and the Two Methods
Frequently asked questions
How many deck boards do I need for a 12 x 12 deck?
With boards 5 1/2 inches wide and 1/8 inch gaps, a 12 by 12 ft deck takes 26 rows. With 12 ft boards that is 26 boards without waste, or 29 with 10% extra for cuts and bad boards.
How many joists do I need for a deck?
Divide the width along the house by the joist spacing, round up and add one for the last end joist. A deck 16 ft wide with joists 16 inches on center has 192 ÷ 16 = 12 spaces, so 13 joists.
How far can a 2x8 deck joist span?
It depends on the species and the spacing. In Table 2 of the American Wood Council’s DCA 6 deck guide, a No. 2 Douglas Fir-Larch, Hem-Fir or Spruce-Pine-Fir 2x8 spans up to 12 ft 6 in at 12 inches on center, 11 ft 1 in at 16 inches and 9 ft 1 in at 24 inches. Southern Pine spans 13 ft 1 in, 11 ft 10 in and 9 ft 8 in. Your local building department decides what applies to your deck.
How many screws per deck board?
Two at every joist. DCA 6 says to attach decking to each joist with two 8d threaded nails or two #8 screws, and Trex requires two screws per joist for face screwing. A 12 ft board over joists 16 inches apart crosses 10 joists, so it takes 20 screws.
How far apart should deck boards be?
DCA 6 says to space decking boards approximately 1/8 inch apart. Composite boards have their own rules: Trex asks for at least 3/16 inch between the long edges, and its hidden clips set the gap for you. Follow the instructions for the boards you buy.
How much extra decking should I buy?
There is no single standard. The calculator lets you add 0 to 15 percent. Decking laid at an angle, many cuts and boards you cannot use all add to it, so pick a higher allowance for those.