Free building tools
Roof pitch calculator
Work out a roof pitch, convert it to other units, and get the straight-line length from A to B.
Quick answers
| Pitch | Rise per metre | Slope per metre |
|---|---|---|
| 15° | 268 mm | 1,035 mm |
| 22.5° | 414 mm | 1,082 mm |
| 25° | 466 mm | 1,103 mm |
| 30° | 577 mm | 1,155 mm |
Slope per metre is the sloping length for each metre measured on the level.
Length from A to B = level run ÷ cos(pitch). At 22.5°, a 3,000 mm level run is 3,247.2 mm from A to B, and B is 1,242.6 mm higher than A.
This isn't a cutting length. It leaves out the ridge, overhang and birdsmouth.
Roof pitch, pitch converter and rafter length
Still loading? Reload the page.
Work out a roof pitch
Enter the pitch, or the rise and run you measured. See it every way you might need it.
Sample numbers. Change them to yours.
21.8°roof pitch
- Rise per level metre
- 400 mm
- Slope per level metre
- 1,077 mm
- Ratio
- 1 in 2.5
- Percent
- 40%
Convert a pitch
Convert between degrees, 1 in ratio, millimetres per metre and percent.
Sample numbers. Change them to yours.
414.2 mmrise per level metre
- Degrees
- 22.5°
- Ratio
- 1 in 2.41
- Rise per level metre
- 414.2 mm
- Percent
- 41.42%
Rafter length from A to B
Enter the pitch and level run. Get the straight-line length between the same two points.
Sample numbers. Change them to yours.
Where to measure
A and B are on one straight line along the rafter, such as its top edge.
For example, A is above the outside face of the wall and B is above the centre of the ridge. Measure the level run between the same two points.
3,247.2 mmfrom A to B, along the slope
Don’t cut a rafter to this length. It leaves out the ridge, overhang and birdsmouth.
- Level run
- 3,000 mm
- Rise
- 1,242.6 mm
- Pitch
- 22.5°
Formula
- Pitch = arctan(rise ÷ run)
- Rise per level metre (mm) = tan(pitch) × 1,000
- Slope per level metre (mm) = 1,000 ÷ cos(pitch)
- Ratio = 1 in (1 ÷ tan(pitch)) and percent = tan(pitch) × 100
- Length from A to B = level run ÷ cos(pitch)
- Rise from A to B = level run × tan(pitch)
Measure the run on the level, not along the slope.
Worked example
Sample roof pitch: 1,200 mm rise over a 3,000 mm level run.
- Pitch: arctan(1,200 ÷ 3,000) = 21.8°.
- Rise per level metre: 400 mm, slope per level metre: 1,077 mm, ratio: 1 in 2.5, percent: 40%.
Sample pitch conversion: 22.5° equals 414.2 mm per level metre, 1 in 2.41 or 41.42%.
Sample rafter line: 22.5° pitch and a 3,000 mm level run from A to B.
- Length from A to B: 3,000 ÷ cos(22.5°) = 3,247.2 mm.
- Rise from A to B: 3,000 × tan(22.5°) = 1,242.6 mm.
Method and limits
Pitch = the inverse tangent (arctan) of rise ÷ run. Slope per metre = 1 ÷ cos(pitch). Measure the run on the level, not along the slope.
It only converts the pitch you enter, up to 80°. It doesn't check whether a roof covering suits that pitch, or check any code or standard.
The level run, rise and A to B line make a right-angled triangle. A and B must be on the same straight line along the rafter. Measure the level run between those same two points.
It only works out the line from A to B. It doesn't allow for the ridge thickness, overhang or birdsmouth. Those depend on the rafter, the cuts and where you measure from, so one simple rule could be wrong. Work them out separately before you cut.
It doesn't cover hip, valley or jack rafters, timber sizes, spans, fixings, or any code or standard.
Only the answers are rounded, so rounding doesn't build up. It doesn't allow for the width of the saw cut. It doesn't cover timber sizes, spans, fixings, strength, stringer cuts, or any code or standard.