← All text tools

Slope calculator

Slope, line equation, angle, distance and midpoint from two points.

  • Free
  • No sign-up
  • Works on any device

About Slope calculator

From two points it returns the slope m = (y2 - y1) / (x2 - x1), the line equation, the angle, distance and midpoint. A vertical line has an undefined slope because the x difference is zero. A positive slope rises left to right, a negative one falls.

How to use Slope calculator

  1. Enter your numbers above.
  2. The result updates instantly as you type.
  3. Change any value to compare different cases.

Why use this tool?

Also known as

Frequently asked questions

What is the slope between (1, 2) and (4, 8)?

Rise over run: (8 - 2) / (4 - 1) = 6 / 3 = 2. The line is y = 2x, since it passes through the origin.

Is Slope calculator free?

Yes. Slope calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Related tools