Rafter Calculator
Get exact rafter length, birdsmouth cut dimensions, tail overhang, rafter count, and total board feet — everything you need to frame a roof from scratch.
How to Use This Calculator
Enter these values to get complete rafter dimensions:
- Building Width — The outside-to-outside dimension of the building perpendicular to the ridge. The rafter run = half this width minus ridge board thickness (usually ½ inch).
- Roof Pitch — Rise over 12 inches of run (e.g., 6/12). This determines the rafter angle and plumb cut.
- Overhang / Eave — How far the rafter extends beyond the wall plate (horizontal measurement). Typical eaves are 12–24 inches.
- Rafter Spacing — Distance from center to center, typically 16" OC or 24" OC
- Ridge Length — The length of your building parallel to the ridge, for calculating total rafter count
Outputs include: rafter length (plumb to birdsmouth), tail length, total rafter length, plumb cut angle, seat cut depth, and total rafter count with board feet.
The Formula
Pitch Multiplier = √(1 + (Rise/Run)²) = √(1 + (pitch/12)²)
Rafter Length = Run × Pitch Multiplier
Tail Length = Overhang × Pitch Multiplier
Total Rafter = Rafter Length + Tail Length
Plumb Cut Angle = arctan(Rise/12) degrees
Seat Cut Depth = (Plate Width × 12) / Rafter Depth (max 1/3 depth)
Rafter Count = ((Ridge Length × 12) / Spacing) + 1, × 2 sides
Example: 28 ft Wide House, 6/12 Pitch, 18-inch Overhang
Example: Gable Roof, 28 ft span, 6/12 pitch, 1.5 ft overhang, 16-inch OC, 40 ft long
Order 64 pieces of 2×8×18 lumber (2 extra for waste/mistakes). At 16-inch OC spacing with a 6/12 pitch, 2×8 framing is typically adequate for this span with standard live and dead loads.
Frequently Asked Questions
Related Calculators
Sources & References
The formulas, code requirements, and reference data used in this calculator are sourced from the following authoritative organizations and publications. Local codes vary — always verify with your jurisdiction's building department.
- International Residential Code (IRC) 2024 — Chapter 9: Roof Assemblies — ICC
- NRCA Roofing Manual (Steep-Slope & Low-Slope) — National Roofing Contractors Association
- Asphalt Shingle Installation Manual — ARMA (Asphalt Roofing Manufacturers Association)
- ASCE 7-22 — Minimum Design Loads & Associated Criteria — American Society of Civil Engineers
- AWC Span Tables for Joists & Rafters — American Wood Council
- IRC Chapter 8 — Roof-Ceiling Construction — ICC
Disclaimer: Calculator results are estimates intended for planning and educational purposes only. They do not replace professional engineering analysis, building permit review, or contractor estimates. Always consult a licensed roofing contractor or structural engineer for final specifications.