Find Qibla Direction with Your Camera Online (AR)
Point your phone camera to see the Qibla arrow and the Kaaba on screen with high accuracy, with no app download or signup.
Or
🔒 Privacy
Location saved locally only (GPS is rounded) for 30 days.
How to find the Qibla with your camera in 3 steps
The camera Qibla tool uses augmented reality (AR) to combine the rear camera feed with your phone's compass and GPS, showing the Kaaba direction directly in front of you. If you prefer a digital compass without the camera, use the Qibla compass.
- 1
Set your location: tap “Automatic GPS” for the most accurate bearing, or choose your city from the list (150+ Arab and world cities).
- 2
Allow camera and sensor access: approve the camera permission; on iPhone, also allow motion-sensor access.
- 3
Turn the phone toward the gold arrow: move slowly left or right with the arrow; when the angle matches, the Kaaba indicator turns green to confirm you are facing the Qibla.
* Privacy note: camera processing and bearing calculation happen locally in your browser only; no images or location data are uploaded to any server.
How to get the most accurate compass reading
Qibla accuracy depends on your phone's internal compass, which can be affected by nearby magnetic fields. For an “Excellent” quality badge:
- Calibrate with a figure-8: hold the phone flat and move it in a figure-8 for a few seconds to reset the sensor.
- Move away from magnetic interference: avoid metal poles, air conditioners, large speakers, and computers.
- Remove magnetic cases: some phone cases and car mounts contain magnets that visibly deflect the compass.
- Move the phone slowly: avoid sudden spins, and wait two seconds for the quality badge to settle.
Qibla angles for major Arab and world cities
If you are using a manual compass or want to check the numeric bearing (clockwise from true north), here are the approximate Qibla angles for major cities:
| City | Country | Qibla angle (from north) | General direction |
|---|---|---|---|
| Riyadh | Saudi Arabia | 243.8° | Southwest |
| Jeddah | Saudi Arabia | 101.1° | East |
| Dammam | Saudi Arabia | 244.1° | Southwest |
| Abha | Saudi Arabia | 321.9° | Northwest |
| Medina | Saudi Arabia | 175.6° | South |
| Cairo | Egypt | 136.1° | Southeast |
| Alexandria | Egypt | 135.4° | Southeast |
| Dubai | UAE | 258.2° | West |
| Abu Dhabi | UAE | 260.2° | West |
| Doha | Qatar | 252.6° | West |
| Kuwait City | Kuwait | 224.6° | Southwest |
| Manama | Bahrain | 246.2° | Southwest |
| Muscat | Oman | 266.4° | West |
| Amman | Jordan | 160.8° | South |
| Jerusalem | Palestine | 157.2° | Southeast |
| Beirut | Lebanon | 161.9° | South |
| Damascus | Syria | 164.6° | South |
| Baghdad | Iraq | 199.8° | South |
| Khartoum | Sudan | 48.2° | Northeast |
| Rabat | Morocco | 94.6° | East |
| Casablanca | Morocco | 93.7° | East |
| Algiers | Algeria | 105.4° | East |
| Tunis | Tunisia | 112.7° | Southeast |
| Tripoli | Libya | 109.2° | East |
| Istanbul | Turkey | 151.6° | Southeast |
| London | United Kingdom | 119.0° | Southeast |
| Paris | France | 119.2° | Southeast |
| New York | USA | 58.5° | Northeast |
| Jakarta | Indonesia | 295.2° | Northwest |
| Kuala Lumpur | Malaysia | 292.5° | Northwest |
| Karachi | Pakistan | 267.7° | West |
Angles are approximate and calculated from the city center; they may vary slightly within a city. For your exact location, use the tool above or the Qibla compass.
Find the Qibla without internet or a compass (sun alignment)
If you are somewhere without a smartphone or compass sensor, there are two accurate astronomical ways to find the Qibla:
1The sun passing directly over the Kaaba
The sun passes almost directly over the Kaaba twice a year: around 28 May at 12:18 PM Mecca time, and around 16 July at 12:27 PM. At those times, the direct sunlight points toward the Qibla in every country where the sun is visible; the shadow of any vertical object points away from the Qibla.
2Use the sun or the North Star
Using your city's angle from the table above, find true north (with the North Star at night, or sunrise east and sunset west), then estimate the Qibla angle. This is for general orientation; the tool is more accurate for your exact location.
The exact alignment minute varies slightly by year; treat the time as an estimate and follow the sun when it is visible.
Camera Qibla FAQs
Is the camera Qibla tool accurate and reliable?
Yes. The tool uses the great-circle formula to calculate the shortest path from your location to the Kaaba, and shows an instant quality indicator (Excellent / Good / Approximate) so you can check your device sensor before praying.
Does it work on iPhone and Android without downloading an app?
Yes. It works directly in Safari on iPhone (iOS 13 or later) and Chrome on Android, with no app download.
Why is the camera screen black or the arrow missing?
This usually happens because the browser camera permission was denied or another app is using the camera. Open the site settings from the address bar, allow camera and motion-sensor access, then reload the page.
What if my device has no compass sensor (gyroscope)?
If your phone has no orientation sensor, or you are on a computer, the tool automatically shows the exact numeric Qibla bearing from your location so you can align it with a regular compass.
Am I being photographed or is my location saved?
No. The tool never captures or uploads images from your camera. The camera is only a live background on your device, and the location is stored locally in your browser to speed up future use; you can clear it at any time.
Qibla Lens app — an Android version that works outside the browser
If you want a faster Android experience for daily use, read the Qibla Lens guide: camera Qibla, prayer times, Quran, and adhkar in one app.
Read the Qibla Lens guide🔗 Related Tools
🔗 Share this tool
Share this free tool with friends — no signup required