Skip to main content
FigureCalc

Floor Joist Calculator

By Uzair Arshad , Senior Civil and Structural Engineer

Last updated: June 6, 2026

A 14 by 20 ft floor needs 16 joists at 16 in OC, or 11 joists at 24 in OC — about 320 to 440 linear feet of 2x10 lumber. At 2026 prices that runs $480 to $760 in framing material. This calculator returns joist count, on-center layout, board lengths, waste allowance, and material cost from your floor size and lumber pick. Common pitfall: forgetting to add 1 to the count, since both ends need a joist.

Length each joist runs from support to support

Distance across the layout where spacing is applied

How to use this calculator

  1. Enter the joist span. This is the length each joist runs from one support to the other (beam to beam or wall to wall). For a 12 × 16 foot room where joists run the short way, the span is 12 feet.
  2. Enter the floor width. This is the distance across the joist layout where spacing is applied. In the same 12 × 16 room, the width across joists is 16 feet.
  3. Choose joist spacing. Most residential floors use 16 in OC. Use 12 in OC for tile floors or heavy loads. Use 24 in OC only where code and plans allow it for lightweight applications.
  4. Select the joist size. Pick 2x8, 2x10, or 2x12 based on your span table or approved plans. The calculator uses this for the shopping list label, not for structural sizing.
  5. Add waste and optional prices. A 10% waste factor covers cutoffs, crown-culled boards, and layout adjustments. Enter per-board and per-hanger prices to see total estimated cost.

Pro tip: Joist count depends on the width across the layout, not the span direction. I've seen first-time builders divide the wrong dimension and end up short by 30% on lumber. Always confirm which direction the joists run before calculating.

How the calculation works

Joist count:
Field joists = ceil(Floor width in inches / OC spacing) + 1
Rim boards = 2 (one each end)

Hardware:
Joist hangers = Field joists × 2

Buying quantity:
Total boards = Field joists + Rim boards
Boards to buy = ceil(Total boards × (1 + Waste % / 100))
Floor width
Distance across the joist layout in feet or inches
Joist span
Length each joist runs from support to support
OC spacing
Center-to-center distance between joists (usually 16 inches)
Waste %
Extra material for cutoffs, defects, and layout adjustments

This floor joist calculator counts the number of framing boards needed for a rectangular floor layout based on spacing and dimensions.

Main formula:

Field joists = ceil(Floor width in inches / OC spacing) + 1

Variables:

  • Floor width = distance across the joist layout, converted to inches
  • OC spacing = center-to-center distance between joists (12, 16, 19.2, or 24 inches)
  • Joist span = length each joist runs from support to support
  • Rim boards = 2 end boards that cap the joist layout at each side
  • Joist hangers = 2 per field joist (one at each end where the joist meets a beam or ledger)
  • Waste factor = percentage added for cutoffs, defects, and crowned boards you can't use

Example:

A 16 foot wide floor with joists spanning 12 feet at 16 in OC, using 2x10 lumber.

Step Calculation
Width in inches 16 × 12 = 192 in
Spaces ceil(192 / 16) = 12
Field joists 12 + 1 = 13
Rim boards 2
Total boards 13 + 2 = 15
With 10% waste ceil(15 × 1.10) = 17 boards to buy
Joist hangers 13 × 2 = 26 hangers
Each joist length 12 ft (2x10 × 12 ft)

For more on choosing a joist size from span tables and avoiding the most common layout mistake, see our guide to calculating floor joists by spacing and span.

Assumptions:

  • The floor is rectangular with straight, parallel joist runs
  • Two rim (band) boards cap the joist layout at each end
  • Joist hangers are estimated at 2 per field joist. Some framing methods use face nailing instead of hangers.
  • This calculator estimates material quantity only. Joist size, allowable span, and load capacity depend on wood species, lumber grade, and local building code. Most residential framing uses SPF (Spruce-Pine-Fir) or Douglas Fir in #2 grade. Check IRC Table R502.3.1 for allowable joist spans by species, grade, and spacing.
  • For decks, sheds, and loft floors, the same spacing math applies but span limits and hardware requirements may differ.

Common mistakes:

  • Dividing by the joist span instead of the floor width across the layout. The span is the length of each board, not the dimension that controls joist count.
  • Forgetting to add the starting joist. Dividing width by spacing gives you the number of spaces, not the number of joists. You always need one more joist than you have spaces.
  • Treating the calculator result as structural approval. Quantity and span capacity are separate decisions. Always check approved span tables or consult an engineer for load-bearing floors.

Deck and shed floors:

The same floor joist calculator formula works for decks, sheds, and loft floors. The spacing math is identical. The difference is in allowable span, hardware, and exposure. Deck joists often need pressure-treated lumber and may require different hanger types for outdoor use. Shed floors on skids may not need hangers at all if the joists rest directly on beams.

Quick rule for the floor joist calculator:

  • At 16 in OC, plan roughly 1 joist per foot of floor width, plus 1
  • At 12 in OC, plan roughly 1 joist per foot of floor width, plus a few extra
  • At 24 in OC, plan roughly 1 joist per 1.5 feet of floor width, plus 1

Frequently Asked Questions

How many floor joists do I need?

Divide the floor width in inches by the on-center spacing, round up, then add one for the starting edge joist — that gives field joists, before rim boards. For a 12 ft wide room at 16 in OC, that's ceil(144 / 16) + 1 = 10 field joists. Add 2 rim boards along the long edges plus 10 percent waste for cuts and culled lumber, so the buy list comes to about 14 boards total. The width across the layout drives the count, not the joist span length. Worked example: a 14 by 20 ft floor with joists spanning the 14 ft direction needs ceil(240 / 16) + 1 = 16 field joists at 16 in OC, or ceil(240 / 24) + 1 = 11 joists at 24 in OC where code permits. Common mistake: dividing the span direction instead of the width direction underbuys lumber by 30 percent or more.

How to calculate floor joists?

Identify which direction the joists run, then measure the width perpendicular to them. Divide that width in inches by the on-center spacing, round up to a whole number, and add one for the starting edge joist. A 10 ft width at 16 in OC gives ceil(120 / 16) + 1 = 9 field joists. Then add 2 rim boards parallel to the joists and a waste factor of 10 percent for cuts and crowned boards you cannot use. Worked example: a 12 by 18 ft room with joists spanning 12 ft needs ceil(216 / 16) + 1 = 15 field joists, each 12 ft long, plus 2 rim boards of 18 ft. Common mistake: confusing span (joist length) with width (where spacing applies). Joist count depends on width; joist size and grade depend on span and load.

How to calculate how many floor joists I need?

Convert the floor width to inches, divide by the on-center spacing, round up to the next whole number, and add one for the edge joist. For a 15 ft width at 16 in spacing, that's ceil(180 / 16) + 1 = 13 field joists before rim boards and waste. The formula assumes joists run perpendicular to the width measurement. Worked example: a 16 by 24 ft floor with joists spanning the 16 ft direction needs ceil(288 / 16) + 1 = 19 field joists at 16 in OC. Switching to 24 in OC drops that to ceil(288 / 24) + 1 = 13 joists, where allowed. Always specify which dimension is the span and which is the width. Common mistake: forgetting the + 1 in the formula leaves one edge unsupported and the count short by one.

How to calculate floor joist spacing?

Floor joist spacing is measured center to center between adjacent joists, not edge to edge. Standard residential framing uses 16 in OC, which the IRC allows for most 2x10 and 2x12 spans up to 14 to 18 ft depending on lumber grade and live load. Tighter 12 in OC adds stiffness for tile, stone, or heavy point loads. Wider 24 in OC works for some lighter loads where the IRC allows it (usually 2x12 lumber with shorter spans). Worked example: at 16 in OC, joists land at 0, 16, 32, 48 in across the width. A standard 8 ft subfloor sheet lands on 16 in OC joists every 96 in. Common mistake: confusing 16 in OC with 16 in clear gap between joists — at 16 in OC, the actual clear gap between two 2x10 joists is 14.5 in.

How to calculate floor joist quantity?

Floor joist quantity depends on layout width perpendicular to the joists, not floor area. Divide the width in inches by OC spacing, round up, add one for the edge joist, then add 2 rim boards along the long sides. Apply a waste factor of 10 percent for cuts and culled lumber. Worked example: a 16 by 22 ft floor with joists spanning the 16 ft direction at 16 in OC needs ceil(264 / 16) + 1 = 18 field joists at 16 ft each, plus 2 rim boards of 22 ft. With 10 percent waste, the buy list is about 22 × 16 ft 2x10s and 2 × 22 ft 2x10s. Each joist also needs 2 hangers, one at each end where it meets a beam or ledger. Common mistake: skipping rim boards in the count — they are structural, code-required, and always add 2 to the buy list.

How many floor joists for a 12 × 16 room?

For a 12 by 16 ft room with joists spanning the 12 ft direction and spaced at 16 in OC across the 16 ft width, you need ceil(192 / 16) + 1 = 13 field joists, plus 2 rim boards along the 16 ft sides. Each field joist is 12 ft long (or 12 ft plus bearing length where the joist sits on a beam). With 10 percent waste, the buy list is about 15 × 12 ft 2x10s and 2 × 16 ft 2x10s. Switching to 24 in OC drops the field joist count to ceil(192 / 24) + 1 = 9 joists, but check the IRC span tables for your lumber size, grade, and live load before committing. Common mistake: using 24 in OC under tile flooring — the table may allow it, but stiffness suffers and grout cracks within a year.

Related reading