How to use this calculator
- Choose “Pitch ratio and run” for a conventional ratio such as 6:12, 8:12, or 10:12. Enter the horizontal distance from eave to ridge.
- Choose “Measured rise and run” when you have both field measurements. Enter vertical rise and horizontal run in the selected unit system.
- Use the live 3D roof to compare top, front, and side angles as the pitch changes.
Measure the project correctly
Run is a level horizontal distance, not the diagonal roof surface. For a symmetric gable, it is approximately half the projected width, excluding any separate overhang.
Rise is the vertical height gained over that run. A 6:12 pitch means 6 units of rise for every 12 units of horizontal run; it does not mean a six-foot roof rise unless the run is twelve feet.
For the angle and rise on a common slope, see our 6:12 roof pitch worked example.

The calculation
The slope factor is rafter length divided by horizontal run. That ratio also converts horizontal projected roof area to simple sloped area.
All input lengths are converted to meters internally. A ratio is dimensionless, so 6:12 has the same angle in US and Metric modes.
Worked example
Use a 6:12 pitch and a 12 ft horizontal run for one eave-to-ridge side of a simple gable.
| Step | Calculation | Result |
|---|---|---|
| Interpret pitch | 6 ÷ 12 | 0.5 rise/run |
| Find rise | 12 ft × 0.5 | 6 ft |
| Find angle | arctan(0.5) | 26.57° |
| Find grade | 0.5 × 100 | 50% |
| Find rafter line | √(12² + 6²) | 13.42 ft |
| Find slope factor | √(12² + 6²) ÷ 12 | 1.1180 |
The 13.42 ft result is a straight geometric line before overhang, ridge thickness, seat cut, waste, or structural design. Use the Roofing Calculator when you need a covering-area purchase estimate.
How to read the result
- Pitch ratio
- Vertical rise normalized to 12 units of horizontal run.
- Angle and grade
- The same slope shown as degrees above horizontal and percent rise over run.
- Rafter line
- The hypotenuse of the measured right triangle, useful for geometry checks but not a cut list.
Before you buy materials
A roof described as 8:12 rises eight inches over a twelve-inch horizontal run, regardless of the total roof size.
Use the model’s front or side view to compare rise and run. It helps distinguish horizontal span from sloping plane area, but it does not replace measured plans.
Rafter cut length and roof construction depend on overhang, ridge board, pitch cuts, bearing, loads, materials, and local rules. Consult appropriate design documents for those decisions.
Common estimating mistakes
- Measuring run along the roof: Measure a level horizontal run; the diagonal is the rafter line calculated from rise and run.
- Reading 6:12 as six degrees: Use the angle output; a 6:12 pitch is about 26.57 degrees.
- Using geometric rafter length as a cut length: Account separately for overhang, ridge, seat cuts, and structural requirements.
Assumptions and limits
- One straight right-triangle roof section. The model illustrates a symmetric gable by mirroring that slope; it does not infer structural members.
- The 3D model uses representative ridge length for explanation. It does not measure the building length or design the roof.
Frequently Asked Questions
Common questions about the Roof Pitch Calculator.
- What is the angle of an 8:12 roof?
- Arctangent of 8 ÷ 12 is about 33.69 degrees.
- Does 3D load on the normal calculator page?
- Yes. The calculator page loads an interactive 3D roof after its main form loads. The numeric result also works when 3D is unavailable.

