Find the Qibla Direction from Anywhere

    اتجاه القبلة

    Find the exact Qibla direction from anywhere in the world using your location or by selecting a city.

    Waiting for location

    Please allow location access or select a city above.

    Qibla Direction for Major Cities

    CityBearingDirectionDistance
    Madinah, Saudi Arabia176°S300 km
    Riyadh, Saudi Arabia244°WSW800 km
    Dubai, UAE258°WSW1600 km
    Istanbul, Turkey152°SSE2400 km
    Cairo, Egypt136°SE1300 km
    Karachi, Pakistan268°W2800 km
    Lahore, Pakistan260°W3600 km
    Dhaka, Bangladesh278°W5200 km
    Jakarta, Indonesia295°WNW7900 km
    Kuala Lumpur, Malaysia293°WNW7000 km
    Tehran, Iran218°SW1900 km
    Baghdad, Iraq200°SSW1400 km
    Amman, Jordan161°SSE1200 km
    Casablanca, Morocco94°E4800 km
    Algiers, Algeria105°ESE3900 km
    Nairobi, Kenya7°N2500 km
    🕋

    The Kaaba — Masjid al-Haram

    The Kaaba is located in Makkah al-Mukarramah, Saudi Arabia at 21.4225°N, 39.8262°E. It is the most sacred site in Islam and is described in the Quran as the first house of worship established for mankind (Quran 3:96). Muslims around the world face the Kaaba five times daily in prayer.

    ﴿إِنَّ أَوَّلَ بَيْتٍ وُضِعَ لِلنَّاسِ لَلَّذِي بِبَكَّةَ مُبَارَكًا وَهُدًى لِّلْعَالَمِينَ﴾ — آل عمران ٩٦

    Related Islamic Tools

    You might also find useful

    Frequently Asked Questions

    What is the Qibla direction?+

    The Qibla (قبلة) is the direction of the Masjid al-Haram and the Kaaba in Makkah, Saudi Arabia. All Muslims face the Qibla when performing Salah (prayer). It is a condition (shart) of prayer that one faces the Qibla as precisely as possible. The Kaaba is located at approximately 21.4225°N, 39.8262°E.

    How is the Qibla direction calculated?+

    The Qibla is calculated using the great-circle bearing formula — the shortest path between two points on the surface of a sphere. This gives the most accurate result. The formula uses your latitude and longitude and the Kaaba's coordinates to determine the bearing angle from true north.

    Does the Qibla direction change depending on where I am?+

    Yes. The Qibla angle changes significantly depending on your location. For example, from London it is approximately 119° (ESE), from New York it is approximately 58° (NE), and from Jakarta it is approximately 295° (WNW). This is because the earth is spherical — the shortest path curves across the globe.

    What if I cannot determine the exact Qibla direction?+

    Scholars have stated that if you make a genuine effort (ijtihad) to find the Qibla direction and pray in that direction, your prayer is valid even if you were slightly off. Ibn Qudamah (Hanbali) and Ibn 'Abidin (Hanafi) both state that a reasonable approximation is sufficient. Only if you are certain you were facing the completely wrong direction should you repeat the prayer.

    Why does the Qibla sometimes point 'the wrong way' on a flat map?+

    Flat maps distort the spherical earth. The great-circle route (shortest path) between your location and Makkah curves across the globe, which looks 'wrong' on a flat Mercator map. For example, from the US East Coast, the Qibla points northeast — not southeast as a flat map suggests — because going northeast across the Atlantic and over Europe is actually shorter than going east across the ocean.

    Can I use my phone's compass for the Qibla?+

    Yes. On Android devices the live compass activates automatically — just rotate your phone and the needle tracks in real time. On iPhone (iOS 13+), tap the 'Tap to Enable Compass' button once to grant permission. Note: device compasses can be affected by metal objects and magnetic interference. For best accuracy, hold your phone flat and away from metal surfaces.

    What is the difference between magnetic north and true north for Qibla?+

    The Qibla bearing is measured from true geographic north. Most phone compasses measure magnetic north, which differs from true north by a 'magnetic declination' that varies by location (typically ±5–20°). For general prayer purposes, this small difference is within the accepted margin of approximation. Dedicated Qibla compasses and this calculator account for true north.

    UmmahKingdom Qibla Finder — Great-circle bearing to the Kaaba (21.4225°N, 39.8262°E). For precise Salah direction, also verify with a local mosque.