Qibla formula — documented
Formula: great-circle bearing from your latitude/longitude to the Kaaba (21.3891° N, 39.8579° E). Bearing = atan2(sin(deltaLon)×cos(lat2), cos(lat1)×sin(lat2) − sin(lat1)×cos(lat2)×cos(deltaLon)), converted to degrees 0–360° from North. Inputs are manual latitude/longitude — this page does NOT request your location, does NOT use a compass, and does NOT detect direction automatically. Use a physical compass and check with your mosque. Edge case: at the Kaaba itself bearing is undefined — tool shows 0°. High-latitude, magnetic declination, and device compass errors are NOT handled here.
Use this tool — calculate now
More options
Use the main tool above for this tool.
How this tool works
1. Enter / select your value above. 2. Tool calculates instantly. 3. Check example below. 4. If unsure, ask a qualified scholar.
Worked example
Enter latitude + longitude, get Qibla bearing to Makkah in degrees. For search tools, type a word and the tool filters instantly. For counter tools, tap and count rises.
Frequently Asked Questions
qibla direction calculator
Enter latitude + longitude, get Qibla bearing to Makkah in degrees.
qibla finder online
Enter latitude + longitude, get Qibla bearing to Makkah in degrees.
qibla direction pakistan
Enter latitude + longitude, get Qibla bearing to Makkah in degrees.
qibla bearing calculator
Enter latitude + longitude, get Qibla bearing to Makkah in degrees.
Related questions — try these too
- qibla direction calculator
- qibla finder online
- qibla direction pakistan
- qibla bearing calculator
- qibla direction london
- qibla direction usa
- how to find qibla
- qibla compass calculator
- qibla direction makkah
- qibla calculator free
Related tools
- Eid Prayer Calculator Tool
- Jumuah Time Calculator Tool
- Nafl Prayers Calculator Tool
- Prayer Rakats Calculator Tool
Source note — read carefully
Madhhab differences: Personal-use gold jewellery, Witr, Taraweeh, and other disputed items are NOT unanimous. This site shows the difference where known and says check a qualified scholar. It is an educational tool, NOT a fatwa authority.
UNVERIFIED items: Any claim on this site without a specific, verifiable source in the page should be treated as UNVERIFIED until a qualified scholar reviews it. No hadith number, Arabic text, or consensus claim has been invented for this page.
Guidance only, not a fatwa. Check with a qualified scholar for your own case. English only, no Arabic script.