Slope to Angle Formula: Convert Rise/Run to Degrees
- Slope percentage
- %
- Result
- Vertical rise
- 1 m
- You entered
- Horizontal run
- 10 m
- You entered
This calculator converts a slope expressed as rise over run (or as a percentage) into an angle in degrees. You enter the vertical rise and horizontal run, and the calculator returns the angle of inclination relative to horizontal, using the inverse tangent (arctangent) function. The result is the angle you would measure with a protractor or an inclinometer.
Formula
The slope-to-angle formula is:
θ = arctan(rise / run)
where:
- θ (theta) is the angle of inclination from horizontal, in degrees.
- rise is the vertical change (height difference), in any unit (m, ft, etc.).
- run is the horizontal distance, in the same unit as rise.
If your slope is given as a percentage (e.g., a road sign says “10% grade”), divide the percentage by 100 to get rise/run, then apply the same arctan formula. For example, a 10% grade means rise/run = 0.10, so θ = arctan(0.10) ≈ 5.71°.
Worked Example
Using the default values from the calculator above: rise = 1 m, run = 10 m.
- Compute the ratio: rise / run = 1 / 10 = 0.1
- Apply arctan (inverse tangent) to the ratio: θ = arctan(0.1)
- Using a calculator in degree mode (or the atand function), arctan(0.1) ≈ 5.7106°
So a slope that rises 1 meter over a horizontal distance of 10 meters has an angle of about 5.71°. The slope percentage is (1/10) × 100 = 10%.
Why Use Arctan? Understanding the Trigonometry
In a right triangle, the slope (rise/run) is the tangent of the angle of inclination. Tangent is defined as opposite side divided by adjacent side. Here, the opposite side is the rise, and the adjacent side is the run. To find the angle when you know the tangent, you use the inverse tangent function, written as arctan, atan, or tan⁻¹. This function “undoes” the tangent, returning the angle whose tangent equals the ratio you input.
It’s important to use the correct mode on your calculator: degrees or radians. The formula works in either, but the output unit depends on the mode. Most practical applications (construction, engineering, road grades) use degrees, so set your calculator to degrees or use the atand function (which forces degrees).
Slope as Percentage, Ratio, and Angle
Slopes are commonly expressed in three ways:
- Angle (degrees): the actual geometric angle from horizontal.
- Percentage: (rise / run) × 100. A 100% slope means a 45° angle (because arctan(1) = 45°).
- Ratio: often written as “1 in 10” meaning 1 unit rise per 10 units run. This is just rise/run as a fraction.
To convert between them:
- Percentage to angle: θ = arctan(percentage / 100)
- Angle to percentage: percentage = tan(θ) × 100
- Angle to ratio: rise/run = tan(θ)
For example, a 45° angle corresponds to a 100% slope (tan 45° = 1). A 30° angle corresponds to about 57.7% slope (tan 30° ≈ 0.577). A 1:12 ratio (common for wheelchair ramps) is a 4.76° angle and an 8.33% slope.
Common Mistakes and How to Avoid Them
The most frequent error is mixing up rise and run. Rise is always the vertical change; run is always the horizontal distance. Swapping them gives the complement of the angle (for acute angles, 90° – θ). For example, rise=1, run=10 gives 5.71°, but rise=10, run=1 gives 84.29°.
Another common mistake is using the slope ratio directly as the angle in degrees. For small slopes, the numerical values are close (e.g., 0.1 rad ≈ 5.71°), but for larger slopes they diverge dramatically. A slope of 1 (100%) is not 1 degree; it’s 45 degrees.
Also, be consistent with units. Rise and run must be in the same unit before dividing. If rise is in centimeters and run is in meters, convert one to the other first. Unit inconsistency is a leading cause of incorrect results.
Real-World Applications
This conversion is used in many fields:
- Construction and carpentry: roof pitches are often given as rise over run (e.g., 4/12), and builders need the angle for cutting rafters.
- Road and railway engineering: grades are given as percentages, and the angle is needed for vehicle performance calculations.
- Landscaping and drainage: ensuring proper slope for water runoff, often expressed as a percentage or angle.
- Sports and recreation: ski slope difficulty, hiking trail steepness, and ramp design for skateboarding or wheelchairs.
- Physics and math education: understanding the relationship between slope and angle is fundamental in trigonometry and calculus.
For example, a roof with a 6/12 pitch (rise 6 inches per 12 inches of run) has an angle of arctan(6/12) = arctan(0.5) ≈ 26.57°. A road with a 7% grade has an angle of arctan(0.07) ≈ 4.0°.
Limitations of the Formula
The arctan formula assumes a straight line slope – it works for any constant slope, but not for curved surfaces. For a curved road or a hill with changing steepness, the angle at a specific point requires calculus (the derivative). Also, for extremely steep slopes approaching vertical (run approaching zero), the angle approaches 90°, but the formula becomes numerically unstable because the ratio becomes very large. In practice, you wouldn’t measure a vertical wall as a slope.
Another limitation: the arctan function returns angles only between -90° and +90°. For slopes that go downward (negative rise), the angle will be negative. That’s fine for most applications, but if you want an absolute steepness, take the absolute value of the rise first.
Finally, remember that the formula gives the angle from horizontal. If you need the angle from vertical (e.g., for a pole leaning), subtract the result from 90°.
Frequently Asked Questions
How do I convert a slope percentage to degrees?
Divide the percentage by 100 to get the tangent ratio, then take the arctangent of that number. For example, a 25% slope: arctan(0.25) ≈ 14.04°. You can use the calculator above by entering rise=25 and run=100 (or any equivalent ratio).
What is a 100% slope in degrees?
A 100% slope means rise equals run, so the ratio is 1. Arctan(1) = 45°. So a 100% slope is exactly a 45° angle. This is a handy reference point.
Is a 1% slope the same as 1 degree?
No. A 1% slope is a rise/run ratio of 0.01, which gives arctan(0.01) ≈ 0.57°. So 1% is about 0.57 degrees. The difference is small for tiny slopes but grows as the slope increases.
What is the slope of a 30-degree angle?
The slope (rise/run) equals tan(30°) ≈ 0.577. As a percentage, that’s 57.7%. As a ratio, it’s approximately 1:1.73 (for every 1 unit of rise, you need 1.73 units of run).
How do I measure rise and run in the field?
Rise is the vertical distance between two points, measured with a level and a tape measure or a laser level. Run is the horizontal distance between the same two points, measured with a tape measure along the ground. For a roof, rise is the height of the peak above the wall top, and run is half the building width. For a road, rise is the elevation change over a known horizontal distance.
Can I use this formula for a ramp or incline?
Yes, this is exactly the formula used for ramps. For example, the Americans with Disabilities Act (ADA) recommends a maximum slope of 1:12 for wheelchair ramps, which is arctan(1/12) ≈ 4.76°. This formula applies to any straight incline, whether for vehicles, pedestrians, or wheelchairs.
Related
Formula used
in rise | Vertical rise | m | 1 | 0 in run | Horizontal run | m | 10 | 0 out angle | Angle from horizontal | degrees | atand(rise / run) | 2 out slope_pct | Slope percentage | % | (rise / run) * 100 | 2
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.