Roof Pitch Calculator
Free roof pitch calculator. Enter rise and run to get the pitch ratio, angle in degrees, and the pitch multiplier used to size roofing material.
Roof Pitch Calculator
Background.
A roof pitch calculator converts two simple field measurements — rise and run — into the three numbers that roofing, framing, and material-takeoff work actually use: the rise-over-run ratio, the pitch angle in degrees, and the pitch multiplier. The canonical use case is a homeowner or contractor who has measured (or been told) that a roof rises 6 inches for every 12 inches it runs horizontally, and needs to know what that means in degrees, and how much bigger the actual roof surface is compared with the flat footprint below it. Entering rise 6 and run 12 returns a rise-over-run ratio of 0.5, a pitch angle of 26.565051 degrees, and a pitch multiplier of 1.118034.
Roofing trade language rarely uses degrees. Framers, estimators, and roofing suppliers describe pitch as an "x-in-12" ratio — 4-in-12, 6-in-12, 12-in-12 — because rafters and trusses are cut with a framing square that reads directly in inches, not degrees. The National Roofing Contractors Association and the International Residential Code both use this rise-per-12-inch-run convention when describing steep-slope versus low-slope roof assemblies, since the required underlayment, fastening pattern, and material choices all depend on which side of a slope threshold a roof falls. This calculator returns the pitch in that native trade notation (pitchPer12) alongside the ratio and the angle, so the same input serves a framer reading a rafter table and a homeowner who only understands degrees.
The pitch multiplier is the number with the least intuitive name and the most practical consequence. A roof is not flat, so the actual surface area of shingles, underlayment, or roofing sheet metal is always larger than the horizontal footprint measured from the ground or from a satellite image. The multiplier is exactly the ratio between the two: sloped area equals footprint area times the multiplier. For a 6-in-12 roof the multiplier is 1.118034, meaning a 1,200 square foot footprint actually has 1,341.64 square feet of roof surface once the slope is accounted for. For a steep 12-in-12 roof (a 45 degree pitch), the multiplier climbs to 1.414214 — nearly 41 percent more roof surface than the footprint alone would suggest. Skipping this step is one of the most common ways a material estimate comes up short.
This calculator is deliberately narrow. It does not compute rafter length, ridge height, hip and valley framing, or shingle bundle counts — those are separate problems with their own inputs and their own established Quanta calculators. What it does is turn rise and run into the three numbers every downstream roofing calculation needs, cleanly and with full-precision arithmetic, so a framing crew, a roofer, and a homeowner comparing quotes can all start from the same geometry. The companion roof-area-calculator on Quanta takes this exact multiplier and applies it to a footprint to produce sloped area and roofing squares directly — this calculator is the first half of that pair, and the shipped roofing-shingle-calculator on Quanta uses the identical geometry internally to go all the way to bundle counts and material cost.
Because the underlying relationship is pure right-triangle geometry, the calculator works identically whether the measurements come from a framing square held against a rafter, a laser level and tape measure on an existing roof, or a set of architectural plans. The only requirement is that rise and run be measured in the same units — inches over inches, or feet over feet — since the ratio and the multiplier are unitless once that condition is met.
What is roof pitch calculator?
Roof pitch describes how steep a roof is. It can be expressed three interchangeable ways: as a ratio of rise to run (0.5), as an angle measured from horizontal (26.565051 degrees), or — the way roofers and framers actually talk — as inches of rise per 12 inches of horizontal run ("6-in-12"). All three describe the exact same right triangle, formed by the vertical rise, the horizontal run, and the sloped rafter line connecting them.
The pitch multiplier is a fourth, closely related number: it is the length of that sloped rafter line divided by the horizontal run, or equivalently the square root of one plus the ratio squared. Because the same right triangle scales up uniformly across an entire roof plane, the same multiplier that converts a horizontal run into a sloped rafter length also converts a horizontal (flat, plan-view) roof area into the actual sloped surface area that has to be covered with underlayment and roofing material.
This calculator is valid for any single, uniformly sloped roof plane. It does not account for roofs with multiple different pitches on different planes (each plane should be measured and calculated separately), and it does not calculate rafter length directly — only the ratio, angle, and multiplier that other calculations are built from.
How to use this calculator.
- Measure or obtain the rise: how many inches (or feet) the roof climbs vertically over a known horizontal distance.
- Measure or obtain the matching run: the horizontal distance over which that rise occurs. Use 12 inches for the standard trade convention, or any consistent unit.
- Enter rise and run in the same unit (both inches, or both feet).
- Read the pitch ratio, angle in degrees, and pitch multiplier.
- Use pitchPer12 to communicate the pitch in standard roofing trade language (e.g. "6-in-12").
- Feed the pitch multiplier into roof-area-calculator, or use pitchRiseIn directly in roofing-shingle-calculator, to convert a footprint into sloped roof area.
The formula.
Every roof pitch is a right triangle: the rise is the vertical leg, the run is the horizontal leg, and the rafter is the hypotenuse. The rise-over-run ratio is simply rise divided by run — for a 6-in-12 roof, 6/12 = 0.5. This ratio is exactly the tangent of the pitch angle, so the angle itself is the arctangent of that ratio: atan(0.5) converts to 26.565051 degrees once the radian result is scaled by 180/π.
The pitch multiplier comes from the Pythagorean theorem applied to the same triangle. The rafter (hypotenuse) has length √(rise² + run²). Dividing that hypotenuse by the run gives a dimensionless scale factor: how much longer the sloped rafter is than the flat run beneath it. For rise 6 and run 12, that is √(36+144)/12 = √180/12 = 13.416408/12 = 1.118034. This is algebraically identical to √(ratio² + 1), since dividing both rise and run inside the square root by run and factoring run back out gives the same result.
The reason this multiplier matters beyond a single rafter is that it scales uniformly across an entire roof plane, not just one line. If every point on a flat footprint is projected upward along parallel rafters at the same pitch, the whole plane stretches by exactly the same factor as any single rafter does. That is why sloped roof area equals footprint area times the pitch multiplier — the same number that converts one rafter length converts the entire surface. A flat (zero rise) roof has a multiplier of exactly 1, since √(0+run²)/run = run/run = 1: no stretching occurs, which is why the calculator must accept a zero rise without error.
pitchPer12 simply rescales the rise so the run reads as 12, regardless of what run was actually measured: rise × (12/run). A rise of 9 over a run of 24 is the same pitch as a rise of 4.5 over a run of 12, and the calculator confirms that by producing pitchPer12 = 4.5 for that input pair.
A worked example.
A homeowner is told their roof has a "6-in-12" pitch and wants to know what that means. Entering rise 6 and run 12, the calculator returns a rise-over-run ratio of exactly 0.5. Converting the arctangent of that ratio to degrees gives a pitch angle of 26.565051 degrees — a moderate, very common residential slope. The pitch multiplier, computed as the square root of (6 squared plus 12 squared) divided by 12, works out to the square root of 180 divided by 12, or 1.118034. That multiplier means that any flat, plan-view measurement of this roof's footprint understates the actual roof surface by about 11.8 percent. A 1,200 square foot footprint therefore has roughly 1,341.64 square feet of actual sloped roof surface — the exact number the companion roof-area-calculator would return for this same pitch. Because the run was already exactly 12, pitchPer12 simply echoes the entered rise: 6.
Frequently asked questions.
What does a 0 pitch multiplier or 0 degree angle mean?
Why does the calculator need run to be greater than zero?
How is roof pitch different from roof slope or roof angle?
What counts as a steep-slope versus low-slope roof?
Can I enter rise and run in feet instead of inches?
How do I use the pitch multiplier to find actual roof area?
References& sources.
- [1]National Roofing Contractors Association (2025). "The NRCA Roofing Manual: Steep-slope Roof Systems." NRCA.
- [2]International Code Council (2021). "2021 International Residential Code, Chapter 9: Roof Assemblies." ICC.
- [3]National Institute of Standards and Technology. "NIST Digital Library of Mathematical Functions, §4 — Elementary Functions (Trigonometric)."
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled