Slope Intercept Form Calculator
Two points in, y = mx + b out, with every related form.
Reviewed by the Calculation Machine team · How we check our maths
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.
The formula
y = mx + b, m = Δy ÷ Δx
Worked example
Worked example
Using the values the calculator loads with.
Inputs
- x₁2
- y₁5
- x₂6
- y₂17
Result
- 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°
How to use the Slope Intercept Form Calculator
- 1Enter the coordinates of the first point.
- 2Enter the coordinates of the second point.
- 3Copy whichever form you need — slope-intercept or point-slope.
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
- Built and reviewed by the Calculation Machine team · How we build and test calculators
- Report an error