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.

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).