Point your phone toward the Kaaba. Uses your precise GPS location to calculate the exact direction of Makkah.
Tap below to detect your location
Uses the haversine bearing formula to calculate the shortest path along Earth's surface from your location to the Kaaba.
On supported devices the compass rose rotates in real time with your phone — just keep the gold needle pointing up.
The Kaaba is at 21.4225° N, 39.8262° E in Makkah — the fixed reference point for every calculation.
Coordinates are used only in your browser for the bearing calculation and are never sent to any server.