Find the exact direction of the Kaaba from your location — accurate, free, and instant
The Qibla is the direction that Muslims face during prayer (Salah), pointing toward the Kaaba in the Sacred Mosque (Masjid al-Haram) in Mecca, Saudi Arabia. Every Muslim worldwide faces the Qibla five times a day during their obligatory prayers. Our free online Qibla Finder calculates the exact direction of the Kaaba from your current location, using your device's GPS coordinates and the same spherical trigonometry formula used by Islamic scholars and apps worldwide.
The Qibla bearing is calculated using the great-circle formula, which gives the shortest path between two points on the Earth's surface. Using the Kaaba's fixed coordinates (21.4225° N, 39.8262° E) and your current latitude and longitude, the formula computes the exact compass angle in degrees from true north. This same method is used by mosques, Islamic centers, and Qibla apps around the world.
Facing the Qibla is a condition for the validity of prayer for Muslims who can see the Kaaba or know its direction. While a small deviation is often excused due to uncertainty, aiming for accuracy ensures the prayer is performed as intended. Our Qibla Finder uses precise GPS coordinates and device compass data for accuracy you can rely on.
The Qibla is the direction that Muslims face during prayer (Salah), pointing toward the Kaaba in the Sacred Mosque (Masjid al-Haram) in Mecca, Saudi Arabia. All Muslims worldwide face the Qibla five times a day during their obligatory prayers.
Our Qibla Finder uses your device's GPS location and compass orientation to calculate the exact great-circle bearing from your position to the Kaaba. The result is displayed as a live compass needle pointing to the Qibla.
Yes, our Qibla Finder uses the standard great-circle formula used by Islamic scholars and Qibla apps worldwide. Accuracy depends on your GPS location and device compass, both typically accurate to within a few degrees on modern smartphones.
The Qibla Finder requires internet only to load the page initially. After that, all calculations are performed locally on your device using GPS or manual coordinates.
If your device lacks a magnetometer (compass sensor), you can still use the static mode: it shows the Qibla bearing as a degree value from true north. Use any physical compass to align with that bearing.