PB
Available
calculate
lock Free · Private · In-Browser

Distance Between Two Points

Enter two (x, y) points to get the straight-line distance between them.

Straight-line distance on a plane

The distance between two points is a fundamental measurement in geometry, graphics, and games. Enter the coordinates of both points and this returns the straight-line distance plus the horizontal and vertical gaps that make it up.

From (0, 0) to (3, 4) the distance is exactly 5, because the differences of 3 and 4 form a right triangle. Seeing Δx and Δy separately also gives you the run and rise for a slope.

Exact and private

It applies the distance formula directly, works with negative and decimal coordinates, and computes everything in your browser with nothing uploaded.

Frequently Asked Questions

What formula is used?

The distance formula, √((x₂−x₁)² + (y₂−y₁)²), which is the Pythagorean theorem applied to the horizontal and vertical differences.

Does it show the axis gaps?

Yes — it reports Δx and Δy alongside the distance, which is useful for slopes, vectors, and bounding boxes.

Can I use negative coordinates?

Yes. Any real numbers work, including negatives and decimals.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward