When to use Roof Pitch Calculator
Convert pitch, angle, rise and run, and find rafter length.
Explore layout dimensions and material needs for a roof or stair configuration matching the selected model.
How to use this tool
- Choose the calculation mode that matches your task and the information you have.
- Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
- Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
- Rise per 12
- Horizontal run
- Roof angle
- Height
How it works
Pitch
Rise per twelve is a ratio. Take its arctangent for the angle and use it as a right-triangle leg.
Angle
The tangent of the angle gives rise divided by horizontal run.
Rise and run
Divide measured rise by the horizontal run.
Worked example
The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.
Pitch
- Rise per 12
- 5
- Horizontal run
- 3.5 m
- Result
- 5 /12
- Angle (°)
- 22.619864948 °
- Slope
- 41.6666666667%
- Slope factor
- 1.08
- Rafter length
- 3.79166666667 m
Angle
- Roof angle
- 22 °
- Horizontal run
- 3.5 m
- Result
- 4.85 /12
- Angle (°)
- 22 °
- Slope
- 40.4026225835%
- Slope factor
- 1.08
- Rafter length
- 3.77487159937 m
Rise and run
- Height
- 1.45 m
- Horizontal run
- 3.5 m
- Result
- 4.97 /12
- Angle (°)
- 22.5035284998 °
- Slope
- 41.4285714286%
- Slope factor
- 1.08
- Rafter length
- 3.7884693479 m
Understanding the result and its limits
Geometry does not prove code compliance, safe loading or constructability. Verify supports, connections, openings and local requirements separately.
Frequently asked questions
Does a dimensioned layout guarantee a compliant design?
No. A drawing or numeric result must also satisfy the applicable building requirements and project-specific engineering.
Methodology and references
Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.