Skip to content

Qibla direction finder: the direction of the Kaaba from where you are

Find the Qibla in seconds from your phone or computer. Share your location or pick a city, and see the exact bearing to the Kaaba in Makkah, with a live compass on phones that have one. No app to install.

Quick answer

The Qibla is the direction of the Kaaba in Makkah, given as a compass bearing from true north. To find it from your location right now, tap "Use my location" below, or pick a city, to see the exact bearing in degrees, with a live compass arrow on phones that have one. For example, the Qibla is about 258° from Dubai, 244° from Riyadh, 119° from London and 58° from New York; a full table for Gulf and home cities is further down.

Your location stays on your device

Editor: Abuzar, founder of NeedMyToolsHow we check facts

Find the Qibla from where you are

Your location is used only on this device to calculate the direction. It is never sent to us or stored.

Or choose a city

Or enter coordinates (decimal degrees)

See prayer times and a monthly timetable for your city

Share your location or pick a city to see the Qibla direction.

A general aid, not a religious ruling. For accuracy, check the direction with your local mosque.

How to use the Qibla Finder

  1. Tap "Use my location" and allow location access, or choose your city from the list.
  2. Read the Qibla bearing: the number of degrees clockwise from true north, plus the distance to Makkah.
  3. On a phone, tap "Use phone compass". Hold the phone flat; the dial turns with you and tells you to turn left or right.
  4. When the message says you are facing the Qibla, the top of your phone points towards the Kaaba.

How the Qibla direction is calculated

The Qibla is the direction of the Kaaba in Makkah, at latitude 21.4225° N and longitude 39.8262° E. This tool uses the great-circle method, the shortest path over the surface of the Earth, which is the method used by most mosques, Islamic authorities and prayer apps. The result is an initial bearing measured clockwise from true north. From Dubai the Qibla is about 258°, a little south of due west; from Riyadh it is about 244°; from London it is about 119°, to the south-east; and from New York it is about 58°, to the north-east, not south-east as a flat map suggests.

Using the live compass on your phone

Most Android phones and iPhones have a magnetometer. When you tap "Use phone compass", the page reads the phone's heading and rotates the dial so that north on the dial matches real north. The green arrow then points to the Kaaba, and a message tells you how many degrees to turn. iPhones ask for permission first; that permission covers motion and orientation only. Phone compasses are affected by metal, magnets, cars and some phone cases, so stand away from them, hold the phone flat, and if the reading jumps, move the phone in a figure-eight to recalibrate.

No compass? Use the bearing

Laptops and some tablets have no compass. In that case use the number of degrees. Find north with a handheld compass, the sun or a known landmark, then turn clockwise by the bearing shown. In the UAE the difference between magnetic north and true north is only about 2 degrees, which is far smaller than the width of a prayer line, so a normal compass is accurate enough. In most of Europe and North America the difference is also small, though it can reach 10 degrees or more in places such as Canada.

Your location stays private

Your browser shares your coordinates with this page only after you agree. The calculation happens on your device, and the coordinates are not sent to NeedMyTools, stored, or used for ads. If you prefer not to share your location at all, pick your city from the list or type latitude and longitude, which you can copy from any map app. A city choice uses the city centre. Far from Makkah that is close enough, but in Jeddah and other places near Makkah the direction changes a lot across town, so use your exact location there.

Check with your local mosque

This page is a general aid for finding the direction of the Kaaba; it is not a religious ruling. The mosques in your area have set their Qibla with care, so if you are unsure, especially in a new home, office or hotel room, compare the result with the prayer niche (mihrab) of the nearest mosque or ask its imam. For any question about how precisely to face the Qibla, follow the guidance of your local mosque.

Qibla direction in degrees from Gulf and home cities

The bearing from each city centre to the Kaaba (21.4225° N, 39.8262° E), measured clockwise from true north. Every value is calculated by the same great-circle formula as the finder above, not copied from another list.

UAE and the Gulf

CityQiblaDirectionDistance
Dubai258.2°WSW1,631 km
Abu Dhabi260.2°W1,527 km
Sharjah257.9°WSW1,649 km
Riyadh243.8°WSW790 km
Jeddah96.0°E66 km
Dammam244.1°WSW1,181 km
Doha252.6°WSW1,269 km
Muscat266.4°W1,920 km
Kuwait City224.6°SW1,204 km
Manama246.2°WSW1,217 km

Home cities of many Gulf residents

CityQiblaDirectionDistance
Karachi267.7°W2,800 km
Lahore260.4°W3,598 km
Delhi266.6°W3,835 km
Mumbai280.1°W3,452 km
Kochi292.6°WNW4,093 km
Dhaka277.6°W5,172 km
Manila289.0°WNW8,525 km
Kathmandu271.7°W4,628 km
Colombo294.8°WNW4,589 km
Cairo136.1°SE1,287 km
London119.0°ESE4,794 km
New York58.5°ENE10,306 km

Values are for the city centre. The further a city is from Makkah, the less the direction changes across it: about a degree from one side of Dubai or Karachi to the other, a few degrees across Riyadh, and much more in Jeddah, where you should use your exact location. To use a bearing, face true north and turn clockwise by the number of degrees.

Frequently asked questions

How do I find the Qibla direction from my location right now?

Tap "Use my location" at the top of this page and allow location access. The exact bearing from where you stand appears in degrees, with the distance to Makkah. On a phone, tap "Use phone compass", hold the phone flat and turn until it says you are facing the Qibla. If you prefer not to share your location, pick your city or type its coordinates; your location is never sent to us or stored.

How accurate is this Qibla finder?

The bearing is calculated exactly using the great-circle formula. In practice, accuracy depends on your phone's compass, which is usually within a few degrees when held flat and away from metal.

What is the Qibla direction from Dubai?

About 258 degrees from true north, which is west, slightly towards the south. From Abu Dhabi it is about 260 degrees and from Sharjah about 258 degrees. The table on this page lists the bearing for 22 Gulf and home cities.

Why does the Qibla from America point north-east?

The shortest path on a globe is a great circle. From North America that path to Makkah heads north-east over the Atlantic, even though Makkah looks south-east on a flat map.

Do I need to install an app?

No. It works in any modern browser on Android, iPhone, Windows and Mac. You can add the page to your home screen for quick access.