How the Qibla direction is found
The Qibla is the direction of the Kaaba in Mecca, which Muslims face in prayer. This finder uses the shortest path over the Earth’s surface, called a great circle, from your location to the Kaaba at 21.4225° N, 39.8262° E. The result is a bearing in degrees, measured clockwise from true north: 0° is north, 90° is east, 180° is south and 270° is west.
Why the Qibla is northeast from the US
On a flat map, Mecca looks southeast of the US. But the Earth is round, and the shortest path from North America to Mecca curves up over the North Atlantic. That’s why the Qibla from most of the US is to the northeast. This great-circle direction is the one most Islamic organizations in North America use.
Qibla from US cities
| City | Qibla (from true north) | Distance to Mecca |
|---|---|---|
| New York City | 58.5° | 6,404 miles |
| Washington, DC | 56.6° | 6,607 miles |
| Miami | 56.6° | 7,262 miles |
| Atlanta | 52.3° | 7,147 miles |
| Dearborn, MI | 51.9° | 6,730 miles |
| Chicago | 48.7° | 6,926 miles |
| Houston | 45.5° | 7,813 miles |
| Los Angeles | 23.9° | 8,341 miles |
| Seattle | 17.6° | 7,540 miles |
How to face the Qibla
- Hold a compass or open your phone’s compass app, away from metal and electronics.
- Find north, then turn clockwise by the number of degrees shown.
- Adjust for magnetic declination if your compass shows magnetic north. In much of the US, magnetic north differs from true north by up to about 15°, east or west depending on where you live. Many phone compass apps can show true north instead.
You can also check the direction against a local mosque, whose prayer hall is usually aligned with the Qibla.
Your location stays private
If you use your location, your browser asks for permission first. The coordinates are used only on this page to work out the direction. They aren’t saved or sent anywhere.
For Islamic dates, try the Hijri date converter.
How to use the Qibla direction finder
- Choose your location. Press Use my location, pick a place from the City list, or type a Latitude and Longitude. North latitudes and east longitudes are positive. West longitudes, such as anywhere in the US, are negative.
- Press Find Qibla.
- Read the result. You see the bearing in degrees from true north, the compass point to face, a small dial with an arrow, and the distance to the Kaaba in miles and kilometers.
- Turn to face it. Find north, then turn clockwise by the number of degrees shown.
Reset puts the finder back on New York City.
The method this finder uses
The finder works out the starting direction of the great circle from your point to the Kaaba, which it places at 21.4225° N, 39.8262° E. A great circle is the shortest route over a round Earth. Its direction changes along the way, so the figure shown is the direction you set off in from where you stand. The distance is the same great-circle path, worked out with the haversine formula on a mean Earth radius of 6,371.0088 km.
The compass point is the nearest of 16 points, each 22.5° wide. So 54.6° shows as northeast and 58.5° as east-northeast.
This is a mathematical direction, not a religious ruling. Some communities and scholars follow other methods or long-standing local practice, and a mosque near you may face a slightly different way. Follow your local religious authority where its guidance differs from this tool.
Worked examples beyond the US
| Location | Bearing | Face | Distance |
|---|---|---|---|
| Toronto | 54.6° | northeast | about 6,522 miles (10,496 km) |
| London | 119.0° | east-southeast | about 2,979 miles (4,794 km) |
| Calgary (51.0447, −114.0719) | 25.0° | north-northeast | about 7,184 miles (11,562 km) |
| Sydney (−33.8688, 151.2093) | 277.5° | west | about 8,225 miles (13,236 km) |
Toronto and London are in the City list. For Calgary and Sydney, type the coordinates shown. Sydney has a negative latitude because it’s south of the equator, and its result points west because Mecca lies to the west of Australia.
Turning the bearing into a compass reading
NOAA defines magnetic declination as the angle between magnetic north and true north.[3] It’s counted as positive east of true north and negative west of it, and it changes with time and place.[3] NOAA says you get a true bearing by adding the declination to a magnetic bearing.[3] To go the other way, from this finder’s true bearing to what a magnetic compass should read, subtract the declination.
For example, if your declination is 10° west, which counts as −10°, a true bearing of 58.5° reads 58.5 − (−10) = 68.5° on a magnetic compass. If it’s 10° east, the compass reading is 48.5°. Look up today’s value for your town with NOAA’s calculator, since it drifts over the years.
What happens when you use your location
Use my location calls your browser’s Geolocation feature, which gets the current position of your device.[4] MDN notes that it works only on secure HTTPS pages and needs your explicit permission, so your browser asks first.[4] The finder doesn’t ask for high accuracy. MDN explains that this lets the device answer more quickly and use less power.[4] It waits up to 15 seconds, accepts a position up to 10 minutes old, and rounds your coordinates to four decimal places. That’s far more precise than a prayer direction needs. If location isn’t available, choose a city or type your coordinates.
Common mistakes
- Dropping the minus sign. Typing a US longitude as positive puts you in Asia, and the direction will be badly wrong.
- Swapping latitude and longitude. Latitude comes first and can’t be more than 90 either way.
- Reading the compass near metal. Steel desks, cars and speakers pull a compass needle off.
- Skipping declination. Where declination is large, an unadjusted magnetic reading can be off by many degrees.
To see how far apart two other places are, try the distance calculator between cities.
What next
Use this often? Add Qibla Direct to your Home screen.
Frequently asked questions
What is the Qibla direction from New York?
About 58.5° clockwise from true north, which is east-northeast.
Why is the Qibla northeast from the US and not southeast?
Because the Earth is round. The shortest path from North America to Mecca curves northeast over the Atlantic, even though a flat map makes Mecca look southeast.
Is the bearing from true north or magnetic north?
True north. If your compass shows magnetic north, adjust by your local magnetic declination, which NOAA’s calculator can give you.
Is my location saved?
No. Your coordinates are used only in your browser to work out the direction.
What coordinates does the Qibla direction finder use for the Kaaba?
It uses 21.4225° N, 39.8262° E and works out the great-circle bearing from your location to that point.
Why might my mosque face a slightly different direction?
Some communities use other methods or long-standing local practice. This tool gives a mathematical great-circle direction. Where your local religious authority advises otherwise, follow that guidance.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.