Distance Calculator
Calculate 2D Euclidean distance, 3D space distance, and geographical latitude/longitude distance using the Haversine formula with step-by-step solutions.
2D Distance Calculator (2D Plane)
Enter 2D coordinates (xā, yā) and (xā, yā) to compute Euclidean distance.
3D Distance Calculator (3D Space)
Enter 3D coordinates (xā, yā, zā) and (xā, yā, zā) to calculate straight-line space distance.
Latitude / Longitude Distance Calculator
Calculate spherical earth distance between two GPS coordinates using the Haversine formula.
How To Use the Distance Calculator
Distance measures the straight-line interval between two points across 2D surfaces, 3D spaces, or spherical planet coordinates.
- 2D Euclidean Distance: Derived from Pythagorean theorem:
d = ā[(xā - xā)² + (yā - yā)²]. - 3D Space Distance: Expands to incorporate height/depth z-axis:
d = ā[(xā - xā)² + (yā - yā)² + (zā - zā)²]. - Haversine Formula: Computes great-circle distances across Earth's curved spherical surface.
Frequently Asked Questions (FAQs)
The 2D distance formula calculates straight-line Euclidean distance between (xā, yā) and (xā, yā) using d = ā[(xā - xā)² + (yā - yā)²].
In 3D coordinate geometry, an extra z-axis is included: d = ā[(xā - xā)² + (yā - yā)² + (zā - zā)²].
It uses the Haversine formula to compute great-circle distance over the curved surface of Earth using GPS coordinates.
No, distance is a non-negative scalar length magnitude (d ā„ 0).
The standard mean spherical radius of Earth used is 6,371 kilometers (3,958.8 miles).