Equation of a line that passes through the points (-5, 8) and (2, 5)


Line Equation from Two Points

What is the equation of a line that passes through the points (-5, 8) and (2, 5)? Here we will show you how to find the equation of a line that passes through the points (-5, 8) and (2, 5).

Linear equations can be expressed in various forms. On this page, we will be finding the equation of a line that passes through the points (x1, y1) and (x2, y2) in standard form, which is written as Ax + By + C = 0. Here are the formulas and the math used to convert points (-5, 8) and (2, 5) into an equation in standard form:

(x1, y1) and (x2, y2)
(-5, 8) and (2, 5)

A = y2 - y1
A = 5 - 8
A = -3

B = x1 - x2
B = -5 - 2
B = -7

C = y1 × (x2 - x1) - (y2 - y1) × x1
C = 8 × (2 - -5) - (5 - 8) × -5
C = 41

And when we put it all together, we get the equation of a line that passes through the points (-5, 8) and (2, 5), as seen below:

Ax + By + C = 0
-3x - 7y + 41 = 0

Line Equation from Two Points Calculator
Need to find another line equation? No problem! Find another equation by entering two points into the box below.

( , )

( , )



Note: answers are rounded to the nearest thousandths if necessary.

Equation of a line that passes through the points (-5, 8) and (2, 6)?
Here is the answer to a similar problem that you may find interesting!


Copyright  |   Privacy Policy  |   Disclaimer  |   Contact