Copied

Distance Between Two Points Calculator

Find the straight‑line (Euclidean) distance between two points in 2D or 3D. Enter coordinates using your local number format (commas or periods) and get instant results. Free, fast, and easy—perfect for math, mapping, and engineering tasks.

Number format

Choose how numeric results are displayed. The selected decimal separator (dot or comma) will also be used when parsing input numbers.

0.00
Click on any result to copy

How to calculate the distance between two points?

The distance between two points in a two-dimensional coordinate system is the length of the straight line that connects the two points. It is calculated using the Pythagorean theorem, which states that in a right triangle, the square of the hypotenuse (the longest side) is equal to the sum of the squares of the other two sides.

The distance between the two points can be calculated using the following formula:

distance = √((x2 - x1)^2 + (y2 - y1)^2)

where √ represents the square root function.

For example, let's say we want to find the distance between the points (3, 4) and (8, 12).

Using the formula, distance = √((8 - 3)^2 + (12 - 4)^2) ≈ 9.43

Therefore, the distance between the two points (3, 4) and (8, 12) is approximately 9.43.