Which way the Kaaba is, free
The direction of the Kaaba from anywhere, as a bearing from true north, with the great-circle line drawn on a map and the distance in kilometres.
Makkah
Bearing from true north
This is a true bearing. A phone's compass points to magnetic north, which differs from true north by an amount that changes with where you stand.
- A straight line on a flat map would say
- 172.4°
- The sun stands along the qibla at
- 11:46
- A shadow points along the qibla at
- —
- The sun stands over the Kaaba itself on
- 28 May 2026 · 15 Jul 2026
Stand a stick upright at that minute: the shadow is the line. This needs no compass and cannot be wrong about the magnetic field.
What the dial is showing
The figure is a true bearing: degrees clockwise from true north, measured along the great circle — the shortest line on the surface of a sphere. It is not the direction a flat map appears to give. From London the great circle to Mecca leaves towards 119°; a straight line drawn on a Mercator map points towards 134°, fifteen degrees further south. From New York the difference is starker still: the qibla is north-east, at 58°, while the map says east-south-east. Mosques aligned from flat maps have been built facing the wrong way for exactly this reason, and some have been re-aligned since.
How to find the direction without any compass
This is the honest instrument, and it is older than the compass. Twice a day the sun stands on the line of the qibla — once along it, once opposite — and at those two minutes a shadow on the ground gives you the direction with nothing but a stick.
- Read the two times under the dial. They are for your city and today, in your city's own clock.
- Stand anything straight upright on level ground: a stick, a bottle, a pencil in a lump of clay.
- At the first time, the shadow points away from Mecca; at the second it points along it. A line drawn through the shadow is the qibla line, and it will still be there tomorrow.
Where the figure is an em dash, the sun does not reach that bearing above the horizon on this date, which happens in winter at high latitudes and near the solstices for places far from Mecca's latitude.
The two days the sun stands over the Kaaba
On two days a year the sun passes directly over the Kaaba itself. At the moment it does, anywhere on earth where the sun is visible, every vertical shadow lies along the qibla. The dates move by a day with the leap year, so the page computes them rather than printing them from memory: in 2026 they fall on 28 May and 15 July. They are the simplest check there is, and they need no instrument of any kind.
If a printed table disagrees with this page
Three things explain nearly every difference. The table may give a magnetic bearing rather than a true one. It may use different coordinates for the city — a bearing computed for the city hall and one for a suburb twenty kilometres away differ by a fraction of a degree, and for places far from Mecca the fraction is smaller still. Or it may have been drawn from a flat map, in which case it is simply wrong, and by rather more than a fraction.
Sources
- The coordinates of the Kaaba used here: 21.4225° N, 39.8262° E
- The bearing
This page describes what the schools of law hold, with the source of each. It is not a fatwa. For your own case, ask a qualified scholar or your local imam.