How it works
Divide the length in inches by the spacing and round up, then add one for the piece at the start. Spacing is measured centre to centre, from the middle of one piece to the middle of the next. The last space usually comes out shorter than the rest, which is normal. Openings for stairs, chimneys and ducts need extra pieces that this count does not include.
Formula
pieces = spaces + 1
gap at the end = length − spaces × spacing
Sources
Example
20 ft is 240 in. At 16 in on centre: 240 ÷ 16 = 15 spaces, so 16 pieces. The gap at the far end is 240 − 15 × 16 = 0 in. Check: 15 spaces × 16 in = 240 in, the full length.
Frequently asked questions
What does on centre mean?
The distance from the middle of one piece to the middle of the next, not the clear gap between them.
Why add one?
Both ends need a piece, so there is always one more piece than there are spaces.
Which spacing should I use?
Your project or local code sets it for the load. This page states none.
What about openings?
Add the extra pieces for openings by hand.