Qibla Direction Finder
Find the Qibla direction, Qibla angle, and approximate compass degree by choosing a city or entering latitude and longitude.
Qibla angle = atan2(sin(Δlongitude) × cos(Kaaba latitude), cos(latitude) × sin(Kaaba latitude) - sin(latitude) × cos(Kaaba latitude) × cos(Δlongitude))
The calculation is based on the great-circle initial bearing angle between the user's latitude/longitude and the Kaaba coordinates. Magnetic declination is assumed to be 0 by default.
This result is for informational purposes. For precise Qibla determination, a reliable map, calibrated compass, or measurement by an authorized institution/expert should be preferred.
How Qibla Direction Is Calculated
Qibla direction is calculated as the initial great-circle bearing between your location and the Kaaba coordinates. The result is shown as degrees clockwise from north, which can be used with a compass.
- City presets give a quick estimate.
- Custom coordinates improve location precision.
- Magnetic declination adjusts the compass reading.
Using the Qibla Angle With a Compass
Compass apps read 0 degrees as north. Turn clockwise to the calculated Qibla angle to find the approximate direction. Phone compasses can be affected by metal objects, magnets, vehicles, and indoor interference.
Related Tools
Imsak and Prayer Times
A tool that calculates daily imsak and prayer times, the next time, and the remaining duration.
Friday Prayer Time Calculator
Calculate the estimated Friday prayer time based on noon time and sermon/congregation preparation duration.
Eid Prayer Time Calculator
Calculates the estimated Eid prayer time based on the sunrise time and waiting duration entered by the user.
Sunrise and Sunset Calculator
Calculates sunrise, sunset, day length, and twilight times using approximate astronomical methods based on date and location.