Formula and worked example
Convert rise and horizontal run into the same length unit. Slope ratio = vertical rise ÷ horizontal run. Rise per 12 = 12 × slope ratio. Slope percentage = 100 × slope ratio. Angle above horizontal = arctangent(slope ratio), converted from radians to degrees by multiplying by 180/π.
Example: 6 inches of vertical rise over 12 inches of horizontal run gives a ratio of 0.5. The result is 6:12, a 50% slope and an angle of 26.565051177 degrees. These describe the same geometry; 50% is not 50 degrees.
What run means
Run is the level horizontal distance between the same two points used for rise. It is not the sloping roof-surface length. A full building span is not automatically the run of one roof plane. Half-span applies only where the actual roof geometry supports it, such as an appropriate symmetric arrangement. For irregular roofs, use measurements belonging to the particular segment being assessed.
Pitch convention
This calculator uses the common roof slope convention of rise per 12 units of horizontal run, often called roof pitch. The same ratio applies in any matching length unit: 6 inches per 12 inches is equivalent to 6 feet per 12 feet. Traditional pitch expressed as rise divided by full span is a different quantity. Confirm the convention used on your drawings.
Independent examples
300 mm rise over 600 mm horizontal run also gives 6:12, 50% and 26.565051177°. A 3 ft rise over 4 ft run gives 9:12, 75% and 36.869897646°. Equal rise and run gives 12:12, 100% and 45°. Zero rise with positive run gives 0:12, 0% and 0°.
Units, validation and rounding
Rise and run may have different units; conversion happens before division. Unit selectors and the inches/millimeters buttons convert your entered dimensions. Inputs accept finite decimals of up to 40 characters. Rise must be nonnegative; horizontal run must be positive. Positive dimensions support 0.000001–1,000,000 ft, and rise/run ratios above 1,000 are rejected as an input sanity limit. This range is not a recommended roof slope.
Displayed results use up to three decimals while calculations use unrounded inputs. The measurement diagram is illustrative and not to scale. A result such as 6:12 means 6 inches of rise per 12 inches of horizontal run, not a 6-degree angle.
Scope of this calculation
This is geometry only. It does not select roofing materials, establish minimum allowable slope, assess drainage, size rafters, determine structural capacity, calculate roof area or approve a code-compliant assembly. A level geometric result does not demonstrate adequate roof drainage. Confirm actual product instructions, project requirements and roof geometry separately. Dedicated roofing, roof area, rafter and pitch/angle conversion pages remain separate calculators in the development queue.
Reference
GAF: Understanding Roof Slope defines roof slope using vertical rise and horizontal run, including the rise-per-12 convention. This calculator uses that geometric convention without determining whether a roof covering is suitable.