What would you like to understand?

Popular destinationsCalculatorsCoursesPracticeFormulas

Unlock Premium Help

Explore every tutor and study workspace for seven days, with no daily AI cap during the trial.

Choose a billing period
Ask a parent to pay

Nothing is charged during the first seven days. Unless you cancel, the plan you selected begins when the trial ends and renews on its stated schedule. Manage cancellation from your plan page. Stripe handles the payment details.

Slope Intercept Form Calculator

Build slope-intercept form from two distinct points and verify both coordinates.

Set up the relationship

Slope Intercept Form inputs

Enter only the values that define this relationship. The result is checked against the original setup.

Slope-intercept equationEnter the known values

The method, result, and an independent check will appear here.

Method for this result

  1. Complete the inputs and calculate.

Two-point check

  1. The check will use a different relationship or reverse operation where possible.

The relationship behind Slope Intercept Form Calculator

y = m x + b m = (y₂ − y₁) / (x₂ − x₁)

Symbols and inputs for Slope Intercept Form Calculator

Symbols and inputs for Slope Intercept Form Calculator
SymbolQuantityMeaning
mSlopeHow many units y moves for every 1 unit x moves right. In a word problem it carries a rate unit like dollars per hour.
by-interceptThe value of y when x = 0. In a word problem it is the starting amount.
(x₁, y₁)First pointAny known point on the line.
(x₂, y₂)Second pointA different known point. If x₂ = x₁ the line is vertical.

Worked example for Slope Intercept Form Calculator

  1. Two points on the line: (−2, 7) and (4, −5)
  2. Change in y over change in x: m = (−5 − 7) / (4 − (−2)) = −12 / 6
  3. Simplify the slope: m = −2, so the line drops 2 for every 1 step right
  4. Put one point into y = mx + b: 7 = −2(−2) + b
  5. Simplify and solve for b: 7 = 4 + b, so b = 3
  6. Write the equation: y = −2x + 3
  7. Check with the other point: −2(4) + 3 = −8 + 3 = −5 ✓

A second case for Slope Intercept Form Calculator

  1. A different case: both points share an x: (5, 1) and (5, 9)
  2. Try the slope formula: (9 − 1) / (5 − 5) = 8 / 0, which is undefined
  3. So this line has no y = mx + b form: write it as x = 5 instead
  4. A second branch: a perpendicular to y = −2x + 3 through (4, −5): flip and negate: m = −1 ÷ (−2) = 1/2
  5. Find its intercept: −5 = ½(4) + b, so −5 = 2 + b
  6. Solve: b = −7
  7. Write it: y = ½x − 7, and ½ × (−2) = −1 confirms the two lines meet at a right angle

What the slope number tells you about the line

What the slope number tells you about the line
Slope mExample equationDirectionRise over run
m = 3y = 3x − 1steep uphillup 3 for every 1 right
m = 1y = x45° uphillup 1 for every 1 right
m = 1/2y = ½x − 7gentle uphillup 1 for every 2 right
m = 0y = 4flatup 0 for every 1 right
m = −2y = −2x + 3downhilldown 2 for every 1 right
m undefinedx = 5verticalthe run is 0, so the division has no answer

Mistakes to catch with Slope Intercept Form Calculator

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

The fraction is upside down, which turns a slope of −2 into −0.5.

Repair: Rise on top: (−5 − 7) / (4 − (−2)) = −12/6 = −2.

b is where the line crosses the x-axis

b is the y value when x = 0, which is the y-axis.

Repair: For y = −2x + 3, b = 3 on the y-axis, while the x-intercept is a separate value, x = 1.5.

The perpendicular slope of −2 is 2

Only the sign was changed. A perpendicular slope must be flipped as well as negated.

Repair: −1 ÷ (−2) = 1/2, and ½ × (−2) = −1 confirms it.

Questions about Slope Intercept Form Calculator

What is the slope when both points have the same x?

It is undefined, not zero. The run is 0 and dividing by 0 has no answer, which matches the picture: a vertical line never gets anywhere sideways. Write x = 5 and skip y = mx + b entirely.

How do I turn y = mx + b into standard form?

Move the x term across and clear fractions. y = ½x − 7 becomes 2y = x − 14, then x − 2y = 14. Standard form is handy for systems of equations; slope-intercept form is handy for graphing.

Can two parallel lines ever be the same line?

If they share a slope and a y-intercept, they are one line drawn twice, and every point solves both equations. Genuinely parallel lines match on m but differ on b, so they never meet.

Does b have a unit in a word problem?

Yes, and it is usually the answer to 'how much at the start'. If y is dollars and x is hours, then b is dollars and m is dollars per hour, which is a fast way to check you assigned the two numbers correctly.

Understand the result from Slope Intercept Form Calculator

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.

Calculators related to Slope Intercept Form Calculator

See all calculators →

Algebra calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

Quadratic formula calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

Graphing calculator

Explore this resource with editable values, visible working, and a result you can check.

Open free tool

Understand algebra behind this calculator

A calculator can check the arithmetic; use the algebra subject guide to rebuild the method, algebra practice questions to test selection, and the math formula library to confirm conditions and notation.

Watch the worked lesson

Follow every decision on screen, then return to the examples and practice on this page.