Free tools, no sign-up — everything runs in your browser.
ToolHub 1000Free online tools

Slope Calculator

Find the slope, intercept and equation of the straight line through two points.

Quick answer: enter your details below and click Calculate — your result appears instantly, right here in your browser. Nothing you enter is uploaded or stored.
S
Calculators

Enter your details below.

How to use

  1. Enter the first point as x1 and y1.
  2. Enter the second point as x2 and y2.
  3. Calculate to see the slope, intercept and line equation.

About this tool

Enter two points and the tool measures how steeply the line between them rises or falls. The slope is the change in y divided by the change in x, and once you know the slope you can find the intercept, the point where the line crosses the vertical axis, and write the full equation in the form y equals mx plus b.

Frequently asked questions

What is a negative slope?

A negative slope means the line falls as you move to the right: y gets smaller as x gets larger.

What if both points have the same x value?

Then the line is vertical, so it has no single slope. The tool tells you the line is vertical instead of giving a number.

Related tools

All tools · Read the guide: Slope Calculator