بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ

Find Your Qibla Direction Now

Enter your city or allow location access for an instant, GPS-accurate Qibla bearing. No app download required — works in any browser.

🧭

Qibla Direction Calculator

Powered by the Great Circle Method — the most accurate Qibla calculation

📱
Using a smartphone? Tap “Use My Current Location” for the most accurate result. Align your phone’s compass with the bearing shown to face the Qibla.

Popular Cities

🧭

Enter a city or use GPS
to calculate your Qibla direction

How Does the Qibla Calculator Work?

Our tool uses the Spherical Law of Cosines (Great Circle Method) — the same formula used by Islamic scholars and modern navigation systems — to calculate the shortest path on Earth’s surface toward the Kaaba.

1
📍

Your Location

We detect your latitude and longitude via browser GPS or your manually entered city coordinates.

2
🕋

Kaaba Coordinates

The Kaaba’s fixed coordinates — 21.4225°N, 39.8262°E — are used as the destination point in Makkah Al-Mukarramah.

3
🌐

Great Circle Formula

The spherical trigonometry formula calculates the shortest arc on the globe’s surface between your position and the Kaaba.

4
🧭

Bearing Angle

The result is a compass bearing (0°–360° from True North) telling you exactly which direction to face for Salah.

Understanding Qibla Direction Globally

Because Earth is a sphere, the Qibla direction changes depending on where you are. Here’s how it works across continents.

Global Qibla Direction Map Approximate compass bearings from major Muslim cities toward Makkah مكة المكرمة MAKKAH New York 58° NE London 119° SE Istanbul 157° S Karachi 247° W Jakarta 295° NW Cairo 136° SE City location Qibla bearing (approx.) Makkah / Kaaba Bearings are approximate — use the calculator above for exact values

Why Qibla Direction Varies by Location

Since Earth is a sphere, Muslims in different parts of the world face different compass directions toward the Kaaba in Makkah. This is a natural consequence of spherical geometry — there is no single “straight” direction that applies everywhere.

For example:

  • North America — Muslims face toward the Northeast (approx. 45°–70°)
  • Western Europe — Qibla points Southeast (approx. 100°–140°)
  • South Asia (Pakistan, India) — Direction is roughly West (250°–270°)
  • Southeast Asia — Muslims face Northwest (290°–310°)
  • East Africa — Qibla is roughly North-Northeast (5°–25°)
  • Central Asia — Direction is approximately South-Southwest (190°–220°)

The scholarly consensus, including rulings from IslamWeb and major fuqaha, is that Muslims should face the general direction (jiha) of the Qibla and need not be perfectly precise — though precision is virtuous.

How to Read Your Qibla Bearing

A Qibla bearing is measured in degrees clockwise from True North (0°). Here is a quick reference for interpreting your result.

N S W E NW NE SW SE 45° 90° 135° 180° 225° 270° 315° 🕋 KAABA London 119°
0° / 360°
True North
Central Asian countries (Kazakhstan, Kyrgyzstan)
45°–90°
Northeast
North America, Greenland, Iceland
90°–180°
Southeast
Western Europe, North Africa, Turkey
180°–270°
Southwest / West
South Asia, East Africa, parts of Central Asia
270°–360°
Northwest
Southeast Asia, Australia, New Zealand
~157°
From Istanbul
Faces South-Southeast toward the Arabian Peninsula

What is the Qibla? — Islamic Definition & Importance

The Qibla (Arabic: القِبْلَة) refers to the direction that Muslims face during Salah (prayer). Specifically, it is the direction toward the Masjid al-Haram in Makkah, Saudi Arabia, and more precisely toward the Kaaba — the sacred cuboid structure at the center of the mosque.

For over 1.9 billion Muslims around the world, knowing the correct Qibla direction is a fundamental religious obligation. The Qibla is not merely a symbolic gesture — it unifies the entire global Muslim community (Ummah) in a single physical orientation during the five daily prayers, Jumu’ah (Friday prayer), and other acts of worship.

وَحَيْثُ مَا كُنتُمْ فَوَلُّوا وُجُوهَكُمْ شَطْرَهُ

“…So turn your face toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces toward it…”

📖 Quran, Surah Al-Baqarah 2:144

This Quranic verse is the primary evidence for the obligation of facing the Qibla during prayer. The word شَطْر (shatar) means “direction” or “general side of,” which Islamic scholars have interpreted to mean that precision is virtuous but the general direction is obligatory.

The History of the Qibla — A Change That Shaped Islamic History

One of the most significant events in early Islamic history is the change of the Qibla, known as Tahwīl al-Qibla. When the Prophet Muhammad ﷺ and his companions were in Makkah, and during the early period in Madinah, Muslims prayed facing Bayt al-Maqdis (Jerusalem / al-Aqsa Mosque).

Approximately 16–17 months after the Prophet ﷺ migrated to Madinah (around 2 AH / 624 CE), the Qibla was changed to the Masjid al-Haram in Makkah by divine revelation (Quran 2:142–144). The companions reportedly completed their prayer mid-rak’ah upon hearing this news, turning from Jerusalem toward Makkah. The mosque in Madinah where this change occurred is now known as Masjid al-Qiblatayn — “the Mosque of the Two Qiblas.”

This change was deeply significant: it reinforced the centrality of the Kaaba (built by Ibrahim ﷺ and his son Ismail ﷺ), distinguished the Muslim Ummah as an independent religious community, and affirmed the eternal connection between the Prophet Ibrahim’s legacy and the Islamic faith.

Qibla in Salah — Scholarly Guidance and Rulings

Facing the Qibla (Istiqbāl al-Qibla) is one of the conditions (shurut) of Salah according to all four major madhabs (schools of Islamic jurisprudence): Hanafi, Maliki, Shafi’i, and Hanbali.

When Is Precision Required?

  • For those who can see the Kaaba directly (mushahadah), they must face it precisely
  • For those far from the Kaaba, facing the general direction (jiha) is sufficient
  • During voluntary prayers while traveling, one may face the direction of travel
  • In cases of genuine inability (illness, fear, uncertainty), the obligation is lifted

True North vs. Magnetic North

Modern Qibla calculations use True North (geographic north pole), while phone compasses measure Magnetic North. The difference, called magnetic declination, varies by location and can range from 0° to over 20°. Our calculator outputs bearings from True North, which is the scholarly and cartographic standard. When using a physical compass, add or subtract your local magnetic declination. You can find your local declination via NOAA’s magnetic declination calculator.

For detailed scholarly fatwas on Qibla direction, refer to resources from Islam Q&A (IslamQA), IslamWeb.net, and the Dar al-Ifta al-Misriyyah.

The Great Circle Method — How Qibla is Calculated

The most accurate way to determine Qibla is using the Great Circle Method (also called the spherical trigonometry or haversine method). This treats the Earth as a sphere and finds the shortest arc on its surface between two points.

The formula for Qibla bearing (Q) from your location (φ₁, λ₁) toward the Kaaba (φ₂, λ₂) is:

Q = atan2(
  sin(λ₂ − λ₁) × cos(φ₂),
  cos(φ₁) × sin(φ₂) − sin(φ₁) × cos(φ₂) × cos(λ₂ − λ₁)
)

Where: Kaaba (φ₂, λ₂) = (21.4225°N, 39.8262°E)

This method is endorsed by the Islamic Crescent Observation Project, the Islamic Society of North America (ISNA), and other Islamic astronomy bodies. It is more accurate than the simple flat-earth formula, especially for locations far from the Kaaba.

Qibla Direction for Major Cities Worldwide

Pre-calculated Qibla bearings (from True North, using Great Circle method) for the world’s most populated Muslim cities.

CityCountryLatitudeLongitudeQibla BearingGeneral Direction
New York🇺🇸 USA40.71°N74.01°W58.5°Northeast
London🇬🇧 UK51.51°N0.13°W119.0°Southeast
Paris🇫🇷 France48.86°N2.35°E119.2°Southeast
Istanbul🇹🇷 Turkey41.01°N28.98°E156.9°South
Cairo🇪🇬 Egypt30.04°N31.24°E136.2°Southeast
Karachi🇵🇰 Pakistan24.86°N67.00°E247.0°West
Lahore🇵🇰 Pakistan31.56°N74.36°E261.6°West
Dhaka🇧🇩 Bangladesh23.81°N90.41°E277.1°West
Mumbai🇮🇳 India19.08°N72.88°E291.1°Northwest
Jakarta🇮🇩 Indonesia-6.21°S106.85°E295.3°Northwest
Kuala Lumpur🇲🇾 Malaysia3.14°N101.69°E292.9°Northwest
Lagos🇳🇬 Nigeria6.52°N3.38°E65.0°Northeast
Nairobi🇰🇪 Kenya-1.29°S36.82°E1.8°North
Toronto🇨🇦 Canada43.65°N79.38°W54.8°Northeast
Sydney🇦🇺 Australia-33.87°S151.21°E277.5°West-Northwest
Tehran🇮🇷 Iran35.69°N51.39°E215.7°Southwest
Riyadh🇸🇦 Saudi Arabia24.69°N46.72°E270.5°West
Dubai🇦🇪 UAE25.20°N55.27°E261.8°West

✦ All bearings measured from True North in degrees. Calculated using the Great Circle (spherical trigonometry) method. Kaaba coordinates: 21.4225°N, 39.8262°E.

Frequently Asked Questions About Qibla Direction

What is the Qibla direction and why does it matter in Islam?
The Qibla is the direction Muslims face during Salah (prayer), pointing toward the Kaaba in Masjid al-Haram, Makkah. It is an obligatory condition (shart) of Salah — a prayer performed facing the wrong direction without a valid excuse is generally considered invalid by all four major madhabs. Beyond prayer, the Qibla unifies 1.9 billion Muslims globally in a single act of worship, symbolizing the unity of the Ummah.
How accurate is this Qibla finder?
Our tool uses the Great Circle (spherical trigonometry) method, which is the most precise way to calculate Qibla direction. When using GPS, accuracy depends on your device’s location precision (typically within 3–10 meters). The calculated bearing is mathematically exact for the Kaaba’s coordinates (21.4225°N, 39.8262°E). Note: if using a physical compass, account for magnetic declination in your area.
Why do some Muslims in America face Northeast and others say Southeast?
This is a genuine scholarly debate with two positions: (1) The Great Circle Method (followed by ISNA, most scholars) holds that since Earth is a sphere, the shortest path from North America to Makkah is via the Northeast — around 58°–65°. (2) The Rhumb Line Method (flat-earth approximation) would suggest Southeast. Modern Islamic scholars and astronomy bodies almost universally endorse the Great Circle method as the correct approach, since it reflects the actual geometry of the Earth. ISNA, IFANCA, and most North American Islamic centers follow the northeast direction.
What is the difference between True North and Magnetic North for Qibla?
True North points to geographic North Pole. Magnetic North points to Earth’s magnetic pole, which shifts over time and is currently in northern Canada. The angular difference is called magnetic declination. Islamic scholars use True North for Qibla calculations (as it’s consistent and astronomically verifiable). If your smartphone compass hasn’t been calibrated, it may show Magnetic North. Most modern phone apps automatically correct for declination, but a traditional compass requires manual adjustment. You can look up your local magnetic declination at NOAA’s website.
What did the Prophet ﷺ say about facing the Qibla?
The Prophet Muhammad ﷺ said: “Between the east and the west is the Qibla” (Tirmidhi, 342) — indicating leniency for those not directly facing Makkah, as long as they face the correct general direction. He also stated that facing the Kaaba is a condition of valid prayer. Explore authentic hadith and duas related to Salah on DuaForAll.
Can I pray if I’m unsure of the exact Qibla direction?
Yes. If a person makes a sincere effort (ijtihad) to determine the Qibla and prays accordingly, the prayer is valid even if the direction was slightly off. If the person prays in a completely wrong direction out of negligence, the prayer must be repeated. In situations of genuine uncertainty — such as being lost, in a windowless room, or during an emergency — the obligation to face the Qibla may be reduced to facing one’s best estimate. See fatawa from IslamQA for detailed rulings.
How do I find Qibla direction on Google Maps?
You can use Google Maps by finding your location and the Kaaba location, then using the “measure distance” feature to draw a line between them. The angle of that line from north approximates the Qibla bearing. However, this method is imprecise for spherical calculations. Our Qibla Finder above is far more accurate and designed specifically for this purpose. You can also use dedicated apps like Qibla Connect or built-in Islamic features in some Android and iOS prayer apps.
What are the Kaaba’s exact GPS coordinates?
The Kaaba is located at 21.4225°N, 39.8262°E in Makkah, Saudi Arabia. More precisely, some scholars use 21°25’21.7″N 39°49’34.1″E for the center of the Kaaba. The difference is negligible for practical prayer purposes. The Kaaba sits within Masjid al-Haram, the largest mosque in the world, at the center of Islam’s holiest city.

Authoritative Sources on Qibla Direction

Our Qibla calculation is grounded in scholarly consensus and respected Islamic institutions.

🏛️
Islam Q&A (IslamQA)

Scholarly fatwas on Qibla direction, the northeast vs southeast debate, and prayer validity.

islamqa.info →
🌐
ISNA — Islamic Society of North America

Official stance on Qibla direction for North American Muslims using the Great Circle method.

isna.net →
📖
Dar al-Ifta al-Misriyyah

Egypt’s supreme fatwa authority — extensive resources on prayer direction and Qibla.

dar-alifta.org →
🔭
NOAA Magnetic Declination

Official U.S. government tool to find the magnetic declination for any location.

ngdc.noaa.gov →
📜
IslamWeb — Fatwa Center

Comprehensive collection of scholarly opinions on Salah, Qibla, and Islamic jurisprudence.

islamweb.net →
🌙
IslamicFinder.org

Widely-used prayer time and Qibla reference site used globally by Muslims.

islamicfinder.org →

وَأَقِيمُوا الصَّلَاةَ وَآتُوا الزَّكَاةَ

Explore More Islamic Resources on DuaForAll

500+ verified duas, Islamic tools, and learning resources — free, always.

Content reviewed for accuracy and Islamic authenticity. Last updated March 2026. Calculations use the Great Circle method with Kaaba coordinates 21.4225°N, 39.8262°E.