How to use the Qibla Direction Finder
- 1
Set your location
Pick a city, type โlat, lonโ, or tap ๐ to use your deviceโs location.
- 2
Read the bearing
Degrees clockwise from true north, plus a 16-point direction such as WNW.
- 3
Check the distance
Great-circle distance to the Kaaba in kilometres.
- 4
Optional: live compass
On a phone, tap the compass button and turn until the ๐ arrow points to the top marker.
Features
Spherical maths
Initial great-circle bearing from your point to the Kaaba.
Distance
Haversine formula on a 6,371 km mean Earth radius.
Compass rose
Dial with N, E, S, W and 10ยฐ ticks.
Live heading
Uses the phoneโs orientation sensor where available.
Kaaba coordinates
21.4225ยฐ N, 39.8262ยฐ E.
Private
Your position is used only in the browser.
Who uses it โ and for what
New home
Mark the prayer direction in a room.
Hotels and travel
Find the Qibla in an unfamiliar city.
Prayer rooms
Set out a musalla at work or university.
Learning
See how great circles differ from map lines.
How the Qibla is calculated
The Qibla is the direction of the Kaaba in Masjid al-Haram, Makkah (21.4225ยฐ N, 39.8262ยฐ E). The correct direction is along the great circle โ the shortest path over the globe โ not a straight line on a flat map, which is why from North America the Qibla points north-east rather than south-east. The bearing is measured clockwise from true north: 0ยฐ is north, 90ยฐ east, 180ยฐ south and 270ยฐ west.
Using a compass
A magnetic compass points to magnetic north, which can differ from true north by several degrees depending on where you are (magnetic declination) โ in most of South Asia and the Middle East the difference is small (under 2ยฐ). On phones, tap Use live phone compass to rotate the dial as you turn; keep the phone flat and away from metal objects and speakers, and calibrate it by moving it in a figure-8 if the reading jumps. Your location is used only in your browser to calculate the bearing.
Why the great circle is used
On a globe, the shortest route between two points lies on a great circle โ a circle whose centre is the centre of the Earth, like the equator or any line of longitude. The bearing at your location along that route is the direction you face. Flat world maps stretch the far north and south, so a line that looks straight on the map is a different path (a rhumb line, which keeps a constant compass heading) and is longer. The difference is small for nearby places โ from Cairo the two bearings differ by about two degrees โ but grows with distance, which is why the Qibla from North America points north-east. This is the method most Islamic organisations and Qibla apps use, and it is what the tool calculates from your coordinates and the Kaabaโs.
Turning the bearing into a direction on the ground
- Bearings are from true north. 0ยฐ is north, 90ยฐ east, 270ยฐ west; 266.6ยฐ is just south of due west.
- Use a landmark. Once you know the direction, note a feature in the room โ a window corner or a wall โ and line up with it each time.
- A phone heading may differ. The live dial uses the phoneโs own sensor reading as it is; the tool does not correct it for magnetic declination, and nearby metal or electronics can disturb it.
- Precise coordinates matter little. Moving across a city changes the bearing by only a fraction of a degree.
For prayer times at the same location, see Prayer Times.
Worked examples
Indian cities
| City | Qibla bearing | Distance |
|---|---|---|
| Srinagar | 256.8ยฐ (WSW) | 3,695 km |
| Delhi | 266.6ยฐ (W) | 3,835 km |
| Kolkata | 278.2ยฐ (W) | 4,983 km |
| Mumbai | 280.1ยฐ (W) | 3,452 km |
| Hyderabad | 282.7ยฐ (WNW) | 4,070 km |
| Chennai | 287.9ยฐ (WNW) | 4,381 km |
From northern India the Qibla is slightly south of west; from the south it turns towards west-north-west.
Where a flat map misleads
From New York the tool gives 58.5ยฐ (ENE), 10,306 km. A straight line drawn on a standard Mercator world map would point about 101ยฐ โ east-south-east โ more than 40ยฐ away. From Los Angeles the difference is even larger: 23.9ยฐ (NNE) by great circle versus about 95ยฐ along the map line. From London the Qibla is 119.0ยฐ (ESE) and from Jakarta 295.2ยฐ (WNW).
Pro tips
- Tap ๐ for your exact position; the bearing updates as soon as permission is granted.
- On iPhone, the browser asks for motion and orientation permission when you start the live compass.
- If you are within half a kilometre of the Kaaba, the tool simply says you are there.
Glossary
- Bearing
- A direction measured clockwise from north in degrees.
- Great circle
- The largest circle on a sphere; arcs of it are the shortest paths.
- Rhumb line
- A path of constant compass bearing; straight on a Mercator map but longer.
Frequently asked questions
What is the Qibla direction from India?
Roughly west โ about 266ยฐ from true north in Delhi and 280ยฐ in Mumbai.
Why does the Qibla point north-east from the USA?
Because the shortest great-circle route to Makkah goes over the north Atlantic.
Is my location stored?
No, it is only used in your browser.
Why is the Qibla from Sydney almost due west?
The great-circle path from Sydney to Makkah heads west across the Indian Ocean at about 277.5ยฐ, although a flat map suggests north-west.
Does the bearing account for the Earth not being a perfect sphere?
It uses spherical formulas; the effect of the Earthโs slight flattening on the direction is very small for prayer purposes.
Last updated 2026-11-21 ยท Built by Vinayak Agarwal ยท Part of Travel & Outdoors (10 tools)