Building materials
Rafters
Count floor joists, ceiling joists or rafters by on-center spacing and get the stock lengths to buy. The calculator counts pieces. It does not size lumber.
Joists and rafters
The distance the joists are spaced along, across the joists. For rafters it is the length of the roof along the eave.
Measured level, from the outside of the wall to the ridge.
Past the wall. Measured level when the rafter is figured from the pitch, along the rafter when you enter its length.
Measured center to center. This is a starting value: use the spacing on the plans or in the span table.
Doubled joists under a wall or trimmers around an opening. Counted at full length.
Rows of short pieces between the members, across the span. 0 counts none.
0, 1 or 2 per joist or rafter.
The length the lumber is bought in. Pick Own length if yours is not in the list.
Advanced options
Cutting is already counted piece by piece. Waste covers damaged or rejected lumber and adds a length only when the offcuts do not cover it. Add a spare joist under Extra joists or rafters.
Your own price. Leave empty and no cost is shown.
Result
Result · Stock lengths to buy
Important about this calculationThe calculation uses typical values and common assumptions and may contain errors. Always check the quantities against your plans, the manufacturer’s instructions and the requirements that apply, and confirm them with your supplier before you order.26 × 16 ft
Required before rounding 26 · Left over 0.0197
| Rafters | 26 |
| Last bay, check | 1.33 ft |
| Length of each | 14.53 ft |
| Total length | 377.9 ft |
| Waste10% | 37.79 ft |
| Length with waste | 415.69 ft |
| Stock lengths by the cutting list | 26 |
| Length bought | 416 ft |
Find suppliers near you
Enter a ZIP code or city and we’ll list suppliers in your area.
How we calculated it
- 1Number in a row = 16 ft ÷ 16 in, rounded up, + 1 = 13
- 2Last bay = 16 ft − 11 × 16 in = 1.33 ft
- 3Pitch factor = √(1 + 50%²) = 111.8%
- 4Rafter length = (12 ft + 12 in) × 111.8% = 14.53 ft
- 5Rafters = 13 × 2 (roof sides) + 0 extra = 26
- 6Length = 26 × 14.53 ft = 377.9 ft
- 7Cutting list: 26 pieces out of lengths of 16 ft, longest first, with offcuts used for shorter pieces = 26 stock lengths
- 8With waste = 377.9 ft × (1 + 10%) = 415.69 ft
- 9To buy = the larger of 26 lengths by the cutting list and 415.69 ft ÷ 16 ft = 26, rounded up = 26
Assumptions
- The calculator counts pieces and lengths only. The size of the lumber and the span it can carry come from a span table or a designer.
- One joist or rafter is counted at each end of the distance and the rest at 1.33 ft on center. The last bay is what is left.
- The rafter is the level run plus the level overhang, times the pitch factor. Nothing is added for the cuts at the ridge and the top plate.
- Every piece is cut whole from one stock length, longest first, and an offcut is used for a shorter piece when it is long enough. Nothing is taken off for the saw kerf or for squaring the ends.
Stock lengths to buy
26 × 16 ft
