Two-point Line Equation Calculator

X1: Y1:
X2: Y2:
Equation:

Given that the coordinates of point A are (x1, y1) and the coordinates of point B are (x2, y2), find the equation of the line

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