Free Rafter Calculator — Length, Count & Spacing (2026)
Free rafter calculator — get rafter length, count & spacing for any roof type. Covers 16" and 24" OC for gable, hip & shed roofs instantly.
How to Use This Calculator
- 1Measure total roof length in feet.
- 2Select spacing.
- 3Click Calculate — result includes rafters for both sides of the roof.
About This Material
Rafters are the sloped structural lumber members that form the roof frame in stick-built (site-framed) construction. Unlike factory-built trusses, rafters are individually cut and installed on site, allowing for open attic space, cathedral ceilings, or unique roof geometries. Common rafter sizes are 2x6 (spans up to 10 feet), 2x8 (up to 13 feet), 2x10 (up to 16 feet), and 2x12 (up to 20 feet) at 16-inch on-center spacing, depending on the lumber species, grade, and local snow or wind loads. Each rafter requires a bird's mouth cut where it sits on the wall top plate and a plumb cut at the ridge. Rafters are typically paired on opposite sides of a ridge board and connected with collar ties or ceiling joists to prevent the walls from spreading outward. Rafter lumber costs $8 to $25 per board depending on dimension and length. Stick framing with rafters is more labor-intensive than trusses but offers greater design flexibility.
Installation Tips
- •Cut a test rafter and verify fit before cutting the full set.
- •Use a speed square to mark consistent bird's mouth cuts.
- •Collar ties or ridge beam required to prevent roof spread.
Common Mistakes to Avoid
- Measuring horizontal span instead of rafter run for lumber ordering.
- Not accounting for roof overhang in rafter length.
- Inconsistent bird's mouth cuts causing uneven eaves.
Frequently Asked Questions
Related Calculators
Free Roof Truss Calculator — Count, Spacing & Cost (2026)
Free roof truss calculator — get truss count & spacing for any roof length. Enter span for 24" OC layout, cost estimate & design tips.
Open calculator →Free Ridge Board Calculator — Length & Count (2026)
Ridge board calculator: How many boards for my roof peak? Free tool for 2x8, 2x10 & 2x12 ridge boards — gives length and count.
Open calculator →Free Roof Sheathing Calculator — Sheets & Cost (2026)
How many OSB sheets to sheathe my roof? Free roof decking calculator for 4x8 panels — factors in roof pitch and waste percentage.
Open calculator →Free Shingle Calculator — Bundles, Squares & Cost (2026)
Free shingle calculator for roof shingles — get bundles, squares & cost from square feet. Covers 3-tab & architectural asphalt shingles.
Open calculator →