Roof Pitch Calculator

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 Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
m
m
roof pitch angle
Pitch ratio0 in 12
Rafter length0 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

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.