two-point straight line Equation online Calculator tool

X1: Y1:
X2: Y2:
Equation :

We know that the coordinate of A is (x1, y1) and the coordinate of B is (x2, y2) to find the straight line Equation

(Y-Y1)/(Y2-Y1)=(X-X1)/(X2-X1)