How to find the Qibla with your phone
- Tap Use my location and allow location access, or pick the nearest city from the list.
- The page works out the Qibla bearing for your location and places a Kaaba marker on the compass dial.
- Tap Start compass, hold your phone flat, and turn slowly until the Kaaba marker reaches the red pointer at the top.
- When you see "You are facing the Qibla", the top of your phone points towards the Kaaba.
How the Qibla direction is calculated
The Qibla is the direction of the Kaaba in Makkah (21.4225° N, 39.8262° E). Because the Earth is round, the shortest path to it is a great circle, not a straight line on a flat map. That's why the Qibla from North America points north-east rather than south-east, as many people expect.
Actually Compass uses the standard spherical-trigonometry formula for the starting bearing of that great circle, measured clockwise from north. Your location is used only for this calculation, on your phone. It is never sent to us or stored.
Qibla direction in India
From India the Qibla is towards the west. It is slightly south of west in the far north (Srinagar, Delhi) and turns slightly north of west as you go south (Bengaluru, Chennai, Kochi). Bearings are in degrees clockwise from north, with the distance to the Kaaba.
| City | Qibla bearing | Direction | Distance |
|---|---|---|---|
| Delhi | 267° | W | 3,830 km |
| Mumbai | 280° | W | 3,450 km |
| Bengaluru (Bangalore) | 288° | WNW | 4,110 km |
| Hyderabad | 283° | WNW | 4,070 km |
| Chennai | 288° | WNW | 4,380 km |
| Kolkata | 278° | W | 4,980 km |
| Lucknow | 271° | W | 4,200 km |
| Ahmedabad | 273° | W | 3,370 km |
| Pune | 281° | W | 3,560 km |
| Jaipur | 268° | W | 3,690 km |
| Bhopal | 274° | W | 3,860 km |
| Patna | 274° | W | 4,620 km |
| Kochi | 293° | WNW | 4,090 km |
| Srinagar | 257° | WSW | 3,700 km |
| Guwahati | 276° | W | 5,270 km |
Qibla direction from other countries
| City | Qibla bearing | Direction | Distance |
|---|---|---|---|
| Karachi, Pakistan | 268° | W | 2,800 km |
| Lahore, Pakistan | 260° | W | 3,600 km |
| Dhaka, Bangladesh | 278° | W | 5,170 km |
| Jakarta, Indonesia | 295° | WNW | 7,920 km |
| Kuala Lumpur, Malaysia | 293° | WNW | 6,970 km |
| Singapore | 293° | WNW | 7,270 km |
| Tehran, Iran | 218° | SW | 1,940 km |
| Dubai, UAE | 258° | WSW | 1,630 km |
| Cairo, Egypt | 136° | SE | 1,290 km |
| Istanbul, Türkiye | 152° | SSE | 2,410 km |
| London, UK | 119° | ESE | 4,790 km |
| Paris, France | 119° | ESE | 4,500 km |
| New York, USA | 58° | ENE | 10,310 km |
| Los Angeles, USA | 24° | NNE | 13,420 km |
| Toronto, Canada | 55° | NE | 10,500 km |
| Sydney, Australia | 277° | W | 13,240 km |
For the most precise result, use Use my location at the top of the page instead of the nearest city.
Is the Qibla east or west?
It depends on where you are, because the Qibla always points towards Makkah:
- India, Pakistan, Bangladesh, Sri Lanka, Nepal: west (roughly 255°–295°).
- Indonesia, Malaysia, Singapore: west-north-west (about 290°–300°).
- UAE, Oman, Qatar, Iran: west to south-west.
- UK and most of Europe: south-east (about 119° from London and Paris, 152° from Istanbul).
- Egypt and North Africa: south-east to east.
- USA and Canada: north-east (about 24° from Los Angeles to 58° from New York), not south-east as a flat map suggests.
- Australia: west to west-north-west.
How to find the Qibla without a compass
Twice a year the sun passes directly over the Kaaba at midday in Makkah. At that moment, anywhere the sun is visible, the Qibla is exactly towards the sun, and the shadow of an upright stick points directly away from it:
- Around 27–28 May at about 12:18 Makkah time (09:18 UTC, 2:48 pm in India).
- Around 15–16 July at about 12:27 Makkah time (09:27 UTC, 2:57 pm in India).
Mark the shadow's direction on those days and you have a permanent Qibla line for your home or mosque. On other days, this compass with your location is the quickest way.
Tips for an accurate Qibla
- Calibrate your compass. Move the phone in a figure-8 a few times before you start.
- Avoid metal and magnets. Steel furniture, speakers and magnetic phone cases can turn the reading by many degrees.
- Check twice. Turn away and back again; a good reading lands in the same place each time.
- Mark it at home. Once you've found the Qibla in a room, note a wall or window it points to so you don't need the phone each time.
Frequently asked questions
How do I find the Qibla direction on my phone?
Open this page, tap Use my location (or choose your city), then tap Start compass. Hold the phone flat and turn until the Kaaba marker on the dial meets the red pointer at the top.
Which direction is the Qibla from India?
From India the Qibla is close to due west, from about 257° in Srinagar to about 294° in Kanyakumari, depending on where you are. For example, it is about 267° from Delhi and about 280° from Mumbai. Use your own location for an exact bearing.
Which direction is the Qibla from the USA or Canada?
North-east. Because the shortest path over the globe curves north, the Qibla is about 58° from New York and about 24° from Los Angeles, not south-east as a flat map suggests.
Do I need to share my location?
No. You can pick your nearest city from the list instead. If you do use your location, it is used only on your phone to calculate the bearing and is never sent or stored.
How accurate is this Qibla finder?
The bearing calculation is exact for your location. The compass reading depends on your phone's magnetic sensor, which is usually accurate to within a few degrees when it is calibrated and kept away from metal.
Does the compass show true north or magnetic north?
Phone compasses are based on magnetic north, while Qibla bearings are measured from true north. The difference (magnetic declination) is about 1–2° in most of India and Pakistan and 2–5° in the Gulf, Saudi Arabia and Egypt, but can be 10° or more in parts of North America. Where it's large, the compass reading can be off by about that amount.
What if my phone has no compass?
You can still use the bearing shown in step 1 with a physical compass, or line it up with a known landmark. Laptops and desktop computers usually have no compass sensor.
Is the Qibla finder free?
Yes. There's no app to install and no account to create.
Is the Qibla direction east or west in India?
West. From every part of India the Qibla is roughly towards the west, between about 257° (Srinagar) and 294° (Kanyakumari). Use your location on this page for the exact bearing.
What is the Qibla direction from Bangalore?
From Bengaluru (Bangalore) the Qibla is about 288°, which is west-north-west, and the Kaaba is about 4,110 km away.
How do I find the Qibla direction from my current location?
Tap Use my location at the top of this page and allow location access. The page calculates the Qibla for your exact position and marks it on the live compass, so you can turn until you face it.
Which side do we face for namaz?
You face the Qibla, the direction of the Kaaba in Makkah. In India, Pakistan and Bangladesh that is towards the west; in the UK and Europe it is south-east; in North America it is north-east.
Can I find the Qibla without a compass?
Yes. On about 27–28 May and 15–16 July the sun passes directly over the Kaaba at midday in Makkah. At that moment the Qibla is exactly towards the sun wherever the sun is visible. On other days, use this online Qibla compass.