Distance Calculator

Calculate the distance between two points in 2D or 3D space. Enter coordinates to get the Euclidean distance.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

This calculator computes the Euclidean distance between two points in 2D or 3D space.

  1. Enter Point A coordinates — Fill in X1 and Y1 (required). Optionally enter Z1 for 3D.
  2. Enter Point B coordinates — Fill in X2 and Y2 (required). Optionally enter Z2 for 3D.
  3. Click "Calculate Distance" — The result appears below with the formula used.
  4. Interpret the result — Distance is shown to 4 decimal places. The formula shows step-by-step calculation.

Note: All coordinates accept any real numbers (positive, negative, decimals). Leave Z fields empty for 2D calculation. The calculator automatically detects 2D or 3D based on whether both Z values are provided.

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

Enter X and Y coordinates for both points. Leave Z fields empty. The calculator will use the formula √((x2-x1)² + (y2-y1)²).

Enter X, Y, and Z coordinates for both points. All six fields must be filled. The calculator will use the formula √((x2-x1)² + (y2-y1)² + (z2-z1)²).

The calculator will display an error message. Ensure all required fields contain valid numbers. Z fields can be left empty for 2D calculations.

Reviewed by Experts

Eurico José Kiala

Eurico José Kiala

Mathematician

Teacher

LinkedIn
João Lino

João Lino

Mathematician

LinkedIn
Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0