Roof Pitch Calculator

Quick answer Roof pitch is rise over run, as an angle or a rise-in-12. A 3 metre rise over a 6 metre run is about 26.6 degrees, a 6 in 12 pitch, with a rafter length of roughly 6.7 metres from Pythagoras. Check any result against your roofing product's stated minimum pitch before ordering.
Quick answer: Roof pitch is the rise divided by the run, expressed as an angle or as a ratio in twelve. A roof rising 3 m over a 6 m run sits at 26.6 degrees, which is a 6 in 12 pitch, and needs a rafter 6.708 m long. Enter your own rise and run to get the angle, the ratio and the rafter length together.

Roof pitch is the steepness of a roof, and getting it right matters whether you are framing a new roof, building a pergola or lean-to, choosing roofing material, or checking a pitch meets a manufacturer's minimum fall for proper drainage. This calculator works out the pitch three ways from two simple measurements. Enter the rise, the vertical height the roof climbs, and the run, the horizontal distance it covers, in the same units such as metres. The calculator instantly returns the pitch angle in degrees, the pitch ratio expressed as a rise in 12 (the format tradies and roofing suppliers use, such as 6 in 12), and the rafter length, the actual sloping distance along the roof line from Pythagoras' theorem. The maths behind it is straightforward trigonometry: the angle is the inverse tangent of rise divided by run, the ratio scales that same relationship to a run of 12, and the rafter length is the square root of the rise squared plus the run squared. A 3 metre rise over a 6 metre run, for example, gives an angle of about 26.6 degrees, a 6 in 12 pitch, and a rafter length of roughly 6.7 metres. Use the results to compare against a roofing product's minimum pitch, order the right length of rafters or trusses, or simply understand how steep a roof design really is before committing to it.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
Advertise on this page
m
m
26.6°
roof pitch angle
Pitch ratio6 in 12
Rafter length6.708 m

How it works

The pitch angle is the inverse tangent of the rise divided by the run. The rise in 12 ratio scales the rise so the run is 12. The rafter length, the sloping side, is the square root of the rise squared plus the run squared, from Pythagoras.

Worked example

A 3 metre rise over a 6 metre run is an angle of about 26.6 degrees, a 6 in 12 pitch, and a rafter length of about 6.7 metres.

Related calculators