Education & Math Tools

Slope Calculator

Enter two coordinate points to calculate the slope and full equation of the line through them.

slope = 3
y = 3x 1

How to use this tool

  1. 1Enter the coordinates of two points.
  2. 2See the slope and line equation (y = mx + b).

Frequently asked questions

What if both points have the same x-coordinate?+

That's a vertical line, which has an undefined slope — the tool flags this case instead of showing a number.