How to find the Qibla direction

The Qibla is the direction of the Kaaba in Makkah. From Pakistan it is roughly to the west, a little to the south; from elsewhere it is different, and it is not always the direction a flat map suggests. Here are four ways to find it, from the simplest to the most exact.

1. Follow a masjid

If there is a masjid nearby, its mihrab and its rows already face the Qibla. At home, lining up with the direction of your neighbourhood masjid is the simplest method there is.

2. A compass and the bearing for your city

Every place has a Qibla bearing: the number of degrees, clockwise from north, in which the Kaaba lies. A Qibla app or table gives the bearing for your city. With an ordinary compass:

  1. Hold the compass flat and let the needle settle.
  2. Turn the dial so that north on the dial sits under the needle.
  3. Find your city’s bearing on the dial and face that way.

The bearing follows the shortest path over the globe, which is why from North America the Qibla is to the north-east, not the south-east as a flat map might suggest.

3. The sun, twice a year

Twice a year the sun passes almost directly over the Kaaba: around 27 or 28 May at about 12:18 pm Makkah time, and around 15 or 16 July at about 12:27 pm Makkah time. At that moment, anywhere the sun is visible, the direction of the sun is the direction of the Qibla, and the shadow of an upright stick points directly away from it. Convert the time to your own time zone, stand a stick straight up, and mark the shadow.

This needs no instrument and is not affected by metal, which makes it a good way to check a room once and mark it for good.

4. A phone

A phone works out the bearing from your location and uses its built-in compass to show the direction as an arrow. It is quick, and it is as good as the phone’s compass at that moment.

What makes a compass wrong

If two readings disagree, take a third outdoors, away from buildings and cars.

How exact does it need to be?

This page covers how to find the direction. How exact one must be, and what to do when you cannot tell, are questions for your local imam.

In the Masjid app

The Qibla screen works without internet. It works out the direction from your masjid’s location, or from where you are with "Use where I am now", shows it as an arrow and also writes it in words. It uses the phone’s compass as it is, so the advice above about metal and calibration applies; "Calibrate the compass" on the screen shows the steps. How to use Qibla in the app.

Questions people ask

Which direction is the Qibla from Pakistan?

Roughly west, a little to the south. The exact bearing differs from city to city, so use the bearing for your own city.

How can I find the Qibla without a compass?

Follow the direction of a nearby masjid. Or use the sun: around 27 or 28 May and 15 or 16 July, at about midday Makkah time, the sun is over the Kaaba and the shadow of an upright stick points directly away from the Qibla.

Why does my phone show a different Qibla in different rooms?

Metal in the building and nearby magnets disturb the phone’s compass. Move away from them, calibrate with a figure of 8, and check again outdoors.

Is the Qibla always towards Makkah on a map?

It follows the shortest path over the globe, which on a flat map can look surprising. From North America, for example, it is to the north-east.

The Masjid app

A free app for neighbourhood masjids, with no ads: jamaat times and reminders, announcements, and giving where every rupee is checked by the treasurer. The app never handles money.

Coming soon on Google Play