the way you are facing
N
S
E
W
NE
NW
SE
SW
Which way is the Qibla?
Tap the button and allow location
QR code for 123compass.org

This tool uses the compass inside your phone.
Scan the code to open 123Compass on your phone, then choose Qibla from the menu.

–Qibla bearing
–Magnetic bearing
–Distance
  1. Tap Find Qibla and allow location, and motion access if asked.
  2. Hold your phone flat and turn your body until the green arrow points straight up.
  3. When the ring turns green, the top of your phone points to the Kaaba.

Check another place

Type a latitude and longitude. The Qibla for that place appears as you type.

How to find the Qibla with your phone

Tap Find Qibla and allow location, and motion access if your phone asks for it. Hold the phone flat, like a plate. The green arrow with the Kaaba at its tip shows the Qibla; turn your whole body, phone and all, until the arrow points straight up the screen and the ring turns green. The top edge of your phone is then pointing toward the Kaaba.

The words above the buttons tell you which way to turn and by how much, so you do not need to read the dial. The page buzzes once when you are lined up, on phones that support it.

No compass in your device?

On a laptop, or a phone with no compass sensor, the page still gives the exact Qibla bearing for your location, and a sun line: where the sun is right now and how far to turn from it. Face the sun, turn by that amount, and you are facing the Qibla. In daylight this is often more trustworthy than a phone compass indoors.

Checking another place

Type a latitude and longitude in the box to get the Qibla for a home you are moving to, a hotel, or a prayer room you are setting up. The bearing and distance update as you type.

Qibla from some cities

CityBearing from true northRoughly
New York58°east-northeast
London119°east-southeast
Istanbul152°south-southeast
Cairo136°southeast
Lagos63°east-northeast
Karachi268°west
Delhi267°west
Mumbai280°west
Kolkata278°west
Dhaka278°west
Kuala Lumpur293°west-northwest
Jakarta295°west-northwest
Sydney277°west

Things people ask

How is the Qibla direction worked out?

The page takes your position and the position of the Kaaba in Mecca (21.4225° N, 39.8262° E) and works out the shortest path between them over the curved surface of the Earth, called the great-circle route. The direction in which that path leaves your location is the Qibla. This is the method used by mosques and by national religious authorities around the world.

Why is the Qibla northeast from North America and not southeast?

Because the Earth is a sphere. On a flat map Mecca looks southeast of New York, but the shortest route curves north over the Atlantic, the same way a flight from New York to Jeddah does. From New York the Qibla is about 58° from north, which is roughly northeast. From London it is about 119°, and from Jakarta about 295°.

How accurate is it?

The direction itself is exact for your position; even a rough location only changes it by a tiny fraction of a degree. The weak link is the phone's compass, which is typically good to within 5 to 10 degrees and is easily disturbed by metal, magnets and electronics. Step away from cars, steel furniture and speakers, remove a magnetic case, and wave the phone in a figure of eight before you rely on it. Where it matters, check against the sun line or a mosque nearby.

Can I find the Qibla without a compass?

Yes. The page shows where the sun is at this moment and how far to turn from it. Stand facing the sun, then turn by the amount shown. If you carry a hand compass, use the magnetic bearing tile: turn the compass until the needle sits on north, and the Qibla is at that number on the dial.

Is the direction shown from true north or magnetic north?

Both are given. The main bearing is from true north, which is what maps and Qibla tables use. A compass needle points to magnetic north, which is a few degrees off in most places, so the page works out the difference for your location and corrects the live arrow for you. The magnetic bearing tile is the number to use with a hand compass.

Is my location stored?

No. Your position is used inside your browser to do the calculation and is not sent to 123Compass or kept anywhere.