Free Qibla & Kaaba Direction Tool
Qibla Direction Finder
Your location powers both the compass and prayer times — it stays in your browser and is never stored or sent.
More than an arrow
What makes this Qibla finder different
Most Qibla tools stop at a spinning arrow. This one adds a sun-based method for when your compass fails, a 3D globe view, built-in prayer times, saved locations, and fully private, in-browser calculation.
Live compass & exact bearing
Point your phone and the gold marker turns to the Qibla — with the exact degree bearing and distance to Makkah, not just a rough arrow.
Find the Qibla without a compass
No compass, or a steel building throwing yours off? Our sun-and-shadow method finds the Qibla from the sun’s position — something most finders can’t do.
See the path on a 3D globe
Watch the true great-circle route curve across the globe to Makkah, so the direction finally makes sense — a view you won’t find on other tools.
Prayer times, built in
Get today’s five daily prayer times for your exact location, with your own calculation method and Asr school — no separate app needed. Prefer to be reminded rather than check? See how a zikr ring taps at prayer time.
Save your places
Store home, work, or a travel destination and pull up the Qibla in a single tap on your next visit.
Private & offline-ready
Everything is calculated in your browser. Your location is never stored or sent, and it keeps working once the page has loaded.
Understanding the Qibla
What is the Qibla direction?
The Qibla is the direction Muslims face during salah (prayer): toward the Kaaba, the cube-shaped structure at the centre of the Sacred Mosque (Masjid al-Haram) in Makkah, Saudi Arabia. Wherever you are on Earth, the Qibla is a single compass bearing — and this tool calculates it from your exact location. Facing it is part of salah — why Muslims pray five times a day.
“So turn your face toward al-Masjid al-Haram. And wherever you are, turn your faces toward it.”
— Qur’an 2:144 (Surah al-Baqarah)
Step by step
How to find your Qibla direction
1
Allow your location
Tap “Find Qibla direction” and let your browser share your location. It stays on your device and is never uploaded.
2
Enable the compass
On a phone, allow motion & orientation access, then hold the device flat and level, away from metal or magnets.
3
Turn to the marker
Rotate until the gold Kaaba marker points to the top of the dial — you are now facing the Qibla.
4
No sensor? Use the bearing
On a desktop, read the degrees (e.g. 119°) and use any compass with North pointing up to face the Qibla.
The method
How the Qibla direction is calculated
Because the Earth is a sphere, the true direction to Makkah is rarely a straight line on a flat map. This tool uses the same great-circle method trusted by astronomers and navigators.
Target
21.4225° N, 39.8262° E
The fixed location of the Kaaba inside Masjid al-Haram in Makkah, used as the target for every bearing.
Method
Great-circle bearing
We compute the initial bearing of the shortest path across the globe using spherical trigonometry, measured clockwise from true north.
Accuracy
±5–15° on device
The calculation is mathematically exact; real-world accuracy depends on your GPS position and how well your phone’s compass is calibrated.
This direction is valid across the Hanafi, Shafi’i, Maliki, and Hanbali schools of jurisprudence — all agree on facing the Kaaba. The bearing is measured from true north, so a magnetic compass may read a few degrees off depending on your local magnetic declination. How phones and zikr rings actually work out the Qibla.
After every prayer
The Sunnah after each salah is to say SubhanAllah 33 times, Alhamdulillah 33 times, and Allahu Akbar 34 times. A handcrafted tasbih or smart zikr ring keeps the count effortless, so your heart stays present in remembrance. How a smart tasbih ring keeps the count.
Quick reference
Qibla direction from major cities
Approximate Qibla bearing (from true north) and great-circle distance to Makkah for cities around the world. Use the tool above for your exact location.
City
Qibla direction
Distance
London, UK
ESE · 119°
4,794 km
Paris, France
ESE · 119°
4,496 km
Istanbul, Türkiye
SSE · 152°
2,405 km
New York, USA
ENE · 58°
10,306 km
Toronto, Canada
NE · 55°
10,496 km
Chicago, USA
NE · 49°
11,146 km
Los Angeles, USA
NNE · 24°
13,424 km
Cairo, Egypt
SE · 136°
1,287 km
Lagos, Nigeria
ENE · 63°
4,251 km
Johannesburg, SA
NNE · 15°
5,446 km
Dubai, UAE
WSW · 258°
1,631 km
Karachi, Pakistan
W · 268°
2,800 km
Dhaka, Bangladesh
W · 278°
5,172 km
Jakarta, Indonesia
WNW · 295°
7,920 km
Kuala Lumpur, Malaysia
WNW · 293°
6,974 km
Sydney, Australia
W · 277°
13,236 km
Frequently asked
Qibla direction — your questions answered
What is the Qibla?
How do I find the Qibla direction from my location?
How can I find the Qibla without a compass?
Why doesn’t the Qibla point straight toward Mecca on a flat map?
How accurate is this Qibla finder?
Is my prayer valid if I am slightly off from the exact Qibla?
Does the Qibla use true north or magnetic north?
What are the coordinates of the Kaaba?
How far is the Kaaba from my location?
Can I use this Qibla compass offline?
How do I calibrate my phone’s compass?
Can I use Google Maps to find the Qibla?
Why do two Qibla apps show slightly different directions?
Does this Qibla finder also show prayer times?
What makes this Qibla finder different from other apps?
About this tool
Method: great-circle (initial) bearing computed with spherical trigonometry, measured clockwise from true north. Target: the Kaaba at 21.4225 degrees N, 39.8262 degrees E in Masjid al-Haram, Makkah. Distances use the haversine formula. Real-world accuracy depends on your device’s GPS position and magnetic compass calibration.
Last updated 10 July 2026 · Built by Weslamic for the global Muslim community.