Distance calculator between two points

X1: Y1:
X2: Y2:
Distance

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

Given that the coordinates of points A and B are A(x1,y1) and B(x2,y2) respectively

The square of the distance AB between the two points is

AB²=(x1-x2)²+(y1-y2)²

After calculating, take the square root to get the distance AB.

For example: Given that the coordinates of points A and B are A(1,2) and B(4,6) respectively

AB²=(1-4)²+(2-6)²=25

AB=√25=5

You can also calculate directly:

AB=√[(1-4)²+(2-6)²]=√25=5