Qibla Finder
The Qibla is the direction of the Kaaba in Makkah (21.4225°N, 39.8262°E). Allow location access and this page computes your exact great-circle bearing to the Kaaba — corrected from magnetic to true north for your position — and turns your phone into a live Qibla compass. Everything is calculated on your device.
- Qibla bearing (true north)
- —
- Qibla bearing (magnetic)
- —
- Distance to the Kaaba
- —
- Your position
- —
The line points along the great circle toward the Kaaba — orient yourself by nearby streets.
Computed on your device · great-circle method · true-north corrected with your local declination.
How the direction is calculated (and why accuracy matters)
We use the great-circle bearing — the initial heading of the shortest path over the Earth's surface from your coordinates to the Kaaba — which is the method adopted by mainstream Islamic scholarship for distant locations. The compass reading is corrected for your local magnetic declination, because a raw magnetometer points to magnetic north, which can differ from true north by more than 10° in some regions — enough to matter. Your bearing and distance to Makkah are shown numerically too, so you can verify with any quality compass.
Checking without a sensor
Desktops and some tablets have no compass. Alternatives that work anywhere: point the printed bearing with a physical compass (remember it reads magnetic north — we show the magnetic bearing separately for this); or use the sun: at your local solar noon (shown on our sun tool) shadows point exactly north or south depending on hemisphere, giving you a true reference line. The map view also draws the qibla line from your position so you can orient by streets and buildings.
Step by step
- Tap Find Qibla and allow location access — the bearing is computed from your exact coordinates.
- On a phone, tap Start compass and hold the phone flat like a plate.
- Calibrate with a figure-8 motion if the needle is sluggish, and keep away from magnets and metal.
- Turn until the Kaaba marker sits at the top arrow — you are now facing the Qibla.
- No compass sensor (desktop)? Use the printed bearing with any physical compass, or the sun method described below.