What roof pitch means on a residential roof
Roof pitch is the steepness of a roof, written in the United States as a ratio: inches of rise for every 12 inches of run. A 6/12 roof rises 6 inches vertically over 12 inches horizontally. Builders and homeowners use that X-in-12 figure because it is easy to mark on a framing square and compare across plans.
Pitch is a ratio, not a single length. The same 6/12 pitch can describe a small dormer or a long main span. That is why a roof pitch calculator asks for rise and run as a pair, then reports pitch in the 12-inch convention even if you measured in centimeters. Once both sides use the same unit, the ratio—and the pitch, angle, and slope—are the same.
Local building codes, climate loads, and shingle-manufacturer limits vary. This roof pitch calculator is for planning and checking measurements. It is not a substitute for a licensed contractor, architect, or structural engineer.
How to calculate roof pitch from rise and run
You only need two measurements in the same unit. Rise is the vertical height the roof gains. Run is the horizontal distance under that rise, not the length of the sloped board.
Pitch in the 12-inch convention is (rise / run) × 12. If rise is 6 inches and run is 12 inches, pitch = (6 / 12) × 12 = 6, written 6/12. The same pair in centimeters (15.24 cm and 30.48 cm) still has a ratio of 0.5, so the pitch is still 6/12. This roof pitch calculator always reduces your pair to that X-in-12 form.
Pitch angle is arctan(rise / run). For 6 and 12, that is about 26.565°. Roof slope is (rise / run) × 100, so the same example is a 50% slope. 4/12 is 33.333%, 8/12 is 66.667%, and 12/12 is 100%. Rafter length is √(rise² + run²). For 6 and 12, that is √180 ≈ 13.416 in the same unit, not including overhang or seat cuts. If run is zero or a value is negative, the roof pitch calculator shows an inline message instead of a broken number.
A worked example you can check by hand
Take a rise of 8 inches and a run of 12 inches. Pitch = 8/12. Angle = arctan(8 / 12) ≈ 33.690°. Slope ≈ 66.667%. Rafter length = √208 ≈ 14.422 inches. Enter 8 and 12 above and you should see the same four results. A 4-inch rise over a 12-inch run should read 4/12, about 18.435°, 33.333% slope, and about 12.649 inches of rafter. Switch the original 6-inch and 12-inch pair to centimeters and the physical size stays 15.24 cm by 30.48 cm: pitch, angle, and slope stay the same, and rafter length is labeled in centimeters. Those checks confirm that the roof pitch calculator and the formulas on this page agree.
Common residential pitches and when they show up
Most North American houses fall between 4/12 and 9/12, with 4/12, 6/12, and 8/12 common. Lower pitches shed water more slowly and may need membranes or specific shingle products. Mid-range pitches drain well and are familiar to framing crews. Steeper pitches, including 10/12 and 12/12 (a 45° roof), usually need extra safety planning and different flashing details.
The roof pitch chart below lists standard pitches from 2/12 through 12/12, with angle and percent slope already computed. It is a selected-results table, not a second tool. Select a row to load that ratio into the roof pitch calculator. Clicking 6/12 fills a 6-unit rise and a 12-unit run in the current unit.
| Pitch | Angle | Slope | Rafter on a 12-unit run |
|---|
Select a row to fill the calculator. The last column is the hypotenuse for a 12-unit run in the current unit.
These are typical patterns, not a code table. Whether a pitch is allowed depends on the covering, climate, structure, and local official. Confirm specifications—and a licensed professional when needed—before you order materials.
Pitch, roof slope, and pitch angle are related but not the same
The three figures describe one right triangle, so they always move together, but they are not interchangeable labels. Roof pitch (X-in-12) is the convention on most U.S. residential plans: “six-twelve” means six inches of rise per foot of run. Roof slope as a percent is common in drainage work: rise divided by run, times 100. A 3/12 pitch is a 25% slope; a 12/12 pitch is a 100% slope, not a vertical wall.
Pitch angle is the degree measure of that same incline. Doubling the pitch does not double the angle: 6/12 is about 26.565°, while 12/12 is exactly 45°, not 53°. A roof pitch calculator keeps the four values in sync, which makes it harder to mix a percent figure with an X-in-12 figure on the same sketch.
How rafter length is derived from the same two sides
Once rise and run are known, the sloped side is the hypotenuse of a right triangle. Pythagoras gives the length directly: the square root of rise squared plus run squared. That is the number labeled rafter length.
Two cautions keep that number honest. Rise and run must use the same unit; the toggle converts inches to centimeters, or back, without changing the physical triangle. The hypotenuse is not automatically a board you can send to the saw: a production rafter often includes overhang, a plumb cut at the ridge, and a birdsmouth at the wall.
A 6-inch rise and 12-inch run must produce about 13.416 inches of hypotenuse. Scale that to a 6-foot rise over a 12-foot run and the length becomes about 13.416 feet, while the pitch stays 6/12. The roof pitch calculator follows that scaling as long as both inputs stay in the same unit.
Tips for measuring rise and run
Measure on a level run, not along the shingles, when you want pitch or angle. A spirit level, a tape, and a square are enough for a small sample: mark 12 inches horizontally and read the vertical rise at the end of that run. In an attic, measure from the top of the wall plate up to the rafter, and from the plate inward to the point under the ridge, then enter those numbers.
Use the same unit on both sides. If a drawing lists rise in inches and a span in feet, convert first—the roof pitch calculator will not guess a missing conversion. Have a licensed professional review the plan before you buy materials or cut structural members. This page does not apply building codes or manufacturer limits.
Frequently asked questions
What numbers do I enter, and in what unit?
Enter rise and run in the same unit. Inches are the default because U.S. pitch is based on 12 inches of run. Switch to centimeters when your tape is metric; existing values are converted so the triangle stays the same size. The roof pitch calculator still reports pitch as X-in-12.
How do I convert a pitch into degrees?
Use arctan(rise / run), then convert radians to degrees if you are working by hand. A 6/12 pitch is about 26.565°, 8/12 is about 33.690°, and 12/12 is 45°. You can also load a chart row or type the matching pair into the roof pitch calculator.
Is roof slope the same as pitch?
No. Slope percent is (rise / run) × 100. Pitch is (rise / run) × 12, written over 12. 6/12 equals 50% slope; 4/12 equals 33.333%. Do not copy a percent figure into a note that expects an X-in-12 pitch.
Does the rafter result include overhang?
No. The result is the hypotenuse of the triangle you entered. Add overhang, ridge adjustments, and seat cuts separately.
Can I use this result as a substitute for a contractor?
No. The roof pitch calculator is a planning and checking tool. It does not inspect structure, loads, ventilation, or product approval. Local codes vary. Confirm critical work with a licensed professional.