Framing

Floor & Deck Joist Calculator

Count the joists for a floor, deck or shed at any on-center spacing, and get the board length to buy, rim joist, joist hangers and blocking. This tool counts material; it does not size joists for load.

Quick answer

Joists = length in inches ÷ spacing, plus one. A 16 ft long deck at 16 in on center needs 13 joists; at 12 in it needs 17.

With a 12 ft span you buy 12 ft boards, plus 32 ft of rim joist and 26 hangers.

Joists Needed

Results update as you type

The side the rim joist runs along, across the joists.

How long each joist is, from beam or wall to rim.

16 in is most common for floors and decks. Composite decking often needs 12 in, and diagonal decking less.

Solid blocking or bridging rows between joists; often one row at mid-span on longer spans.

Add a few percent for crowned or damaged boards, or for doubled joists under walls.

Optional.

Your result (planning estimate)

Joists —
Boards to buy—
Board length—
Joist linear ft—
Rim joist—
Joist hangers—
Blocking—
Cost—

How to Calculate the Number of Joists

Joists = (length × 12 ÷ spacing), rounded up, + 1

The extra one is the joist at the far end. Lumber comes in even lengths, so the board length to buy is the span rounded up to the next even foot (8, 10, 12, 14, 16 ft and so on). The rim joists run along both ends of the joists, so the rim is twice the length. Joist hangers are two per joist when every joist hangs from a ledger or beam at both ends; fewer if joists sit on top of a beam.

Joist size is a separate decision

How deep a joist must be (2x6, 2x8, 2x10, 2x12) depends on the span, spacing, wood species and grade, and the load. Check the span tables in your local building code or the American Wood Council tables, and follow your building department.

Number of Joists by Length and Spacing

Includes both end joists.

Length12 in o.c.16 in o.c.19.2 in o.c.24 in o.c.
8 ft9765
10 ft11986
12 ft131097
16 ft1713119
20 ft21161411
24 ft25191613
30 ft31242016
40 ft41312621

Framing Tips

  • Crown up: sight down each joist and install the slight bow facing up.
  • Double joists under walls parallel to the joists, around openings and under hot tubs; add them to the extra percent.
  • Decks: use ground-contact treated lumber and the right hangers and fasteners; size footings with the deck footing calculator.
  • Subfloor next: count sheets with the plywood calculator.

Joist FAQ

How do I calculate how many joists I need?

Divide the length in inches by the spacing, round up and add one. A 16 ft (192 in) floor at 16 in on center needs 192 / 16 + 1 = 13 joists.

How many joists for a 12 x 16 deck?

If the joists span 12 ft and are spaced along the 16 ft side at 16 in on center, you need 13 joists of 12 ft plus 32 ft of rim joist. At 12 in on center it is 17 joists.

How many joists for a 10 x 10 deck?

At 16 in on center, 9 joists: 120 / 16 = 7.5, rounded up to 8, plus 1 for the end joist. The last bay is a little narrower than 16 in, which is fine. At 12 in on center it is 11 joists.

What spacing should floor joists be?

16 in on center is the most common. 12 in gives a stiffer floor and is often required for composite decking; 24 in is used with deeper joists or engineered lumber.

How many joist hangers do I need?

Two per joist if each joist hangs at both ends, one per joist if one end sits on a beam. A 13-joist deck hung at both ends needs 26 hangers.

How we built this calculator: joists = ceil(length × 12 ÷ spacing) + 1, board length = span rounded up to an even foot, rim = 2 × length, hangers = 2 per joist, blocking = rows × length. It is a planning estimate: confirm quantities with your supplier or contractor. Written and checked by the YardsCalculator editorial team.