or search for your city
Your qibla direction will appear here as a number of degrees once you share your location or choose a city.
How to use this qibla finder
This online qibla finder works in any modern browser, with nothing to install. It takes three steps:
- 1
Allow location or search your city
Tap “Use my location” and allow access, or type your town or city into the search box. The direction appears straight away as degrees from true north, with the nearest compass point.
- 2
Hold the phone flat, away from metal and magnets
Lay your phone flat and face up. Keep it away from steel furniture, speakers, laptops and cases with magnetic clasps, because they pull the compass off course. On iPhone, tap “Enable compass” first.
- 3
Turn until the arrow points at the Kaaba
Turn your body slowly until the gold arrow points straight ahead to the “Face this way” marker at the top of the dial. You are now facing the Kaaba in Mecca.
Once you know your direction, you can check today's prayer times for your city.
What is the Qibla?
Definition
The Qibla is the direction that Muslims face during their five daily prayers. It points toward the Ka'bah — the cube-shaped structure in the center of Masjid al-Haram in Mecca, Saudi Arabia.
Why It Matters
Facing the Qibla unifies the global Muslim community in worship. Regardless of continent, culture, or language, every Muslim turns toward the same sacred point — symbolizing unity in worship of the One God.
Qur'anic Command
"So turn your face toward al-Masjid al-Haram. And wherever you are, turn your faces toward it." — Qur'an 2:144
Learning More
Facing the qibla is one of the conditions of prayer, which is the second of the five pillars described in Foundations of Islam. Our step-by-step guide on how to pray Salah covers what to do once you are facing the right way, and the new Muslims guide explains which practices to learn first. Terms such as qiblah, Ka'bah and rak'ah are defined in our Islamic glossary.
How to Find the Qibla
If you need to find the qibla direction without this tool, or want to double-check it, these methods all work.
Compass Method
- 1
Find your city's Qibla bearing (degrees from North) using the live compass above or the reference table below.
- 2
Hold a physical or phone compass flat and steady.
- 3
Rotate your body until the compass needle points to the bearing.
- 4
You are now facing the Qibla. Place your prayer mat in that direction.
Sun Shadow Method
- 1
At solar noon (when the sun is at its highest), plant a straight stick vertically in the ground.
- 2
The shadow will point roughly north (in the Northern Hemisphere) or south (in the Southern Hemisphere).
- 3
Using that as your north reference, estimate the Qibla angle.
- 4
This method is approximate but useful when no technology is available.
Smartphone Apps
- 1
Use a reputable qibla app or website, such as this page, Muslim Pro, Qibla Connect, or Google's Qibla Finder.
- 2
Grant location permissions so the app can calculate your exact bearing.
- 3
Hold the phone flat. An arrow or compass indicator will point toward the Ka'bah.
- 4
Calibrate your phone's compass by moving it in a figure-8 pattern if the reading seems off.
Qibla Direction by City
Each bearing below is calculated from the city centre with the same formula the tool above uses. Across a large city the direction varies by less than a degree, so these figures are fine for everyday use.
| City | Country | Qibla direction (degrees from true north) | Compass point |
|---|---|---|---|
| London | United Kingdom | 119.0° | south-east (SE) |
| Birmingham | United Kingdom | 118.0° | south-east (SE) |
| Manchester | United Kingdom | 118.5° | south-east (SE) |
| Glasgow | United Kingdom | 118.3° | south-east (SE) |
| Leeds | United Kingdom | 119.5° | south-east (SE) |
| Cardiff | United Kingdom | 115.7° | south-east (SE) |
| New York | United States | 58.5° | north-east (NE) |
| Los Angeles | United States | 23.9° | north-east (NE) |
| Chicago | United States | 48.7° | north-east (NE) |
| Houston | United States | 45.5° | north-east (NE) |
| Toronto | Canada | 54.6° | north-east (NE) |
| Sydney | Australia | 277.5° | west (W) |
| Melbourne | Australia | 278.8° | west (W) |
| Paris | France | 119.2° | south-east (SE) |
| Berlin | Germany | 136.7° | south-east (SE) |
| Amsterdam | Netherlands | 125.6° | south-east (SE) |
| Lagos | Nigeria | 63.3° | north-east (NE) |
| Abuja | Nigeria | 64.6° | north-east (NE) |
| Kano | Nigeria | 68.3° | east (E) |
| Johannesburg | South Africa | 14.6° | north (N) |
| Karachi | Pakistan | 267.7° | west (W) |
| Lahore | Pakistan | 260.4° | west (W) |
| Delhi | India | 266.4° | west (W) |
| Jakarta | Indonesia | 295.2° | north-west (NW) |
| Kuala Lumpur | Malaysia | 292.5° | north-west (NW) |
| Istanbul | Turkey | 151.6° | south-east (SE) |
| Dubai | United Arab Emirates | 258.2° | west (W) |
| Cairo | Egypt | 136.1° | south-east (SE) |
| Tokyo | Japan | 293.0° | north-west (NW) |
How the qibla direction is calculated
The tool takes your latitude and longitude and works out the great-circle bearing to the Kaaba, which sits at 21.4225° N, 39.8262° E. A great circle is the shortest route between two points on a globe, and the bearing is the direction you would set off in to follow it. The result is measured clockwise from true north, from 0° to 360°.
This is why the answer can look surprising on a flat map. From New York, Mecca appears to lie almost due east, yet the shortest route sets off to the north-east, at about 58°, because it curves up over the Atlantic.
The bearings on this page are measured from true north, the direction of the North Pole. A magnetic compass points to magnetic north instead, and the angle between the two is called magnetic declination. In the UK it is currently small, around a degree or two, but in parts of Canada and the United States it is more than 10°. Browser compass readings are based on magnetic north, so where declination is large, add or subtract your local value. NOAA publishes a free online declination calculator.
Phone compasses rely on a small magnetic sensor that drifts over time and is easily disturbed. If your qibla compass arrow jumps or looks wrong, move the phone in a figure-of-eight a few times to recalibrate, then compare the reading with the bearing for your city in the table above.
Common Questions
Is this qibla finder accurate?
The calculation is exact for the coordinates it receives: it uses the standard great-circle formula and the published position of the Kaaba. In practice, accuracy depends on your location and your compass. Phone location is usually precise enough that the bearing barely changes, but a phone compass can be several degrees out if it is uncalibrated or close to metal.
Why does my phone compass point differently from another app?
Apps can use slightly different Kaaba coordinates, measure from magnetic rather than true north, or follow a straight line on a flat map instead of a great circle, so differences of a degree or two are normal. A large difference usually means the compass needs calibrating or is being disturbed by a magnetic case, a laptop or steel furniture.
How do I find the qibla without a compass or internet?
Note your city's bearing from the table on this page before you travel. Without a compass, the sun helps: it rises roughly in the east and sets roughly in the west, and north of the tropics it is due south at midday. The prayer direction of a local mosque is another reliable reference, as are the qibla markers found in many hotel rooms in Muslim-majority countries.
Does the qibla change depending on where I live?
Yes. The Kaaba stays in one place, so the direction to it depends on where you stand. From the UK the qibla is south-east, from North America it is north-east, from Pakistan and India it is roughly west, and from Indonesia and Malaysia it is north-west. If you move house or travel, check the direction again for your new location.
What if I cannot determine the exact direction?
When the exact direction cannot be known, it is widely accepted that a Muslim makes a sincere best effort to face the qibla, using whatever signs are available, and then prays. Facing the general direction is understood to be enough in that situation. For specific cases, such as travel, illness, or realising afterwards that you faced the wrong way, ask a knowledgeable local scholar or imam.
What was the original Qibla?
For the first 16–17 months after the Hijra, Muslims prayed facing Masjid al-Aqsa in Jerusalem. The Qibla was then changed to the Ka'bah in Mecca by divine command (Qur'an 2:144). The change is described in Surah al-Baqarah, verses 142 to 150, and the mosque in Medina where it happened is known as Masjid al-Qiblatayn, the Mosque of the Two Qiblas.
Can I pray on a moving vehicle (plane, train)?
Begin your prayer facing the Qibla if you can; the bearing for your departure city is a good starting point. Scholars discuss what to do if the vehicle then turns, and many allow voluntary prayers to be offered facing the direction of travel. Because the details differ between schools of thought, ask a local scholar about your own situation, especially for long flights.
Does it work on a laptop or desktop?
Yes. Search for your city or allow location access and the bearing appears as degrees and a compass point. Laptops and desktops have no compass sensor, so the arrow stays fixed with north at the top of the dial instead of turning with you. Line it up with a handheld compass, or open this page on your phone for a live reading.
"Wherever you are, turn your faces toward it [the Sacred Mosque]." — Qur'an 2:144
Last updated: