Revenue Rex logo mark
Math · Rex's Toolbox

Slope Calculator

Slope, intercept, and distance between two points.

Revenue Rex peeking

Rex says

The fast lane for the math you almost remember from school. Type the numbers, get the answer, move on with your day.

Try a scenario

Click to load — tweak from there.

Inputs

Result

Slope (m)

2.6667

Y-intercept (b)

-0.6667

Distance

8.5440

Revenue Rex peeking

Psst — share this and help Rex grow

One click, a permanent link with your numbers baked in.

More math

How to use this

  1. 1Enter x₁.
  2. 2Enter y₁.
  3. 3Enter x₂.
  4. 4Enter y₂.
  5. 5Read your slope (m) on the right — it updates as you type.
  6. 6Hit Share to keep the scenario or send it to someone.

About this calculator

Compute slope, y-intercept, and distance for two points (x₁,y₁) and (x₂,y₂).

Formulam = (y₂ − y₁) / (x₂ − x₁)

Related tools