Distance Calculator

Input the coordinates of any two points to instantly calculate the distance between them.

Calculate the Distance between Two Points

Distance
The First Point
The Second Point
Distance

What Is Distance?

In geometry, the distance between two points is the length of the shortest straight line connecting them. For two points with coordinates \( (x_1, y_1) \) and \( (x_2, y_2) \), the distance is calculated using the Euclidean distance formula.

How to Calculate Distance

Given two points \( (x_1, y_1) \) and \( (x_2, y_2) \), the distance \( d \) is computed using this formula: \( d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \)

Examples

Example 1: Given two points \( A(2, 3) \) and \( B(8, 7) \), find the distance between them.

Solution:

\( d = \sqrt{(8 - 2)^2 + (7 - 3)^2} = \sqrt{36 + 16} = \sqrt{52} \approx 7.21 \)

Result: The distance is approximately 7.21

Example 2: Given two points \( C(-4, 6) \) and \( D(10, -2) \), find the distance between them.

Solution:

\( d = \sqrt{(10 - (-4))^2 + (-2 - 6)^2} = \sqrt{196 + 64} = \sqrt{260} \approx 16.12 \)

Result: The distance is approximately 16.12