Math

Slope Intercept Form Calculator

Two points in, y = mx + b out, with every related form.

Enter your values

ⓘ Live results

Results
Equation
y = 3x − 1
Slope m
3
y-intercept b
-1
x-intercept
0.33333
Point-slope form
y − 5 = 3(x − 2)
Angle with the x-axis
71.57°

Quick answer

The slope between two points is (y₂ − y₁) ÷ (x₂ − x₁), and the intercept follows from b = y₁ − m·x₁, giving y = mx + b.

y = mx + b, m = Δy ÷ Δx

How to use the Slope Intercept Form Calculator

  1. 1Enter the coordinates of the first point.
  2. 2Enter the coordinates of the second point.
  3. 3Copy whichever form you need — slope-intercept or point-slope.

Worked example

Using the values the calculator loads with:

Inputs

  • x₁2
  • y₁5
  • x₂6
  • y₂17

Results

  • Equationy = 3x − 1
  • Slope m3
  • y-intercept b-1
  • x-intercept0.33333
  • Point-slope formy − 5 = 3(x − 2)
  • Angle with the x-axis71.57°

Frequently asked questions

What does the slope actually mean?

The change in y for every 1 unit increase in x — a rate of change, whether that is dollars per hour or metres per second.

What if both points are the same?

One point does not define a line; you need two distinct points.

About this calculator

Results are estimates for general information. For medical, legal, structural or financial decisions, confirm with a qualified professional.