Roof pitch calculator: degrees and rafter length

The calculator needs JavaScript. The worked example, formula and figures below show exactly how it works, so you can do the sum yourself. A guide, not advice. Check your supplier's or maker's figures before ordering.

Short answer

Worked example

Worked example inputs
You enterValue
I know theRise
RoofTwo slopes (run = half the width)
Building width, wall plate to wall plate6 m
Rise2.1 m
Eaves overhang0.3 m
Roof length8 m
Rafter spacing, centre to centre400 mm

Pitch 35.0°, rafter length 4.03 m

  • Out of scope Rafter size and span Rafter sizes and spans are a structural design: ask a structural engineer or building control, or use timber span tables. UK-wide: Approved Document A (structure). Check with the source.
Worked example results
ResultValue
Pitch35 °
Pitch as rise : run0.7 : 1 (1 in 1.43)
Pitch as a percentage70 %
Rise2.1 m
Run (each slope)3 m
Rafter length (including overhang)4.03 m
Plumb cut angle (set on a roofing square)35 °
Seat cut angle55 °
Roof slope area64.45 m²
Rafters42
Show the working
  1. Run: (6 m − 0 mm ridge) ÷ 2 = 3 m
  2. Pitch: atan(2.1 ÷ 3) = 35°
  3. Rafter: √(3² + 2.1²) = 3.662 m + 0.3 m ÷ cos(35°) = 4.028 m
  4. Cuts: plumb 35°, seat 90° − 35° = 55°
  5. Slope area: 4.028 m × 8 m × 2 = 64.45 m²
  6. Rafters: 8 m ÷ 400 mm, rounded up, + 1 = 21 per slope × 2 = 42

How it works

  1. Run = half the building width less half the ridge board (two slopes), or the full width (one slope)
  2. Pitch = atan(rise ÷ run); or rise = run × tan(pitch)
  3. Rafter length = √(run² + rise²) + overhang ÷ cos(pitch)
  4. Plumb cut = the pitch; seat cut = 90° − pitch
  5. Slope area = rafter length × roof length × slopes; rafters = (roof length ÷ spacing, rounded up, + 1) × slopes

This gives geometry only. Rafter sizes, grades and how far they can reach are a structural design: use a structural engineer, timber span tables or building control.

Rafter length is measured along the top edge from the ridge cut to the tail, before any trimming on site.

Our default (adjustable)

These are typical planning figures and our own allowances, not facts about your product. Change any of them in the calculator to match your bag, pack or tin.

This calculator has no built-in defaults: every figure comes from you or your product's data.

Regulations and standards

  • Approved Document A (structure): rafter sizes and spans are for a structural engineer, timber span tables or building control

Explained: Approved Document A (structure).

Our checks use the guidance for England unless a badge says otherwise. Wales, Scotland and Northern Ireland have their own rules: check the source for where you live.

FAQs