Slope Calculator

Calculate the slope between two points. Free online slope calculator with rise over run formula.

The Slope Calculator finds the slope of a line passing through two points using the rise over run formula (m = (y₂-y₁)/(x₂-x₁)). Slope represents the steepness and direction of a line—essential for graphing, construction, road grades, and understanding linear relationships. Enter two points and get the slope instantly.

Common use cases

  • Graphing linear equations
  • Construction and grading
  • Wheelchair ramp calculations
  • Roof pitch determination
  • Road and path gradients

How to use

  1. Enter coordinates of Point 1 (x₁, y₁)
  2. Enter coordinates of Point 2 (x₂, y₂)
  3. Click calculate for the slope
  4. View rise, run, and slope
  5. See slope as fraction and decimal

FAQ

What is slope?

Slope = rise/run = (change in y)/(change in x) = (y₂-y₁)/(x₂-x₁).

What does slope tell us?

Positive slope goes up, negative goes down, zero is horizontal, undefined is vertical.

How does slope relate to angle?

Slope = tan(angle). A 45° line has slope = 1.

What is undefined slope?

Vertical lines have undefined slope because run (x₂-x₁) = 0, causing division by zero.