Qibla Direction: Qibla Finder and Compass From Your City

NESW
Qibla direction
…

Find the qibla with the sun (no compass needed)

The angle is calculated in your browser along the shortest path on the globe (great circle) to the Kaaba (21.4225° N, 39.8262° E). Phone compasses can be thrown off by metal, magnets and cases, and they point to magnetic north, which in parts of the US is more than 10° away from true north. Check with the sun method or your local mosque. GPS location is used only on your device.

Found an error in this tool? A wrong number, rule or source? Tell us and we will check it and fix confirmed errors.

Report an error

Opens your email app with this page already filled in. No email app? Write to runinvesting25@gmail.com.

What Is the Qibla?

The qibla is the direction of the Kaaba in Makkah, which Muslims face in prayer. Allah says: “So turn your face toward al-Masjid al-Haram. And wherever you are, turn your faces toward it” (Quran 2:144). In the early years in Madinah, Muslims prayed toward Jerusalem for sixteen or seventeen months before the qibla was changed to the Kaaba (Sahih al-Bukhari 399).

Why Is the Qibla Northeast From the US?

On a flat map, Makkah looks southeast of America. But the Earth is round, and the shortest path from the US to Makkah, called the great-circle route, curves north over the Atlantic and Europe. That is why the qibla from New York is about 58° (northeast), from Chicago about 49°, and from Los Angeles about 24° (almost north-northeast). Airplanes fly the same kind of route.

Some Muslims in North America have argued for southeast, based on the straight line on a flat map (the rhumb line). Most scholars and mosques in North America use the great-circle direction, and this tool follows that view.

CityQibla (from true north)Distance to Makkah
New York, NY58.5° (northeast)10,306 km / 6,404 miles
Toronto, Canada54.6° (northeast)10,496 km / 6,522 miles
Dearborn, MI51.9° (northeast)10,832 km / 6,730 miles
Chicago, IL48.7° (northeast)11,146 km / 6,926 miles
Los Angeles, CA23.9° (north-northeast)13,424 km / 8,341 miles
London, UK119.0° (east-southeast)4,794 km / 2,979 miles

How to Use the Qibla Compass on Your Phone

  1. Choose your city, or “My location (GPS)” for the most accurate angle.
  2. Tap “Use my phone’s compass”. On an iPhone, allow motion access when asked.
  3. Move your phone in a figure 8 a few times to calibrate it, then hold it flat, away from metal, magnets and speakers.
  4. Turn slowly until the message says you are facing the qibla. The black Kaaba mark on the dial points the way.

Phone compasses point to magnetic north, while the qibla angle is measured from true north. In parts of the US the two differ by more than 10 degrees, and phone sensors can also be disturbed by metal, magnetic cases and electronics. For a check that does not depend on any sensor, use the sun.

Finding the Qibla With the Sun

The sun is the most reliable compass. The tool above calculates the exact minute today when the sun lines up with the qibla in your city. At that minute, either face the sun or, if the sun is behind the qibla, look where your shadow points: that line is your qibla. Mark it on the floor or on a wall once, and you have a permanent qibla line at home.

Twice a year the sun passes directly over the Kaaba at noon in Makkah: around May 28 at 12:18 PM and July 16 at 12:27 PM Makkah time (09:18 and 09:27 UTC). At those moments, anyone who can see the sun can face it and be facing the Kaaba. In the eastern US this happens just before sunrise, so it is most useful for Europe, Africa and Asia; the daily sun time above works everywhere.

How Exact Does the Qibla Need to Be?

Scholars agree that a person who can see the Kaaba must face it exactly. For those far away, many scholars (among them the Hanafi, Maliki and Hanbali schools) say facing the general direction of the Kaaba is enough, while the Shafi’i school asks for a sincere effort at the exact direction. Scholars also say that someone who made a real effort to find the qibla and later learned it was slightly off does not need to repeat past prayers, though views differ on the details. If your mosque’s qibla line differs a little from this tool, follow your mosque in congregation.

Frequently Asked Questions

Which direction is the qibla in the USA?

Northeast for most of the country: about 58° from true north in New York, 49° in Chicago and 24° in Los Angeles. Choose your city above for the exact angle.

Why does my phone compass give a different direction?

Phone compasses follow magnetic north and can be disturbed by metal and electronics. Calibrate the phone, hold it flat away from metal, and check with the sun method.

Does this qibla finder work without the internet?

Once the page has loaded, all calculations run on your device, so the angle, the compass and the sun times keep working even if your connection drops.

Is the qibla from America southeast or northeast?

Most scholars and mosques in North America use northeast, the shortest path on the globe. Southeast is the direction on a flat map, which a minority have argued for.

Sources: Quran 2:144; Sahih al-Bukhari 399; Kaaba coordinates 21.4225° N, 39.8262° E; great-circle bearing formula; solar position formulas (the dates of the sun over the Kaaba were calculated and match commonly published dates). Educational tool, not a fatwa.

Last reviewed: 15 November 2026 by the RunInvesting25 Editorial Team. Quran and hadith references checked; qibla angles checked for six cities. Spotted an error? Report a correction (runinvesting25@gmail.com).