Coordinate Distance Calculator: X,Y & Lat/Lon

Find the distance and angle between two x,y points, or calculate spherical great-circle geodesic GPS distance using the Haversine equation.

Quick 1-Click Coordinate Presets

Spatial Coordinates Input

Calculated Distance
500.00m
≈ 1640.42 ft
Compass Azimuth
36.9°
Measured clockwise from North
Horizontal Span (Δx)
300.00meters
Easting / Lon displacement
Vertical Span (Δy)
400.00meters
Northing / Lat displacement

Spatial Geometry & Vector Diagram

2D Euclidean right-triangle hypotenuse relationship.

P₁ (0, 0)P₂ (300, 400)Δx = 300.0Δy = 400.0Distance: 500.00 m

Worked Example: Cartesian Coordinates (0, 0) to (300, 400) Meters

Evaluating distance, compass bearing, and vector components between two surveying monuments:

Origin Point (P1)
(x₁ = 0.0 m, y₁ = 0.0 m)
Destination Point (P2)
(x₂ = 300.0 m, y₂ = 400.0 m)
Delta X (Δx)
300.0 - 0.0 = +300.0 m
Delta Y (Δy)
400.0 - 0.0 = +400.0 m
Geometric & Geodetic Calculations:
•1. Euclidean Distance: d = √((x₂ - x₁)² + (y₂ - y₁)²) = √(300² + 400²) = √(90,000 + 160,000) = √250,000 = 500.00 m.
•2. Imperial Conversion: 500.00 m × 3.28084 ft/m = 1,640.42 feet.
•3. Mathematical Cartesian Angle: θ = atan2(Δy, Δx) × (180 / π) = atan2(400, 300) = 53.13°.
•4. Compass Azimuth Bearing: Azimuth from True North = (90° - θ + 360°) % 360° = (90 - 53.13) = 36.87° (North-Northeast).
•5. Great-Circle Equivalency: On curved spherical surfaces, Haversine formula replaces flat Euclidean Pythagorean geometry.

💡 Surveying Insight: The straight-line Euclidean distance is exactly 500.00 meters (1,640.42 ft) with an azimuth bearing of 36.87° from True North.

Frequently Asked Questions