ThisCalculator

Everyday

Gradient to Angle: Slope Conversion Explained

Updated · Standard formula, shown below

Angle 5.71 degrees
Gradient
10.00 %
Result
Rise
1 m
You entered
Run
10 m
You entered

Gradient to Angle: Slope Conversion Explained

This calculator converts a gradient (slope ratio or percentage) into an angle in degrees. You enter the rise and run (or the gradient percentage), and it returns the angle of inclination. The conversion uses the standard arctangent (inverse tangent) function: angle = atan(rise / run).

Formula

The angle θ (theta) in degrees is calculated from the rise and run using the inverse tangent function:

θ = atan(rise / run)

  • rise – the vertical change (in meters, feet, or any consistent unit).
  • run – the horizontal distance (in the same unit as rise).
  • θ – the angle of inclination from horizontal, in degrees.

If you have a gradient percentage (e.g., 10%), divide it by 100 to get the ratio (0.10), then take the arctangent of that ratio. The result is the angle in degrees.

Worked Example

Using the default values from the calculator (rise = 1 m, run = 10 m):

  1. Calculate the ratio: rise / run = 1 / 10 = 0.1
  2. Find the arctangent of 0.1 in degrees: atan(0.1) ≈ 5.71°
  3. The gradient percentage is 0.1 × 100 = 10%

So a 1:10 slope (or 10% gradient) corresponds to an angle of about 5.71 degrees.

Why Convert Gradient to Angle?

Gradients are used in many fields—road construction, railway design, roof pitch, ramps, and hiking trails. Each field has its own convention:

  • Roads and railways often use percentage gradient (e.g., a 6% grade means rise of 6 units per 100 units of horizontal distance).
  • Roofing uses pitch as a ratio (e.g., 4:12 means 4 inches rise per 12 inches run).
  • Hiking trails sometimes use degrees to indicate steepness.

Converting to degrees gives a more intuitive sense of steepness—most people picture a 30° slope as steep, but a 30% gradient (about 16.7°) might not sound as severe. Angles are also needed for trigonometric calculations, engineering designs, and when using tools like inclinometers.

How to Choose the Right Input

Ensure that the rise and run are measured in the same unit—if you mix meters and feet, the ratio will be wrong. If you only have the gradient percentage, you can still use the calculator by entering 100 as the run and the percentage as the rise (since percentage is rise per 100). For example, a 15% gradient means rise = 15, run = 100, giving atan(15/100) ≈ 8.53°.

For roof pitch like 6:12, enter rise = 6 and run = 12. The result is the same regardless of the actual unit (inches, cm, etc.) because the ratio is dimensionless.

Common Mistakes and Misconceptions

  • Mixing units: Always use the same unit for rise and run. If you measure rise in inches and run in feet, convert one first (e.g., 1 ft = 12 in).
  • Confusing percentage with degrees: A 100% gradient is not 100°—it is 45°. The arctangent of 1 is 45°.
  • Rounding too early: If you round the ratio before taking the arctangent, you may lose precision. Keep at least 4 decimal places.
  • Using the wrong function: Some calculators have atan (inverse tangent) and atan2 (which handles quadrants). For positive rise and run, atan works fine.

Limits of the Formula

The arctangent formula assumes a straight-line slope. It does not account for curves, terrain irregularities, or the fact that in real-world surveying, the “run” is often measured as horizontal distance, not along the slope. For very steep slopes (near vertical), the angle approaches 90°, but the gradient percentage becomes extremely large. The formula is mathematically exact for any positive rise and run, but practical measurements always have some error, so treat the result as an estimate.

Alternatives and Related Calculations

If you need the slope length (hypotenuse) instead of the angle, use the Pythagorean theorem: length = sqrt(rise² + run²). To convert an angle back to a gradient, use the tangent: gradient = tan(θ). For example, a 30° angle has a tangent of 0.577, which is a 57.7% gradient. Some calculators also offer the ability to convert between degrees and radians—remember that 1 radian ≈ 57.3°.

Frequently Asked Questions

How do I convert a gradient percentage to degrees?

Divide the percentage by 100 to get the ratio, then take the arctangent. For example, a 25% gradient: 25/100 = 0.25, atan(0.25) ≈ 14.04°.

What is a 45-degree angle in gradient?

A 45° angle corresponds to a 100% gradient (rise equals run). The tangent of 45° is 1, so the ratio is 1:1.

Is a 10% gradient the same as a 10-degree angle?

No. A 10% gradient is about 5.71°. To get a 10° angle, you need a gradient of about 17.6% (tan(10°) ≈ 0.176).

What is the maximum gradient for a road?

Typical highway grades are limited to around 6-8% (about 3.4-4.6°), but local roads and mountain passes can be steeper. There is no universal maximum; it depends on design standards and vehicle capabilities.

Can I use this calculator for roof pitch?

Yes, enter the rise and run in any unit (e.g., 4 and 12 for a 4:12 pitch). The angle output is the roof slope in degrees.

Why does my calculator give a different answer?

Make sure your calculator is in degree mode, not radian mode. Also check that you are using the inverse tangent (atan) and not the cotangent or something else. If you are using a phone app, verify the input order—some apps expect the ratio as run/rise.

Related

Formula used
in rise | Rise | m | 1 | 0
in run | Run | m | 10 | 0
out angle | Angle | degrees | atand(rise / run) | 2
out gradient_percent | Gradient | % | (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.