Skip Discover Education Main Navigation

Explore the Science of Everyday Life
Click here for K-12 lesson plans, family activities, virtual labs and more!

Find the Equation of a Line Given That You Know Two Points it Passes Through

The equation of a line is typically written as y=mx+b where m is the slope and b is the y-intercept.

If you know two points that a line passes through, this page will show you how to find the equation of the line.

Fill in one of the points that the line passes through...

( , )
Example: (3,2)

and the other point...

( , )
Example: (7,-4)

Quick! I need help with: