Tawheed.in

Qibla Direction Finder

Detecting your location...

How to Use This Online Qibla Finder

Allow location access, and this tool instantly works out the exact direction of the Kaaba in Makkah from where you are. It then uses your phone's built-in compass to point you in the right direction for Namaz.

How to Find the Qibla Direction Without a Compass

If your device has no compass sensor, you can still use this tool. It shows the exact angle (for example, 292° NW). Match this angle with the sun, a map or any ordinary compass to find the Qibla.

Qibla Direction from Major Cities

The Qibla direction and the distance to the Kaaba from each city centre. The angle is measured clockwise from true north, so 270° is due west. For your exact spot, use the compass above.

India
CityQibla directionDistance to the Kaaba
Delhi267°West3,835 km
Mumbai280°West3,452 km
Kolkata278°West4,983 km
Chennai288°West4,381 km
Bengaluru288°West4,109 km
Pakistan, Bangladesh and other countries
CityQibla directionDistance to the Kaaba
Karachi, Pakistan268°West2,800 km
Lahore, Pakistan260°West3,598 km
Islamabad, Pakistan256°West3,528 km
Dhaka, Bangladesh278°West5,172 km
Kathmandu, Nepal272°West4,628 km

How the Qibla Direction Is Calculated

The Kaaba in Makkah stands at 21.4225° N, 39.8262° E. From your location, this page works out the great-circle direction to the Kaaba: the shortest path over the curved surface of the Earth. Most Qibla apps and calculators use the same method.

Because the Earth is round, the Qibla is not exactly west everywhere in India. It is 267° from Delhi, 280° from Mumbai and 288° from Chennai. In Delhi, Jaipur and the north-west it is a little south of west; in most of the rest of India it is a little north of west.

The angle is measured from true north (the direction of the North Pole). A magnetic compass points to magnetic north, which is only a few degrees away in South Asia, so an ordinary compass is close enough there. In some places, such as New York, the difference is about 13°.

How to Calibrate Your Phone's Compass

Phones find north with a small magnetic sensor that drifts and is easily disturbed. If the arrow jumps around, or the page shows low accuracy:

  1. Move away from metal, magnets, speakers and electric cables. Take the phone out of any magnetic case or car holder.
  2. Move the phone a few times in a figure-of-eight shape in the air, tilting it as you go.
  3. Hold the phone flat, screen facing up, and turn slowly until the page shows that you are facing the Qibla.
  4. Still unsure? Compare with the mihrab of a nearby masjid, which faces the Qibla.

Find the Qibla Using the Sun

Twice a year the sun passes directly over the Kaaba: on 27 or 28 May at about 12:18 pm, and on 15 or 16 July at about 12:27 pm, Makkah time. That is 2:48 pm and 2:57 pm in India, and 2:18 pm and 2:27 pm in Pakistan.

At that moment, wherever the sun is up, it stands exactly in the direction of the Qibla, and every shadow points directly away from it. Mark the line of a shadow on the floor and you have the Qibla for the rest of the year.

Why Muslims Face the Kaaba

Muslims face the Kaaba in every salah because Allah commanded it in the Quran:

قَدْ نَرٰی تَقَلُّبَ وَجْهِكَ فِی السَّمَآءِ ۚ فَلَنُوَلِّیَنَّكَ قِبْلَةً تَرْضٰىهَا ۪ فَوَلِّ وَجْهَكَ شَطْرَ الْمَسْجِدِ الْحَرَامِ ؕ وَحَیْثُ مَا كُنْتُمْ فَوَلُّوْا وُجُوْهَكُمْ شَطْرَهٗ ؕ وَاِنَّ الَّذِیْنَ اُوْتُوا الْكِتٰبَ لَیَعْلَمُوْنَ اَنَّهُ الْحَقُّ مِنْ رَّبِّهِمْ ؕ وَمَا اللّٰهُ بِغَافِلٍ عَمَّا یَعْمَلُوْنَ ۟

We have certainly seen the turning of your face, [O Muhammad], toward the heaven, and We will surely turn you to a qiblah with which you will be pleased. So turn your face [i.e., yourself] toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces [i.e., yourselves] toward it [in prayer]. Indeed, those who have been given the Scripture [i.e., the Jews and the Christians] well know that it is the truth from their Lord. And Allah is not unaware of what they do.

Surah al-Baqarah 2:144 (opens in a new tab)Translation: Saheeh International

Frequently Asked Questions (FAQ)

What is the Qibla direction?

The Qibla is the fixed direction Muslims must face when they pray Namaz. It points directly towards the Kaaba in Makkah (Mecca), Saudi Arabia. The exact angle changes depending on where you are in the world.

How is the Qibla direction calculated?

From your location, this page works out the great-circle direction to the Kaaba: the shortest path over the Earth's surface. Your phone's compass then guides you towards it. The section above explains this in more detail.

Can I find the Qibla direction online without an app?

Yes. Tawheed.in works directly in your web browser, so there is no need to download a separate Qibla app. It is 100% free.

Why is my Qibla compass pointing the wrong way or showing low accuracy?

If the compass is stuck or inaccurate, your phone needs to be calibrated. Move away from magnets and metal objects, and move your phone in a figure-of-eight shape in the air to fix the compass sensor.

Which direction is the Qibla in India?

West. Across India the Qibla lies between about 257° (Srinagar) and 294° (Thiruvananthapuram) from true north, so it is close to due west (270°) everywhere. Find your nearest city in the table above, or use the compass for your exact spot.

How far is the Kaaba from India?

In a straight line, the Kaaba is about 3,452 km from Mumbai, 3,835 km from Delhi, 4,070 km from Hyderabad and 4,983 km from Kolkata. Under the compass, this page also shows the distance from where you are.

Why do two Qibla apps show slightly different directions?

The calculation is the same everywhere, so the difference almost always comes from the phone: a compass that needs calibrating, metal or magnets nearby, or a rough location. Calibrate the compass, stand away from metal and allow precise location, and the apps should agree within a degree or two.

Can I find the Qibla on a laptop or desktop?

Yes. Laptops and desktops have no compass, so the page shows the Qibla angle from true north instead. Find north with a map app or a compass, then turn clockwise by that angle.

Does the Qibla direction change over time?

No. The Kaaba does not move, so the Qibla from the same place always stays the same. It only changes when you move to another place. Only a phone's compass can drift, which is why it needs calibrating now and then.

Check your local Namaz times too