Slope Calculator

Find rise over run from two points or read the slope from a line equation.

Drag & drop or upload an image or PDF

Enter two points, such as (2, 3) and (7, 13)

Try an example

Slope measures how a line changes

Slope compares vertical change with horizontal change. A positive slope rises from left to right, a negative slope falls, and zero slope gives a horizontal line.

The order of the points does not matter as long as the same order is used in both differences. A vertical line has zero horizontal change, so its slope is undefined.

How to use the slope calculator

Enter the problem as written

Type or paste the full expression. You can also upload a clear photo or PDF and check the extracted text before solving.

Read the working, not only the answer

Each transformation is separated and explained so you can compare it with your own method.

Ask about any step

Continue in the same solution to request another method, check a restriction, or ask why a rule applies.

Slope between two points

Subtract the y-coordinates and x-coordinates in matching order.

A reliable way to work through it

Label the coordinates

Assign one ordered pair as point 1 and the other as point 2.

Compute rise and run

Subtract y-values for the rise and x-values in the same order for the run.

Reduce and interpret

Simplify the fraction and check whether the line rises, falls, is horizontal, or is vertical.

Worked example

Find the slope through (2, 3) and (7, 13)

Substitute the coordinates in matching order.

Compute rise and run.

Reduce the fraction.

The line rises 2 units for every 1 unit moved to the right.

Common mistakes to check

Mixing subtraction order

If y₂ - y₁ is used on top, use x₂ - x₁ on the bottom.

Calling a vertical slope zero

Vertical lines have undefined slope. Horizontal lines have slope zero.

Reading standard form too quickly

Rewrite Ax + By = C as y = mx + b before reading the slope.

Questions students ask

Can the calculator find slope from an equation?

Yes. Enter slope-intercept, point-slope, or standard form and it will isolate y when needed.

What is the slope of a vertical line?

It is undefined because the horizontal change is zero, which would require division by zero.

What is the slope of a horizontal line?

It is zero because the y-coordinate does not change.

Can it also find the equation of the line?

Yes. Ask for the line equation after entering two points, or provide one point and a slope.