Slope Calculator

By definition, the slope or gradient of a line describes its steepness, incline, or grade.

m = (y₂ - y₁) / (x₂ - x₁) = tan(θ)

Where m — slope, θ — angle of incline

If the 2 Points are Known

X₁
Y₁
X₂
Y₂

If 1 Point and the Slope are Known

X₁
Y₁
Distance (d)
Slope (m)
OR
Angle (θ)°

Calculation Tips

  • Enter valid numbers for coordinates and slope.
  • For 2 points, ensure x₂ ≠ x₁ to avoid undefined slope.
  • Use slope or angle for 1 point calculation.