Distance between two points

Geometry / FREE CALCULATOR

Find straight-line distance on a flat coordinate plane.

Enter your numbers

READY WHEN YOU ARE

Your answer starts here.

Enter your values and select Calculate to see the result and any available breakdown.

How to use this calculator

  1. Enter first x coordinate. Use the unit shown beside the field.
  2. Enter first y coordinate. Use the unit shown beside the field.
  3. Enter second x coordinate. Use the unit shown beside the field.
  4. Enter second y coordinate. Use the unit shown beside the field.
  5. Select Calculate and review the result. Select Reset to restore the example inputs.

How the calculation works

sqrt((Second x coordinate-First x coordinate)**2+(Second y coordinate-First y coordinate)**2)

Worked example

First x coordinate = 0; First y coordinate = 0; Second x coordinate = 3; Second y coordinate = 4. Result: 5 coordinate units.

Understand your result

Find straight-line distance on a flat coordinate plane. The result is expressed in coordinate units.

Assumptions and limitations

Not a geographic Earth-distance calculation. Results are rounded for display.

Questions about this tool

What does this tool calculate?

Find straight-line distance on a flat coordinate plane.

What should I check before using the answer?

Not a geographic Earth-distance calculation.

Related guides

Guides will appear here when published and linked by the editor.