Qibla Direction from My Location
Need the Qibla right now? One tap locates you and shows the exact Qibla angle in degrees from north and your distance to the Kaaba, with a live compass on mobile that points you straight to it. Accurate astronomical calculation that works in any city worldwide.
Qibla direction from your location
Locate yourself to get the exact Qibla angle from true north and your distance to the Kaaba, with a live compass on mobile.
The angle is computed astronomically along the great-circle (shortest) path to the Kaaba (21.4225°, 39.8262°) from true north. Device compasses point to magnetic north and may deviate by a few degrees depending on your region — calibrate by moving your phone in a figure-8, keep away from metal and magnets, and confirm with the sun or nearby mosques when possible.
How the Qibla angle is calculated
The Qibla is the direction of the Kaaba at the Sacred Mosque in Makkah (latitude 21.4225°, longitude 39.8262°). Because the Earth is a sphere, the direction is computed along the shortest path between you and the Kaaba — the great-circle arc — using a precise astronomical formula that returns the angle clockwise from true north. This is the same scientific method used by specialist apps and astronomical authorities. It is also why the Qibla from North America points northeast rather than southeast: the shortest route over the globe passes near the pole.
Tips for better compass accuracy
Phone compasses point to magnetic north and are affected by surroundings. For the best result: calibrate by moving your phone in a figure-8, keep away from metal, magnets, speakers and cars, and hold the phone flat. To double-check, compare with the mihrab of the nearest mosque — find one on our Mosques Near Me page — or with the sun on the days it stands directly above the Kaaba (around May 28 and July 16).
Qibla and prayer times for your city
Prefer a ready-made answer for your city without sharing your location? Every one of our city prayer times pages shows the Qibla angle and distance to the Kaaba for 250+ cities worldwide, along with the five daily prayers and a full monthly table.
Frequently asked questions
How do I find the Qibla direction from my location?
Tap "Find Qibla direction" and allow location access. You will see the Qibla angle in degrees from north, the compass direction (e.g. southeast), and your distance to the Kaaba. On mobile you can start the live compass and rotate your phone until the Kaaba marker sits at the top — you are then facing the Qibla.
How accurate is the Qibla direction?
The angle is computed astronomically along the great-circle (shortest) path between your position and the coordinates of the Kaaba — the same method used by specialist apps and observatories, and it is highly precise. The live compass relies on your device sensor, which points to magnetic north and can drift a few degrees, so calibrate your phone and keep it away from metal.
What is the difference between true north and magnetic north?
True north is the geographic pole from which the Qibla angle is measured, while a compass needle points to magnetic north, offset by an angle called magnetic declination that varies by region (usually under 5 degrees in most Muslim-majority countries). For maximum precision, use the displayed angle with a map or a declination-corrected compass.
How can I verify the Qibla without a compass?
Use the sun: twice a year the sun passes directly over the Kaaba (around May 28 and July 16 at 12:18 pm Makkah time). At those moments, the shadow of any vertical object points exactly away from the Qibla anywhere the sun is visible. You can also check the mihrab of a nearby mosque or compare your position with the Kaaba on Google Maps.
Does this work in every country?
Yes — the astronomical formula works anywhere on Earth. Our city pages also show a ready-made Qibla direction and distance for more than 250 cities worldwide, together with prayer times.