Qibla Direction Finder on a Map
Find the Qibla direction from Dubai, Riyadh, Doha or anywhere: the bearing from true north, a line to the Kaaba on the map, and the distance to Makkah.
How it's calculated
The Qibla is the direction of the Kaaba in Makkah. It is calculated as the start of the shortest path over the Earth's surface (a great circle) from your location to the Kaaba, measured clockwise from true north:
- Cities use their published coordinates; with your location, the coordinates are rounded to about 1 km and never stored.
- The distance is along the same great circle, on a sphere of the Earth's mean radius.
- A phone compass points to magnetic north, which can differ from true north by a few degrees. Where you can, line up with the map's line or a landmark.
Frequently asked questions
Is the bearing from true north or magnetic north?
True north, as on the map. A phone compass shows magnetic north, which can differ from true north by a few degrees, so line up with the map where you can.
How is the direction calculated?
It is the shortest path over the Earth's surface (a great circle) from your location to the Kaaba, measured clockwise from north.
Related tools
- Prayer Times in the UAE, Saudi Arabia and the GulfFajr, Dhuhr, Asr, Maghrib and Isha for any Gulf city or location
- Ramadan Timetable 2027 (Imsakiya): Suhoor and Iftar TimesFajr (suhoor ends) and Maghrib (iftar) for every day of Ramadan
- Map Area & Distance CalculatorDraw on a map to measure area and distance