What Is a y = mx + b Calculator?

A y = mx + b calculator finds the slope-intercept equation of a line — the most common way to write a linear equation, where m is the slope and b is the y-intercept. You can find the equation from two points or from a slope and a single point. Enter your known values and the calculator returns m, b, and the full equation.

How to Use the Calculator

  1. Choose your inputs — two points, or slope and a point.
  2. Enter the values.
  3. Calculate — see the slope, y-intercept, and equation.

What y = mx + b Means

SymbolMeaning
mSlope (rise over run)
bY-intercept (where the line crosses the y-axis)
x, yCoordinates of any point on the line

Finding the Equation from Two Points

First find the slope: m = (y₂ − y₁) ÷ (x₂ − x₁). Then use one point to solve for b: b = y − mx. For points (1, 3) and (3, 7): m = (7 − 3) ÷ (3 − 1) = 2, and b = 3 − 2(1) = 1, giving y = 2x + 1.

Reading the Equation

Where Slope-Intercept Form Is Used

Frequently Asked Questions

What is y = mx + b?

It is slope-intercept form, where m is the slope and b is the y-intercept. It describes a straight line and is easy to graph.

How do you find the equation from two points?

Find the slope m = (y₂ − y₁)/(x₂ − x₁), then solve b = y − mx using one of the points. Combine to write y = mx + b.

What is the y-intercept?

The y-intercept, b, is the value of y where the line crosses the y-axis — that is, when x = 0.

What does the slope tell you?

The slope m measures steepness and direction: how much y changes for each unit increase in x. Positive slopes rise, negative slopes fall.

Is this y = mx + b calculator free?

Yes — it is completely free, requires no signup, and gives the full line equation.