Digital Drive HQ
Math Calculators

Slope Calculator

Find the slope between two points.

FreeNo sign-upWorks in your browser
Enter details
Result
Slope (m)
2.6667
Angle
69.44°
Equation
y = 2.667x + -0.667

About the Slope Calculator

Slope measures how steep a line is — the change in y over the change in x. Enter two points and the calculator returns the slope, the line's angle, and its equation in y = mx + b form. It's a core algebra and graphing tool, and it correctly flags vertical (undefined-slope) lines.

How to use the Slope Calculator

  1. 1Enter your two points (x₁, y₁) and (x₂, y₂).
  2. 2Read the result instantly — it recalculates as you type.
  3. 3Adjust the numbers to model different scenarios.

Frequently asked questions

How do you calculate slope?

Slope m = (y₂ − y₁) ÷ (x₂ − x₁), often described as 'rise over run'.

What is the slope of a vertical line?

Undefined — the run (change in x) is zero, so you can't divide. This tool flags that case.

Related tools