Slope Gradient Calculator
Free Slope gradient Calculator for geomorphology & mapping. Enter variables to compute results with formulas and detailed steps.
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer
Slope Gradient Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Slope = Rise/Run; Angle = atan(Rise/Run); Percent = (Rise/Run)*100
Worked example โ Slope: 18.75% | Angle: 10.62 deg | Ratio 1:5.33 | Dist: 813.94 m
Formula
Slope = Rise/Run; Angle = atan(Rise/Run); Percent = (Rise/Run)*100
Rise is vertical change, Run is horizontal distance, slope distance = sqrt(Rise^2 + Run^2).
Worked Examples
Example 1: Road Engineering Gradient
Problem:A road rises 150 m over 800 m horizontal. Calculate all slope expressions.
Solution:Slope ratio = 150/800 = 0.1875 Angle = atan(0.1875) = 10.62 deg Percentage = 18.75% Slope distance = sqrt(800^2+150^2) = 813.94 m Ratio = 1:5.33
Result:Slope: 18.75% | Angle: 10.62 deg | Ratio 1:5.33 | Dist: 813.94 m
Example 2: Hillslope from Contour Map
Problem:Point A at 520 m and B at 670 m, separated by 800 m horizontal.
Solution:Elevation diff = 150 m Slope = 150/800 = 0.1875 Angle = 10.62 deg Grade = 18.75% Slope dist = 813.94 m
Result:Slope: 18.75% | Angle: 10.62 deg | Slope Distance: 813.94 m
Frequently Asked Questions
What is slope gradient and how is it expressed?
Slope gradient measures terrain steepness as the rate of elevation change with horizontal distance. It is expressed as a ratio of rise to run, as degrees from horizontal, as a percentage where 100% equals 45 degrees, as per mille for gentle gradients like railways, or as 1:n meaning one unit vertical for n units horizontal. Engineers typically use percentage for roads, surveyors prefer degrees, and geomorphologists use all forms. Understanding relationships between expressions is essential for communicating terrain information across disciplines.
How do you calculate slope from two elevation points?
Slope between two points is calculated by dividing the elevation difference by horizontal distance: S = delta-h / d. The horizontal distance must be the map distance, not slope distance along the ground. To convert to degrees, take the arctangent. To express as percentage, multiply by 100. When working with topographic maps, horizontal distance is measured using the map scale while elevation difference is from contour lines. In GIS, slope is computed automatically from a DEM using elevation differences between neighboring cells.
What is the difference between slope angle and percentage?
Slope angle is measured in degrees from horizontal, ranging from 0 to 90, while slope percentage is rise divided by run times 100. The key difference is percentage has no upper limit: 45 degrees equals 100%, 60 degrees equals 173%, and a vertical cliff approaches infinity. This nonlinear relationship means at gentle slopes the two are nearly proportional but diverge dramatically on steep terrain. Percentage is intuitive for road design where 6% grade means 6 m rise per 100 m horizontal. Angle is preferred in geomorphology where steep terrain is common.
How is slope calculated from a DEM?
In a DEM, slope at each cell is calculated from surrounding cell elevations using finite difference algorithms. The most common is Horn 1981, using all eight neighbors in a 3x3 window to compute partial derivatives in east-west and north-south directions. Slope magnitude is then sqrt(dz/dx squared + dz/dy squared). This algorithm is more robust to noise than simpler two-point methods. Computed slope depends on DEM resolution: coarser resolution smooths terrain and produces lower maximum slope values.
What are typical slope values for different terrain types?
Alluvial plains and coastal lowlands have slopes below 2% or about 1 degree. Rolling agricultural land ranges 2 to 8%. Moderate hillslopes for grazing range 8 to 20% or 5 to 11 degrees. Steep forested hillslopes range 20 to 45% or 11 to 24 degrees. Mountain slopes exceed 45% and cliffs approach vertical. Most soils become unstable above 35 to 40 degrees, the angle of repose for most unconsolidated materials. Understanding these ranges helps in land capability assessment and hazard zoning.
How do you convert between slope expressions?
To convert ratio to degrees: arctan(rise/run). Degrees to percentage: tan(angle) * 100. Percentage to degrees: arctan(pct/100). The ratio 1:n means percentage = 100/n and angle = arctan(1/n). Per mille is ratio times 1000. For gentle slopes below 5 degrees, angle and percentage are approximately equal. A useful reference: 1 degree approximately equals 1.75 percent gradient. These conversions are essential for engineers and geomorphologists working across different conventions.
Why is slope important in civil engineering?
Slope gradient is critical throughout civil engineering affecting cost, safety, and functionality. Road standards specify maximum grades of 3 to 8% depending on road class and design speed, since steeper grades increase fuel consumption and reduce stopping distances. Drainage systems need minimum 0.5 to 1% for self-cleaning velocities. Foundations on slopes above 10 to 15% need expensive earthwork or retaining structures. Embankment designs use slope stability analysis to ensure fill slopes do not exceed safe angles.
How does slope affect water erosion rates?
Slope strongly controls erosion through influence on flow velocity, shear stress, and transport capacity. The USLE includes a slope factor S that increases nonlinearly with steepness: doubling slope more than doubles erosion. Steeper slopes generate faster overland flow with greater energy to detach and transport soil particles. Critical thresholds exist where erosion transitions from sheet to rill around 5 to 10% and rill to gully above 15 to 25% depending on soil type and vegetation cover.
What is slope aspect and how does it differ from gradient?
Slope aspect is the compass direction a slope faces, measured as the azimuth of steepest downhill direction, while gradient measures only steepness magnitude. Together they form the slope vector completely describing terrain surface orientation. Aspect profoundly affects microclimate: south-facing slopes in the Northern Hemisphere receive more sunlight, creating warmer and drier conditions compared to north-facing slopes. These differences control vegetation patterns, soil moisture, snow melt rates, and permafrost distribution.
References
Background & Theory
History
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy
Related Calculators
๐งฎGeothermal Gradient Calculator
Calculate geothermal gradient with inputs, formulas, and instant results.
๐งฎHeat Flow From Gradient and Conductivity Calculator
Calculate heat flow from gradient and conductivity with inputs, formulas, and instant results.
๐งฎSlope Factor of Safety (bishop Simplified) Calculator
Calculate slope factor of safety (bishop simplified) with inputs, formulas, and instant results.
๐งฎSlope Stability Factor Calculator (geotechnical)
Calculate slope stability factor (geotechnical) with inputs, formulas, and instant results.
๐งฎHydraulic Gradient Calculator (natural Flow)
Calculate hydraulic gradient (natural flow) with inputs, formulas, and instant results.
๐งฎWatershed Slope Calculator
Calculate watershed slope with inputs, formulas, and instant results.
๐งฎTemperature Gradient Calculator
Calculate temperature gradient with inputs, formulas, and instant results.
๐งฎAspect and Slope Angle Calculator
Calculate aspect and slope angle with inputs, formulas, and instant results.