Slope Gradient Calculator
Free Slope gradient Calculator for geomorphology & mapping. Enter variables to compute results with formulas and detailed steps.
Calculator
Adjust values & calculateFormula
Rise is vertical change, Run is horizontal distance, slope distance = sqrt(Rise^2 + Run^2).
Last reviewed: December 2025
Worked Examples
Example 1: Road Engineering Gradient
Example 2: Hillslope from Contour Map
Background & Theory
The Slope Gradient Calculator applies the following established principles and formulas. Earth science calculators draw on a wide range of measurement scales and physical principles that quantify natural phenomena across geological, atmospheric, and hydrological systems. Earthquake magnitude is most precisely described by the Moment Magnitude Scale (Mw), which replaced the original Richter scale for larger events. Mw is calculated as Mw = (2/3) log10(M0) โ 10.7, where M0 is the seismic moment in dyne-centimeters. The Richter scale, while still referenced colloquially, is a local magnitude (ML) measurement derived from peak seismograph amplitude at a standard 100 km distance. Wind intensity is classified using the Beaufort Scale, a 13-point empirical scale (0โ12) relating wind speed in knots to observable sea and land effects, with Beaufort 12 corresponding to hurricane-force winds above 64 knots. Tropical cyclone intensity is further categorized by the Saffir-Simpson Hurricane Wind Scale, which assigns Categories 1 through 5 based on sustained wind speed, correlating with expected structural damage. Mineral hardness is quantified on the Mohs scale (1โ10), comparing scratch resistance relative to reference minerals from talc (1) to diamond (10). Soil composition analysis measures the proportions of sand, silt, and clay by particle size, alongside organic matter content, bulk density, and porosity, which together determine engineering and agricultural suitability. Seismic wave velocity in rock varies by material: P-waves travel at approximately 5โ7 km/s in granite and 1.5 km/s in water, while S-waves travel at roughly 60% of P-wave speeds. Atmospheric pressure decreases with altitude according to the barometric formula: P = P0 ร exp(โMgh / RT), where M is molar mass of air, g is gravitational acceleration, h is altitude, R is the universal gas constant, and T is temperature in Kelvin. Standard sea-level pressure is 101,325 Pa. Tidal calculations use harmonic analysis of gravitational forcing by the Moon and Sun, with the principal lunar semidiurnal tidal constituent (M2) having a period of approximately 12.42 hours.
History
The history behind the Slope Gradient Calculator traces back through the following developments. The systematic study of Earth's structure and processes spans millennia, but the scientific foundations were laid in the seventeenth century. In 1669, Danish naturalist Nicolas Steno published his principles of stratigraphy, establishing the laws of superposition, original horizontality, and lateral continuity โ foundational rules for reading rock layers that remain in use today. Scottish geologist James Hutton introduced the concept of uniformitarianism in 1788, proposing that geological processes observable in the present have operated throughout Earth's history at broadly consistent rates. This idea of deep time challenged prevailing biblical chronologies and set the stage for modern geology. Charles Lyell systematized these ideas in his landmark three-volume work Principles of Geology, published beginning in 1830, which directly influenced Charles Darwin's thinking on biological evolution during the voyage of the Beagle. The nineteenth century saw growing curiosity about continental shapes, but a coherent theory awaited Alfred Wegener, a German meteorologist who proposed continental drift in 1912, arguing that the continents had once formed a supercontinent he called Pangaea. His evidence included matching fossil records and geological formations across the Atlantic, but his mechanism was disputed for decades. The theory gained acceptance in the 1960s when seafloor spreading was confirmed through paleomagnetic studies, and plate tectonics emerged as the unifying framework of modern geoscience. The United States Geological Survey was established by Congress in 1879 to classify public lands and examine the geological structure, mineral resources, and products of the national domain. The twentieth century brought instrumental advances, including the global seismograph network deployed after World War II, initially to monitor nuclear tests, which dramatically improved earthquake detection and characterization. Satellite Earth observation began in earnest with the Landsat program launched in 1972, enabling continuous global monitoring of land use, glacier retreat, and vegetation patterns. Today, GPS networks, LIDAR scanning, and ocean-floor mapping provide centimeter-scale precision for tracking tectonic motion, sea level rise, and volcanic deformation in near real time.
Frequently Asked Questions
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\nAngle = atan(0.1875) = 10.62 deg\nPercentage = 18.75%\nSlope distance = sqrt(800^2+150^2) = 813.94 m\nRatio = 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\nSlope = 150/800 = 0.1875\nAngle = 10.62 deg\nGrade = 18.75%\nSlope 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.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy