"Whatever is between the east and the west is Qibla."
How to Calibrate Your Qibla Compass
-
1
Avoid Magnetic Interference: Keep your smartphone away from magnetic phone cases, laptops, speakers, or metal tables that distort the internal magnetometer.
-
2
Perform Figure-8 Calibration: Hold your phone and wave it smoothly in a figure-8 motion in the air 3 to 5 times to reset the 3-axis magnetic sensor.
-
3
Flat or Upright Alignment: Hold the device either flat parallel to the ground or upright in front of you—3D quaternion sensor fusion automatically adjusts the needle toward Mecca.
Qibla Calculation & Accuracy FAQ
How is the Qibla direction calculated? +
Qiblore computes the shortest Great Circle forward azimuth on the Earth's sphere between your real-time GPS coordinates and the Kaaba in Masjid al-Haram, Mecca (21.4225° N, 39.8262° E).
Does it work when holding the phone upright or flat? +
Yes. Qiblore uses 3D Quaternion Sensor Fusion and Euler rotation matrix tilt compensation to keep North and Qibla accurate in both flat and upright postures.
What if my phone does not have a compass sensor? +
If a device lacks a hardware magnetometer, Qiblore still calculates your exact Qibla Angle in degrees from True North and automatically switches to GPS Movement Bearing when you walk outdoors.