The Qibla (Arabic: قِبْلَة) is the direction Muslims face during the five daily prayers. It points toward the Kaaba, the cube-shaped structure at the centre of Masjid al-Haram in Makkah, Saudi Arabia. Every Muslim on Earth, regardless of where they stand, faces this single point. The result is a spiritual geometry that unites over a billion people simultaneously in one direction.
The obligation to face the Qibla is established directly in the Quran: "Turn your face toward al-Masjid al-Haram. And wherever you are, turn your faces toward it." (Quran 2:144). Knowing your Qibla direction is therefore a prerequisite for every valid prayer.
When you open this page, your browser requests your GPS coordinates. The tool then calculates the great circle bearing from your exact position to the Kaaba at coordinates 21.4225° N, 39.8262° E. The great circle is the shortest path across the curved surface of the Earth, the same path a plane would fly. This is the theologically correct method for determining Qibla direction, agreed upon by scholars across all four major madhabs.
On mobile devices, your phone's magnetometer (compass sensor) is used to rotate the needle in real time. On desktop, the bearing and distance are shown as static data since desktops do not have orientation sensors.
Phone compasses can be thrown off by nearby metal objects, magnets, and electronics. Step away from desks, laptops, speakers, and magnetic phone cases or mounts before checking direction, and avoid using the compass inside cars or near structural steel. If the needle seems off, recalibrate by moving your phone in a slow figure-8 motion a few times.
The Qibla direction varies depending on where you are. Here are the accurate bearings from cities around the world.