Decking calculator

Deck Joist Calculator

A deck joist calculator that works out how many joists a deck needs, and whether the joist size you picked can actually span the distance. Enter the deck length along the ledger, the clear span, the spacing and the joist size, and the calculator gives you the joist count, checks the span against the IRC Table R507.6 limits, and adds the blocking, the rim joists, the ledger and the total board feet. With a clear fail warning when the span is too long for the size.

  • Free to use
  • No sign-up
  • Formula and sources shown
Deck Joist Calculator

Got the number? Save it before it gets lost.

A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.

Save this estimate in the app
16

The direction the joists are counted across.

10

Distance between supports, ledger to beam, or beam to beam. Not the board length.

Joists needed (2x8 at 16 in on-center)

13 joists

Span passes: 10 ft is within the 11.83 ft IRC limit, with 1.83 ft to spare.

SizeMax spanVerdict
2x69.08 ftFails
2x8 ✓11.83 ftPasses
2x1014.92 ftPasses
2x1218 ftPasses
Blocking1 row · 12 pieces
Rim joist32 ft · 2 boards
Ledger16 ft
Total board feet261 bf (with waste)

Planning estimate only. Spans are IRC Table R507.6 for Southern pine #2 at 40 psf live + 10 psf dead load. Confirm against your local code and a licensed professional before building.

Turn this result into a priced plan

Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.

Open this calculator in the app

Formula

Joists = floor(deck length x 12 / spacing) + 1; Span check: clear span vs IRC Table R507.6 maximum span for the joist size and spacing; Blocking = 1 row when the span is over 8 ft

Worked example. A 16 ft deck with a 10 ft joist span, 2x8 joists at 16 in on-center: 13 joists, maximum span 11.83 ft, so the 10 ft span passes with 1.83 ft to spare, 1 row of blocking (12 pieces), 32 ft of rim joist (2 boards of 16 ft), a 16 ft ledger, 173 board feet of joists, 237 board feet in total, and 261 board feet with 10% waste.

A 16 ft deck with a 10 ft joist span, built with 2x8 joists at 16 in on-center, needs 13 joists, and the span passes: the IRC Table R507.6 limit for a 2x8 at 16 in is 11.83 ft, so a 10 ft span has 1.83 ft to spare. Add 1 row of blocking (12 pieces), 32 ft of rim joist, a 16 ft ledger and 10% waste, and the frame is 261 board feet. Count the joists across the length, then check the span against the table for the size and spacing you picked.

Key takeaways

  • •A 16 ft deck at 16 in on-center needs 13 joists: floor(192 / 16) + 1. At 12 in spacing it needs 17, and at 24 in it needs 9.
  • •A 2x8 at 16 in spans 11.83 ft under IRC Table R507.6, so a 10 ft span passes with 1.83 ft to spare, but a 12 ft span fails by 0.17 ft, about 2 in.
  • •The fix for a failed span is either a bigger joist (a 2x10 at 16 in spans 14.92 ft) or tighter spacing (a 2x8 at 12 in spans 12.75 ft).
  • •Blocking is one row at mid-span when the span is over 8 ft: 12 pieces on the default deck, one between each pair of joists.
  • •Rim joists run along both ends of the deck: 32 ft on a 16 ft deck, which is 2 boards of 16 ft. The ledger is one more board the length of the deck.
  • •The default frame is 261 board feet in total with 10% waste: 173 board feet of joists plus the rim joists and the ledger.
  • •Span is the clear distance between supports, not the length of the board. Measure beam to ledger, or beam to beam.
  • •Spacing changes the span as well as the count: tightening from 16 in to 12 in adds 4 joists on a 16 ft deck and buys almost a foot of span on a 2x8.
  • •The limits here are Southern pine #2 at 40 psf live plus 10 psf dead load. Other species are lower, and a roof or a hot tub on the deck is a different design.
  • •A span that fails by 2 in is still a fail: the table is a hard limit, not a guideline, and the building department will check it.

How to use the deck joist calculator

  1. Measure the deck length along the house, where the ledger goes, in feet. This is the direction the joists are counted across.
  2. Measure the clear joist span: the distance from the ledger to the beam, or from beam to beam, in feet. Do not use the board length.
  3. Pick the joist spacing: 12, 16 or 24 in on-center. 16 in is the standard for 5/4 in decking.
  4. Pick the joist size: 2x6, 2x8, 2x10 or 2x12. Bigger joists span further and cost more per board foot.
  5. Read the span verdict first. If it says the span fails, change the size or the spacing until it passes, and only then read the quantities.
  6. Read the joist count, the blocking pieces, the rim joist boards, the ledger and the total board feet, and take the board feet to the lumber yard as your order list.
  7. Take the joist layout to the deck calculator for the decking boards, and to the deck railing calculator for the rail and balusters.

The span table: IRC Table R507.6

The span check is the part of this calculator that the other deck tools skip. Most deck joist calculators give you a joist count and stop, which means a deck can be framed with joists that are too small for the span and nobody finds out until the inspector arrives. This calculator checks every size at your spacing against the IRC Table R507.6 limits for Southern pine #2, 40 psf live load plus 10 psf dead load, and shows the whole table so you can see the next size up.

Joist size12 in on-center16 in on-center24 in on-center
2x69.92 ft9.08 ft7.75 ft
2x812.75 ft11.83 ft10.17 ft
2x1016.25 ft14.92 ft13.00 ft
2x1219.50 ft18.00 ft15.75 ft

Maximum clear spans in feet, IRC Table R507.6, Southern pine #2, 40 psf live load + 10 psf dead load, as commonly tabulated. Other species and grades have lower limits; the code edition your jurisdiction adopted governs.

Read the table by the span you need, not by the size you want to buy. Find your span in the column for your spacing, and the first size whose limit is longer than your span is the smallest joist that works. A 12 ft span at 16 in needs a 2x10, because the 2x8 stops at 11.83 ft. A 15 ft span at 16 in needs a 2x12, because the 2x10 stops at 14.92 ft. There is no rounding in your favour: a span 2 in over the limit is a fail.

Worked examples

1. The default: a 16 ft deck, 10 ft span, 2x8 joists at 16 in on-center

  • Joists: floor(16 x 12 / 16) + 1 = floor(12) + 1 = 13 joists
  • Maximum span for a 2x8 at 16 in: 11.83 ft, so a 10 ft span passes with 11.83 - 10 = 1.83 ft to spare
  • Blocking: the span is over 8 ft, so 1 row, and 13 - 1 = 12 blocking pieces
  • Rim joist: 2 x 16 ft = 32 ft, which is 2 boards of 16 ft; ledger: 16 ft, 1 board
  • Board feet: joists 13 x 10 ft x 1.333 = 173 board feet; with the rim joists (32 ft) and ledger (16 ft), 237 board feet in total, 261 board feet with 10% waste

2. The same deck stretched to a 12 ft span: the fail warning

  • Joists: still 13, because the deck length did not change, only the span
  • Maximum span for a 2x8 at 16 in: 11.83 ft, so a 12 ft span fails by 12 - 11.83 = 0.17 ft, about 2 in
  • Fix one, bigger joist: a 2x10 at 16 in spans 14.92 ft, so the 12 ft span passes with 2.92 ft to spare
  • Fix two, tighter spacing: a 2x8 at 12 in spans 12.75 ft, so the 12 ft span passes with 0.75 ft to spare, but the joist count rises to 17 and the board feet rise to 370 in total with 10% waste
  • The cheapest fix is usually the tighter spacing if the span is only just over, and the bigger joist if it is over by more than a foot

3. A 20 ft deck, 12 ft span, 2x10 joists at 12 in on-center

  • Joists: floor(20 x 12 / 12) + 1 = 21 joists
  • Maximum span for a 2x10 at 12 in: 16.25 ft, so a 12 ft span passes with 4.25 ft to spare
  • Blocking: 1 row, 21 - 1 = 20 pieces; rim joist: 2 x 20 ft = 40 ft, which is 3 boards of 16 ft
  • Ledger: 20 ft; board feet: joists 21 x 12 ft x 1.667 = 420 board feet, 572 board feet in total with 10% waste
  • Compare with the same deck at 16 in spacing: 16 joists instead of 21, and a 2x10 at 16 in still spans 14.92 ft, so it still passes. The 12 in spacing here is a choice, not a need

Spacing: 12, 16 or 24 inches

Spacing is the distance between the centres of neighbouring joists, and it does two things at once: it sets how many joists you buy, and it sets how far each joist can span. Tighter spacing means more joists and a longer allowable span, because each joist carries a narrower strip of deck. The table below shows the trade on the default 16 ft deck with a 10 ft span and 2x8 joists.

SpacingJoists on a 16 ft deckMax span, 2x810 ft span passes?
12 in1712.75 ftYes, by 2.75 ft
16 in (standard)1311.83 ftYes, by 1.83 ft
24 in910.17 ftYes, by 0.17 ft, too close to the limit

The decking sets the spacing as much as the span does. Standard 5/4 in deck boards are rated for 16 in spacing; at 24 in they deflect and feel springy, and diagonal decking needs 12 in spacing because the boards cross the joists at an angle and the effective span is longer. Always check the decking manufacturer's spacing requirement before you pick 24 in to save joists.

Blocking, rim joists and the ledger

The joists are only part of the frame. Blocking keeps the joists upright and spreads point loads, the rim joist ties the ends together, and the ledger ties the whole deck to the house. All three are in the calculator's result, and all three are easy to forget on the order.

  • •Blocking: one row at mid-span when the span is over 8 ft, one piece between each pair of joists, so joist count minus one. Each piece is cut to the clear distance between joists, about 14.5 in at 16 in spacing for a 2x8.
  • •Rim joist: two boards, one along each end of the deck, in the same size as the joists, so 32 ft on a 16 ft deck, sold as 2 boards of 16 ft.
  • •Ledger: one board the length of the deck, fixed to the house with lag screws or through-bolts, with flashing above it so water cannot get behind it. A failed ledger is the most common cause of a deck collapse, so the connection matters more than the board.
  • •Beam: the calculator does not size the beam the joists sit on. The beam span follows IRC Table R507.5, and the post spacing follows the beam size, so size the beam separately with the wood beam span calculator.

Board feet are the lumber yard's unit, and the calculator totals them across joists, rim joists and ledger with the waste allowance. One board foot is 144 cubic inches of wood, so a 2x8 carries 1.333 board feet per linear foot and a 2x10 carries 1.667. The default deck's 261 board feet is the number to quote at the yard, not the 13 joists on their own.

Common mistakes

  1. Measuring the board length instead of the clear span, and checking a 12 ft board against a table that allows 11.83 ft of clear span.
  2. Forgetting the end joist: the count is floor(length / spacing) + 1, not length / spacing, so a 16 ft deck at 16 in needs 13 joists, not 12.
  3. Building at 24 in spacing with 5/4 in decking, which the decking is not rated for, and getting a springy deck.
  4. Skipping the blocking on a span over 8 ft, so the joists can twist and a heavy load sits on one joist alone.
  5. Sizing the joists but not the beam, and putting a beam span in that Table R507.5 does not allow.
  6. Nailing the ledger through the siding without flashing, which rots the house framing behind the deck.
  7. Using the Southern pine table for Spruce-Pine-Fir lumber, which spans less, and failing the inspection.
  8. Treating a 2 in overage as close enough: the table limit is a hard limit, and 12 ft on a joist rated for 11.83 ft fails.

How this page beats the other deck joist calculators

The deck joist tools on Omni Calculator, CalculatorSoup and Inch Calculator all count joists, and some of them show a span, but none of them check the span against the code table and warn you when it fails. Decks.com has a span table, but it is a table you read yourself, not a calculator that checks your numbers. BuildItCalc's deck tools count boards and leave the structure to you.

What you getOmni CalculatorCalculatorSoupDecks.com tableThis page
Joist countYesYesNoYes
Span check vs IRC Table R507.6NoNoTable onlyYes, pass / fail with the margin
Full span table for all sizesNoNoYesYes, all 4 sizes at your spacing
Blocking countNoNoNoYes, rows and pieces
Rim joist and ledgerNoNoNoYes, feet and board count
Total board feetNoSometimesNoYes, with waste
Fail warning with the fixNoNoNoYes, bigger joist or tighter spacing
Worked examples with real numbersFewFewNoThree, every number matching the engine

The span check is the feature that changes the build. A joist count is an order list; a span check is a structural decision, and it is the decision that gets a deck through inspection. Showing the whole table at the spacing you picked means you can see the next size up without re-running anything, and the fail warning names the two fixes instead of leaving you to guess.

Code, loads and when to get a professional

Deck joist spans come from IRC Table R507.6, which assumes 40 psf of live load and 10 psf of dead load, the standard residential deck case. The 40 psf covers people, furniture and a normal crowd on the deck. It does not cover a roof over the deck, a hot tub, a heavy planter or a crowd at a party all standing on one side, and any of those needs an engineered design or a bigger joist than the table gives.

  • •A hot tub full of water weighs thousands of pounds over a small footprint: never put one on a deck sized from this table without an engineer.
  • •A roof over the deck adds snow load and wind load, and the joists become roof joists with different tables and different rules.
  • •Cantilevered joists, where the deck extends past the beam, have their own limits in IRC Table R507.6 and the AWC DCA 6 guide, usually a cantilever no longer than a quarter of the span.
  • •Ledger connections, post footings and guardrail posts are the parts of a deck that fail most often, and they are covered by the AWC DCA 6 guide, not by the joist span table.
  • •The code edition your jurisdiction adopted governs, and local amendments can tighten the spans, especially in snow country.

If the deck carries anything beyond people and furniture, or if the span is close to the limit and the species is not Southern pine, ask a licensed professional before you build. The calculator's verdict is a planning check against a published table, not a stamped design.

Ordering the lumber

Order by the board feet and the board count together, and check the species and grade on the ticket. The default deck needs 13 joists of 2x8 at 10 ft, 2 rim joist boards of 16 ft, 1 ledger of 16 ft, and 12 blocking pieces cut from offcuts or a spare board. The 10% waste allowance in the 261 board feet covers a split board and the blocking cuts, but it does not cover a design change, so settle the span before you order.

Item (default deck)QuantityBoard
Joists, 2x81310 ft each
Rim joists, 2x8216 ft each
Ledger, 2x8116 ft
Blocking, 2x812 piecesCut to about 14.5 in each
Total261 board feet with wasteSouthern pine #2 or better

Buy the joists long and cut them on site if the yard's lengths do not match your span, and reject any board with a big knot in the middle third, a twist or a split at the end. Price the decking that goes on top with the deck calculator, the rail with the deck railing calculator, and the whole deck with the deck cost calculator before you commit to a size.

What to do next

Work out the decking boards with the deck calculator, the rail and balusters with the deck railing calculator, and the price with the deck cost calculator. Size the beam under the joists with the wood beam span calculator, check the floor joists inside the house with the floor joist calculator, and plan the lumber order with the lumber calculator. Save the finished numbers to your project in the BuildCova app so the order list travels with you to the lumber yard.

Assumptions

  • •Planning estimate only: deck spans are structural, so the code edition adopted by the authority having jurisdiction governs, and a licensed professional signs off any deck that carries a roof, a hot tub or unusual loads.
  • •Span limits are IRC Table R507.6 maximum spans for Southern pine #2, 40 psf live load plus 10 psf dead load, as commonly tabulated. Other species, grades and load cases have different limits; if you are building in Spruce-Pine-Fir or another species, the limits are lower, so check the table for your lumber.
  • •Joist count counts joists across the deck length along the ledger, plus one end joist. It does not add extra joists for stair openings, picture-frame borders or diagonal decking, which need their own layout.
  • •Blocking is one row at mid-span when the span is over 8 ft, which is the common IRC bridging rule for deck joists. Longer spans and deeper joists may need two rows.
  • •Board feet use the nominal size for each joist size, as lumber yards bill board feet on nominal dimensions, and the 10% waste allowance covers cuts, culls and the odd split board, not design changes.
  • •The span is the clear span between supports, beam to ledger or beam to beam, not the length of the board. A joist that cantilevers past the beam is a different check and is not covered here.

Sources✓ Verified

  • International Residential Code (IRC) 2021, Table R507.6 | Deck Joist Spans. Maximum deck joist spans by size, spacing and species, at 40 psf live load.
  • International Residential Code (IRC) 2021, Table R507.5 | Deck Beam Spans. The beam spans that go with the joist spans when the deck is supported on beams.
  • American Wood Council (AWC), Prescriptive Residential Wood Deck Construction Guide (DCA 6). Joist, beam, ledger and connection details for residential decks.

Formula reviewed November 2026.

Divide the deck length along the ledger by the spacing and add one. A 16 ft deck at 16 in on-center needs floor(192 / 16) + 1 = 13 joists. At 12 in spacing the same deck needs 17 joists, and at 24 in spacing it needs 9. The count is joists across the length, so a longer deck needs more joists even when the span stays the same.

At 16 in on-center, a Southern pine #2 2x8 spans 11.83 ft under IRC Table R507.6 (40 psf live load plus 10 psf dead load). At 12 in spacing it spans 12.75 ft, and at 24 in spacing it spans 10.17 ft. A 12 ft span at 16 in spacing fails by 0.17 ft, about 2 in, so you either step up to a 2x10, which spans 14.92 ft, or tighten the spacing to 12 in.

A Southern pine #2 2x10 spans 16.25 ft at 12 in on-center, 14.92 ft at 16 in and 13 ft at 24 in, under IRC Table R507.6. A 2x12 spans 19.5 ft at 12 in, 18 ft at 16 in and 15.75 ft at 24 in. Those are the planning limits this calculator checks against; your lumber species and grade change them, and a deck carrying a roof or a hot tub is a different design.

16 in is the standard for most decks with 5/4 in decking, and it is this calculator's default. Use 12 in when the span is close to the limit, when the decking runs diagonally, or when the decking manufacturer calls for it. 24 in spacing is only for thicker decking, usually 2 in nominal, and it cuts the span sharply: a 2x8 drops from 11.83 ft at 16 in to 10.17 ft at 24 in.

Yes, once the span is over 8 ft. Blocking, also called bridging, is a row of short blocks between the joists at mid-span that keeps them from twisting and spreads a point load across several joists. A 16 ft deck with 13 joists needs 12 blocking pieces in one row. Longer spans may need two rows, and the blocking is cut to fit between the joists, so each piece is the spacing minus the joist thickness, about 14.5 in at 16 in spacing.

The rim joist is the board that caps the ends of the joists and ties the frame together, running along both ends of the deck. A 16 ft deck needs 32 ft of rim joist, which is 2 boards of 16 ft in the same size as the joists. The ledger is the matching board fixed to the house, one board the length of the deck, so 16 ft here. Both are counted in the total board feet.

Converters to use with the Deck Joist Calculator

Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.

Browse all converters

More decking calculators

Deck CalculatorDeckingDeck CalculatorThis deck calculator works out exactly how many deck boards you need, the total linear feet to order, and the deck's square footage, so you buy the right amount the first time. Enter your deck dimensions and board width, then add a waste allowance and your board length to turn the result into a ready shopping list. A 16 ft by 12 ft deck with 5.5 in boards and a 1/4 in gap needs 26 boards, or 416 linear feet.Deck Railing & Baluster CalculatorDeckingDeck Railing & Baluster CalculatorA deck railing calculator that turns the clear length of a railing section and your baluster width into the baluster count you need to meet the standard 4-inch guard opening limit, and the actual spacing you will get. Gaps wider than the limit are a safety problem, and a wrong count shows up only after the rail is built. Enter the section length and get the spacing right.Trex Decking CalculatorDeckingTrex Decking CalculatorThis Trex decking calculator counts exactly how many Trex boards, hidden fasteners and joists your deck needs, and what the boards cost in Enhance, Select or Transcend. This is an independent estimator, not affiliated with, endorsed by, or sponsored by Trex Company, Inc. Enter your deck size, pick a Trex line and a board length, and get a full materials list with waste included.Composite Decking CalculatorDeckingComposite Decking CalculatorThis composite decking calculator counts exactly how many composite deck boards, joists and hidden fasteners your deck needs, and what the boards cost in composite, pressure-treated wood or capped PVC. Pick your material, board width and board length, and compare all three materials on the same deck before you buy. The material decides the price, the gap and the lifespan, so compare first.TimberTech Decking CalculatorDeckingTimberTech Decking CalculatorThis TimberTech decking calculator counts exactly how many TimberTech boards, hidden fasteners and joists your deck needs, and what the boards cost in Edge, Prime+ or AZEK, including the wide-plank 7.25 in AZEK board. This is an independent estimator, not affiliated with, endorsed by, or sponsored by TimberTech or AZEK Company. Enter your deck size, pick a line and a board width, and get a full materials list with waste included.Roof Decking CalculatorDeckingRoof Decking CalculatorThis roof decking calculator counts exactly how many 4x8 sheets of plywood or OSB your roof deck needs. Enter the building footprint and the roof pitch, and get a pitch-adjusted sheet count with waste, the true sloped area, and the total weight to haul, plus the thickness the code expects for your rafter spacing. The pitch is the whole job: a sloped roof has more surface than the footprint under it.

Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.