Slope to Angle of Elevation Converter
- Slope ratio (rise:run)
- Result
- Rise (vertical)
- 1 m
- You entered
- Run (horizontal)
- 10 m
- You entered
This calculator converts a slope (rise over run) into an angle of elevation in degrees. You enter the rise and run (or the slope as a percentage), and you get the angle in degrees, plus the slope ratio for reference. The conversion uses the arctangent (inverse tangent) function: angle = atan(rise / run).
Formula
The angle of elevation θ (theta) is the angle between the horizontal ground and the line of sight up to an object or surface. For a slope, it is the angle between the run (horizontal distance) and the hypotenuse (the slope itself). The formula is:
θ = arctan(rise / run)
Where:
- rise (vertical change) – in meters, feet, or any unit of length
- run (horizontal change) – in the same unit as rise
- θ – the angle of elevation, in degrees (or radians if you use the radian mode)
The arctangent function returns the angle whose tangent is the ratio. On a calculator, it is often labeled tan⁻¹ or atan.
Worked Example
Using the default values: rise = 1 m, run = 10 m.
- Compute the ratio: rise / run = 1 / 10 = 0.1
- Take the arctangent: arctan(0.1) ≈ 5.7106°
- Rounded to one decimal place: 5.7°
The calculator shows 5.7° as the headline answer, and the slope ratio as 0.100 (or 1:10).
Why Convert Slope to Angle?
Slope is often expressed as a ratio (rise over run), a percentage (rise/run × 100), or a grade (e.g., 10% grade). But many applications – from construction to hiking trail ratings – need the actual angle in degrees. For example:
- Roofing: A roof pitch of 4:12 means 4 inches of rise per 12 inches of run. The angle is arctan(4/12) ≈ 18.4°.
- Roads and driveways: A 10% grade means a 10 m rise over 100 m run, which is an angle of arctan(0.1) ≈ 5.7°.
- Wheelchair ramps: Many building codes specify a maximum slope, but sometimes the angle is needed for design.
- Hiking trails: Trail difficulty often references average grade in percent, but hikers may want the angle to gauge steepness.
Converting to an angle gives a more intuitive sense of steepness: a 45° angle is a 100% slope, and a 60° angle is a 173% slope.
How to Use the Calculator
Enter the rise (vertical change) and the run (horizontal distance). The units can be anything – meters, feet, inches – as long as they are the same for both. The calculator returns the angle in degrees and the slope ratio (rise/run).
If you have the slope as a percentage, divide it by 100 to get the ratio (e.g., 25% → 0.25), then enter rise = 0.25 and run = 1 (or any equivalent pair).
If you have the slope as a ratio like 1:10, enter rise = 1 and run = 10.
Common Mistakes and Misconceptions
Mixing units: The rise and run must be in the same unit. If you use meters for rise and feet for run, the ratio is wrong. Convert first.
Confusing slope percentage with angle: A 100% slope is a 45° angle, not a 100° angle. The angle is the arctangent of the ratio, not the ratio itself.
Using the wrong function: Make sure your calculator is in degree mode if you want degrees. In radian mode, arctan(0.1) gives 0.0997 radians, which is about 5.7°.
Forgetting that the angle is from horizontal: The angle of elevation is measured from the horizontal up. If you have a downhill slope, the angle is negative (depression), but the magnitude is the same.
Limits of the Formula
The arctangent formula works for any positive rise and run. For a vertical slope (run = 0), the angle is 90°, but the ratio is infinite – the calculator cannot handle division by zero. In practice, a run of zero is a wall, not a slope.
For very small slopes, the angle in degrees is approximately equal to the slope ratio multiplied by 57.3 (which is 180/π). For example, a 0.01 slope is about 0.573°. This approximation is accurate to within 1% for slopes below 0.1 (about 5.7°).
The formula assumes a straight line slope. Natural terrain or curved surfaces may have varying angles along the path, so the calculated angle is the average or overall angle.
Frequently Asked Questions
How do I convert a slope percentage to an angle? Divide the percentage by 100 to get the ratio (e.g., 25% → 0.25), then take the arctangent: angle = arctan(0.25) ≈ 14.0°.
What is a 45-degree angle in slope? A 45° angle corresponds to a slope ratio of 1 (rise = run), which is a 100% slope.
What is a 10% grade in degrees? 10% grade means rise/run = 0.10, so angle = arctan(0.10) ≈ 5.7°.
Can I use this for roof pitch? Yes. Roof pitch is often given as a ratio like 4:12. Enter rise = 4 and run = 12 to get the angle ≈ 18.4°.
What is the difference between slope and angle of elevation? Slope is the ratio of vertical change to horizontal change (rise over run). Angle of elevation is the angle between the horizontal and the line of sight. They are related by the arctangent function.
Does the unit of measurement matter? Only if you mix units. As long as rise and run use the same unit, the ratio is unitless and the angle is the same.
Related
Formula used
in r | Rise (vertical) | m | 1 | 0 in u | Run (horizontal) | m | 10 | 0 out a | Angle of elevation | deg | atand(r / u) | 1 out s | Slope ratio (rise:run) | - | r / u | 3
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.