Article — Roof Pitch Calculator
Roof pitch calculator: convert rise/run, angle, and slope
Roof pitch is the ratio of vertical rise to horizontal run, expressed in the US as x:12 (rise inches per 12 inches of run). A 4:12 roof rises 4 inches for every 12 inches it travels horizontally, equal to an 18.43-degree angle and a 33.33% slope. The calculator above converts among ratio, angle, and percent slope, and returns the rafter length from any horizontal run.
The roofing industry, building codes, and most material warranties all reference pitch in the rise:12 format. Engineers, international standards (ISO), and topographic maps prefer degrees or percent slope. This article shows how the three notations relate, where each one is used, and why the difference matters when you order materials.
What is roof pitch?
Roof pitch is the steepness of a roof. It is defined as the ratio of vertical rise (how high the roof goes) to horizontal run (how far it travels in plan view). Because the run is conventionally fixed at 12 inches in North America, pitch is written as "rise:12" — for example, 4:12, 6:12, or 12:12.
The choice of 12 as the denominator dates to traditional carpentry practice: 12 inches equals one foot, the base unit of US framing, and a 12-inch denominator keeps the numerator (rise) in single-digit territory for typical residential roofs. A 4:12 roof can be visualised as a framing square laid against the rafter, with one leg flat and the other rising 4 inches.
Pitch determines material selection, structural loads, drainage, and the rafter length you need to cut. Every step in roof design and construction is built on the pitch number, which is why a calculator that converts between formats is one of the more frequently used tools in the trade.
How to read roof pitch notation
The most common notation is x:12, read aloud as "x-in-twelve" or "four-in-twelve". On blueprints, the same idea appears as a small triangle with the rise number above the horizontal leg and 12 below. Some old plans use x/12 instead of x:12; both mean the same thing.
The number x is the rise in inches; the 12 is the run in inches. When the run is something other than 12 — say, the architect specified a 24-inch run for clarity — you still normalise to 12 before reporting. A roof rising 8 inches over a 24-inch run is reported as 4:12, not 8:24.
About 40% of new US single-family homes are built at 4:12 pitch, the lowest pitch where standard asphalt shingles install without special underlayment. Another 35% sit between 5:12 and 6:12. Anything above 8:12 is considered architectural-statement territory and accounts for under 10% of new construction.
Roof pitch vs. roof slope vs. angle
Three different numbers describe the same physical steepness. Confusing them is one of the most common roof-calculation errors.
- Pitch ratio — rise:12 format. Used in US lumber yards, roofing supply houses, and most North American building codes.
- Angle — degrees from horizontal. Used in structural engineering, ISO standards, and most non-North-American codes.
- Percent slope — rise / run × 100. Used in drainage engineering, topographic surveying, and US Forest Service road specs.
The three conversions tie together with simple trigonometry: a 4:12 pitch equals arctan(4/12) = 18.43 degrees, which equals (4/12) × 100 = 33.33% slope. None of them is "more correct" than the others — they are just three notations for the same right triangle.
How to calculate roof pitch from rise and run
Measure the rise (vertical distance) and run (horizontal distance) of any sloped section of roof. Most carpenters use a 24-inch level: hold it flat against the rafter or sheathing, then measure straight down from the 12-inch mark on the level to the rafter surface. That vertical distance is the rise per 12 inches of run.
If you measured a non-12 run, normalise: rise ÷ run × 12. For example, 6 inches of rise over an 18-inch run normalises to (6/18) × 12 = 4, so the pitch is 4:12. For the angle in degrees, the formula is arctan(rise/run); for percent slope, rise/run × 100.
Measuring from inside the attic is often easier than measuring on the roof. Hold a level horizontal against a rafter, measure 12 inches along the level, then drop a plumb line to the rafter's underside. The plumb-line length is the rise. Same number either side — pitch is the same whether you measure from above or below.
Minimum roof pitch by material
Each roofing material has a manufacturer-stated minimum pitch below which the warranty is void. Code minimums (IBC, IRC) may be stricter in your jurisdiction; manufacturer minimums are usually the binding constraint.
Asphalt shingles (std) 4:12Asphalt with ice & water 2:12Standing seam metal 0.25:12Slate 4:12Clay / concrete tile 2.5:12Membrane (TPO, PVC) 0.25:12The pattern is consistent: heavy gravity-shedding materials (slate, tile, shake) need steeper pitches to keep water from working back under the laps. Membrane systems with welded or chemically bonded seams can sit at almost flat slopes because water never reaches a lap in the first place. Standing seam metal sits between the two: the seam is mechanically sealed, so 0.25:12 is the published minimum, but most installers prefer 1:12 or steeper for predictable drainage.
Installing asphalt shingles at 1:12 saves nothing in material cost and forfeits the 25-or-50-year warranty. The roof will leak within a few seasons because wind-driven rain works under the laps. Drop a category and install a low-slope membrane instead.
Roof pitch and rafter length
Rafter length follows from the Pythagorean theorem on the rise-run-rafter right triangle. For a horizontal run of R feet on a pitch with rise/run ratio r:
Rafter length = R × sqrt(1 + r²).
The sqrt(1 + r²) factor is the "roof multiplier" or "slope factor". It is always greater than 1 because the sloped rafter is the hypotenuse of a triangle with the run as its base. A 4:12 pitch has r = 4/12 = 0.333, so the multiplier is sqrt(1.111) = 1.054 — the rafter is 5.4% longer than the horizontal run. A 12:12 pitch has a multiplier of sqrt(2) = 1.414, so the rafter is 41.4% longer than the run.
For roof area estimates: take the building footprint area (in plan view) and multiply by the slope factor. A 1,500 sq ft house on a 6:12 roof has a roof surface of 1,500 × 1.118 = 1,677 sq ft. Add gable end coverage and overhangs separately.
Common roof pitch mistakes
Confusing the ratio with the angle. A 4:12 pitch is not 4 degrees. It is 18.43 degrees. Roofers and homeowners trip over this almost weekly. The ratio numerator and the angle never share the same units.
Skipping the normalisation step. If your measurement run is something other than 12 inches, you must normalise. A 6-inch rise over a 36-inch run is 2:12, not 6:36.
Treating "flat" as zero pitch. Even a "flat" commercial roof has some pitch — 0.25:12 is the NRCA minimum for membrane drainage, and most flat roofs slope toward central drains at 0.5:12 or more. A true zero-pitch roof ponds water and fails fast.
Forgetting overhang in rafter length. The Pythagorean rafter calculation gives the length from ridge to wall plate. If your design has a 24-inch overhang past the wall, add the overhang length (along the slope, not horizontally) to the cut length.
Reading degrees as percent slope. A 30-degree roof is 57.7% slope, not 30%. The two scales coincide only at 0% / 0° and diverge thereafter. Use the calculator above for the conversion.