✦ SUB-DEGREE ACCURACY • AR CAMERA ALIGNMENT

Ultra-Precise Kaaba Qibla Direction Finder

Geodesic great-circle azimuth calculation with World Magnetic Model (WMM) declination correction and live Augmented Reality camera alignment.

✦ SUB-DEGREE GEODESIC TELEMETRY

Pinpoint the Holy Kaaba with AR Precision

Facing the Qibla is an essential condition of Salah. Prayer integrates spherical trigonometry with Augmented Reality and geomagnetic declination correction to guide your prayer rug directly to Makkah.

فَوَلِّ وَجْهَكَ شَطْرَ الْمَسْجِدِ الْحَرَامِ ۚ وَحَيْثُ مَا كُنتُمْ فَوَلُّوا وُجُوهَكُمْ شَطْرَهُ
"So turn your face toward al-Masjid al-Haram. And wherever you are, turn your faces toward it." (Surah Al-Baqarah 2:144)
🌐

Geodesic Azimuth Formula

Calculates the shortest great-circle path to the Kaaba coordinates (21.4225° N, 39.8262° E) using forward azimuth spherical trigonometry.

🧲

Declination Correction

Integrates the World Magnetic Model (WMM) to calculate the precise angular difference between magnetic north and true geographic north at your coordinates.

📱

Augmented Reality (AR) View

Hold your camera upright to visualize a radiant golden beam of light extending through your physical room directly pointing across the globe to the Kaaba.

☀️

Solar Alignment Backup

When metal structures cause magnetic sensor interference, switch to Solar Qibla mode to verify direction using the live azimuth of the Sun.

🔄

Figure-8 Calibration

Visual on-screen calibration guides you to quickly neutralize environmental magnetic bias and achieve maximum compass sensor accuracy.

🛰️

100% Offline Capability

Whether you are on an international flight, desert highway, or remote mountain valley, Qibla calculations function fully without cellular service.

Frequently Asked Questions

Everything you need to know about Qibla direction accuracy and sensor calibration.

How does Prayer calculate the exact direction of the Kaaba? ▼
Prayer computes the great-circle geodesic azimuth between your exact GPS coordinates and the Holy Kaaba in Makkah (21.4225° N, 39.8262° E) using spherical trigonometry. It combines device gyroscope, accelerometer, and magnetometer sensor fusion with the World Magnetic Model (WMM) to eliminate magnetic declination error.
What is the Augmented Reality (AR) Qibla view? ▼
When you hold your phone upright, Prayer activates your camera feed and projects a glowing golden ray of light extending across your actual room directly toward the Kaaba in Makkah. This provides 100% visual certainty when laying down your prayer rug.
What should I do if indoor electronics interfere with my compass? ▼
Steel buildings and electronics can disrupt magnetic sensors. Prayer provides two immediate solutions: an on-screen Figure-8 calibration prompt, and an astronomical Sun-Position alignment backup that determines Qibla based on the Sun's live angle in the sky.
Does using the Qibla compass upload my location anywhere? ▼
Never. Location coordinates are queried in volatile memory strictly to calculate the spherical angle to Makkah and are immediately discarded. No GPS coordinates are ever transmitted to any external server.