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


Line Equation from Two Points

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

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 (-2, 5) and (4, -8) into an equation in standard form:

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

A = y2 - y1
A = -8 - 5
A = -13

B = x1 - x2
B = -2 - 4
B = -6

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

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

Ax + By + C = 0
-13x - 6y + 4 = 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 (-2, 5) and (4, -7)?
Here is the answer to a similar problem that you may find interesting!


Copyright  |   Privacy Policy  |   Disclaimer  |   Contact