Slope Distance Calculator
Find the true distance along a slope: enter the horizontal run and the vertical rise to get the slope distance, the slope grade, the slope angle, and exactly how much longer the sloped route is than the flat map distance. Each input can use its own unit, and the result can be shown in any of the four units, because a survey in feet and a trail in kilometres should not need two different tools.
Slope Distance Calculator
Quick Answer
A trail with a 500 m horizontal distance and 120 m of elevation gain has a slope distance of 514.198 m. The grade is 24 percent, the angle is 13.50 degrees, and the slope route is 14.198 m longer than the flat map distance. Enter 500 and 120 in metres to reproduce it. The classic check is a 16 m run with a 12 m rise, which gives exactly 20 m, the 3-4-5 triangle.
The slope distance formula
The run and rise form a right triangle, so the hypotenuse, the slope distance, comes from the Pythagorean theorem: slope distance equals the square root of (run squared plus rise squared). Both measurements must use the same unit before that step, which is why the calculator converts your inputs to metres first, computes, and then converts the answer into your chosen output unit. Slope distance is always the largest of the three numbers: it exceeds both the run and the rise, and it equals the run only when the rise is zero.
The hand check for the worked example is short. Run squared is 500 squared, which is 250,000. Rise squared is 120 squared, which is 14,400. Their sum is 264,400, and the square root of 264,400 is 514.198 m. The extra distance over the flat route is 514.198 minus 500, which is 14.198 m. Every figure the tool prints can be reproduced this way, and the tool prints the substitution itself under the results so the check does not need a second visit to the article.
Grade, angle, and why both matter
Grade and angle describe the same steepness in two languages, and different trades speak different ones. Slope grade equals rise divided by run, times 100. Road signs and drainage specifications use grade: a 24 percent grade is steep for a road, since most highways stay under 6 to 8 percent, while wheelchair ramps are limited to about 8.33 percent, the 1:12 slope. Slope angle equals arctan of rise divided by run, in degrees. Surveyors and firefighters tend to speak in percent; engineers and navigators in degrees. This calculator gives both, so the number never needs converting by hand at the side of the road.
| Grade | Ratio (rise:run) | Angle | Where you meet it |
|---|---|---|---|
| 8.33 percent | 1:12 | 4.76 degrees | Wheelchair ramp limit |
| 12 percent | 1:8.33 | 6.84 degrees | Steep residential street |
| 24 percent | 1:4.17 | 13.50 degrees | Worked example trail |
| 50 percent | 1:2 | 26.57 degrees | Steep hillside track |
| 100 percent | 1:1 | 45 degrees | Rise equals run |
Two conversions in that table are worth memorising. A 100 percent grade is not vertical; it is 45 degrees, because grade compares rise with run, not with the vertical. And a grade over 100 percent is perfectly possible: it simply means the rise exceeds the run, which is the case for any slope steeper than 45 degrees.
Map distance against slope distance
A map shows the horizontal projection, not the ground you walk. On gentle terrain the difference is trivial, but at a 24 percent grade it is already 14.198 m per 500 m, and on a 45-degree slope the ground distance is about 41 percent longer than the map shows, since the square root of 2 is 1.414. Hikers estimating time and energy, surveyors staking cut lists, and contractors ordering cable or pipe should all use the slope distance, not the plan distance. Ordering to the horizontal figure guarantees a shortfall, and the shortfall grows with steepness, which is precisely when a second trip to the supplier hurts most.
For a concrete ordering example, take a cable run down a slope with a 500 m horizontal distance and 120 m of fall. Ordered to the map, you buy 500 m and come up 14.198 m short before allowing for terminations or sag. Ordered to the slope distance, you buy 514.198 m and the run fits. The same logic applies to fencing, roofing, and irrigation pipe: the material lies on the slope, so it must be measured on the slope. If you need the plain distance between two points without any slope involved, the distance calculator covers that case, and the grade calculator and percent slope calculator isolate the grade half of this problem for road and drainage work, while the ramp slope calculator applies the same triangle to accessible ramps.
What competing calculators miss
One rival’s two slope pages take rise and run in a single unit and return a single number, with no grade, no angle, and no unit choice. Another adds a decent worked example but the same bare output. A gradient tool aimed at coordinate geometry gives grade and angle but starts from coordinates rather than from the run and rise a person on site actually measures. This calculator starts from the site measurements, converts units independently per input, reports grade and angle alongside the distance, shows feet-and-inches for imperial results, and quantifies exactly how much longer the slope route is than the flat distance. Those are not decorations; each one answers a question that comes up on the next step of the job, whether that step is ordering material, checking a ramp, or staking a line.
Takeaways
- Slope distance is the hypotenuse: square root of run squared plus rise squared.
- Grade is rise divided by run times 100. Angle is arctan of rise divided by run.
- 100 percent grade is 45 degrees, not vertical.
- Order material to the slope distance, never to the map distance.
- Convert units before computing, or the triangle will not close.
When slope distance is not the number you want
Slope distance assumes a straight, uniform incline between two points. A trail that switchbacks, a roof with two pitches, or ground that undulates needs to be broken into straight sections and summed section by section; feeding the total run and total rise of a winding route into this tool gives the straight-line slope distance between its ends, which understates the distance actually travelled. Likewise, surveyors using electronic distance measurement already measure slope distance directly with the instrument and then reduce it to horizontal distance for mapping, which is the reverse direction of this tool. Knowing which direction a job needs, slope from horizontal or horizontal from slope, is half the skill; the arithmetic is the easy half.
Frequently asked questions
Take the square root of the run squared plus the rise squared: the square root of (run squared plus rise squared). A 500 m run with 120 m of rise gives 514.198 m.
Horizontal, or map, distance is the flat projection. Slope distance is the actual ground length along the incline. Slope distance is always longer, and the gap grows with steepness.
Divide the rise by the run and multiply by 100. A 12 m rise over a 100 m run is a 12 percent grade.
Angle equals arctan of rise divided by run, in degrees. A 100 percent grade, where rise equals run, is 45 degrees.
Metres, feet, kilometres, or miles for each input independently, and you can display the result in any of them. The tool converts inputs to a common unit before computing.
It is the hypotenuse of a right triangle, and the hypotenuse is always the longest side. It can equal the run only when the rise is zero.
Accessibility standards generally limit ramps to a 1:12 slope, about 8.33 percent. Anything steeper needs handrails, landings, or a different route.
Yes. Pipe, cable, fencing, and roofing ordered to the horizontal distance will come up short on any real slope; order to the slope distance.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- U.S. Department of Justice, Americans with Disabilities Act. 2010 ADA Standards for Accessible Design (ramp slope limits, including 1:12). Accessed October 26, 2026.
- Khan Academy. Pythagorean theorem (right-triangle relation behind the slope distance formula). Accessed October 26, 2026.
- Encyclopaedia Britannica. Pythagorean theorem (statement and history of the theorem). Accessed October 26, 2026.
