Compass Bearing Calculator - Online Azimuth Between Lat/Lon
Calculate the bearing (azimuth) and distance between two GPS coordinates using the Haversine formula. Great for orienteering. Local only.
UD5 Toolkit
Find the exact direction to Kaaba using GPS, compass & sun shadow method
On Qibla Days (May 27–28 & July 15–16), the sun passes directly over the Kaaba at local noon in Mecca. At that exact moment, shadows worldwide point toward the Qibla — a perfect natural compass.
Calculate the bearing (azimuth) and distance between two GPS coordinates using the Haversine formula. Great for orienteering. Local only.
Use the Magnetometer API to build a digital compass. See magnetic field strength and heading in real time.
Turn your phone into a 3D compass using the AbsoluteOrientationSensor API. See quaternion and Euler angles in real time.
Get the approximate magnetic declination for a given latitude and longitude. Apply correction to your compass.