Slope Calculator

Calculate slope percentage, angle, gradient ratio, rise and run, and slope length with our free online slope calculator.

Horizontal Run Vertical Rise Slope (Hypotenuse) Angle (θ)

Rise & Run Input

Slope Percentage Input

Slope Angle Input

Slope Ratio Input

:

Slope Length Input

Coordinate Input

Visualization
Enter values to generate graph

Results

Percentage (%)
-
Angle (Deg)
-
Ratio (H:V)
-
Length
-
Vertical Rise
-
Horizontal Run
-

Slope Calculator Examples

Example 1: Basic Slope

  • Rise: 2 m
  • Run: 10 m
  • Expected Slope: 20%
  • Expected Angle: ~11.31°

Example 2: Gentle Slope

  • Rise: 0.5 m
  • Run: 10 m
  • Expected Slope: 5%
  • Expected Ratio: 20:1

Example 3: Steeper Slope

  • Rise: 3 m
  • Run: 6 m
  • Expected Slope: 50%
  • Expected Angle: ~26.57°
Note: These examples are for mathematical illustration only and should not be interpreted as safety recommendations for slope stability, road design, or accessibility ramps.

How to Calculate Slope

A slope represents the steepness or incline of a line, surface, or terrain. In civil engineering, architecture, and mathematics, it is defined by the relationship between the horizontal distance (Run) and the vertical change in elevation (Rise).

Key Concepts & Formulas

Physical vs. Coordinate Slope

When calculating physical slopes (like a roof or driveway), negative values typically indicate a "falling" or downward slope, but the magnitude of steepness remains the same. In coordinate geometry, a negative slope means the line goes downwards from left to right across the axes.

Disclaimer: This calculator provides mathematical estimates for educational and preliminary engineering use. It does not replace a qualified engineer’s assessment, geotechnical analysis, drainage design, structural review, or applicable building and safety regulations.

Frequently Asked Questions

1. What is a slope calculator?
A slope calculator is an online tool used to determine the steepness, incline, or gradient of a surface. It computes values such as slope percentage, degrees, and ratios based on vertical rise and horizontal run.
2. How do you calculate slope percentage?
Divide the vertical elevation change (Rise) by the horizontal distance (Run) and multiply by 100. For example, a 2-meter rise over a 10-meter run is (2/10) × 100 = 20%.
3. How do you convert slope percentage to degrees?
To convert percentage to degrees, divide the percentage by 100 to get the decimal gradient, then calculate the arctangent (inverse tangent) of that decimal. Finally, convert the radians to degrees by multiplying by 180/π.
4. What is the difference between slope and gradient?
In most civil engineering contexts, slope and gradient are used synonymously to describe steepness. Mathematically, slope is strictly the ratio (Rise/Run), while gradient often refers specifically to the slope percentage or the vector derivative in calculus.
5. How do you calculate slope ratio?
Slope ratio is typically expressed as Horizontal:Vertical (H:V). You divide the Run by the Rise to find how many horizontal units correspond to 1 vertical unit (e.g., 10m run / 2m rise = 5:1 ratio).
6. How do you calculate rise and run?
Rise is the difference in elevation between two points (Y2 - Y1). Run is the horizontal distance between those same two points (X2 - X1).
7. How do you calculate slope length?
Slope length is calculated using the Pythagorean theorem: a² + b² = c². The formula is Length = Square Root of (Run² + Rise²).
8. Can a slope have a negative value?
Yes. In mathematical coordinates, a negative slope indicates a line falling from left to right. In physical terrains, a negative slope denotes a decline or downgrade. The tool calculates absolute steepness and notes the direction.
9. What is the difference between percent slope and slope ratio?
Percent slope describes the rise per 100 horizontal units. Slope ratio describes the number of horizontal units needed to achieve exactly 1 unit of vertical rise. A 50% slope is equivalent to a 2:1 ratio.
10. Can I use this calculator for roads, roofs, drainage, and terrain?
Yes, the core mathematics for slope are universal. This tool can estimate pitches for roofs, falls for drainage pipes, grades for roads, and steepness for terrain mapping.
11. What units does the slope calculator support?
It supports both Metric (millimeters, centimeters, meters, kilometers) and Imperial (inches, feet, yards, miles) units.
12. Is this slope calculator suitable for engineering design?
It is suitable for preliminary estimates and educational checks. However, final engineering designs must adhere to local building codes, structural analysis, and safety guidelines assessed by certified professionals.
Slope Calculator Slope Percentage Calculator Slope Angle Calculator Slope Ratio Calculator Grade Calculator Gradient Calculator Slope Gradient Calculator Slope Degree Calculator Slope Percent to Degrees Calculator Degrees to Slope Percent Calculator Rise and Run Calculator Rise Run Slope Calculator Vertical Rise Calculator Horizontal Run Calculator Slope Length Calculator Incline Calculator Inclination Angle Calculator Road Slope Calculator Road Gradient Calculator Terrain Slope Calculator Land Slope Calculator Ground Slope Calculator Roof Slope Calculator Roof Pitch Calculator Ramp Slope Calculator Wheelchair Ramp Slope Calculator Driveway Slope Calculator Drainage Slope Calculator Pipe Slope Calculator Civil Engineering Slope Calculator Construction Slope Calculator Elevation Difference Calculator Elevation Change Calculator Slope Distance Calculator Hypotenuse Slope Calculator Percent Grade Calculator Grade Percentage Calculator Gradient Percentage Calculator Slope Ratio 1:2 Calculator 1V 2H Slope Calculator Slope 1 in 10 Calculator Slope Conversion Calculator Slope Calculator Metric Slope Calculator Imperial Meter Slope Calculator Feet Slope Calculator Slope Calculation Tool Online Slope Calculator Free Slope Calculator Civil Slope Angle Tool
Action successful