← Geology/Environment (Map/Topography (Geodetic/Gradient/Curvature))

Maps/Geodetic

Distance/azimuth calculator for 2 latitude and longitude points (great circle/ellipsoid)

Calculate distance, initial bearing, and final bearing between two latitude/longitude points. You can switch between sphere (great circle) and WGS84 (ellipsoid).

All calculations are done within the browser and no input is sent.

Example: Tokyo Station → Osaka Station (approx. 404km)

Other languages 日本語 | English | 简体中文 | 繁體中文 | Español | Português (Brasil) | Bahasa Indonesia | Français | हिन्दी | العربية

Load an example

Choose a preset to fill the form and refresh results instantly.

Description

Inputs

Tip: Paste "Latitude, Longitude" into either field, such as 35.6812, 139.7671, and the tool splits it into both fields.

Point 1

Point 2

Model

How to use (3 steps)

  1. Enter the latitude and longitude of point 1 and point 2.
  2. Select the model (WGS84/sphere) and distance unit.
  3. 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 1Tokyo Station
Point 1 coordinates35.681382, 139.766084
Point 2Osaka Station
Point 2 coordinates34.7028662, 135.4947431
ModelWGS84 recommended, sphere model available for comparison
UseDistance, initial bearing, final bearing, and midpoint sanity check

Results

Distance
Initial bearing (at departure)
Final bearing (at arrival)
Midpoint (half distance)
Model
View on map
Open an external site (Google Maps).

Bearing (simple compass)

N E S W

Calculation flow

FAQ

What is the difference between a sphere (great circle) and WGS84 (ellipsoid)?
The sphere model is an approximation that treats the Earth as a sphere with a constant radius. WGS84 is an ellipsoid that takes into account the collapse (flatness) of the Earth, allowing you to obtain more realistic distances and directions.
Why are the initial bearing and final bearing different?
Over long distances, the course changes gradually along the Earth's curved surface, so the bearing at departure and the bearing at arrival may not match.
Can calculations be made near the international date line (±180°)?
It can be calculated. Please enter the longitude in the range -180 to 180.
Where can I check my latitude and longitude?
In a map app such as Google Maps, right-click a place, or long-press it on a phone, to copy the decimal latitude and longitude. Paste that value into this tool.
Is altitude also taken into account?
No. This tool calculates distance and bearing on the Earth's surface with a sphere or ellipsoid model. Use a separate 3D distance calculation when altitude differences matter.
Can this result be used for final surveying and navigation decisions?
This tool is intended for learning and rough estimates. For applications that require high precision, use specialized surveying or GIS software and official data.

Comments

Comments are only loaded on request (Giscus).