Qibla Direction Finder
Find the direction of the Qibla from your location, in degrees from North.
Reviewed by the ToolNestr Editorial Team — July 2026
How the Qibla finder works
The Qibla is the direction Muslims face during prayer — towards the Kaaba in the Sacred Mosque of Makkah. This finder calculates the exact compass bearing from wherever you are to the Kaaba, located at latitude 21.4225° north and longitude 39.8262° east. You can let your device share your location, or type your latitude and longitude (or your city’s coordinates) by hand. Either way, the calculation runs on your device and nothing is stored.
The bearing is computed using the great-circle formula, which gives the shortest path across the curved surface of the Earth. The result is an angle measured clockwise from true north — for example, a Qibla of 58° means you face roughly east-northeast. The tool also names the nearest compass direction and draws a compass with a needle pointing towards the Kaaba.
If your phone has a magnetometer, you can enable the live compass so the needle aligns with the real world as you turn. Phone compasses can drift near metal, magnets and electronics, so step outside, hold the device flat, and calibrate it by moving it in a figure-of-eight if the reading seems off. For a fixed reference you can always rely on the calculated bearing in degrees.
Tips for an accurate reading
Avoid interference
Keep away from cars, steel furniture, speakers and laptops. Magnetic fields nearby can pull a compass several degrees off.
Use the degree reading
If the live compass is unreliable, line up the calculated bearing with a separate compass or a known landmark direction.
Related tools
Frequently asked questions
How is the Qibla direction calculated?
It uses the great-circle (shortest path) bearing from your coordinates to the Kaaba at 21.4225°N, 39.8262°E. This is the standard method used by mosques and Qibla apps to give a single compass direction.
How accurate is it?
The calculated bearing is very accurate. The live compass depends on your device’s magnetometer, which can drift near metal or electronics — move outdoors and away from interference, and calibrate your phone for best results.
Can I use it without GPS?
Yes. Enter your latitude and longitude manually, or your city’s coordinates, and the tool will calculate the bearing without needing location access.
What is the difference between magnetic and true north?
The bearing is measured from true (geographic) north. A magnetic compass points to magnetic north, which differs by a local angle called declination. Many phone compasses correct for this automatically.
Sources & references
This tool uses standard formulas and reference values from:
- • The Qur’an — e.g. Surah an-Nisa (4:11–12, 4:176) for the fixed inheritance shares (fara’id).
- • Sahih al-Bukhari & Sahih Muslim — hadith on inheritance, zakat and nisab thresholds.
- • AAOIFI and recognized fiqh councils (e.g. Islamic Fiqh Academy) for contemporary rulings. aaoifi.com
Rulings differ between scholars and schools (madhahib), and calculated astronomical times/dates may differ from local sighting. Confirm with a qualified scholar before acting.