Qibla Direction Finder

Find the Qibla direction (bearing to the Kaaba) and distance from your city.

Last updated:

โ€”from true north
Compass direction
โ€”
Distance to the Kaaba
โ€”

Bearing is from true north, not magnetic north โ€” if you use a phone compass, check whether it shows true or magnetic north.

Qibla direction finder

The Qibla is the direction Muslims face during prayer, toward the Kaaba in Mecca. This Qibla direction finder calculates the exact compass bearing and great-circle distance from any of the cities in the list, using standard spherical navigation formulas.

How to use it

  1. Choose your city from the list.
  2. Read the bearing (in degrees from true north) and the nearest compass direction.

How the bearing is calculated

The tool computes the initial great-circle bearing from your cityโ€™s coordinates to the Kaaba (21.4225ยฐN, 39.8262ยฐE) using the standard spherical trigonometry formula for navigation, the same approach used by GPS and aviation systems for long-distance bearings.

Source: Standard great-circle bearing formula; coordinates for the Kaaba from publicly available geographic references. Spot-checked against commonly published Qibla directions for several cities before publishing. Read the full disclaimer.

Rate this tool

Frequently asked questions

What does the Qibla direction mean?
Itโ€™s the compass bearing you should face to point toward the Kaaba in Mecca, Saudi Arabia, which Muslims face during prayer (salah). Itโ€™s calculated as the shortest great-circle path across the globe, not a straight line on a flat map.
Is the bearing from true north or magnetic north?
True north. A phone or compass app may show magnetic north by default, which can differ from true north by several degrees depending on your location โ€” check your compass appโ€™s settings for a "true north" option if precision matters.
Why does the direction look unusual from some cities?
Because the shortest path over a sphere doesnโ€™t match a straight line on a 2D map. From much of East Asia, for example, the shortest route to Mecca runs more northwest than a flat map would suggest โ€” this is simply how great-circle navigation works.