Skip to main content

Distance Between Two Points

Euclidean distance between two plane points.

Rated 4.7 out of 5 based on 340 reviews

Results

How to use Distance Between Two Points

  1. Enter x1, y1, x2. Leave a field blank only when the page says the value is missing.
  2. Read the result rows under the form. Errors appear in the status line. Nothing is uploaded.
  3. Rounding follows IEEE floating point in this browser unless the page says it uses integers or BigInt.

Distance Between Two Points

2D distance

ComputesEuclidean distance between two plane points.
Includes2D distance
IncludesHypotenuse form
Enginegeometry
UploadNone
AdviceArithmetic only

What Distance Between Two Points is

d = √((x2−x1)² + (y2−y1)²). (0,0) to (3,4) is 5, the same 3-4-5 triangle as Pythagoras.

The formula runs in this tab. CZNull does not receive the numbers.

How this page computes

Slope of the same segment is on the slope page.

Entities and related jobs

Euclidean distance between two plane points. Named features: 2D distance, Hypotenuse form.

See also Slope Calculator, Pythagorean Theorem Calculator, Triangle Calculator, Percentage Calculator, Scientific Calculator, Fraction Calculator.

Use cases

Maps in coordinate units, CAD sketches, and physics displacements in 2D.

Limits

Invalid input appears in the status line. IEEE floating point applies unless a row says otherwise. CZNull does not receive the numbers.

Distance Between Two Points questions

Does this page upload my numbers?
No. The formula runs in the page you opened. CZNull does not receive the values.
What does Distance Between Two Points compute?
d = √((x2−x1)² + (y2−y1)²).
Why is this its own URL?
Search queries name this job. Nearby modes stay on their own pages so inputs do not mix. Related calculators are linked below Distance Between Two Points.
Distance (0,0) to (3,4)?
5.
Manhattan distance?
No. Euclidean only.
Can I treat the result as official?
No. Rounding and real-world rules can differ. Use the page to check the arithmetic.