Distance between two points image calculator

 –  o  +  ←  ↓  ↑  → 
A
B
C

Distance between two points AB
= √ [(x2x1)2 + (y2y1)2]
= √ [(2.5 − -8.6)2 + (5.5 − -5.4)2]
= √ [11.12 +10.92]
= 15.6

(2.5, -5.4)

(-8.6, 5.5)

(-8.6, -5.4)

y2y1
= 5.5 − -5.4
= 10.9

x2x1
= 2.5 − -8.6
= 11.1

5
10
-5
-10
5
-5
x
y

Click A or B and drag point and drag to change.

Let A(X1,Y1) and B(X2,Y2),

Then |AB|=√[(X1-X2)^2+(Y1-Y2)^2]=√(1+k^2) (X1-X2)^2,

Or |AB|=|X1-X2|secα=|Y1-Y2|/sinα,

Where α is the inclination angle of line AB, and k is the slope of line AB.

It is often used in application problems to find the distance in a function graph and then find the coordinates of a point through the distance.