Loona Automation

Qibla Direction — Bearing & Compass

The exact direction of the Kaaba from wherever you are, in degrees from true north.

In short: choose your city — or use your exact location — and get the Qibla bearing in degrees from true north, the distance to Makkah, and a compass dial you can align with your phone.
Prayer TimesIslamic Date TodaySehri & Iftar TodayQibla DirectionTasbih Counter99 Names of Allah
NSEW

Qibla: — from north

The dial shows the bearing with north up. With the live compass on, hold the phone flat and turn until the gold arrow points straight up.

About the Qibla bearing

The bearing shown is the initial great-circle direction to the Kaaba — the same standard used by published Qibla tables. From Faisalabad it computes to 259.5°, matching published values of 259.5–259.6° for the city. Small differences of a degree between sources come from slightly different city-centre coordinates.

Frequently Asked Questions

How is the Qibla direction calculated?

By the initial bearing of the great-circle (shortest) path from your coordinates to the Kaaba in Makkah (21.4225° N, 39.8262° E). This is the method used by IslamicFinder, Qibla compasses and mosque apps worldwide.

What is the Qibla direction from Pakistan?

From most of Pakistan the Qibla is west-southwest: about 259.5° from Faisalabad, roughly 256° from Karachi and about 257° from Islamabad. Pick your city above to get its exact figure.

Why does my phone compass disagree slightly?

Phone compasses are affected by metal, cases and nearby electronics, and they point to magnetic north, which differs from true north by a few degrees depending on where you live. Use the degree figure with a real compass check outdoors, or calibrate your phone by waving it in a figure-eight.

Does the Qibla change if I travel?

Yes — the bearing depends entirely on where you stand. From London it is about 119° (southeast) and from New York about 58° (northeast). Re-check whenever you travel.

How it works

The page computes the initial bearing of the great circle — the shortest path over the Earth’s curved surface — from your coordinates to the Kaaba in Makkah (21.4225° N, 39.8262° E), and reports it in degrees clockwise from true north, together with the great-circle distance to Makkah. Pick a listed city, type coordinates, or share your location; on phones that support it, the on-screen compass dial rotates with the device so the Qibla needle can be lined up directly.

Worked example

From Faisalabad the Qibla bearing is 259.5° — a little south of due west — and the distance to Makkah is about 3,483 km. From Karachi, further south and west, the bearing is 267.7°, almost due west, while from Lahore it is 260.4°: three cities in one country, three slightly different directions.

Frequently asked questions

Why is the Qibla from North America toward the north-east?

Because the bearing follows the shortest path over a round Earth, not a straight line on a flat map. From Pakistan that path heads west-south-west; from North America the shortest path to Makkah crosses the North Atlantic, so the Qibla there points north-east — a result that surprises many people the first time they see it.

Is the bearing measured from true north or magnetic north?

True north. A magnetic compass — including the sensor in a phone — points to magnetic north, and the gap between the two, called declination, depends on where you are. It is small in Pakistan but large in some parts of the world, which is one reason a phone compass can sit a couple of degrees off the figure shown here.

Does the page need permission to use my location?

Only if you tap “Use my location”. Choosing a city or typing coordinates works with no permission at all, and in every case the bearing is calculated on your device — your location is not sent anywhere.

My phone has no compass sensor — can I still use the bearing?

Yes. The number is a standard compass bearing, so any compass or map app can use it: face north, turn clockwise by the number of degrees shown (259.5° in Faisalabad), and that is the Qibla. The rotating dial is a convenience, not a requirement.

How accurate is the bearing?

It is calculated to a tenth of a degree from the coordinates used, so the figure itself is exact for the place entered. In practice the limit is the compass you align with — phone compasses are disturbed by metal, magnetic cases and nearby electronics, so step away from those for the final reading.

Related Islamic Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.