Try the Qibla Camera Android app (faster, no browser)Free on Google Play

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. 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. 2

    Allow camera and sensor access: approve the camera permission; on iPhone, also allow motion-sensor access.

  3. 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:

CityCountryQibla angle (from north)General direction
RiyadhSaudi Arabia243.8°Southwest
JeddahSaudi Arabia101.1°East
DammamSaudi Arabia244.1°Southwest
AbhaSaudi Arabia321.9°Northwest
MedinaSaudi Arabia175.6°South
CairoEgypt136.1°Southeast
AlexandriaEgypt135.4°Southeast
DubaiUAE258.2°West
Abu DhabiUAE260.2°West
DohaQatar252.6°West
Kuwait CityKuwait224.6°Southwest
ManamaBahrain246.2°Southwest
MuscatOman266.4°West
AmmanJordan160.8°South
JerusalemPalestine157.2°Southeast
BeirutLebanon161.9°South
DamascusSyria164.6°South
BaghdadIraq199.8°South
KhartoumSudan48.2°Northeast
RabatMorocco94.6°East
CasablancaMorocco93.7°East
AlgiersAlgeria105.4°East
TunisTunisia112.7°Southeast
TripoliLibya109.2°East
IstanbulTurkey151.6°Southeast
LondonUnited Kingdom119.0°Southeast
ParisFrance119.2°Southeast
New YorkUSA58.5°Northeast
JakartaIndonesia295.2°Northwest
Kuala LumpurMalaysia292.5°Northwest
KarachiPakistan267.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

🔗 Share this tool

Share this free tool with friends — no signup required