Qibla Direction
Find the direction of the Kaaba from your current location
We need your location to calculate the Qibla direction
What is Qibla?
Qibla refers to the direction that Muslims face during their five daily prayers (Salah). It points toward the Kaaba, the sacred cubic structure located in the Grand Mosque (Masjid al-Haram) in Mecca, Saudi Arabia. Facing the Qibla is a fundamental requirement for the validity of prayer in Islam, uniting over 1.8 billion Muslims worldwide in a single direction of worship. The word "Qibla" comes from the Arabic root meaning "to face" or "to be opposite."
Quranic Reference
"So turn your face toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces toward it [in prayer]."Surah Al-Baqarah (2:144)
How Does This Tool Work?
Our Qibla finder uses your device's GPS to pinpoint your location and calculates the precise great-circle bearing to the Kaaba (21.4225°N, 39.8262°E) using spherical trigonometry. If your device has a compass sensor, the tool overlays a live compass dial showing the Qibla direction in real time. On desktop, a map with the great-circle arc is displayed instead.
Why Does Qibla Matter?
Facing the Qibla is one of the conditions (shurut) for the validity of Salah according to all four Sunni schools of jurisprudence. Beyond its legal requirement, the unified direction symbolizes the oneness of the Muslim Ummah: regardless of language, ethnicity, or geography, every Muslim turns toward the same point on Earth five times a day.
Qibla Direction from Morocco
From Morocco, the Qibla points approximately east. The bearing ranges from approximately 89° in Agadir (southwest) to about 99° in Oujda (northeast). Casablanca's Qibla is 93.7° from true north, almost exactly due east. The distance to Mecca varies between 4,300 km and 5,700 km depending on the city.
Qibla Bearings for Major Moroccan Cities (Degrees from North)
| City | Degrees from North | Magnetic Compass | Distance |
|---|---|---|---|
| Casablanca | 93.7° | 96.1° | 4,824 km |
| Rabat | 94.6° | 96.8° | 4,758 km |
| Marrakech | 91.4° | 93.5° | 4,851 km |
| Fes | 95.8° | 97.4° | 4,590 km |
| Tangier | 97.2° | 98.5° | 4,687 km |
| Agadir | 89.3° | 91.5° | 5,004 km |
| Oujda | 98.7° | 100.1° | 4,317 km |
| Meknes | 95.3° | 97.1° | 4,638 km |
| Kenitra | 95.0° | 96.8° | 4,737 km |
| Tetouan | 97.3° | 98.6° | 4,642 km |
| Safi | 91.4° | 93.6° | 4,971 km |
| Essaouira | 90.3° | 92.5° | 5,019 km |
| Nador | 98.6° | 99.9° | 4,417 km |
| Laayoune | 84.7° | 87.2° | 5,370 km |
| Dakhla | 80.8° | 83.5° | 5,697 km |
Frequently Asked Questions
The Qibla is the direction toward the Kaaba in Mecca, Saudi Arabia. All Muslims around the world face this direction during their five daily prayers. The exact angle varies depending on your geographic location.