Slope Calculator

Use this free slope calculator to enter two coordinate points and find rise, run, slope, y-intercept, and a line equation with steps.

All tools
Illustration for Slope Calculator showing find slope, rise, run, and a line equation from two points.
Slope Calculator artwork matches the live tool workflow: find slope, rise, run, and a line equation from two points. Use it with the calculator, examples, and result notes. View in the smoke-kawaii gallery
Unit-aware inputs Formula note Example numbers Tab-only history
Slope2
Rise
8
Run
4
Line
y = 2x

Steps

  1. Find rise: 10 - 2 = 8.
  2. Find run: 5 - 1 = 4.
  3. Divide rise by run: 8 / 4 = 2.
  4. The line can be written as y = 2x.

How to use the Slope Calculator

  1. Enter the first point as x1 and y1.
  2. Enter the second point as x2 and y2.
  3. Press Calculate slope to see rise, run, slope, and the line equation.
  4. Use examples, recent answers, or copy the result while checking coordinate problems.

What people use it for

Find slope from two coordinate points.

Check rise over run for graphing and algebra homework.

Identify vertical lines with undefined slope.

Write a simple line equation from calculated slope and intercept.

Quick examples

Positive slope

(1, 2) to (5, 10)

m = 2

Negative slope

(-2, 7) to (4, 1)

m = -1

Vertical line

(3, 2) to (3, 8)

Undefined slope

Need the guide or a nearby tool?

Need a slower walkthrough, a related calculator, or the full library? These links keep you close to the task you started.

Frequently asked questions

Quick answers about formulas, units, valid measurements, examples, copying, and private in-browser history.

What formula does the Slope Calculator use?

It uses slope = (y2 - y1) / (x2 - x1), often described as rise over run.

What is an undefined slope?

A vertical line has a run of zero because both points have the same x-value. Division by zero is undefined, so the slope is undefined.

What do the main Slope Calculator inputs mean?

The main inputs are the numbers, operation, mode, or known values the calculator needs. Keep units consistent, enter percentages the way the page label shows, and use the examples as a quick check before trusting the answer.

How should I read the Slope Calculator answer?

Read the headline answer, then check the supporting lines and examples to understand how the calculator got there. If one input changes, rerun the tool and compare the new answer instead of guessing.

What should I double-check before trusting the Slope Calculator?

Check units, signs, rounding, and the selected mode before copying the answer. If the number feels weird, rerun one of the examples first, then put your own values back in slowly.

Can the two points be the same?

No. The two points must be different, or there is no single line direction to calculate.

Does this calculator show the line equation?

Yes. For non-vertical lines it shows y = mx + b. For vertical lines it shows x = constant.

Should I use the Distance Calculator instead?

Use Slope Calculator for line steepness and equations. Use Distance Calculator for the straight-line length between two points.

Is my slope history private?

Yes. Recent slope answers stay only in the current browser tab while you use the page. They are not sent to a server.

Related tools