Roof Pitch Calculator

About Roof Pitch Calculator

Roof Pitch Calculator is a free set of tools and guides for working out roof pitch, rafter lengths, roof area and related numbers. It's built for US homeowners planning a project, DIY builders framing a shed or porch, and roofers and contractors who want a quick check on site. Every calculator runs in your browser, and every formula is published so you can check the math yourself.

What you'll find here

  • Calculators for pitch, degrees, rafter length, roof area, roof height, snow load and specific roof styles such as lean-to, gable, hip and gambrel.
  • Reference pages for each common pitch, from 2/12 to 12/12, plus a printable roof pitch chart.
  • Guides and articles on measuring a roof, minimum pitch by material, and the decisions that come after you know your pitch.

How we handle accuracy

The math behind pitch, angles and rafter lengths is standard geometry, and we show the formula on every calculator page. Our methodology page lists each formula, how results are rounded, and the limits of each tool.

Where a page cites building-code requirements, such as minimum roof pitch by material, we reference the International Residential Code and link to the sources we used. Codes change between editions and are amended locally, so we always point you back to your building department for the final word.

What our tools don't do

Our calculators find geometry and planning estimates. They don't size rafters or trusses, they don't produce engineered snow or wind loads, and they don't replace a building permit, a licensed engineer or an experienced roofer. When a page touches on structure or safety, it says so.

Privacy

Calculations happen on your device, and the numbers you type aren't sent to us or anyone else. Details are in our privacy policy.

Get in touch

Spotted an error or want a topic covered? Contact us with the page address and details.