Distance Calculator

Calculate distances in 2D, 3D, and coordinates

2D Distance Calculator

3D Distance Calculator

Latitude & Longitude Distance

About Distance Calculations

Distance calculations are fundamental in mathematics, physics, geography, and many other fields. Different formulas are used depending on the coordinate system and space dimensions.

2D Distance Formula:

d = √[(x₂-x₁)² + (y₂-y₁)²]
• Euclidean distance in plane
• Also called Pythagorean theorem
• Used for flat surfaces

3D Distance Formula:

d = √[(x₂-x₁)² + (y₂-y₁)² + (z₂-z₁)²]
• Euclidean distance in space
• Extension of 2D formula
• Used for 3D coordinates

Great Circle Distance:

Haversine formula
• Shortest distance on sphere
• Used for Earth's surface
• Accounts for curvature

Applications:

  • • Navigation and GPS
  • • Surveying and mapping
  • • Physics and engineering
  • • Computer graphics
  • • Astronomy
  • • Sports analytics