Digital Drive HQ
Math Calculators

Slope Calculator

Find the slope between two points.

Free account14-day Pro trialWorks in your browser

Sign in to use this tool

Create a free account to unlock every tool — plus a 14-day free trial of HQ Pro, no card required.

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. 01Enter your two points (x₁, y₁) and (x₂, y₂).
  2. 02Read the result instantly — it recalculates as you type.
  3. 03Adjust 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