Slope

Slope, rise, run, angle, and y-intercept from two points.

Point 1

From −1,000,000 to 1,000,000

From −1,000,000 to 1,000,000

Point 2

From −1,000,000 to 1,000,000

From −1,000,000 to 1,000,000

Slope is rise divided by run. A vertical line has no slope.

Enter both points.

How the slope is found

Enter two points. The points (0, 0) and (1, 1) have slope 1, rise 1, run 1, an angle of 45°, and a y-intercept of 0.

The points (0, 3) and (2, −1) have slope −2, rise −4, run 2, an angle of −63.4349488229°, and a y-intercept of 3. The points (1, 4) and (5, 4) have slope 0. Two points with the same x have no result.

How to use this calculator

  1. Enter x1 and y1 for the first point.
  2. Enter x2 and y2 for the second point.
  3. Read the slope. The rows below are the rise, the run, the angle, and the y-intercept.

Slope from two points

The slope is the change in y divided by the change in x.

Rise over run
m=y2−y1x2−x1

The points (0, 0) and (3, 6) have slope 2, rise 6, run 3, and an angle of 63.4349488229°. The y-intercept is y1 minus the slope times x1.

Source

Slope is defined on the Wikipedia page that defines slope.

Worked examples

Example: (0, 0) and (1, 1)

The slope is 1, the rise is 1, the run is 1, the angle is 45°, and the y-intercept is 0.

Example: (0, 3) and (2, −1)

The slope is −2, the rise is −4, the run is 2, the angle is −63.4349488229°, and the y-intercept is 3.

What to keep in mind

The points (1, 4) and (5, 4) have slope 0, rise 0, run 4, an angle of 0°, and a y-intercept of 4. The points (2, 1) and (2, 5) have no result. Swapping the two points keeps the slope. Each coordinate is from −1,000,000 through 1,000,000. A completed result, including the four coordinates, can be saved in this browser’s local history and never leaves your device. Clear it with the history Clear action or by clearing site data.

Common questions about slope

What do (0, 0) and (1, 1) give?

Slope 1, rise 1, run 1, an angle of 45°, and a y-intercept of 0.

What do (0, 3) and (2, −1) give?

Slope −2, rise −4, run 2, an angle of −63.4349488229°, and a y-intercept of 3.

What do (1, 4) and (5, 4) give?

Slope 0, rise 0, run 4, an angle of 0°, and a y-intercept of 4.

What do (0, 0) and (3, 6) give?

Slope 2, rise 6, run 3, and an angle of 63.4349488229°.

What if both points have the same x?

There is no result. The line is vertical. A blank coordinate also has no result. Each coordinate is from −1,000,000 through 1,000,000.

Does this calculator store my points?

A completed result can be saved in this browser’s local history, including the four coordinates. It stays on your device and is not sent to our servers or to analytics. Clear it with the history Clear action or by clearing site data.