Facing the qibla, the direction of the Kaaba in Makkah, is a condition of salah. At home you know which way it is. In a hotel room, a new office, or a friend's house, you are suddenly turning in circles, holding your phone flat, wondering whether that wall is really south-east.
Here is how to find it reliably, and what to do when you cannot be certain.
Why the qibla is not where the map says
Most of us picture the world as a flat map, so we assume that from New York the qibla is east or south-east. But the Earth is round, and the qibla is the shortest path across the globe to Makkah, known as the great-circle route. On a flat map, that path looks curved.
That is why, from much of North America, the qibla is actually north-east. From London it is roughly south-east, about 119° from north. From Jakarta it points west-north-west. A good qibla tool calculates the great-circle direction for your exact location rather than drawing a straight line on a map.
Four ways to find the qibla
1A qibla compass in a prayer app
Your phone's compass plus your location gives the direction in seconds. To get an accurate reading, hold the phone flat and away from metal (laptops, steel tables, speakers, the inside of a car). If the phone asks you to calibrate, move it in a figure of eight. Then check again from a slightly different spot. If the two readings disagree, something nearby is affecting the compass. To try it now, open our live qibla finder on your phone: it uses your location and compass right in the browser.
2Ask locally
A nearby masjid is the best reference you can get. In many hotels, especially in Muslim-majority countries, there is a qibla marker on the ceiling or in a drawer. And if you are staying with Muslim friends or family, just ask.
3Use the sun, twice a year
Twice a year, around 27 and 28 May and 15 and 16 July, the sun passes almost directly over the Kaaba at midday in Makkah, at about 12:18pm and 12:27pm Makkah time respectively (09:18 and 09:27 UTC). At that moment, anywhere the sun is visible, facing the sun means facing the qibla. Mosques around the world use these days to check their direction.
4Use the sun for a rough check
On any other day, the sun gives you a rough sanity check: it rises roughly in the east and sets roughly in the west, and at midday in the northern hemisphere (outside the tropics) it sits due south. It will not give you an exact bearing, but it will tell you if your compass is clearly wrong.
What if you are not sure?
Islam asks for a sincere effort, not perfect precision. When you cannot see the Kaaba, you aim for its direction. Scholars explain that if you made a genuine effort to find the qibla and later discover you were slightly off, the prayer you made is generally still valid, though the schools differ on the details. Do your best with the tools you have, then pray with a calm heart.
How Waqt helps
Waqt has a Qibla finder built in, along with nearby mosques for when you want to pray in congregation or double-check the direction locally. Prayer times are calculated on your device, so they keep working when you are travelling without data; we cover the rest of the journey in praying while travelling. And at every prayer window, the apps you choose pause, so finding the qibla is the only thing you are doing with your phone.