Getting your location…
The Qibla is computed as the great-circle (shortest-path) bearing to the Kaaba
(21.4225°N, 39.8262°E). The compass needle uses your device's orientation where available;
a phone gives the most reliable heading. Verify with a known-correct qibla when precision matters.
Rashdul Qibla — the sun over the Kaʿbah
Twice a year the sun stands directly above the Kaʿbah. At that exact moment, a plumb line or any vertical shadow anywhere the sun is up points straight away from Mecca — the simplest qibla check there is, needing no instrument at all.
Computing…