How to find the Qibla
Set your place: tap Use my location, pick a city, or type your latitude and longitude. The page shows the Qibla as a bearing in degrees clockwise from true north, the same bearing from magnetic north for a hand compass, and the distance to the Kaaba. On a phone, tap Point with the phone, lay it flat and turn until the green arrow with the Kaaba points to the top of the screen.
Why the Qibla follows a great circle
The Qibla is the direction you would set out in along the shortest path over the Earth to the Kaaba, a great circle. On a round Earth that path curves when drawn on a flat map, which is why the Qibla from North America is northeast and from Australia west-northwest, while a ruler on a map would say otherwise. The bearing here is calculated from your place and the Kaaba's position, 21.4225° N, 39.82617° E.
Finding the Qibla with the sun
A computer has no compass, but the sun works anywhere. Twice a year, around May 28 and July 15 or 16, the sun stands straight over the Kaaba at about 9:18 and 9:27 UTC; at that moment, from everywhere the sun is up, it lies in the Qibla direction. On other days the page works out, for your place, the minute today when the sun is on the Qibla bearing, so you face it, or opposite it, so the shadow of an upright stick points the way. The times come from the sun's position in the NOAA solar equations, checked against an astronomy library to within seconds.
The Qibla from major cities
| City | Qibla from true north | Direction | Distance |
|---|---|---|---|
| New York | 58.5° | east-northeast | 10,310 km |
| Los Angeles | 23.9° | north-northeast | 13,420 km |
| Chicago | 48.7° | northeast | 11,150 km |
| Houston | 45.5° | northeast | 12,570 km |
| Dallas | 43.5° | northeast | 12,430 km |
| Detroit | 52.0° | northeast | 10,820 km |
| Toronto | 54.6° | northeast | 10,500 km |
| London | 119.0° | east-southeast | 4,790 km |
| Birmingham | 118.0° | east-southeast | 4,950 km |
| Paris | 119.2° | east-southeast | 4,500 km |
| Berlin | 136.7° | southeast | 4,130 km |
| Istanbul | 151.6° | south-southeast | 2,410 km |
| Cairo | 136.1° | southeast | 1,290 km |
| Lagos | 63.3° | east-northeast | 4,250 km |
| Dubai | 258.2° | west-southwest | 1,630 km |
| Karachi | 267.7° | west | 2,800 km |
| Lahore | 260.3° | west | 3,600 km |
| Delhi | 266.6° | west | 3,830 km |
| Mumbai | 280.1° | west | 3,450 km |
| Dhaka | 277.6° | west | 5,170 km |
| Kuala Lumpur | 292.5° | west-northwest | 6,970 km |
| Singapore | 293.0° | west-northwest | 7,270 km |
| Jakarta | 295.2° | west-northwest | 7,920 km |
| Sydney | 277.5° | west | 13,240 km |
| Melbourne | 278.8° | west | 12,740 km |
Using a compass
A compass needle points to magnetic north, which can be many degrees from true north. The magnetic bearing above already allows for that at your place, using the World Magnetic Model 2025, the same model our online compass uses. Hold a hand compass flat, away from metal, turn until the needle lines up with N, and face the magnetic bearing.
Privacy
Everything is worked out on your device. Your location is not sent to this website; the place you set is saved only on this device, rounded to about a kilometer.
Frequently asked questions
Which direction is the Qibla?
The Qibla is the direction of the Kaaba in Makkah, and it depends on where you are. It is the first direction of the shortest path over the Earth to the Kaaba, so from New York it is 58.5° from true north (east-northeast), not southeast as a flat map suggests, and from London 119.0°. Set your place above to see it for you.
How do I find the Qibla with my phone?
Set your place with Use my location, a city or your latitude and longitude, then tap Point with the phone and allow motion access if asked. Lay the phone flat and turn until the green Kaaba arrow points to the top of the screen; the page says Facing the Qibla when you are within 3°. Keep away from metal and magnets, which pull a compass off.
Why does the Qibla from America point northeast?
Because the Earth is round. The shortest path from North America to Makkah is a great circle that arcs up across the North Atlantic, so it starts out northeast. A straight line on a flat map is longer and points the wrong way. Muslim scholars and the major Qibla tools use the great-circle direction.
How do I use a hand compass for the Qibla?
A compass points to magnetic north, not true north. Use the bearing from magnetic north shown above, which already allows for the declination where you are, from the World Magnetic Model 2025. Hold the compass flat, turn until its needle points to N, then face that bearing.
Can I find the Qibla without a compass?
Yes, with the sun. Set your place and the page shows the time today when the sun is in the Qibla direction, so you face it, or when the shadow of an upright stick points to the Qibla. On about May 28 and July 15 or 16 each year the sun is straight over the Kaaba, and wherever it is up, facing it faces the Qibla.
How accurate is it?
The bearing is calculated exactly from your place and the Kaaba (21.4225° N, 39.82617° E). A phone compass is good to a few degrees when it is away from metal and calibrated; if it seems off, move the phone in a figure 8 a few times. Your place is used only on your phone and is never sent to this website.