Floor Joist Calculator

Find out how many floor joists you need for a floor or deck — at 12, 16, or 24 inches on-center — plus the rim joists and an estimate of the lumber cost.

How to measure an area — length times width Length Width
Measure the floor — joists run across the span, evenly spaced on-center along the length.

How to calculate floor joists

The number of joists depends on how far they spread along the floor and how tightly they're spaced:

Joists = (floor length × 12 ÷ on-center spacing) + 1

The “+ 1” is the joist at the far end. Each joist spans the other dimension, and two rim (band) joists cap the ends, running the full length. On top of the field joists you add doubled joists under partition walls and around stair or floor openings, plus mid-span blocking.

Approximate joist spans

Rough maximums for ordinary residential floors at 16″ on-center — always confirm with a span table or local code, since species, grade, and load change the answer.

Joist sizeApprox. max span (16″ OC)
2×6~9 ft
2×8~12–13 ft
2×10~16 ft
2×12~18 ft

Good to know

  • Spacing changes stiffness. 16″ on-center is standard; drop to 12″ for tile or bouncy floors, and 24″ where the span table and code allow.
  • Block long joists. Add blocking or cross-bridging at mid-span on runs over ~8 ft to stop twisting.
  • Double up under loads. Joists under parallel walls, and the trimmers around openings, are doubled — extra boards beyond the count here.
  • Hang it right. Joist hangers and the correct structural fasteners matter as much as the joists themselves.

Frequently asked questions

How many joists for a 20 ft floor?
At 16″ on-center, about 16 joists (20 × 12 ÷ 16, plus one), plus two rim joists capping the ends.
What size joist for a 12 ft span?
A 2×8 typically spans about 12–13 ft at 16″ on-center for a normal residential floor — but confirm with a span table for your wood and load.
What spacing should I use?
16″ on-center is standard. Use 12″ for stiffer floors or tile; 24″ uses less lumber where code and the span table allow.
Do I need blocking?
Yes — blocking or bridging at mid-span for joists over ~8 ft, plus doubled joists under walls and around openings.

How we calculate this

  • Joists = span ÷ spacing (12", 16", or 24" on-center) + 1
  • Extra joists are added at openings and where doubling is needed
  • Quantities assume standard dimensional lumber

Joist size and allowable span depend on load and wood species — confirm against span tables or an engineer.

Sources:International Residential Code (IRC) framing norms. Last reviewed:June 2026. See our methodology for how we build every estimate.