Deck Joist Spacing: How Far Apart, How Far They Span

Joist spacing is a trade between the decking on top and the frame below. Close spacing stiffens the surface and lets the joists span farther, and wide spacing saves joists but can force an extra beam. This guide shows where the line falls.

  • Guide
  • 13 min read
  • Reviewed 20 October 2026
  • Same code as the calculator

Quick answer Space deck joists 16 in on center for most wood decking and straight composite boards, and 12 in for diagonal boards and long spans. The code table lets a Douglas fir 2×10 span 13′ 7″ at 16 in but only 11′ 1″ at 24 in. A 16 ft deck takes 13 joists at 16 in on center: the length divided by the spacing, rounded up, plus one.

What deck joist spacing means

Joists are the horizontal framing members that hold the decking up. On center (written o.c.) means the distance from the middle of one joist to the middle of the next. It is not the gap between them. A 2× joist is 1½ in thick, so at 16 in on center the clear gap is 14½ in. Layout uses the center-to-center figure because it is the same whatever the lumber thickness.

Spacing does three jobs at once. It sets how far the decking boards must span, because every board bridges the gap between joists. It sets how far each joist can span before it needs a beam under it, because a closer joist carries less load. And it sets how many joists, hangers and fasteners you buy. That is why one number deserves a whole guide: change it and the board choice, the joist size, the beam and the post count can all change.

Plan view of the framing, joists at true spacingThe same 8 ft stretch at three spacings: 9, 7 and 5 joists
12 in12 in9 joists16 in16 in7 joists24 in24 in5 joists

The quick method for any deck is to pick the spacing the decking allows, then read the span table for the joist size you want, then count the joists. The sections below follow that order.

The three standard spacings: 12, 16 and 24 inches

Residential span tables are printed for three spacings, so almost every deck uses one of them.

16 inches on center: the default

Most decks are framed at 16 in. It suits wood decking laid straight across the joists and straight composite boards, and it matches the way the span tables, hangers and most deck guides are written. If you have no reason to choose another spacing, use 16 in. Decks.com says the same: joist spacing is typically 16 in on center.

12 inches on center: stiffer and longer spans

Builders drop to 12 in to stiffen a bouncy deck, to let a joist span farther, or because the decking requires it. Diagonal boards laid at 45° to the joists generally need 12 in. The cost is more joists: an 8 ft stretch takes 9 joists instead of 7. The upside is that a 2×10 joist spans 15′ 8″ instead of 13′ 7″, which can save a beam line.

24 inches on center: only with the right decking

A 24 in spacing saves joists, but it needs decking thick enough to span the gap, and the joists then span much less. It works for heavy 2× boards, not for 5/4 boards. The 24 in column of the span table is also the one that quietly forces an extra beam, as the trade-off table below shows.

What about 19.2 or 32 inches?

The 19.2 in spacing is a house-framing layout (five equal bays in 8 ft) and is not printed in the deck table. The deck calculator treats it as the next wider column, 24 in, so it never gives a longer span than the code allows. Do not stretch a table past its printed spacings, and ask your building department before using anything wider than 24 in.

Let the decking decide the spacing

The boards on top are the weakest link in the surface, so check them first. Every product has a maximum spacing that depends on the material and the angle.

Wood decking: the code table

IRC 2021 Table R507.7, as reproduced in one county deck guide (Anne Arundel County, Maryland), prints these maximum joist spacings for wood decking:

Maximum joist spacing for wood decking, as printed in a county guide to IRC 2021 Table R507.7
DeckingPerpendicular to joistsDiagonal to joists
5/4 in thick (1¼ in)12 in over a single span, 16 in over multiple spans8 in single span, 12 in multiple spans
2 in nominal24 in18 in single span, 24 in multiple spans

Read that as a rule of thumb: 5/4 boards want 16 in at the most, and a diagonal layout tightens everything. Confirm the table in the edition your building department has adopted, because local codes differ.

Composite and plastic decking: the maker's chart

Composite boards are more flexible than wood, so makers publish their own limits and the code defers to them. Decks.com reports that most composite decking, Trex for example, limits spacing to 16 in for straight boards and 12 in for boards at 45°. Many composite products also want stair stringers at 12 in or even 9 in on center to support the treads. Because composite follows the frame faithfully, it shows every high joist, so run a string line across the tops of the joists before you lay boards.

Hardwood and tropical decking

Dense hardwoods such as ipe are stiff, but they are also heavy and brittle, and suppliers publish spacing for each species and thickness. Use the supplier's figure, not the figure for pine. If the supplier says 16 in, that is the maximum.

The decking chart sets the maximum. A closer spacing is always allowed, and it is the cheapest way to stiffen a deck that feels springy.

How far a deck joist can span at each spacing

Joist span is the clear distance between supports, measured face to face. IRC 2021 Table R507.6 lists the maximum span for each joist size and spacing, for a 10 psf dead load and a 40 psf live load, #2 grade lumber, wet service and no snow load. Decks.com prints the same table, and the figures below come from the same code the deck calculator uses. The table groups species, so there are three versions.

Maximum joist span, Southern pine (most pressure-treated lumber)
Joist12 in on center16 in on center24 in on center
2×69′ 11″9′7′ 7″
2×813′ 1″11′ 10″9′ 8″
2×1016′ 2″14′11′ 5″
2×1218′16′ 6″13′ 6″
Maximum joist span, Douglas fir-larch, hem-fir, spruce-pine-fir
Joist12 in on center16 in on center24 in on center
2×69′ 6″8′ 4″6′ 10″
2×812′ 6″11′ 1″9′ 1″
2×1015′ 8″13′ 7″11′ 1″
2×1218′15′ 9″12′ 10″
Maximum joist span, Redwood, western cedars, ponderosa and red pine
Joist12 in on center16 in on center24 in on center
2×68′ 10″8′6′ 10″
2×811′ 8″10′ 7″8′ 8″
2×1014′ 11″13′10′ 7″
2×1217′ 5″15′ 1″12′ 4″

Three things stand out. Going from 12 in to 24 in takes a Douglas fir 2×10 from 15′ 8″ down to 11′ 1″, a loss of 4.6 ft, so spacing is worth as much as stepping down a lumber size. Southern pine spans a little farther than Douglas fir-larch at the same size (a 2×10 at 16 in reaches 14′ against 13′ 7″), which matters because pressure-treated lumber in most of the United States is southern pine. And a 2×12 at 12 in tops out at 18 ft, the largest span the table prints.

These are maximums for the loads above. Fine Homebuilding adds that the table already allows for wet service and includes a reduction for incised treated lumber, so check whether your lumber is incised. Heavy loads such as a hot tub or a stone surface, snow loads, or a lower grade or different species need an engineer, the American Wood Council's online calculators or its DCA 6 prescriptive guide. Fine Homebuilding's editor recommends the 2018 IRC table or DCA 6 for sizing joists and cantilevers.

Where the span is measured

Fine Homebuilding explains that the span runs from the saddle of the ledger-mounted joist hanger to the center of a dropped beam, or to the saddle of the hanger on a flush beam. Measure it the same way the table does, because a joist on a dropped beam is measured to the beam's center line and not to its edge, and then compare it with the table value.

What size joists for a deck?

Start from the span, not the lumber yard. Measure the distance from the ledger to the beam (or beam to beam), choose a spacing, and read off the smallest joist that reaches. This table uses the Douglas fir-larch group, which is the more conservative of the two common groups.

Smallest joist size for a given span (Douglas fir-larch, hem-fir, spruce-pine-fir)
Joist spanAt 12 inAt 16 inAt 24 in
8 ft2×62×62×8
10 ft2×82×82×10
12 ft2×82×102×12
14 ft2×102×12none: add a beam line
16 ft2×12none: add a beam linenone: add a beam line

A 12 ft span at 16 in on center needs a 2×10. The same span at 24 in needs a 2×12. A 14 ft span needs a 2×12 at 16 in, and a 16 ft span is beyond a Douglas fir 2×12 at 16 in (15′ 9″); only 12 in on center reaches it. Past the largest listed span the frame needs a beam in the middle, which is what the calculator's bays figure counts.

A worked example: 16 × 12 ft deck, 2×10 joists

With the boards running along the 16 ft side, the joists run across the 12 ft width and repeat along the length. The code span for a Douglas fir 2×10 is 13′ 7″ at 16 in, so a 12 ft span passes with 1′ 7″ to spare. At 24 in the code span is 11′ 1″, which is less than 12 ft, so the span fails and the frame needs a second beam line. That is the trade-off the next section counts.

joist span = 12 ft = 144 in
2×10 at 16 in on center: code span 13′ 7″  →  one span passes
2×10 at 24 in on center: code span 11′ 1″  →  144 in is too long; add a beam line

If you want a quick check without a table, the deck calculator does the same lookup for you. Use the deck calculator as a deck joist span calculator: pick the joist size, the lumber group and the spacing, and it warns when the span is too long and splits the frame into bays.

How many joists does a deck need?

The joist count along a deck is the length divided by the spacing, rounded up, plus one for the last joist. In symbols, joists = ceil(length ÷ spacing) + 1. The plus one is the joist at the far end; without it the last gap has no support.

16 ft deck = 192 in
at 12 in on center:  192 ÷ 12 = 16  →  16 + 1 = 17 joists
at 16 in on center:  192 ÷ 16 = 12  →  12 + 1 = 13 joists
at 24 in on center:  192 ÷ 24 = 8   →   8 + 1 = 9 joists
Joist lines for a deck by length and spacing (one line per position along the length)
Deck length12 in on center16 in on center24 in on center
8 ft975
10 ft1196
12 ft13107
14 ft15128
16 ft17139
20 ft211611

The cheaper spacing is not always the wider one

At first glance 24 in saves joists. The next table runs the whole frame for the same 16 × 12 ft deck with 2×10 Douglas fir joists, attached to the house, with posts every 8 ft. It is the calculator's output, not a quote.

The 16 × 12 ft deck framed three ways (2×10 Douglas fir joists)
SpacingCode spanJoist linesBaysJoist piecesBeam linesPosts
12 in15′ 8″1711713
16 in13′ 7″1311313
24 in11′ 1″921826

The 24 in spacing has fewer joist lines (9 against 13), but the 2×10 cannot span the 12 ft width, so the frame needs 2 bays. It ends up with 18 joist pieces, 2 beam lines and 6 posts, against 13 pieces, 1 beam line and 3 posts at 16 in. More posts mean more footings, and footings are the most expensive part of a low deck. The right spacing is the one that keeps the span in one bay.

Laying out the joists

  1. Snap the end lines. Mark the position of the rim joists at both ends and the ledger or the beam line at each side. The joist length is measured between those lines.
  2. Mark the first spacing from one end. Hook the tape on the end rim joist and mark every 16 in (or 12 or 24). Put a small X on the side where the joist sits, so nobody centers the joist on the mark by mistake.
  3. Check the last bay. If the length is not a multiple of the spacing, the last bay is shorter. That is normal. The last joist always goes at the end, so the leftover bay should be at least a few inches wide and no wider than the others.
  4. Use the crown rule. Sight each joist and install it with the crown, the slight upward bow, facing up. Decks.com makes the same point.
  5. Check the tops. Lumber widths vary by up to 3/8 in, so stretch a string across the joists and plane or shim the high ones, especially under composite.

Joists also double up where the load concentrates: under a stair opening, a railing post, a hot tub or a heavy planter. Where a joist is cut for an opening, the framing around it needs headers and doubled members, and this is one of the places a drawing or an engineer earns its keep.

Blocking, bridging and cantilevers

Blocking and bridging

Mid-span blocking, short pieces between joists, keeps the joists from rolling and helps keep the surface flat. Decks.com recommends it, and railing posts need solid blocking where the manufacturer says so. Block placement depends on the deck size and the bracing, so follow your plans or building department.

Cantilevers

A cantilever is the part of a joist that runs past the beam. Older code editions allowed up to one quarter of the span; Fine Homebuilding notes the 2015 IRC worded this as one quarter of the joist span, with solid blocking over the beam, and that the 2018 edition replaced it with a maximum overhang length like the one in DCA 6. The 2021 edition prints a table of the maximum cantilever by joist size and back span. In that county guide, which uses southern pine, a 2×10 joist with a 12 ft back span may cantilever 3 ft, and the figure grows from 1 ft at a 4 ft back span to 3 ft 4 in at 14 and 16 ft. Check the edition your jurisdiction uses; the answer differs.

A cantilevered joist also shortens the allowable span of the main part, because the cantilever loads the back span. Do not pick a joist size from the span table and then add an overhang without checking both rules.

Hangers, ledgers and the frame around the joists

Spacing only works if the joists are held at the right height and tied to the house or the beam. Use exterior-grade joist hangers that are rated for the treated lumber you buy: modern copper-based preservatives corrode plain steel, so check the hanger's label. Fasten the ledger to the house with an approved method and flashing, or build a freestanding deck, which avoids the ledger entirely. The beam size and construction should come from your plans, an engineer or your building department; the beam is the other half of the span calculation.

For the connections, the American Wood Council's DCA 6 guide and the hardware maker's instructions are the practical references. They say how many fasteners go in each hanger, where the ledger bolts sit and how the lateral loads are carried.

Mistakes that cost a rebuild

  • Choosing spacing from the lumber yard sticker. The decking maker's maximum decides the spacing, and the span table decides the joist size. Check both.
  • Forgetting the plus one. A 16 ft deck at 16 in is 13 joists, not 12.
  • Using 24 in because it is cheaper. Check the span first. If it forces a second beam, the total is higher.
  • Ignoring the diagonal. A deck that will be boarded at 45° needs 12 in spacing for 5/4 boards.
  • Mixing species groups. Southern pine and Douglas fir spans differ. Use the group on your lumber tag.
  • Skipping blocking at posts. Railing posts bolted to nothing loosen quickly.
  • Installing crowns down. The deck develops a dip that no shim can hide.

A checklist before you order lumber

  1. Read the decking maker's maximum joist spacing for your angle and thickness.
  2. Pick the spacing that is no wider than that maximum: 16 in for most decks, 12 in for diagonal boards.
  3. Measure the joist span and read the table for your lumber group. If it fails, move to a bigger joist, a closer spacing or a beam line.
  4. Count the joists with the formula, then add the hangers, the blocking and a few spares. The deck calculator gives the counts for the whole frame.
  5. Check that the beam, posts and footings are sized for the loads. Footings often drive the real cost.
  6. Confirm all of the above with your building department before you buy.

For the boards on top, see how many deck boards you need, and for a budget, what a deck costs to replace. If the deck has stairs, the stair guide covers the stringer spacing that composite treads want.

Sources and further reading

The joist span table is IRC 2021 Table R507.6 as printed by Decks.com, and it matches the table inside the calculator. The decking spacing table and the 3 ft cantilever example come from a county guide to the 2021 code, cross-checked against the 2021 IRC provisions. Composite spacing is the Decks.com summary of maker limits and varies by product. Confirm everything with your building department.

FAQ

What is the standard spacing for deck joists?

16 inches on center is the standard for most wood decks and straight composite boards. Use 12 inches for diagonal boards or for longer spans, and 24 inches only when the decking maker allows it.

How far apart should deck joists be?

Close enough that the decking is supported and the joist span passes the code table. For a Douglas fir 2×10, the span is 15′ 8″ at 12 in, 13′ 7″ at 16 in and 11′ 1″ at 24 in.

Can I space deck joists 24 inches apart?

Only if the decking is rated for it, such as heavy 2-inch boards, and the joist span still passes the table. A 24 in spacing also shortens the joist span, which often forces an extra beam and posts.

What size joists for a deck 12 feet wide?

A 12 ft span needs a 2×10 at 16 in on center or a 2×8 at 12 in on center in the Douglas fir-larch group. At 24 in it needs a 2×12.

How many joists do I need for a 12 × 12 deck?

At 16 in on center, the 12 ft length takes ceil(144 ÷ 16) + 1 = 10 joists. At 12 in it takes 13, and at 24 in it takes 7.

Do composite decks need closer joist spacing?

Often yes. Most composite makers allow 16 in for straight boards and 12 in for boards at 45°, and some want stair stringers at 12 or 9 in. Always follow the maker's chart.

How do I lay out deck joists at 16 inches on center?

Hook the tape on the end rim joist, mark every 16 in, and put the joist on one side of each mark so the center lands on the mark. The last joist goes at the end, even if the last bay is short.

Is there a deck joist span calculator?

The deck calculator on this site checks the joist span against the 2021 code table for the size, spacing and lumber group you choose, and tells you when the frame needs another beam line.

Is there a decking joist spacing calculator?

The same deck calculator counts the joists from the deck length and spacing, using ceil(length ÷ spacing) + 1, and gives the joist pieces, beams and posts. As a decking joist spacing calculator it starts from the boards you pick, then checks the frame.

Should the joists run with or across the house?

Joists run perpendicular to the decking boards and are usually fixed to a ledger on the house at one end, so they run away from the wall. The boards then run parallel to the wall.