Find the Qibla, wherever you are
Face the Kaaba with confidence: the direction from true north, a live compass and a map, worked out on your own device.
Private by design: your location stays on your device. The direction is worked out in your browser and is never sent to us or to anyone else.
How the Qibla is worked out
… فَوَلِّ وَجْهَكَ شَطْرَ ٱلْمَسْجِدِ ٱلْحَرَامِ ۚ وَحَيْثُ مَا كُنتُمْ فَوَلُّوا۟ وُجُوهَكُمْ شَطْرَهُۥ …
Turn your face toward the Sacred Mosque; and wherever you may be, turn your faces in its direction. (the meaning, in our own words)
Qur’an 2:144
The Qibla is the direction of the Kaaba in Makkah, which Muslims face in prayer. We follow the shortest path over the globe, a great circle, and give its starting direction in degrees clockwise from true north: 0° is north, 90° east, 180° south and 270° west.
A flat map can mislead. From New York, a straight line on a world map runs south-east, yet the Qibla is about 58°, north-east, because the shortest route arcs over the North Atlantic. The map below draws both lines, so you can see the difference for your own place.
A phone’s compass senses magnetic north, which can be several degrees away from true north. The live compass corrects for this with the World Magnetic Model 2025, the model NOAA and the British Geological Survey publish for navigation.
Getting an accurate compass reading
- Remove any magnetic case or wallet, and step away from laptops, speakers and metal furniture.
- Calibrate by moving the phone slowly in a figure-of-eight a few times.
- Hold the phone flat and level, and let the reading settle.
- Cross-check once against a second device, a satellite map of your street, or the nearest mosque.
Hold your phone flat, away from metal and magnetic cases. If the needle wanders, move the phone in a figure-8 to calibrate.
The bearing in degrees is exact for the place you chose. Only the compass can be off, so if the needle and the mosque disagree, trust the mosque and recalibrate.
Without a phone
- Your local mosque. The prayer niche and the rows show the direction the community agreed on. Note which way they face relative to a main road, and carry it home.
- The sun. Around 27–28 May at about 09:18 UTC, and 15–16 July at about 09:27 UTC, the sun stands almost straight above Makkah. Wherever it is up at that moment, a shadow points directly away from the Kaaba.
- Doing your best. When you honestly cannot be sure, make a careful estimate and pray. Our guide to finding the Qibla explains these methods and what scholars say about uncertainty, travel and planes.
Qibla from major cities
Bearings in degrees clockwise from true north, along the shortest path to the Kaaba, and the distance to it.
| City | Qibla | Direction | Distance (km) | Country |
|---|---|---|---|---|
| Al-Madinah al-Munawwarah | 176° | south | 339 | Saudi Arabia |
| Riyadh | 244° | west-south-west | 793 | Saudi Arabia |
| Dubai City | 259° | west | 1,632 | United Arab Emirates |
| Cairo | 136° | south-east | 1,288 | Egypt |
| Istanbul | 152° | south-south-east | 2,407 | Türkiye |
| Tehran | 218° | south-west | 1,946 | Iran |
| Baghdad | 200° | south-south-west | 1,400 | Iraq |
| Karachi | 268° | west | 2,801 | Pakistan |
| Lahore | 260° | west | 3,598 | Pakistan |
| Islamabad | 256° | west-south-west | 3,528 | Pakistan |
| New Delhi | 267° | west | 3,835 | India |
| Mumbai | 280° | west | 3,452 | India |
| Hyderabad | 283° | west-north-west | 4,066 | India |
| Dhaka | 278° | west | 5,173 | Bangladesh |
| Jakarta | 295° | west-north-west | 7,920 | Indonesia |
| Surabaya | 294° | west-north-west | 8,561 | Indonesia |
| Kuala Lumpur | 293° | west-north-west | 6,974 | Malaysia |
| Singapore | 293° | west-north-west | 7,275 | Singapore |
| Tashkent | 240° | west-south-west | 3,528 | Uzbekistan |
| Baku | 207° | south-south-west | 2,312 | Azerbaijan |
| Moscow | 176° | south | 3,822 | Russia |
| Kazan | 195° | south-south-west | 3,898 | Russia |
| Beijing | 279° | west | 7,385 | China |
| Tokyo | 293° | west-north-west | 9,475 | Japan |
| Casablanca | 94° | east | 4,826 | Morocco |
| Algiers | 105° | east-south-east | 3,923 | Algeria |
| Lagos | 63° | east-north-east | 4,253 | Nigeria |
| Kano | 68° | east-north-east | 3,487 | Nigeria |
| Dakar | 74° | east-north-east | 6,069 | Senegal |
| Mogadishu | 345° | north-north-west | 2,237 | Somalia |
| Cape Town | 23° | north-north-east | 6,558 | South Africa |
| London | 119° | east-south-east | 4,794 | United Kingdom |
| Birmingham | 118° | east-south-east | 4,952 | United Kingdom |
| Paris | 119° | east-south-east | 4,496 | France |
| Berlin | 137° | south-east | 4,130 | Germany |
| Madrid | 104° | east-south-east | 4,598 | Spain |
| New York | 58° | east-north-east | 10,306 | United States |
| Chicago | 49° | north-east | 11,149 | United States |
| Los Angeles | 24° | north-north-east | 13,424 | United States |
| Toronto | 55° | north-east | 10,493 | Canada |
| Mexico City | 47° | north-east | 13,646 | Mexico |
| São Paulo | 69° | east-north-east | 10,603 | Brazil |
| Buenos Aires | 76° | east-north-east | 12,061 | Argentina |
| Sydney | 278° | west | 13,236 | Australia |
Qibla in every country
Every city of 15,000 people or more can be found with the search above. For tables of every larger city in a country, choose the country:
- Algeria
- Australia
- Azerbaijan
- Bangladesh
- Brazil
- Canada
- China
- Egypt
- France
- Germany
- India
- Indonesia
- Iran
- Iraq
- Malaysia
- Mexico
- Morocco
- Nigeria
- Pakistan
- Russia
- Saudi Arabia
- South Africa
- Spain
- Türkiye
- United Arab Emirates
- United Kingdom
- United States
- Uzbekistan
Free Qibla widget for your website
Mosques, Islamic schools and blogs can show the Qibla on their own pages. The widget is free, sets no cookies, tracks no one and works in 14 languages.
The widget always shows “Qibla by Awwab” with a link back to this page. It runs on awwab.app inside a frame: no cookies, no analytics, and a visitor’s location, if they choose to share it, stays in their browser. Developers can also use the free Qibla API and AI connector.
Frequently asked questions
Is the Qibla the direction a flat map shows?
No. The Qibla follows the shortest path over the round Earth, a great circle. From North America it points north-east, although a flat map puts Makkah to the south-east. This tool computes the great-circle bearing from true north.
Does this Qibla finder send my location anywhere?
No. The direction is worked out in your browser. Your position is never sent to Awwab or to anyone else, and nothing is stored.
Why does my phone's compass disagree with the bearing?
A phone senses magnetic north, while Qibla bearings are measured from true north. The live compass corrects for the difference with the World Magnetic Model. Magnetic cases, metal furniture and a compass that needs calibrating can still pull the reading off, so calibrate with a figure-8 and step away from metal.
Can I use it without internet?
Yes. After your first visit the page works offline, and you can add it to your home screen. Finding your position by GPS also works without a connection.
Can I put this Qibla finder on my mosque's website?
Yes. The free widget shows the Qibla for your city or for each visitor's own location, in light or dark and in 14 languages. It sets no cookies and tracks no one.
Sources
- Qur’an 2:144: the command to face al-Masjid al-Ḥarām. Arabic text from the Tanzil Uthmani edition.
- Kaaba position: 21.422487° N, 39.826206° E.
- Cities: GeoNames, places of 15,000 people or more, licensed under CC BY 4.0.
- Magnetic declination: the World Magnetic Model 2025, NOAA National Centers for Environmental Information and the British Geological Survey.
- Map: Natural Earth, public domain.