Qibla Direction

The accurate qibla direction from your location, with a live compass on mobile

calendar_today Last updated: September 14, 2026

Your location

The bearing is the exact great-circle direction to the Kaaba (the same spherical-trigonometry formula behind every serious qibla-finder), computed on your device from your coordinates — nothing is uploaded. A live compass reading depends on your device’s magnetometer and can be thrown off by metal objects or magnets nearby; if it looks off, move away from them and, on some phones, wave the device in a figure-8 to recalibrate.

lightbulb

Sahel's qibla tool calculates the bearing and distance to the Kaaba from your location, using the exact great-circle bearing formula, with a live compass that rotates with your phone on mobile.

help_outline

How does this tool work?

1

Set your location

Allow location access, or pick your city from the list.

2

See the direction

The bearing and distance to the Kaaba, with a live compass where a direction sensor is available.

3

Face the qibla

Pray facing the right way, wherever you are.

Frequently asked questions

How is the qibla bearing calculated? expand_more
With the shortest great-circle bearing from your location to the Kaaba's exact coordinates — the same mathematical formula behind every serious qibla-finder app, not an approximation.
The live compass isn’t working — what do I do? expand_more
Some devices or browsers don’t support it, and iOS Safari requires tapping an explicit permission button. Either way, the fixed bearing from true north is always shown — use any compass to find north, then face that many degrees clockwise from it.
The compass looks inaccurate — why? expand_more
A phone’s direction sensor is magnetic and gets thrown off by nearby metal or magnets (a metal case, a speaker, a charger). Move away from them, and on some phones waving the device in a figure-8 recalibrates it.
Does it work offline? expand_more
After the page has loaded once, yes — the calculation runs entirely on your device.