Joist spacing: how many joists do you need?
To count joists, divide the length of the floor or deck in inches by the on-centre spacing, round up to a whole number and add one for the last joist. A 12 ft run at 16 inches on centre is 144 ÷ 16 = 9, plus 1 = 10 joists.
Joists needed by length and spacing
| Run length | 12 in o.c. | 16 in o.c. | 19.2 in o.c. | 24 in o.c. |
|---|---|---|---|---|
| 8 ft (96 in) | 9 | 7 | 6 | 5 |
| 12 ft (144 in) | 13 | 10 | 9 | 7 |
| 16 ft (192 in) | 17 | 13 | 11 | 9 |
| 20 ft (240 in) | 21 | 16 | 14 | 11 |
Check the 20 ft row at 19.2 in: 240 ÷ 19.2 = 12.5, rounded up to 13, plus 1 = 14. The last bay is then shorter than the others. That is normal; many builders set the first joist at the end and run the layout from there.
What on centre really measures
On-centre spacing is measured from the centre line of one joist to the centre line of the next. Nominal 2× joists are 1½ inches thick, so at 16 in on centre the clear gap between two joists is 16 − 1.5 = 14.5 inches. If you need clear gaps instead (for example to fit blocking or insulation batts), that is a different calculation, explained in equal spacing between posts: gaps versus centres.
Why 16, 19.2 and 24?
Standard span tables list joist spacing of 12, 16, 19.2 and 24 inches. A 4 ft panel edge lands on a joist centre at 16 and 24 in, and 19.2 in splits an 8 ft length into exactly five spaces (96 ÷ 19.2 = 5). Closer spacing generally allows a longer span or a lighter-duty board but uses more joists and more lumber, so you balance cost against stiffness.
Laying out the marks
- Measure the run and confirm it square before marking.
- Hook the tape on the end and mark the centre of each joist at the spacing from the first joist: 16, 32, 48 and so on. A first joist set flush with the end has its centre 0.75 in from the edge, so measure from that mark.
- Check the last bay and decide whether to double the final joist or leave a short bay.
- Re-check against the plans before cutting.
What about span?
How far a joist can span depends on species, grade, depth, spacing and the loads it carries. Published tables exist for this: the International Residential Code includes floor joist span tables in Chapter 5 (Table R502.3.1), available on the ICC code site. Different websites quote different values for the same size because they assume different species and loads, so do not rely on a number copied from a search result. Use the table for your lumber and confirm with your local building department, as the adopted code edition and amendments vary.
Decks and decking boards
Deck joist spacing is often limited by the decking, not the joist. Composite and wood decking each have a maximum span printed in the manufacturer's installation guide. Follow that guide and your local code.
Worked example: a 14 ft 6 in deck
Suppose a deck frame is 14 ft 6 in long, which is 174 inches, and you plan joists at 16 inches on centre. 174 ÷ 16 = 10.875, rounded up to 11, plus 1 = 12 joists. At 24 inches on centre: 174 ÷ 24 = 7.25, rounded up to 8, plus 1 = 9 joists. Three fewer joists is cheaper, but only if the span table, the decking and your local code all allow 24 inch spacing. If any one of them does not, the saving is not available.
Blocking and rim joists
The count above covers the field joists. Rim or band joists at the ends and any blocking between joists are separate pieces. Blocking often goes at mid-span or at the spacing your code or plans require. Count them from the drawing; a formula based on spacing alone will not include them.
Common mistakes
- Forgetting the +1. Ten spaces need eleven joists.
- Rounding down instead of up, which leaves the last bay wider than allowed.
- Measuring spacing edge to edge when the plan says on centre.
- Using a span value from a web page without checking the species, grade and load it assumes.
Doing it in Onsite Math
The Equal spacing tool in Onsite Math returns centre marks measured from the left for a run you enter, and the fraction calculator handles lengths like 14' 7 3/8". The app does not choose joist sizes or check spans: those come from the code tables. For lengths in mixed units, see the feet and inches calculator guide.
Frequently asked questions
How do I calculate the number of joists?
Divide the length in inches by the on-centre spacing, round up, and add one. A 12 ft (144 in) run at 16 in on centre is 144 ÷ 16 = 9, plus 1 = 10 joists.
What does on centre mean?
On centre (o.c.) is the distance from the centre of one joist to the centre of the next. It is not the gap between them.
How far can a 2x10 joist span?
It depends on species, grade, spacing and load, so there is no single answer. Use the span tables in the International Residential Code (Table R502.3.1) or your lumber supplier's tables, and check local code.
Why is 19.2 inches used?
19.2 in divides 96 in (8 ft) into exactly five equal spaces, which suits lumber and panel lengths that are multiples of 8 ft.