Qibla compass
The bearing to Mecca from wherever you are, worked out with the great-circle formula and shown with the arithmetic behind it. A phone compass is affected by metal and by the building you are standing in, so treat the needle as a guide and the bearing as the answer.
Which way is the qibla?
The direction of the Kaaba in Makkah, as a bearing from true north. Pick a city, use your location, or type coordinates. On a phone you can also hold the device flat and let the compass turn.
Qibla bearing from true north
--°
Compass point
--
Distance to Makkah
--
From
--
Read this before trusting a phone compass.
- The bearing above is calculated from the shortest path over the globe. On a flat map that line looks wrong, which is why the qibla from Europe points further north than people expect. From Brussels it is roughly east-southeast, not south-east.
- A phone compass reads magnetic north, not true north. In Belgium the difference is currently small, around 2 degrees east, but it is not zero and it changes with time and place.
- Metal, speakers, phone cases, cars, reinforced concrete and lifts all pull a phone compass off. If the needle drifts while you stand still, do not trust it.
- This is a calculation, not a ruling. If you are in a mosque, pray with the congregation and the mihrab, not with your phone.
Kaaba coordinates used: 21.4225 N, 39.8262 E. Bearing is the initial great-circle heading,
computed in your browser. Distance uses a mean Earth radius of 6371 km. Nothing is sent
anywhere, and your location is not stored.