Distance Calculator – Calculate Distance Between Points

Distance between two points in 2D or 3D space.

Distance Calculator What is this? ↓
About the Distance Calculator

What is the Distance Calculator?

A distance calculator measures the straight-line distance between two points in 2D or 3D space.

Why use this calculator?

Mapping, navigation, physics and graphics all need the Euclidean distance; the formula is Pythagoras applied to coordinate deltas.

How to use it

  1. Choose 2D or 3D.
  2. Enter the coordinates of both points.
  3. Read the distance and the midpoint.

Formula

d = √(Δx² + Δy² (+ Δz²)).
This is straight-line distance, not road or path distance — terrain adds real-world length.
Frequently Asked Questions
Is it the same as driving distance?
No. Crow-fly (Euclidean) distance is the shortest straight line; road networks always add detours.
What is Manhattan distance?
The sum of |Δx| + |Δy|, like city blocks; used when movement is grid-based.
What order of operations does this use?
It follows standard PEMDAS/BODMAS rules: parentheses, exponents, multiplication and division, then addition and subtraction.
How precise are the answers?
The calculator uses double-precision floating-point math (about 15 significant digits) and rounds the display. For exact symbolic results use dedicated algebra software.
Can I enter negative numbers or decimals?
Yes. Negative values, decimals and very large or small numbers are all supported unless a field says otherwise.
What does it mean if I get an error?
Errors usually mean an invalid input, such as division by zero or a negative value where only positives make sense. Check your entries and try again.
Which units should I use?
Use one consistent unit for every input. The result will be in that unit (or its square or cube for area and volume).
How is area different from perimeter?
Perimeter is the distance around a shape; area is the space it covers. Perimeter is measured in units, area in square units.
Does the orientation of the shape matter?
No. Area, perimeter and volume depend only on the dimensions, not on how the shape is rotated or positioned.
Is this calculator free to use?
Yes. Every calculator on this site is completely free, with no hidden fees, no subscriptions and no limits on how many times you can use it.

Related reading: Guides & How-tos

All articles →