How to count deck joists
Divide the deck length by the joist spacing and add one for the first joist. If the length isn’t an exact multiple of the spacing, add one more so the last joist sits flush with the end of the deck.
Example
A 16 ft deck (192 in) at 16 in on center: 192 ÷ 16 = 12, plus 1, gives 13 joists. At 12 in on center it’s 17 joists. The two outer joists are the end joists; some builders call them rim joists too.
Joist spacing
| Spacing | When it’s used |
|---|---|
| 12 in on center | Diagonal decking, many composite and PVC boards, hot tubs and heavy loads |
| 16 in on center | Standard for wood decking laid straight |
| 24 in on center | Only with thick 2× decking rated for it; rare today |
Check your decking maker’s installation guide. Most composite brands require 16 in or less for straight boards and 12 in for diagonal.
How long can joists span?
Allowed span depends on joist size, wood species and grade, spacing and local snow load. As a rough guide, 2×8 joists at 16 in spacing span around 11–13 ft and 2×10s around 14–16 ft in common southern pine. Use the span tables your building department uses (most US towns follow the International Residential Code) before you buy lumber. This calculator counts boards and doesn’t size them.
Common questions
How many joists for a 12 ft deck at 16 in on center?
144 in ÷ 16 = 9, plus 1, so 10 joists.
How many joists for a 20 ft deck?
At 16 in on center, 240 ÷ 16 = 15, plus 1, so 16 joists. At 12 in on center you need 21.
Do I need joist hangers on both ends?
Joists that butt into a ledger or flush beam need hangers. Joists that sit on top of a dropped beam usually get hurricane ties instead.
What is the rim joist?
The board fastened across the outer ends of the joists. It ties them together and gives a surface for fascia and railing posts.
Related calculators
Last updated November 2026. Results are estimates. Check product labels and your local building code before you buy or build.