HomeGuides › Find Qibla Direction

How to Find the Qibla Direction with Your iPhone — Anywhere, Even Offline

Updated July 2026 · 5 min read

The qibla is the direction of the Kaaba in Mecca (21.4225°N, 39.8262°E). Your iPhone can find it in seconds: a qibla compass computes the great-circle bearing from your location to the Kaaba and points you there — no internet required.

Hayya qibla compass showing 118 degree bearing and 4794 km distance to the Kaaba
Hayya's qibla compass: bearing, distance, haptics

Find the qibla in 4 steps

  1. Open the Qibla tab in Hayya. The bearing to the Kaaba is calculated on your device from your coordinates — it works in airplane mode.
  2. Hold your iPhone flat, away from metal desks, speakers, laptops and magnetic cases.
  3. Calibrate if prompted by moving the phone in a figure-eight.
  4. Rotate slowly until aligned. Hayya taps your palm with haptic feedback the moment you're facing Mecca, and shows the exact bearing (e.g. 118°) and distance (e.g. 4,794 km).

Why the qibla isn't always "southeast"

The qibla follows the great-circle route — the shortest path across the earth's surface — not a straight line on a flat map. That's why from much of North America the qibla points surprisingly north-east, not east. A proper qibla finder handles this math for you; eyeballing a world map will mislead you.

Common compass problems (and fixes)

Praying while travelling

Because Hayya's qibla compass, prayer times (12-month cache) and full Quran all work offline, it's built for flights, road trips and umrah travel — no roaming data needed. Check the qibla once at your hotel, note a landmark, and you're set for your stay.

Hayya app icon

Qibla, prayer times & Quran — fully offline

Haptic qibla compass with bearing and distance to the Kaaba. Private by design. Free.

Download Hayya Free

FAQ

Does a qibla compass work without internet?

Yes. GPS and the magnetometer are offline sensors; the bearing is pure math. Hayya never sends your location anywhere — the calculation happens on your iPhone.

Why does my qibla app point the wrong way?

Almost always interference or calibration. Step away from metal, remove magnetic cases, recalibrate with a figure-eight motion, and compare readings near a window.

What if I can't determine the exact direction?

Make your best effort. The scholarly consensus is that facing the general direction of the Kaaba is sufficient when precision isn't possible.