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


Line Equation from Two Points

What is the equation of a line that passes through the points (-2, 5) and (2, 8)? Here we will show you how to find the equation of a line that passes through the points (-2, 5) and (2, 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 (2, 8) into an equation in standard form:

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

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

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

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

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

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


Copyright  |   Privacy Policy  |   Disclaimer  |   Contact