Deen Path

What is the Qibla and how to find it from anywhere

Qibla (قِبْلَة) is the direction Muslims face during Salah — toward the Kaaba in the city of Mecca, Saudi Arabia. From anywhere on Earth, the Qibla is a single bearing (an angle from north). This guide explains what the Qibla is, why facing it matters, and how to find it accurately from where you are right now.

Updated 9 May 2026

Why the Kaaba?

The Kaaba is the simple cubic structure inside the Sacred Mosque (Masjid al-Haram) in Mecca. According to Islamic tradition it was rebuilt by the Prophet Ibrahim and his son Ismail — the same Abraham of the Bible and Torah. It is not worshipped; it is a unifying point. Whether you pray in London, Sarajevo, Sydney or São Paulo, you face the same point. A single qibla makes the global ummah a circle whose centre is the same building.

How the Qibla bearing is calculated

The Qibla is the great-circle bearing from your location to the Kaaba's coordinates (21.4225° N, 39.8262° E). On a flat map this looks counterintuitive — from London the Qibla appears to point south-east, but on a sphere the actual shortest path arcs slightly south first then curves east. The maths is the same as airline flight paths.

For most users in Europe and the UK, the Qibla is roughly south-east, around 119°. For users in the US East Coast it's roughly north-east. For Indonesia it's roughly west. Your phone can compute the exact bearing in milliseconds.

How to find the Qibla on your phone

Open the Qibla page on this site. Allow location access. The app:

1. Reads your phone's GPS to get your latitude and longitude 2. Computes the great-circle bearing to the Kaaba 3. Reads your phone's compass sensor and rotates the dial in real time

When the 🕋 marker is at the top of the dial — under the gold arrow — you're facing the Qibla. The arrow turns emerald and the status flips to 'You're facing the Qibla ✓' when you're within 7° of the exact direction.

On iPhone, you'll need to grant motion-sensor access (a one-tap permission) for the live compass. On Android Chrome, no extra permission is needed.

What if my compass is wrong?

Phone compasses can drift, especially indoors or near electrical equipment. To recalibrate, wave your phone in a figure-8 motion for a few seconds — most modern phones use this gesture to recalibrate the magnetometer.

If you're somewhere completely without a phone, you can use the position of the sun. From the UK, in the afternoon the sun is roughly south — so the Qibla (south-east) is to the left of the sun. The Prophet ﷺ taught that effort matters: do your best, and Allah accepts the prayer.

Common questions
Does the Qibla change?

The bearing changes slightly with your location, but the destination (the Kaaba) does not. Move around, the angle adjusts. Stay still, the angle is fixed.

Is the Qibla magnetic north or true north?

True north. Magnetic and true north differ by a few degrees depending on where you are (the 'magnetic declination'). Modern phone compasses correct for this automatically — you can trust the bearing they show.

What if I can't find it exactly?

Pray in the direction you sincerely believe is closest. If later you discover you were off, the prayer still counts — the Prophet ﷺ said: 'between the east and west is the Qibla' for those whose direction is uncertain. Effort over precision.

Keep reading

“Allah loves consistency, not perfection.” — Sahih al-Bukhari