Slope Calculator
Gradient, angle, distance and the line equation.
Reviewed by James Whitfield · How we check our maths
Your values
ⓘ Live results
Results
- Slope (m)
- 1.5
- Equation
- y = 1.5x + 0
- Angle of incline
- 56.31°
- Distance between points
- 10.816654
- Percent grade
- 150%
Working
- 1m = (12 − 3) ÷ (8 − 2) = 1.5
Quick answer
Slope is rise over run: m = (y₂ − y₁) ÷ (x₂ − x₁).
The formula
m = (y₂ − y₁) ÷ (x₂ − x₁)
Worked example
Worked example
Using the values the calculator loads with.
Inputs
- x₁2
- y₁3
- x₂8
- y₂12
Result
- Slope (m)1.5
- Equationy = 1.5x + 0
- Angle of incline56.31°
- Distance between points10.816654
- Percent grade150%
How to use the Slope Calculator
- 1Enter the coordinates of the first point.
- 2Enter the second point.
- 3Read the slope and line equation.
Frequently asked questions
What is a negative slope?
The line falls left to right — y decreases as x increases.
What does percent grade mean?
Slope expressed as a percentage, used for roads and ramps. A 5% grade rises 5 feet over 100 feet of run.
About this calculator
- Built and reviewed by James Whitfield · How we build and test calculators
- Report an error