Skip to content
NeedMyTools

Qibla 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.

Your location stays on your device

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)

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

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. For a city-level choice the direction is accurate to well under one degree anywhere within the city.

Frequently asked questions

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.

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.

Is my location saved?

No. Your location is used on your device only to calculate the direction. It is never sent to our servers or stored.