Slope calculator guide

How to use the Slope Calculator

The Slope Calculator finds rise, run, slope, and a line equation from two coordinate points.

Open the Slope Calculator
Guide image for Slope Calculator showing find slope, rise, run, and a line equation from two points with example inputs and result notes.
Slope Calculator guide artwork sits with the walkthrough for find slope, rise, run, and a line equation from two points, including inputs, examples, limits, and mistakes to check. View in the smoke-kawaii gallery

Quick start

  1. Enter x1 and y1 for the first point.
  2. Enter x2 and y2 for the second point.
  3. Press Calculate slope.
  4. Review rise, run, slope, and the line equation.

Best uses

Start here if one of these sounds like your job. The examples below show which inputs matter most.

  • 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.

What slope means

Slope tells how steep a line is. It compares vertical change to horizontal change, often called rise over run.

Positive slope rises from left to right. Negative slope falls from left to right. A slope of zero is horizontal.

Vertical lines

If both points have the same x-value, the run is zero. Division by zero is undefined, so the slope is undefined.

The calculator still shows the vertical line equation as x equals the shared x-value.

Slope or distance

Use the Slope Calculator when you need steepness or a line equation.

Use the Distance Calculator when you need the straight-line length between the same two points.

Worked examples for Slope Calculator

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

FAQ in plain language

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.

Sources

Use these if you want to compare the formula, inputs, or limits with a trusted outside explanation.

Related tools

Keep exploring

If this guide is close but not exact, these links keep you near the same kind of problem.

Privacy and copying results

Recent answers stay visible only while you work in the current browser tab. They are not sent to a server.

Use Copy answer when you want to save the inputs and result in notes, homework, a message, or a project list. Check the units, labels, and limits before copying.