Line Equation Calculator

Find the equation of the straight line that goes through two points.

1 Fill in the boxes

2 Your answer

Your answer shows here as you type.

How to use the Line Equation Calculator

  1. Type the across and up numbers for point A.
  2. Type the across and up numbers for point B.
  3. The equation shows straight away.

Frequently asked questions

What does y = mx + b mean?

m is the slope, how steep the line is. b is where the line crosses the up line, the y-axis.

Why is a vertical line not written as y = something?

A straight up and down line has no slope, so it is written as x equals one number.

Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.