Guide · Student Tools / Stats, Geo & Music
About GPS Haversine Distance & Compass Bearing
Calculate great-circle Earth distance in kilometers, statute miles, and nautical miles—plus initial forward compass bearing—between two WGS84 lat/lon coordinates.
When to use this tool
Compute crow-flies flight paths, store-locator distance checks, or GPS track point spacing accurately.
How to use GPS Haversine Distance & Compass Bearing
- Enter Origin Latitude/Longitude and Destination Latitude/Longitude in decimal degrees.
- Inspect great-circle distance (km, miles, nmi) and initial compass heading (`0°–360°`).
Supported inputs, options, and outputs
- Inputs: Four decimal degree coordinates (`[-90, 90]`, `[-180, 180]`).
- Outputs: Great-circle distance metrics and initial compass azimuth + cardinal sector.
Accuracy notes and limitations
- Spherical Haversine model (`R = 6,371 km`) differs by up to ~0.3% from ellipsoidal Vincenty/WGS84 geodesics on transoceanic lines and reflects straight-line air distance rather than road routing.
Privacy and browser processing
Physics, chemistry, genetics, statistics, and audio/astronomy calculations execute locally inside your browser tab without uploading data or experiment entries to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Student Tools.