c+CalcLantern

2D distance

Find straight-line distance between two plane coordinates.

How this works

Distance = √[(x₂−x₁)² + (y₂−y₁)²]. Coordinates use the same units.

Example

Using the example inputs, distance is 5.

First x
0
First y
0
Second x
3
Second y
4
Distance
5

Scope and assumptions

Uses your inputs only; results are rounded for display.

OpenStax mathematics

Related calculators

Midpoint

3D distance

Line through two points

Percentage

Quadratic graph

BUILT FOR CLARITY

Useful tools. Honest answers.

An original collection of calculators for everyday estimates and learning.

Calculations run in your browser. This site does not send your inputs to a server or serve advertising. Optional analytics runs only after you allow it. Results are estimates within each tool’s stated scope, not professional advice.

Financial, health and building-related tools have specific limitations. Check important decisions with a qualified professional. No live currency rates, tax tables or current price feeds are connected.