What is the qibla?
The qibla is the direction of the Kaaba in Mecca, which Muslims face in prayer. This tool takes your location and calculates the great-circle bearing, the shortest path over the Earth's curved surface, to the Kaaba at 21.4225°N, 39.8262°E, then shows it in degrees from true north on a live compass and map.
Frequently asked questions
Why does the qibla point north-east from North America?
Because the Earth is a sphere. The shortest route from North America to Mecca is a great-circle arc that passes over the North Atlantic and Europe, so it starts out toward the north-east. Flat world maps distort this and make Mecca look as if it lies to the east or south-east.
Does the qibla direction change?
The Kaaba does not move, so the qibla from a fixed place stays the same. What changes is your own direction to it whenever you travel, and the gap between magnetic north and true north (magnetic declination), which differs from place to place and drifts slowly over the years. This tool gives the angle from true north.
Is a small error in the direction acceptable?
For someone far from Mecca who cannot see the Kaaba, many scholars hold that facing its general direction is what is required, so a slight deviation after a sincere effort is commonly regarded as excused. Some scholars place more weight on aiming as precisely as possible. For a specific situation, ask a scholar you trust.
How far am I from Mecca?
Once you share your location, the tool shows the great-circle distance from you to the Kaaba in kilometres. This is the direct distance over the Earth's surface, so the actual journey by road or air is usually longer.
How do I find the qibla on a plane?
A phone compass is unreliable inside an aircraft because of the metal around you, so use the in-flight map or the qibla indicator some airlines provide, and compare the plane's heading with your qibla angle, keeping in mind that the angle changes as the flight progresses. Scholars differ on praying in a moving vehicle, especially for obligatory prayers, so follow the guidance of scholars you trust.
Why does my phone compass give a different reading from this page?
Usually because of magnetic interference from nearby metal or a magnetic case, an uncalibrated sensor, or the difference between magnetic north and true north. Calibrate the compass, move away from metal, and if your phone offers a 'true north' setting, turn it on.