How to use the roof pitch calculator
Using this tool takes less than a minute. We have filled in example numbers so you can see how it behaves straight away. Replace them with your own:
- Enter Rise (inches).
- Enter Run (inches).
- Enter Building width (feet).
The answer updates as you type, so feel free to play around. If something looks off, press Reset and start again.
Roof Pitch Calculator formula explained
Here is the exact math running behind the scenes, so nothing is a black box:
Worked example
What your result means
The big number at the top is the main answer. The lines below it give you the extra details people usually want next. Do not worry about small rounding differences. They come from rounding to two decimals and will not change the story.
Why this matters
Home projects go better when you buy the right amount the first time. Measure twice, calculate once here, and avoid the extra trip to the store.
Tips for better results
- Measure every side, even for simple rooms.
- Add 5–10% for waste and cuts.
- Round up to whole bags, boxes or boards.
Common mistakes to avoid
- Mixing feet and inches.
- Forgetting the depth or thickness.
- Not allowing for waste.
Other names people use for the roof pitch calculator
Everyone searches a little differently. You might have arrived here by typing roof pitch calculator, rafter calculator. All of these point to the same kind of calculation, so this single page is built to answer them all.
Frequently asked questions
What is a roof pitch calculator?
Roofers talk in pitches like 6/12, but you may need degrees or a rafter length. Convert between them and see how much extra roof area a steeper pitch adds.
How does the roof pitch calculator work?
Pitch = rise ÷ run × 12. Angle = arctan(rise ÷ run). Rafter length = half the span × √(1 + (rise ÷ run)²).
Is this roof pitch calculator free to use?
Yes. The roof pitch calculator is completely free, needs no sign-up and can be used as many times as you like.
How accurate is the roof pitch calculator?
The math is exact, but the answer is only as good as the numbers you enter. Treat the result as a well-informed estimate and double-check anything important.
Is “roof pitch calculator” the same as “rafter calculator”?
Yes, in practice they are the same idea written in two ways. Use this page for either one.
Do you save the numbers I type?
No. Every calculation happens inside your browser. Nothing you type is sent to our servers.
Does it work on my phone?
Yes. The page adapts to phones, tablets and desktops, and works in light and dark mode.
Disclaimer: Estimates are for planning only. Always confirm quantities with your supplier or contractor and follow local building codes. See our full disclaimer.