How to Find the Qibla Direction: Phone, Compass or Sun
Learn how to find the Qibla direction with a phone app, a magnetic compass, the sun or your local mosque, plus how to calibrate your compass for accuracy.
You've arrived at a hotel, a friend's home or a new office, and it's time to pray. Which way is the Kaaba? Facing the Qibla is a condition of salah, so it's natural to want to get it right. The good news is that learning how to find the Qibla direction is easier than it looks, even without internet.
This guide covers four reliable methods: a phone compass app, a magnetic compass with your city's Qibla bearing, the sun on the two days a year it passes over the Kaaba, and simply asking your local mosque. You'll also learn how to calibrate your phone so the reading is accurate.
Find the Qibla offline with Zikrly: Download it on Google Play. The sensor-calibrated Qibla compass works without internet.
Quick answer: The easiest way to find the Qibla direction is a Qibla compass app on your phone. Calibrate the compass by moving your phone in a figure-8, keep it flat and away from metal and magnets, then turn until the pointer lines up. Without a phone, use a magnetic compass and your city's Qibla bearing, or ask your local mosque.
First, understand which way the Qibla really is
The Qibla is the direction of the Kaaba in Makkah. Because the Earth is a sphere, that direction follows the shortest path across the globe, called the great circle. It's not the straight line you might draw on a flat world map.
That's why the Qibla from North America is roughly northeast, not southeast as a flat map suggests. The shortest route from New York to Makkah passes up over the North Atlantic.
Here are approximate Qibla bearings for a few cities, measured clockwise from true north:
| City | Approximate Qibla bearing | General direction |
|---|---|---|
| New York | 58° | Northeast |
| Toronto | 55° | Northeast |
| Chicago | 49° | Northeast |
| Los Angeles | 24° | North-northeast |
| London | 119° | Southeast |
| Lagos | 63° | East-northeast |
| Karachi | 268° | West |
| Kuala Lumpur | 293° | West-northwest |
| Sydney | 277° | West |
These are rounded figures for each city center. A Qibla app calculates the exact bearing from your own location. If you'd like to understand the math, read how astronomical prayer times and Qibla algorithms work.
Method 1: Use a Qibla compass app on your phone
This is the quickest method for most people. Your phone combines your location with its magnetometer (the compass sensor) to point toward Makkah.
To get an accurate reading:
- Calibrate the compass. Move your phone slowly in a figure-8 motion a few times. This helps the sensor adjust to the magnetic field around you.
- Hold the phone flat, parallel to the ground.
- Move away from metal and magnets. Steel tables, car interiors, speakers, laptops and magnetic phone cases can all throw the reading off.
- Turn slowly until the app shows you're facing the Qibla.
- Check twice. Step a meter or two to the side and check again. If the direction jumps, something nearby is interfering.
When choosing the best Qibla direction app for Android, look for one that asks you to calibrate, works offline, and explains how it uses your location.
Method 2: Use a magnetic compass and your Qibla bearing
If you want to know how to find the Qibla direction in a compass without a phone app, you need two things: a compass and your city's Qibla bearing (from a table, a mosque or a trusted website).
- Find your Qibla bearing, for example 58° in New York.
- Hold the compass flat and away from metal.
- Turn until the needle points to north, matching the N on the dial.
- Find the bearing on the dial (58°) and face that direction.
One important detail: Qibla bearings are usually given from true north, while a magnetic compass points to magnetic north. The difference, called magnetic declination, can be several degrees or more depending on where you live. Look up your local declination and adjust. Many phone apps handle this for you automatically.
Method 3: Use the sun on the days it passes over the Kaaba
Twice a year, the sun passes almost directly over the Kaaba at the time of Dhuhr in Makkah. At that moment, anyone who can see the sun can find the Qibla by facing toward it, because the direction to the sun is the direction to Makkah.
This happens approximately:
- Around 27 or 28 May, at about 12:18 pm Makkah time (9:18 am UTC)
- Around 15 or 16 July, at about 12:27 pm Makkah time (9:27 am UTC)
To use it:
- Convert the time to your local time zone.
- At that moment, stand a straight stick or pole upright on level ground.
- The shadow points directly away from the Kaaba. Face the opposite direction, toward the sun, and you're facing the Qibla.
- Mark the direction on the ground or note a landmark for later.
This method is approximate, and it only works where the sun is above the horizon at that time. That covers most of Africa, Europe and Asia, but not the Americas or much of Oceania. Many mosques and astronomers publish the exact time each year, so check locally if you plan to use it.
Method 4: Ask your local mosque
This is often the most reliable method of all. Mosques are usually built facing the Qibla, and the mihrab marks the direction. In a new area, you can line yourself up with a nearby mosque, ask the imam, or ask local Muslims which way they pray.
Scholars generally teach that you should make a sincere effort to find the Qibla with the means you have. If you've done your best and later learn you were slightly off, many scholars say your prayer is still valid, while views differ on some cases. If this situation comes up, ask a local scholar. When you're on the road, our guide to praying while traveling covers more.
Quick troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Pointer keeps spinning | Compass not calibrated | Move the phone in a figure-8 |
| Direction changes when you move | Metal or magnets nearby | Step away from tables, cars and speakers |
| Reading looks far off | Magnetic case or wrong location | Remove the case and check location settings |
| App and mosque disagree | Phone sensor error | Trust the mosque, then recalibrate |
How Zikrly helps
Zikrly includes a Qibla compass built for everyday use:
- Sensor-calibrated direction. The compass points to the Kaaba from anywhere, using your phone's sensors.
- Works offline. Once your location is set, you can find the Qibla without internet. That's useful on flights, in remote areas or when roaming.
- Location on your device. Your location is used on your device only, to calculate prayer times and the Qibla direction, and is never tracked, sold or shared.
- Prayer times and adhan in the same app. See Fajr through Isha with a choice of MWL, ISNA, Umm al-Qura, Karachi or Egypt methods, and get an adhan that plays on time even when the app is closed.
- Dhikr after you pray. Finish your salah with the tasbih using the 3D counter and a 33 target.
- No account needed. Open it and find the Qibla.
Zikrly is free and supported by ads, and an optional yearly plan removes them. See all features on the Zikrly app page.
FAQ
How do I check the Qibla direction on my phone?
Open a Qibla compass app, calibrate by moving your phone in a figure-8, hold it flat away from metal, and turn until the app shows you're facing the Qibla.
Which direction is the Qibla from the USA?
Roughly northeast from most of the US and Canada, because the shortest path to Makkah crosses the North Atlantic. From New York it's about 58° from true north.
Can I find the Qibla without internet?
Yes. Many apps, including Zikrly, work offline once your location is set. You can also use a magnetic compass, the sun method, or ask a local mosque.
Why does my Qibla app show a different direction each time?
Usually the compass needs calibrating, or metal and magnets nearby are interfering. Recalibrate and move to an open spot.
What if I prayed in the wrong direction by mistake?
Many scholars say that if you made a sincere effort, your prayer is valid. Views differ on the details, so ask a local scholar about your situation.
Face the Qibla with confidence
Finding the Qibla takes a moment once you know how. Calibrate your phone, understand your general direction, and keep a backup method for when technology fails.
Download Zikrly on Google Play and keep an offline Qibla compass in your pocket wherever you go.

Experience Zikrly Today
A luxury digital Tasbeeh counter crafted with realistic 3D tactile beads, authentic daily Duas, physical sound haptics, precise prayer times, and Qibla direction.