Qibla Direction Finder

Calculate the approximate direction to the Kaaba from your coordinates, measured clockwise from true north.

How to use the direction

Enter your location coordinates, or tap Use my location and allow your browser to share them with this page. The calculation runs on your device; this tool does not store coordinates or send them to a Qibla API. Your browser may use its location service to find your position.

The angle is clockwise from true north: east is 90°, south is 180° and west is 270°. Use a compass set to true north to orient yourself. A magnetic compass needs a local declination correction. This page does not read your phone’s compass sensor.

Calculation method

Uses the initial great-circle bearing on a spherical Earth toward approximate Kaaba coordinates 21.4225° N, 39.8262° E. This is an approximate geographic direction; location accuracy and being very close to the Kaaba affect its usefulness. Near the Kaaba, follow the visible direction or local guidance.

References: great-circle bearing calculation and Qibla coordinate reference.