Loading…

Non Euclidean Distance Tool [spherical Geometry]

Math Geometry • Analytical and Advanced Geometry (capstone)

View all topics

Spherical Distance Calculator – Great Circle on Sphere

Enter two locations by latitude/longitude and compute the great-circle distance on a sphere. The tool returns the central angle \(\theta\), the surface distance \(d=r\theta\), and draws the globe with the great-circle arc (a shortest route).

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Drag on the globe to rotate the view (the globe stays centered).

Input points (latitude/longitude)

Latitude \(\varphi\in[-90^\circ,90^\circ]\), longitude \(\lambda\in[-180^\circ,180^\circ]\) (or any equivalent angle).
Sphere, units, and visualization
Example: Earth mean radius \(r\approx 6371\) km. If you enter miles, results are in miles.


Drag on the globe to rotate • wheel/trackpad to zoom • “Reset view” recenters. The globe never drifts out of frame.

Ready
Globe view (orthographic projection)

Great circles are the “straight lines” on a sphere. The drawn arc is the shortest surface route between the two points.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

Why is the shortest path a great circle?

On a sphere, geodesics (shortest surface paths) are intersections with planes through the sphere’s center, which are great circles.

What is the central angle θ?

It is the angle between the two radius vectors from the sphere’s center to points A and B. Arc length on the surface is d = rθ.

Why use the haversine formula?

It is more numerically stable for small distances because it avoids loss of precision when θ is very small.

Is Earth exactly spherical?

No—Earth is slightly oblate. The spherical model is a useful approximation and matches many educational and navigation contexts.