Load an example
Choose a preset to fill the form and refresh results instantly.
Inputs
Tip: Paste "Latitude, Longitude" into either field, such as 35.6812, 139.7671, and the tool splits it into both fields.
How to use (3 steps)
- Enter the latitude and longitude of point 1 and point 2.
- Select the model (WGS84/sphere) and distance unit.
- Press "Calculate" to check the results and calculation steps, then share them with "Copy share link".
Example: Tokyo Station to Osaka Station
Use this real-world pair as a initial render check before the runtime results update. It is useful for comparing WGS84 and sphere model output without changing the page state on load.
| Point 1 | Tokyo Station |
|---|---|
| Point 1 coordinates | 35.681382, 139.766084 |
| Point 2 | Osaka Station |
| Point 2 coordinates | 34.7028662, 135.4947431 |
| Model | WGS84 recommended, sphere model available for comparison |
| Use | Distance, initial bearing, final bearing, and midpoint sanity check |
Results
Calculation flow
- Sphere (great circle): Calculates distance with the haversine formula and bearing with spherical trigonometry (R=6371008.8m).
- WGS84 (ellipsoid): Finds distance, bearing, and waypoint by geodesic calculation using constants (a=6378137m, f=1/298.257223563).
- Bearing is measured from true north (0°=north, 90°=east) and normalized to 0 to 360°.
FAQ
What is the difference between a sphere (great circle) and WGS84 (ellipsoid)?
Why are the initial bearing and final bearing different?
Can calculations be made near the international date line (±180°)?
Where can I check my latitude and longitude?
Is altitude also taken into account?
Can this result be used for final surveying and navigation decisions?
Related tools
- Geology/Environment (Map/Topography (Geodetic/Slope/Curvature))
- Solar altitude, direction, sunrise/sunset, day length
- Distance to horizon / drop in earth curvature (refraction coefficient k)
- Terrain: Slope gradient (degrees/%), elevation difference, line of sight gradient
- Tidal/diurnal cycle: sunrise/sunset + moon phase + tide (data linkage)
Comments
Comments are only loaded on request (Giscus).