Home & DIY

Roof pitch calculator

Translate rise and horizontal run into an angle and rafter length.

Roof pitch calculator
Esc to restore

Your inputs

Results update as you type. Larger files run when you press Update result.

Your result

Your result will appear here.

More actions

What if? Vary one input and watch the result

Pick an input and a result, choose a range, and Toolmoz runs this calculation at each step on your device. Every other input stays as you entered it.

Your inputs stay in this browser. Nothing is uploaded, and nothing is saved unless you choose “Save result”.

A clear answer. Here’s how.

Use matching units for rise and horizontal run. Angle = atan(rise/run), rafter length = hypot(rise,run), and rise per 12 = 12 × rise/run. Eaves, ridge cuts, material thickness and structural design are excluded.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Vertical rise
3
Horizontal run
6

Example result

Pitch angle
26.5650511771°
Rise per 12 run
6
Sloping length
6.7082039325