QIBLA
Dubai WSW 258° 1,631 km Doha WSW 253° 1,269 km Kuwait City SW 225° 1,204 km Istanbul SSE 152° 2,405 km Cairo SE 136° 1,287 km Karachi W 268° 2,800 km Jakarta WNW 295° 7,920 km Kuala Lumpur WNW 293° 6,974 km London ESE 119° 4,794 km New York ENE 59° 10,306 km Toronto NE 55° 10,496 km Paris ESE 119° 4,496 km Berlin SE 137° 4,130 km Moscow S 176° 3,822 km Mumbai W 280° 3,452 km Delhi W 267° 3,835 km Dhaka W 278° 5,172 km Riyadh WSW 244° 790 km Jeddah E 96° 66 km Lagos ENE 63° 4,251 km Dubai WSW 258° 1,631 km Doha WSW 253° 1,269 km Kuwait City SW 225° 1,204 km Istanbul SSE 152° 2,405 km Cairo SE 136° 1,287 km Karachi W 268° 2,800 km Jakarta WNW 295° 7,920 km Kuala Lumpur WNW 293° 6,974 km London ESE 119° 4,794 km New York ENE 59° 10,306 km Toronto NE 55° 10,496 km Paris ESE 119° 4,496 km Berlin SE 137° 4,130 km Moscow S 176° 3,822 km Mumbai W 280° 3,452 km Delhi W 267° 3,835 km Dhaka W 278° 5,172 km Riyadh WSW 244° 790 km Jeddah E 96° 66 km Lagos ENE 63° 4,251 km

Type coordinates, get the bearing

Qibla Angle Calculator

Enter any latitude and longitude and get the Qibla bearing and distance to the Kaaba — worked out by hand, the same maths the compass tool uses, with no location permission needed.

Free · No app · No sign-up

Find your Qibla direction

Your location is used inside this browser only. It is never sent to our servers or stored.

Settings
Distance units
Tool appearance
Vibrate on alignment Only when the live compass is active and reliable.
Sound on alignment Only when the live compass is active and reliable.

A worked example: London

Take London at 51.5074° N, 0.1278° W and run it through the calculator:

  • Input: latitude 51.5074, longitude −0.1278
  • Bearing: 119.0° clockwise from true north
  • Distance: 4,794 km to the Kaaba
  • Compass point: ESE

The bearing says: from London, face 119° measured clockwise from true north — that’s 29° south of due east. The distance (4,794 km, about 2,979 miles) is the great-circle distance over the Earth’s surface. Try the same coordinates in any trusted reference and you’ll land within a fraction of a degree; the small differences between tools come from how precisely the Kaaba’s position is pinned down, not from the maths.

How to read the result

Bearing is the headline number: degrees clockwise from true north, 0 to 360. North is 0°, east 90°, south 180°, west 270°. A bearing of 119.0° sits just past east, toward south-east. If your compass reads magnetic north rather than true north, the two differ by your local magnetic declination — a few degrees in most places, and worth knowing about. The step-by-step guide covers this.

Distance is context, not a prayer requirement. It tells you how far away the Kaaba is along the shortest path, which is why the bearing shifts as you travel: New York faces 58.5° across 10,306 km, Karachi faces 267.7° across 2,800 km. Same Kaaba, different great circles.

Coordinate format

Enter decimal degrees: latitude from −90 to 90, longitude from −180 to 180. North and east are positive; south and west are negative. So:

  • London: 51.5074, −0.1278
  • Glasgow: 55.8642, −4.2518
  • Karachi: 24.8607, 67.0011 (east is positive)
  • Sydney: −33.8688, 151.2093 (south is negative)

If your source gives degrees, minutes and seconds, convert first: degrees + minutes/60 + seconds/3600, keeping the sign from the hemisphere. Out-of-range values are rejected rather than silently corrected — better an error than a wrong Qibla.

Where the numbers come from

Every result is a great-circle initial bearing to the Kaaba at 21.422487° N, 39.826206° E, on a spherical Earth with radius 6,371.0088 km, via the standard atan2 bearing formula and haversine distance. That’s the whole method — one deterministic formula, so identical coordinates always give identical results. The calculation guide explains the maths and its limits in plain language.

Keep going