Distance Calculator

Find straight-line distance between two points.

Enter your values

Result

5
Need help with your result? Ask a question about your inputs or calculation. Ask AI
0 / 2000
20 requests per day · resets at 00:00 UTC

When to use Distance Calculator

Find straight-line distance between two points.

Apply the calculation to a diagram, coordinate problem or measurement task with the same geometric assumptions.

How to use this tool

  1. Choose the calculation mode that matches your task and the information you have.
  2. Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
  3. Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
  • x₁
  • y₁
  • x₂
  • y₂
  • z₁
  • z₂

How it works

2D points
Take the square root of the sum of squared differences in x and y.

Worked example

The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.

2D points

x₁
1
y₁
2
x₂
4
y₂
6
Result
5

3D points

x₁
1
y₁
2
x₂
4
y₂
6
z₁
0
z₂
12
Result
13

Understanding the result and its limits

Choose the correct shape and dimensions. Area uses squared units and volume uses cubed units; neither is a length.

Frequently asked questions

How should I check a geometric answer?

Sketch the shape, label the inputs and check units. A result for an ideal shape may not describe an irregular real object.

Methodology and references

Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.