Qibla Direction
Allow location access for an automatic reading, or search for your city instead.
How the Qibla direction is calculated
The Qibla is the direction of the shortest path over the Earth's surface (a great circle) from you to the Kaaba in Mecca (21.4225° N, 39.8262° E). We compute the bearing of that path at your location, in degrees clockwise from true north, from your coordinates. That is why the Qibla is often not the direction a flat map suggests. Examples: New York 58° (north-east), Los Angeles 24° (north-east), Chicago 49° (north-east).
How to use your phone's compass
- Allow location access, or choose your city from the list, to see the Qibla angle.
- Hold the phone flat and level, away from metal, magnets and magnetic phone cases.
- If the compass looks off, move the phone in a figure-eight to calibrate it.
- If your compass app offers a true-north option, choose it instead of magnetic north.
- Compare the compass reading with the angle shown here and turn to that angle.
Qibla direction in major cities
The Qibla angle clockwise from true north, and the distance to the Kaaba.
| City | Country | Angle | Direction | Distance |
|---|---|---|---|---|
| New York | United States | 58° | north-east | 10,306 km |
| Los Angeles | United States | 24° | north-east | 13,424 km |
| Chicago | United States | 49° | north-east | 11,146 km |
| Houston | United States | 45° | north-east | 12,574 km |
| London | United Kingdom | 119° | south-east | 4,794 km |
| Birmingham | United Kingdom | 118° | south-east | 4,952 km |
| Leeds | United Kingdom | 119° | south-east | 5,002 km |
| Glasgow | United Kingdom | 118° | south-east | 5,264 km |
| Toronto | Canada | 55° | north-east | 10,496 km |
| Montreal | Canada | 59° | north-east | 9,998 km |
| Calgary | Canada | 25° | north-east | 11,562 km |
| Sydney | Australia | 277° | west | 13,236 km |
| Melbourne | Australia | 279° | west | 12,741 km |
| Brisbane | Australia | 280° | west | 13,298 km |
| Algiers | Algeria | 105° | east | 3,923 km |
| Oran | Algeria | 101° | east | 4,222 km |
| Constantine | Algeria | 108° | east | 3,610 km |
| Annaba | Algeria | 110° | east | 3,532 km |
| Riyadh | Saudi Arabia | 244° | south-west | 790 km |
| Jeddah | Saudi Arabia | 96° | east | 66 km |
| Cairo | Egypt | 136° | south-east | 1,287 km |
| Alexandria | Egypt | 135° | south-east | 1,467 km |
| Casablanca | Morocco | 94° | east | 4,824 km |
| Fez | Morocco | 96° | east | 4,589 km |
| Tunis | Tunisia | 113° | south-east | 3,328 km |
| Sfax | Tunisia | 110° | east | 3,196 km |
When the Sun is directly above the Kaaba
Twice a year the Sun stands directly above the Kaaba: on 27 May (28 May in a leap year) at 12:18 Mecca time (09:18 UTC) and on 15 July (16 July in a leap year) at 12:27 Mecca time (09:27 UTC). At that moment the shadow of anything upright points exactly away from the Qibla, anywhere the Sun is up. Open the page of your city to see the moment in its local time.
Qibla questions answered
How do I find the Qibla direction from my location?
Allow this page to use your location, or choose your city from the list. It shows the Qibla angle in degrees from true north and the distance to the Kaaba. Then turn your phone's compass to that angle.
Does the Qibla direction change during the year?
No. The Qibla direction from where you stand is fixed, because the Kaaba and your location do not move. Only the Sun-above-the-Kaaba method happens on two days of the year.
How accurate is an online Qibla compass?
The angle calculated from your coordinates is accurate. The compass reading on your phone depends on the device's sensors, its calibration and nearby metal, so treat it as guidance rather than a precise instrument.
Why is the Qibla not simply east or west in my city?
Because it is the direction of the shortest path over the globe to the Kaaba, not a straight line on a flat map. Examples: New York 58° (north-east), Los Angeles 24° (north-east), Chicago 49° (north-east), Houston 45° (north-east).
Qibla direction by city
Choose your city for the exact Qibla angle, the distance to the Kaaba and links to its prayer times.
Algeria
- Adrar
- Aflou
- Aïn Beïda
- Aïn Defla
- Aïn Fakroun
- Aïn M’Lila
- Aïn Oulmene
- Aïn Oussera
- Aïn Sefra
- Aïn Temouchent
- Aïn Touta
- Algiers
- Ali Mendjeli
- Annaba
- Arzew
- Assi Bou Nif
- Bab Ezzouar
- Baraki
- Barika
- Batna
- Béchar
- Béjaïa
- Béni Abbès
- Beni Mered
- Berrouaghia
- Besbes
- Bir el Ater
- Bir el Djir
- Birkhadem
- Biskra
- Blida
- Boghni
- Bordj Badji Mokhtar
- Bordj Bou Arreridj
- Bordj el Bahri
- Bordj el Kiffan
- Bordj Menaïel
- Bou Ismaïl
- Bou Saâda
- Boudouaou
- Boufarik
- Bouïra
- Boumerdas
- Chelghoum el Aïd
- Cheria
- Chlef
- Constantine
- Djanet
- Djelfa
- Douéra
- Draa el Mizan
- Drean
- Ech Chettia
- El Achir
- El Bayadh
- El Eulma
- El Khroub
- El Meghaïer
- El Menia
- El Milia
- El Oued
- El Tarf
- En Nedjma
- Frenda
- Ghardaïa
- Guelma
- Guemar
- Guerara
- Hamma Bouziane
- Hassi Bahbah
- Hassi Messaoud
- Héliopolis
- Illizi
- In Guezzam
- In Salah
- Jijel
- Khemis el Khechna
- Khemis Miliana
- Khenchela
- Kolea
- Ksar Chellala
- Ksar el Boukhari
- Laghouat
- Lakhdaria
- Larbaâ
- M'Sila
- Maghnia
- Mansourah
- Mascara
- Mecheria
- Médéa
- Meftah
- Merouana
- Messaad
- Mila
- Miliana
- Mohammadia
- Mostaganem
- Naama
- Oran
- Ouargla
- Oued Fodda
- Oued Rhiou
- Ouenza
- Ouled Djellal
- Ouled Moussa
- Oum el Bouaghi
- Râs el Oued
- Reghaïa
- Relizane
- Rouached
- Rouiba
- Rouissat
- Saïda
- Sedrata
- Sétif
- Sidi Aïssa
- Sidi Amar
- Sidi Bel Abbes
- Sig
- Skikda
- Sougueur
- Souk Ahras
- Souma
- Sour el Ghozlane
- Tadjenanet
- Taher
- Tamanghasset
- Tazoult-Lambese
- Tébessa
- Tiaret
- Timimoun
- Tindouf
- Tipasa
- Tissemsilt
- Tizi Ouzou
- Tlemcen
- Tolga
- Touggourt
Canada
Egypt
Morocco
Saudi Arabia
Tunisia
United Kingdom
Learn more
- ArticleHow to Find the Qibla Direction: 5 Accurate Methods (Compass, Sun, Phone)Five reliable ways to find the Qibla: a Qibla finder, a compass corrected for magnetic declination, the sun directly over the Kaaba, shadows and a map. Plus the ruling, and why the Qibla is not always the straight line you expect.Read the article →
- ArticleHow Are Prayer Times Calculated? Fajr, Dhuhr, Asr, Maghrib and Isha ExplainedEach prayer time is tied to the position of the sun. This guide explains how Fajr, Dhuhr, Asr, Maghrib and Isha are calculated, what the calculation methods mean, and why two apps can differ by a few minutes.Read the article →