y= Line Equation Calculator

Find the slope-intercept equation of a line from its slope and one point.

No ratings yet — be the first
Rate it: ★ ★ ★ ★ ★

Enter details

Fill in the details and click Calculate to see your results.


Also available in our Android app, with charts and full breakdown tables.

📘 About the Line Equation

Build a linear equation from a slope and a point, then evaluate the line.

🧮 Formula

Where

  • m = slope
  • x1,y1 = known point
  • x = evaluation input
  • b = y-intercept
b = y1 - mx1; y = mx + b.

✏️ Worked example

m = 2 through (3,10)

You enter
Slope m2
Point x13
Point y110
Evaluate at x5
You get
Y-intercept b4
y at entered x14

The line has b = 4; at x = 5, y = 14.

Try this example →

🧭 How to use this calculator

What you enter

  • Slope m
  • Point x1
  • Point y1
  • Evaluate at x

What you get

  • Y-intercept b
  • y at entered x

💡 Slope-intercept form

  • The equation is represented as y = mx + b.
  • The calculator returns the intercept and the y-value at the selected x.

❓ Frequently asked questions

Can this represent a vertical line?

No. Slope-intercept form requires a finite slope.