Qibla Direction Compass
Determine the exact orientation to the Holy Kaaba in Makkah from anywhere on Earth using spherical great-circle calculation and real-time device orientation.
Location — using live compass or place search
Qibla using your location • 58°
Active for: New York, USA
How to Calibrate Your Phone Compass
Hold your smartphone flat in your palm away from metal tables, magnetic phone cases, laptops, or speakers. Wave your phone in a Figure-8 motion three times in the air to recalibrate its internal magnetometer.
Using Without a Compass Sensor
Desktop computers calculate the exact Qibla bearing from True North via spherical trigonometry (Great Circle distance) (58°).
The Ruling on Facing the Qibla (Istiqbal al-Qiblah)
Facing the Holy Kaaba in Makkah is an essential prerequisite (Shart) for the validity of mandatory and voluntary prayers according to Islamic consensus (Ijma'). Allah commanded the Prophet Muhammad ﷺ:
“So turn your face toward al-Masjid al-Haram. And wherever you [believers] are, turn your faces toward it in prayer.” — Surah Al-Baqarah (2:144)
Mathematical Precision & Great Circle
Because the Earth is an oblate spheroid, the shortest path between any observer and the Kaaba follows the Great Circle arc rather than a straight line on a flat Mercator projection map.
Our tool evaluates the forward azimuth formula: θ = atan2(sin(Δλ)·cos(φ₂), cos(φ₁)·sin(φ₂) − sin(φ₁)·cos(φ₂)·cos(Δλ))
What If You Cannot Determine the Qibla?
Classical scholars note that when a traveler has made sincere effort (Ijtihad) through celestial cues or tools and prays according to their best judgment, the prayer remains completely valid even if subsequent measurements show slight divergence, as stated in the Hadith:
“Whatever is between the east and the west is Qibla [for the people of Medina].” (Tirmidhi 342)
Explore Related Islamic Tools & Study Guides
Continue your daily worship, Quranic study, and family learning with these interconnected Islamic utilities. Looking for companion tools? Pair this page with Prayer Times, Mosque Finder and Salah Tracker for a complete, privacy-first Islamic workflow.
Prayer Times
Accurate local Fajr, Sunrise, Dhuhr, Asr, Maghrib, and Isha schedules with countdown timer.
Mosque Finder
Locate nearby mosques and Islamic prayer spaces with distance and Qibla bearing.
Salah Tracker
Track your 5 daily obligatory prayers, Sunnah Rawatib, Qada bank, and consistency streaks.
Hijri Calendar
Umm al-Qura Islamic lunar calendar, Gregorian-Hijri date converter, and sacred events.
Daily Duas & Adhkar
Authentic Quranic and Prophetic supplications with Arabic audio, transliteration, and translation.
Holy Quran Reader & Audio
Read all 114 Surahs, 6,236 Ayahs, and 30 Juz in verified Uthmani script with independent translations in 6 languages and authentic Qari audio.
Quick Directory of All Islamic Tools:
Qibla Compass Frequently Asked Questions
Answers to common questions about magnetometer calibration, true north alignment, and Qibla rulings.

