Qibla direction
Type your city or use your location. The page shows the Qibla bearing from true north on a compass, turns your phone into a live compass where the browser allows it, and lists times today when the Sun lines up with the Qibla.
- Bearing, compass, Sun
- Free, no sign-up
Runs in your browser. Nothing you type or open is uploaded. Free to use, no account. More faith tools
How to use it
- Type your city, or press Use my location.
- Read the bearing, such as 266° from north, and the distance to Makkah.
- On a phone, press Use phone compass and turn until the arrow points up, or use the Sun times.
How the direction is found
The Qibla is the direction of the great circle, the shortest path over the Earth, from your location to the Kaaba in Makkah. The page computes that initial bearing from true north, which is why the Qibla from North America points north-east rather than south-east as a flat map suggests.
Phone compasses measure magnetic north and can be thrown off by metal, magnets and phone cases, so calibrate by moving the phone in a figure of eight and stand away from metal. The Sun method needs no compass: at the listed times the Sun is exactly in the Qibla direction, or exactly behind you facing it.
Private by design
Privacy
Everything runs in this page and stays on your device. Your location is used in this page and kept out of the link.
This page also shows Google ads, which can use cookies. Privacy and cookies explains how.
Questions
Is the Qibla bearing from true north or magnetic north?
From true north. A phone compass may correct for the difference where the browser supports it; otherwise use the Sun times or a map for the most reliable direction.
Why does the phone compass not start?
On iPhone, press Use phone compass and allow motion access. Some browsers and computers have no compass; use the bearing with a map or the Sun times.
How does the Sun method work?
At the times listed, the Sun is exactly in the direction of the Qibla, or exactly opposite it. Face the Sun, or put it behind you, at that moment.
Why does the Qibla from America point north-east?
The shortest path over the curved Earth from North America to Makkah heads north-east, which flat maps do not show.