Joist Spacing Calculator

A joist spacing calculator counts joists as run length × 12 ÷ spacing, rounded up, plus 1. A 16 ft run at 16 in on center takes 13 joists.

Joists needed13
Total length
Length along a straight run. Enter the total distance to cover.

Joist spacing calculator: the count formula

A joist spacing calculator tells you how many joists fit along a run when they sit a set distance apart. Convert the run to inches, divide by the on-center spacing, round up, and add one for the starting joist.

Joists = ceiling(run in feet × 12 ÷ spacing in inches) + 1.

The “on center” distance is measured from the middle of one joist to the middle of the next. That is the number lumber suppliers and span tables use.

Why you add one

Picture a fence. Ten gaps between fence boards need eleven boards. Joists work the same way. A 16 ft run is 192 inches. At 16 in spacing that is 192 ÷ 16 = 12 gaps, and 12 gaps need 13 joists.

Worked examples

Example 1, the default values. 16 ft run, 16 in on center.

  • Run in inches: 16 × 12 = 192
  • Gaps: 192 ÷ 16 = 12
  • Joists: 12 + 1 = 13

Example 2, a run that does not divide evenly. 15 ft run, 16 in on center.

  • Run in inches: 180
  • Gaps: 180 ÷ 16 = 11.25, rounded up to 12
  • Joists: 12 + 1 = 13

Eleven full gaps reach 176 inches. The 13th joist sits at the 180 inch end, so the last bay is only 4 inches wide. The calculator gives the end joist for you, but check that a 4 inch bay works for your decking or subfloor.

Example 3, a wide spacing. 20 ft run, 24 in on center.

  • Gaps: 240 ÷ 24 = 10
  • Joists: 11

Count by spacing over a 20 ft run

On-center spacing Joists
12 in 21
16 in 16
19.2 in 14
24 in 11

Moving from 16 in to 12 in adds five joists on this run. Tighter spacing means a stiffer floor and more lumber.

Which spacing to choose

  • 16 in is a standard choice for floors and decks, and most plywood subfloor and decking is designed around it.
  • 12 in is used when decking runs diagonally or when a board manufacturer requires it.
  • 19.2 in comes from dividing an 8 ft sheet into five equal bays, and some engineered floor systems use it.
  • 24 in is common in roof framing and some wall framing, and less common for floors.

Which one is allowed depends on joist size, wood species, span, and load, so use the span tables from your local code.

How to measure the run

Measure the length that the joists must fill, from the face of one support to the face of the other. Stretch a tape along the ledger or rim. If the run changes because of a bay window or a stair opening, count each section on its own.

What the count leaves out

  • Rim joists at the ends and outer edges
  • Doubled joists beside openings or under load-bearing walls
  • Blocking or bridging between joists
  • Hangers and fasteners

Add these from your drawing.

Common mistakes

  • Forgetting the +1. Dividing 192 by 16 gives 12, but you need 13.
  • Measuring spacing edge to edge instead of center to center.
  • Using the same spacing for every board product. Check the maker.
  • Ignoring the short last bay. When the run is not a multiple of the spacing, the count adds an end joist, so the final gap is narrower than the rest.

Laying out the marks

Snap a line along the ledger and mark every joist center before you hang anything. At 16 in spacing, marks fall at 16, 32, 48 and so on from the starting joist. Many builders also mark the end of the run first and work back, so any short gap lands against the wall instead of in the middle of the floor. Check your marks against the count: a 16 ft run should produce 13 marks including the first and last.

The deck joist calculator is a good next step for sizing the lumber. The beam span calculator and the floor load calculator cover the loading side. Because spans and loads are a structural matter, confirm final sizes with your local code or a licensed professional.

Embed this calculator on your site

Free to use. Paste this into your page's HTML. Please keep the link under the calculator.

Frequently asked questions

Why does the count add 1 to the division result?

A run has one more joist than it has gaps, because both ends of every gap are a joist. Twelve 16-inch gaps across 16 ft need 13 joists, with the first at the start of the run and the last at 16 ft. The formula rounds the gaps up and then adds one.

What is the most common joist spacing?

Sixteen inches on center is the most common for floors, and 12, 19.2, and 24 inches also appear. Deck framing is often 16 inches, with 12 inches used for diagonal decking or certain composite boards. Your decking maker lists the maximum allowed.

How do I know if my spacing is allowed for my span?

Look up the joist size, species, grade, and spacing in the span tables in your local code or lumber supplier's literature. Longer spans or wider spacing need deeper lumber. Ask your building department, since this calculator counts joists and does not check span.

What if the run is not an exact multiple of the spacing?

The count rounds up, so the end of the run gets its own joist and the last gap is shorter than the rest. A 15 ft run at 16 in gives 12 gaps and 13 joists. Eleven full gaps reach 176 in, and the 13th joist closes the 180 in end with a 4 in bay. Check that the short bay still suits your decking or subfloor.

Does this count work for both floor joists and deck joists?

Yes. It counts evenly spaced members along a run. It does not include rim joists, blocking, or doubled joists at openings, so add those from your plan.

Estimates only. Verify quantities with your supplier before purchasing.