Two Points Line Equation Calculator

X Y
A :
B :
Linear Equation:
Slope:
X Intercept:
Y Intercept:

Two Points Line Formula:

For:Point A: (x1, y1), Point B: (x2, y2)

Slope m = (y1-y2)/(x1-x2)

X Intercept a = x1 - y1 * (x1 - x2) / (y1 - y2)

Y Intercept b = y1 - mx1

Line Equation: Y = mX + b

For instacne, Point A: (3, 2), Point B: (7, -4), Slope m = -6/4 = -1.5.

Y Intercept b = 6.5, X Intercept a = 4.333333, Line Equation: Y = -1.5X +6.5

calculator.cpu.com.cn provides you helpful and handy calculator resources.