Rafter Length Calculator

    Calculate the exact cut length of common rafters from your building span, roof pitch, ridge thickness, and overhang. Results in feet-inches and decimal feet. Free — no signup required.

    feet

    Total outside-to-outside width of the building (not half).

    Horizontal projection beyond the wall — not the rafter length of the overhang.

    How to Use

    1. Enter the total building span in feet — outside edge to outside edge of the top plates.
    2. Select your roof pitch — rise in inches per 12 inches of horizontal run.
    3. Choose the ridge board thickness — standard 2× lumber is 1.5″ actual.
    4. Set the horizontal overhang — the horizontal distance beyond the wall, not the rafter length.
    5. Click Calculate for rafter length, ridge height, and roof angle.

    Pitch Multiplier Reference

    Multiply your horizontal run by the multiplier to get rafter length.

    PitchMultiplierAngle
    3:121.03114.0°
    4:121.05418.4°
    5:121.08322.6°
    6:121.11826.6°
    7:121.15830.3°
    8:121.20233.7°
    9:121.25036.9°
    10:121.30239.8°
    12:121.41445.0°

    Example Calculation

    A 28-foot wide garage with a 6:12 pitch, 1.5-inch ridge board, and 16-inch overhang: run = (28 × 12 / 2) − (1.5 / 2) = 168 − 0.75 = 167.25 inches. Pitch multiplier for 6:12 = √(36 + 144) / 12 = 1.118. Rafter length = 167.25 × 1.118 = 186.9 inches. Overhang addition = 16 × 1.118 = 17.9 inches. Total = 186.9 + 17.9 = 204.8 inches = 17 ft 0⅞ in. Order 18-foot lumber.

    Frequently Asked Questions

    What is the pitch multiplier?

    The pitch multiplier converts horizontal run to actual rafter length along the slope. For 6:12 pitch, it's √(6² + 12²) / 12 = 1.118. Multiply your run by this to get the rafter length.

    What does the run include?

    The run is the horizontal distance from the outside of the wall to the centerline of the ridge, minus half the ridge board thickness. The rafter sits on the wall plate and meets the ridge at this point.

    How do I account for the bird's mouth cut?

    The bird's mouth (notch at the wall plate) doesn't change the calculated rafter length — it's cut into the existing rafter. Add 1–2 inches to your lumber order length for the seat cut and plumb cut waste.

    What is a common rafter?

    A common rafter runs perpendicular from the ridge board to the top plate. Hip and valley rafters run at 45° and need different multipliers (1.414 × common for a square hip).

    How do I calculate ridge height?

    Ridge height = run × (pitch rise / 12). For a 12-foot run at 6:12 pitch, ridge = 12 × 0.5 = 6 feet above the top plate.

    Typical Results

    24 ft span, 6:12(no overhang)13.3–13.5 ft
    28 ft span, 6:12(16" overhang)16.5–17 ft
    32 ft span, 8:12(12" overhang)17.5–18 ft

    💡 Always cut one test rafter and dry-fit it before cutting the full set. Small errors in span measurement compound across all rafters.

    Common Mistakes

    • Using the full building span instead of the half-span (run) in the calculation
    • Measuring overhang along the rafter slope instead of the horizontal projection
    • Not subtracting half the ridge board thickness from the run