5 min read
Deck Joist Spacing: 12″, 16″ or 24″ On Center, and How Many Joists You Need
16″ on center is the default for wood deck boards, 12″ is common for composite and diagonal decking, and 24″ only works with thick boards. Here is how to pick the spacing and count the joists for any deck length.
By the FreeLumberCalculator.com editorial team
Deck joist spacing is the distance from the center of one joist to the center of the next, and it decides more of your deck than it seems. It sets how many joists you buy, which deck boards you can use, how far each joist can span, and sometimes whether you need a second beam. This guide explains the three standard spacings, gives a joist count table for common deck lengths, and shows what changing the spacing does to a real material list. The numbers come from our deck lumber calculator, so you can repeat every example with your own deck.
12″, 16″ or 24″: which deck joist spacing to use
US decks are framed on one of three spacings, and the deck boards usually decide which:
- 16″ on center is the standard for 5/4×6 wood deck boards laid straight, square to the joists. It is the default in the calculator and in most deck plans.
- 12″ on center is common for composite and PVC boards, which are more flexible than wood, and for any decking laid on a diagonal, because a board at 45° crosses the joists at a longer distance. Many composite makers allow 16″ for straight runs and require 12″ for diagonals or for stairs; their installation guide is the rule that counts.
- 24″ on center only works with thick boards, typically 2×6 wood decking laid straight. Thin 5/4 boards at 24″ feel springy and are generally not allowed.
In the IRC, the maximum joist spacing for each type of decking is in Table R507.7, and joist spans are in Table R507.6. Your city may use an amended version, so check your local code before you finalize the plan.
How many joists do I need for my deck?
When joists run away from the house, they are spaced along the deck’s length (the side against the house). The count is the length in inches divided by the spacing, rounded up, plus one for the last joist:
joists = (deck length in inches ÷ spacing) rounded up + 1 16 ft deck at 16″: 192 ÷ 16 = 12 → 13 joists 14 ft deck at 16″: 168 ÷ 16 = 10.5 → 11 → 12 joists
When the length is not a multiple of the spacing, the last bay is simply shorter. Here are the counts the calculator gives for an attached deck 12 ft deep, including both end joists:
| Deck length | 12″ o.c. | 16″ o.c. | 24″ o.c. |
|---|---|---|---|
| 8 ft | 9 | 7 | 5 |
| 10 ft | 11 | 9 | 6 |
| 12 ft | 13 | 10 | 7 |
| 14 ft | 15 | 12 | 8 |
| 16 ft | 17 | 13 | 9 |
| 20 ft | 21 | 16 | 11 |
| 24 ft | 25 | 19 | 13 |
The deck depth does not change the count, only the joist length. The ledger and rim joist are extra, and so are any doubled joists you add under a picture-frame border or a stair opening. Buy a couple of spares on top: the calculator adds 10% to joists by default, so 13 joists become an order of 15 boards.
Joist spacing and span: why closer joists can go farther
Joists set closer together each carry less of the deck, so they can span farther. That is why span tables list a separate span for each spacing. For planning, the calculator uses a deliberately conservative rule of thumb, roughly 1¼ ft of span per inch of joist depth at 16″, adjusted for spacing:
| Joist | 12″ o.c. | 16″ o.c. | 24″ o.c. |
|---|---|---|---|
| 2×6 | 8 ft 3 in | 7 ft 6 in | 6 ft 7 in |
| 2×8 | 11 ft 0 in | 10 ft 0 in | 8 ft 9 in |
| 2×10 | 13 ft 9 in | 12 ft 6 in | 10 ft 11 in |
| 2×12 | 16 ft 6 in | 15 ft 0 in | 13 ft 1 in |
These are planning figures, not code values. Real allowable spans depend on species, grade, wet-service conditions and the design load, so always confirm your joist size in IRC Table R507.6 or your local span table.
What spacing does to a real deck
Here is the same 12×16 attached deck, with 2×8 joists, a doubled 2×10 beam and 5/4×6 treated decking, framed at each spacing. The detailed list for the 16″ version is in our 12×16 deck lumber list.
| Spacing | Joists | Beams / posts | Concrete | Est. cost |
|---|---|---|---|---|
| 12″ | 17 (buy 19) | 1 beam, 3 posts | 12 bags | $1,091 ($5.68/sq ft) |
| 16″ | 13 (buy 15) | 1 beam, 3 posts | 12 bags | $1,000 ($5.21/sq ft) |
| 24″ | 9 (buy 10) | 2 beams, 6 posts | 24 bags | $1,179 ($6.14/sq ft) |
Going from 16″ to 12″ adds four joists, four hangers, four hurricane ties and more screws, about $91 at sample prices. The surprise is 24″: it is the most expensive option. At 24″ the 2×8’s planning span drops to about 8 ft 9 in, which is shorter than the 9 ft 10½ in backspan from the ledger to the beam, so the calculator adds a second beam with three more posts and footings. Fewer joists rarely save money once the beams have to work harder. Wider spacing pays off only when you also go up a joist size or the joists are short.
Cantilever, blocking and hardware
Cantilever. Joists may run past the outer beam, which hides the beam under the deck. The calculator limits the cantilever to one quarter of the backspan. On the 12×16 deck the 2 ft cantilever fits behind a 9 ft 10½ in backspan; at 24″ spacing, with two beams and backspans of about 5 ft 3 in, the cantilever is cut back to 1 ft 3 13/16″.
Blocking. A row of solid blocking at mid-span keeps tall joists from rolling and stiffens the floor. Each row needs one block per bay, so closer spacing means more blocks: 12 on the 16 ft deck at 16″, 16 at 12″. The blocks come out of one or two extra joist-size boards.
Hangers and ties. Every joist that meets the ledger needs a hanger, and every joist that crosses a beam needs a tie, so these scale with the joist count. Two beams double the ties.
Deck boards and spacing: a quick checklist
- 5/4 wood boards, straight: 16″ on center.
- Any boards on a 45° diagonal: plan on 12″; the calculator warns you when diagonal decking sits on wider spacing.
- Composite or PVC: whatever the manufacturer’s guide says for that product, run direction and use; many need 12″ on stairs.
- 2×6 wood decking: up to 24″ straight, if your local code allows.
- Hot tub or heavy planters: the deck has to be engineered for the load; spacing alone does not fix it.
Plan your joists with the calculator
Open the deck lumber calculator, set the size, joist size and spacing, and it lays out the joists, beams, posts, blocking and decking, with a 3D model and a note telling you when the span or cantilever needs attention. For a plain framed floor without decking, such as a shed floor or platform, the floor joist calculator counts joists, rims, hangers and subfloor sheets. If the deck is high enough for steps, size them with the stair stringer calculator, and compare quotes with tax and delivery in the lumber cost calculator.
Frequently asked questions
What is the standard joist spacing for a deck?
16″ on center for 5/4 wood deck boards laid straight. Composite boards and diagonal decking often need 12″, and 2×6 wood decking can span up to 24″. Check IRC Table R507.7, the board maker’s guide and your local code.
How many joists do I need for a 16 ft deck?
13 joists at 16″ on center (192 ÷ 16 = 12 spaces, plus one), 17 at 12″ and 9 at 24″. Add a couple of spares, plus the ledger and rim joist.
Can I space deck joists 24 inches apart?
Only with decking rated for it, usually 2×6 wood boards laid straight. The joists also have to span farther per joist, so you may need deeper joists or an extra beam, which can make 24″ more expensive than 16″.
Do composite deck boards need 12 inch joist spacing?
Often, but not always. Many composite and PVC boards allow 16″ for straight runs and require 12″ for diagonal layouts and stairs. Follow the installation guide for the specific product.