Your roof pitch results
Inputs changed. Calculate again to update these results.
Check the roofing product’s installation requirements and applicable local codes. A geometric 0:12 result does not confirm drainage or flat-roof suitability.
View printable report
How to Calculate Roof Pitch
Start with two points on the same straight section. Rise is their vertical difference; horizontal run is the distance between them measured level. The diagonal connecting them is the slope length. Do not enter the diagonal measurement as the horizontal run.
Divide the vertical measurement by the horizontal one, then multiply by 12. Write the result as X:12, where X is the height gained over 12 horizontal units. Here, pitch always means rise relative to horizontal run, never height divided by the full building span.
pitch per 12 = 12 × rise ÷ horizontal run
Choose the Input You Have
Use Rise and run for dimensions from a drawing or measurements taken at a safely accessible point. You do not need to get onto the roof. Measure the horizontal distance with a level reference and the vertical change between the same two points. A short measured section can establish the incline; it does not have to reach the ridge.
Choose Pitch, X:12 for a plan marked 6:12 and enter only 6. Choose Angle in degrees if you know the angle measured from horizontal, or Slope percentage for a value explicitly labeled as a percent. The roof slope calculator converts whichever format you have into the other three, with a factor for optional length and area calculations.
Each dimension has its own unit selector. You can enter one measurement in feet and the other in inches; the form converts them before dividing. You can also use millimeters, centimeters, or meters. For feet and inches, enter the feet in the main box and the remaining inches below it. Use decimals such as 5.5, rather than fraction strings such as 5 1/2. Changing a unit converts the existing measurement.
How to Calculate Roof Angle
The angle is measured upward from a level line. The roof pitch angle calculator uses arctangent to obtain degrees from a ratio. Percent slope expresses that same ratio multiplied by 100; it is not a degree measurement.
angle in degrees = atan(rise ÷ horizontal run) × 180 ÷ π percent slope = 100 × rise ÷ horizontal run pitch per 12 = 12 × tan(angle × π ÷ 180)
For a pitch-to-degrees calculation, substitute X ÷ 12 for the ratio inside atan. For a slope-to-degrees calculation from a percentage, substitute percent ÷ 100. Choose the matching input mode: 6:12, 6°, and 6% describe three different inclines.
A Short Conversion Table
These values describe geometry, not recommended designs or approved products. Displayed figures are rounded; calculations use the underlying values.
| Pitch | Angle | Slope | Factor |
|---|---|---|---|
| 0:12 | 0.00° | 0% | 1.0000 |
| 2:12 | 9.46° | 16.67% | 1.0138 |
| 3:12 | 14.04° | 25% | 1.0308 |
| 4:12 | 18.43° | 33.33% | 1.0541 |
| 6:12 | 26.57° | 50% | 1.1180 |
| 8:12 | 33.69° | 66.67% | 1.2019 |
| 12:12 | 45.00° | 100% | 1.4142 |
| 18:12 | 56.31° | 150% | 1.8028 |
Find the Height and Diagonal Length
To calculate the vertical rise, open Calculate rise and slope length, check Include rise and length calculation, and enter Horizontal run for the section you want to size. The roof rise and run calculator uses the current pitch to turn that horizontal distance into a vertical height.
rise = horizontal run × pitch per 12 ÷ 12 rise = horizontal run × tan(angle × π ÷ 180) slope factor = √(1 + (rise ÷ horizontal run)²) slope length = horizontal run × slope factor
A centered ridge on a symmetric gable divides the horizontal span into two equal runs. A shed or an off-center ridge does not. Use the drawing’s dimensions for the specific side instead of automatically halving the overall width.
Enter Horizontal overhang as a horizontal distance. It is added once to the main run; leave it at zero if already included. The results show the rise and slope length for the main run, plus the extended length including the overhang. Neither diagonal is a ready-to-cut rafter length: ridge thickness, connections, birdsmouths, and end cuts need separate allowance.
Example: From a Small Measurement to a Full Section
Keep Rise and run selected. Enter 6 inches and 12 inches, then calculate. You get 6:12, approximately 26.565° (displayed as 26.57°), 50%, and a factor of 1.1180.
Now enable the height and length option. Set its Horizontal run to 10 feet and Horizontal overhang to 0. Calculate again: vertical rise is 5 ft and slope length is approximately 11.1803 ft. These follow from 10 × 6 ÷ 12 and √(10² + 5²). Selecting Pitch, X:12 and entering 6 reproduces the same results.
Read the Optional Area Estimate
Open Estimate sloped roof area and enable its checkbox. Enter the horizontal projection of the surfaces you want included, as viewed from directly above. The factor converts that footprint into sloped surface area. Floor area may differ because of overhangs, additions, or uncovered sections; the Square Footage Calculator can help total measured shapes.
Use one projected total only when all included roof planes share the current pitch. Otherwise, select Separate sections with different pitches and give each non-overlapping footprint its own X:12 value. The tool multiplies each area by its factor and adds the results. A footprint covering both sides of a gable is already complete; do not double it.
The output includes square feet, square meters, and roofing squares, where one square equals 100 ft². The area result does not include extra material for cuts, overlaps, or package rounding. For package counts and an allowance based on your chosen product, continue to the Roof Shingle Calculator.
Check What the Numbers Can Tell You
The roof pitch estimate depends on the accuracy of your dimensions. Irregular surfaces and changes in direction need separate measurements. This tool does not evaluate structural capacity, drainage, safe access, or whether a covering suits the installation. Use the specific manufacturer’s instructions and applicable project requirements for those decisions.
A rise of zero gives a horizontal line. A zero horizontal distance cannot define the ratio. Degree inputs must be at least 0° and below 90°. Very small or steep values are accepted when the resulting numbers remain within supported precision. Editing an input clears the previous result so you can recalculate with the new dimensions.
Questions About Measurements and Results
Can I enter a negative measurement for the other side?
No. Enter positive distances for each side, with zero allowed for height. The form uses the size of the vertical change, regardless of which way the surface faces.
Why does a drawing give a different angle?
Check the reference line. For the same section, angles measured from vertical and horizontal add up to 90°. Also confirm that the drawing labels a degree value rather than X:12, and that you measured the same two endpoints.
When should I copy the measured horizontal run?
Copy the original horizontal run only if it covers the full section you want to calculate. If you measured a short sample to determine the pitch, enter the full section’s horizontal run separately.
Can I keep calculating from the rounded result?
Use the original inputs for further calculations. Rounding an intermediate value can change the answer. The copied and printable reports include your inputs as well as the results.
Does 0:12 mean water will drain properly?
No. A horizontal geometric result does not establish drainage. Deflection, outlets, detailing, and the specified assembly require their own assessment.
