Find the accurate Qibla direction from any city or GPS coordinate worldwide using spherical trigonometry toward the Holy Kaaba (21.4225° N, 39.8262° E) in Makkah.
How Qibla Bearing & Distance to the Kaaba Are Calculated
Using the Great-Circle initial bearing formula between your latitude/longitude and the Sacred Kaaba in Makkah (21.422487° N, 39.826206° E), we compute the exact clockwise angle from True North (0°–360°) and the Haversine distance in kilometers.
Using a Device Compass Safely
Mobile magnetometers can be affected by metal desks, magnetic phone cases, or indoor electronics. Always verify against the displayed degree bearing from True North if device orientation is unavailable.
What if my browser or desktop does not have a compass sensor?
Our Qibla Finder always calculates and displays the exact degree angle from True North (0° = North, 90° = East, 180° = South, 270° = West) and visual dial for any selected city or coordinate.