Math

Slope Calculator

Gradient, angle, distance and the line equation.

Enter your values

Results update instantly as you type — no submit needed.

Results
Slope (m)
1.5
Equation
y = 1.5x + 0
Angle of incline
56.31°
Distance between points
10.816654
Percent grade
150%

Working

  1. 1m = (12 − 3) ÷ (8 − 2) = 1.5

Quick answer

Slope is rise over run: m = (y₂ − y₁) ÷ (x₂ − x₁).

m = (y₂ − y₁) ÷ (x₂ − x₁)

How to use the Slope Calculator

  1. 1Enter the coordinates of the first point.
  2. 2Enter the second point.
  3. 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.