A live compass that points to the Kaaba in Makkah from wherever you are. Hold your phone flat and turn until the arrow meets the Kaaba.
Lay your phone face-up and level, like a real compass. Tilting it a lot makes the reading drift.
Cars, laptops, speakers, magnetic cases and steel tables all pull the compass off. Take a step away.
If the arrow jumps or seems wrong, wave your phone in a figure-8 a few times to reset the sensor.
The direction is calculated from your exact coordinates using the great-circle bearing to the Kaaba (21.4225° N, 39.8262° E). We correct your phone’s magnetic compass with the World Magnetic Model 2025, so the arrow points to true Qibla, not magnetic north. The main limit is your phone’s sensor, which is usually good to within a few degrees once calibrated.
The Earth is round, so the shortest path from North America to Makkah curves up over the Atlantic toward Europe. That’s why the Qibla from New York is about 58° (northeast), even though Makkah looks southeast on a flat map. The map above shows that curved path.
Laptops and desktops don’t have a compass sensor. On iPhone, tap “Start compass” and allow Motion & Orientation access. On Android, use Chrome or Samsung Internet. You can still use the angle shown above with a physical compass.
No. Your location is used only in your browser to calculate the direction. If you search a city, the city name is sent to a geocoding service to look up its coordinates.