Skip to content
Toolspire

Education Tools

Slope Calculator

Slope Calculator is part of Toolspire and is ready as soon as this page loads. A vertical line, where both x values match, has an undefined slope and is rejected. A horizontal line, same y and different x, has slope 0.

Runs in this tabFreeNo account

On this page

What you can do here

Rise over run, in that order

The numerator is the change in y. Swapping rise and run gives the reciprocal, which is a different line.

Vertical is undefined

The page returns nothing instead of a huge number.

The equation is in the detail

y − y1 = m(x − x1) is written with the slope just found.

The sequence

How to use the Slope Calculator

  1. 1

    Enter the first point, then the second

    Order does not change the slope. (2, 4) then (0, 0) is still 2.

  2. 2

    Check the sample

    Rise 4, run 2, slope 2.

  3. 3

    Use distance if you wanted length

    Slope is steepness. The distance page is the length of the segment.

Worth knowing

  • Slope Calculator on Toolspire: slope = (y2 − y1) ÷ (x2 − x1).
  • (4 − 0) ÷ (2 − 0) = 2.
  • Equal x values are a vertical line and are rejected.
  • Equal y values with different x values give slope 0.

Steepness is a ratio of changes

Moving from the origin to (2, 4) rises 4 while running 2, so the slope is 2. Every step right of 1 is matched by a step up of 2. If the x coordinates are equal there is no run, and “rise over zero” is not a real slope. The line is vertical and the page says so by refusing the division.

FAQ

Questions about Slope Calculator

Where does Slope Calculator run?

Slope Calculator runs in this tab on Toolspire. What you type or drop in is not sent to us and is not stored on a server.

What is the slope from (0, 0) to (2, 4)?

2.

What if the points share an x coordinate?

The slope is undefined. The page rejects the pair.

Does the order of the points matter?

No. Both subtractions flip sign, and the ratio stays the same.

What slope is a horizontal line?

0. The rise is zero.

Keep going

Open the full directory

Last updated Report a problem or suggest a feature