Rafter Length Calculator

This rafter calculator gives the length and cuts for common rafters on a gable roof. Enter the span, pitch, ridge board thickness, overhang and rafter spacing, and it shows the rafter length with the tail, the plumb and seat cut angles, how high the ridge sits, the hip rafter length and how many rafters you need for the building length. Paste several roofs to cut lists for each. It runs in your browser.

Rafter factor per metre of run

PitchAngleCommon factorHip factor
4:1218.4°1.0541.453
6:1226.6°1.1181.500
8:1233.7°1.2021.563
10:1239.8°1.3021.641
12:1245.0°1.4141.732

When to use it

  1. Cut rafters for a shed or garage roof.
  2. Order timber lengths for a house roof.
  3. Find the ridge height for a given pitch.
  4. Work out hip rafter lengths.
  5. Teach roof framing.

How to Use

  1. Enter span and pitch.
  2. Enter ridge thickness, overhang and spacing.
  3. Enter the building length.
  4. Read length, cuts and count; paste roofs for cut lists.

Features

  1. Common rafter length with tail
  2. Plumb and seat cut angles
  3. Ridge rise
  4. Hip rafter length
  5. Rafter count
  6. Batch CSV
  7. 100% client-side

FAQs

How do I calculate rafter length?

Run × √(1 + pitch²), where run is half the span less half the ridge; add the overhang × the same factor.

What angle is the plumb cut?

The roof pitch angle; the seat cut of the birdsmouth is 90° minus that.

How long is a hip rafter?

Run × √(2 + pitch²), because it runs diagonally across the plan.

How many rafters do I need?

Building length ÷ spacing + 1 per side, doubled for both sides.

Is anything uploaded?

No. Everything runs in your browser.

Technical Details

The run of a common rafter = half the span − half the ridge board thickness. Rafter line length = run × √(1 + pitch²), the tail adds the horizontal overhang × the same factor, and the ridge rises run × pitch. The plumb cut is the pitch angle and the seat cut its complement. Rafters per side = building length ÷ spacing + 1. Hip and valley rafters run at 45° in plan, so their length = run × √(2 + pitch²). Pitch can be 6:12, degrees or percent.

Home & DIY Tools

Home & DIY Tools

  • Drywall Calculator
  • Tile Grout and Adhesive Calculator
  • Fence and Post Calculator
  • Deck Calculator
  • Excavation and Trench Volume Calculator
  • Slope and Gradient Converter
  • Arch Radius from Chord Calculator
  • Water Tank Capacity Calculator