Slope Ratio to Angle: Convert & Calculate
- Angle
- radians
- Result
- Slope
- %
- Result
- Rise (vertical)
- 1 m
- You entered
This calculator converts a slope ratio (rise over run, such as 1:12 or 0.25) into an angle in degrees, and it also shows the angle in radians and the slope as a percentage. You enter the rise and run (or the ratio directly), and the calculator returns the angle using the inverse tangent (arctangent) function. The result is the angle of the incline relative to the horizontal, which is useful in construction, road design, ramps, and any project where you need to know how steep a slope is.
Formula
The slope ratio is defined as the vertical rise divided by the horizontal run. To convert that ratio to an angle in degrees, use the inverse tangent (arctangent) function:
Angle (degrees) = atan(rise / run) (when using degrees)
Or in radians: Angle (radians) = atan(rise / run)
Where:
- rise = vertical change (in any unit, as long as run uses the same unit)
- run = horizontal distance (same unit as rise)
- atan = arctangent, the inverse of the tangent function
The tangent of an angle in a right triangle is opposite/adjacent, which is exactly rise/run. So the arctangent of that ratio gives you the angle itself.
Worked Example
Using the default values: rise = 1 m, run = 12 m.
- Divide rise by run: 1 ÷ 12 = 0.083333…
- Take the arctangent (in degrees) of 0.083333: atan(0.083333) ≈ 4.76°
- So the angle is about 4.76 degrees.
The calculator also shows the slope percentage: (1/12) × 100 = 8.33%, and the angle in radians: atan(0.083333) ≈ 0.08314 radians.
Why Convert Slope Ratio to Angle?
Slope ratio and angle are two different ways to express the same steepness. A ratio like 1:12 is common in construction for accessible ramps (the Americans with Disabilities Act recommends a maximum 1:12 slope for ramps). But many tools and specifications use degrees instead. For example, a roof pitch of 6/12 means the roof rises 6 inches for every 12 inches of horizontal run – that’s about 26.6°. Knowing the angle helps when setting a saw, adjusting a ladder, or checking if a driveway meets local grading standards. Converting between the two lets you communicate with contractors, read blueprints, and use the right measurement for your tool.
How to Use the Calculator
Enter the rise and run in any units – they just need to be the same unit (e.g., both inches, both meters). The calculator automatically computes the angle in degrees and radians, plus the slope percentage. If you have a ratio like 3:4, enter rise = 3 and run = 4. If you have a percentage slope, you can convert it to a ratio first: percentage/100 = rise/run. For example, a 5% slope means rise/run = 0.05, so you could enter rise = 0.05 and run = 1 (or any equivalent pair).
Common Mistakes and Misconceptions
- Mixing units: Rise and run must be in the same unit. If rise is in inches and run is in feet, convert first (e.g., 1 ft = 12 in).
- Using the wrong function: Some people use sine or cosine instead of tangent. Remember: slope ratio is opposite/adjacent, which is tangent, not sine (opposite/hypotenuse) or cosine (adjacent/hypotenuse).
- Confusing slope ratio with slope percentage: A ratio of 1:4 is 25% (1/4 × 100), but the angle is not 25° – it’s about 14°. The percentage is not the angle.
- Forgetting to switch calculator mode: If you’re doing it by hand, make sure your calculator is in degree mode (not radians) when you want degrees.
Real-World Applications
Slope-to-angle conversion appears in many fields:
- Construction and architecture: Roof pitches, stair stringers, ramp slopes, and drainage gradients.
- Road and railway engineering: Grade is often given as a percentage, but curves and superelevation use angles.
- Landscaping and drainage: Ensuring water flows away from foundations – typically a 1% to 2% slope (about 0.6° to 1.1°).
- Sports and recreation: Ski slope difficulty, hiking trail steepness, and skateboard ramp design.
- Machining and metalwork: Taper angles and jig setups often need degrees from a ratio.
Limitations and Precision
The formula assumes a straight-line slope – it works for any rise and run, but for very steep slopes (above 45°), the angle grows quickly, and small measurement errors in rise or run can cause large changes in the angle. Also, the arctangent function only returns angles between -90° and +90°, which is fine for slopes (they rarely exceed 90°). For extremely precise work, use more decimal places and ensure your measurements are accurate. The calculator rounds to two decimals for degrees, which is usually enough for practical purposes.
Frequently Asked Questions
What is a 1:12 slope in degrees?
A 1:12 slope (1 unit rise for every 12 units run) is approximately 4.76 degrees. This is the standard maximum slope for wheelchair ramps in many building codes.
How do I convert a percentage slope to degrees?
Divide the percentage by 100 to get the rise/run ratio, then take the arctangent. For example, a 10% slope is 0.10, and atan(0.10) ≈ 5.71 degrees.
What is the difference between slope ratio and angle?
Slope ratio is the rise divided by the run (a dimensionless number or ratio), while angle is the measure of inclination in degrees or radians. They are related by the tangent function: tan(angle) = rise/run.
Can I use this calculator for roof pitch?
Yes. Roof pitch is often given as a ratio like 6/12, meaning 6 inches of rise per 12 inches of run. Enter rise = 6 and run = 12 to get the angle, which is about 26.57 degrees.
What if my run is zero?
A run of zero would mean a vertical slope (90°), but the formula divides by run, so it’s undefined. In practice, a slope with zero run is perfectly vertical, and the angle is 90 degrees.
Does the unit of measurement matter?
No, as long as rise and run use the same unit. The ratio is unitless, so the angle is the same whether you use inches, meters, or miles.
Related
Formula used
in rise | Rise (vertical) | m | 1 | 0 in run | Run (horizontal) | m | 12 | 0 out angle_deg | Angle | degrees | atand(rise / run) | 2 out angle_rad | Angle | radians | atan(rise / run) | 4 out slope_pct | Slope | % | (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.