Direction · Live
Qibla compass online
Live compass aligned to the Kaaba in Makkah. Hold your phone flat for the live magnetometer; on desktop, read the fixed bearing in degrees from true north.
First, your location
We need to know where you are
Magnetometer accuracy depends on your device and ambient interference. For critical use, cross-reference with a physical compass.
Frequently asked
How does the online Qibla finder work?
It uses the great-circle bearing formula to compute the angle from your location to the Kaaba (21.4225°N, 39.8262°E). On mobile, the device’s magnetometer rotates the dial in real time so the gold marker always points toward Makkah. On desktop, where there’s no compass hardware, the dial shows the fixed bearing in degrees clockwise from true north.
Why is iOS asking me for permission?
iOS Safari requires explicit permission before any web page can read the device-orientation sensors. Tap "Enable live compass" — the OS will show a one-time dialog. If you accidentally deny it you can re-grant it under Settings → Safari → Motion & Orientation Access.
How do I find the Qibla without a compass?
On Android and iOS your phone has a magnetometer — that’s what powers the live compass here. If your phone’s sensor is broken or you’re on desktop, use the bearing in degrees: stand facing true north, then rotate clockwise by that many degrees. A standard map (Google Maps, Apple Maps) can also draw a line from your address to Makkah.
What is the Qibla and why does it matter?
The Qibla is the direction Muslims face during salah (prayer) — it points to the Kaaba inside Masjid al-Haram in Makkah, Saudi Arabia. Facing the Qibla is one of the conditions of valid prayer in Islamic jurisprudence.
Why is my compass wobbling or showing the wrong direction?
Magnetometers are sensitive to nearby metal and electromagnetic interference. Move away from speakers, computer monitors, magnets, and metal desks. To re-calibrate on most phones, hold the device flat and trace a figure-8 in the air a few times.
Does it work in the southern hemisphere?
Yes. The great-circle bearing is calculated correctly worldwide, including the southern hemisphere, the Americas, and locations beyond 60°N or 60°S where simple flat-map approximations break down.