Free tool

Qibla finder, the direction of the Kaaba from you.

Find the qibla from where you are with a live phone compass, exact degrees from north, the distance to Makkah and a map. No app needed.

Your location --°

Press Use my location, or pick a city.

Distance to the Kaaba
…
Magnetic compass bearing
…
Magnetic declination
…
Coordinates
…

Or enter coordinates

How to read it

The degrees are clockwise from true north. A phone compass points to magnetic north, so use the magnetic bearing with an ordinary compass. The live compass corrects for this automatically.

Your location is used only in your browser to work out the direction. It is never sent or stored.

How it works

Three ways to find the qibla.

01 / Phone

Use the live compass

Press Use my location, then Start the live compass. Hold the phone flat and turn until the arrow points up and turns gold.

02 / Compass

Use the degrees

Stand with an ordinary compass and face the magnetic bearing shown. It already allows for the difference between magnetic and true north.

03 / Map

Follow the line

Open the map to see the shortest route to the Kaaba. Line it up with a street or wall you know.

Guide

How the qibla direction is worked out.

The qibla is the direction of the Kaaba in Makkah, which Muslims face in every prayer. Allah says: "So turn your face toward al-Masjid al-Haram. And wherever you are, turn your faces toward it."1

The shortest route over the globe

The direction is the start of the shortest path over the curved Earth from you to the Kaaba, called a great circle. On a flat map this path looks curved. That is why the qibla from New York is northeast, about 58°, even though Makkah is south of New York on most maps. The shortest route crosses the Atlantic towards Europe and then bends down to Arabia.

True north and magnetic north

The degrees are measured from true north, the direction of the North Pole. A compass needle points to magnetic north, which can be many degrees away. In New York it is about 12° west of true north, and in London about 1° east. This tool takes that difference, the magnetic declination, from the World Magnetic Model 2025 for your exact spot, and shows the bearing to use with an ordinary compass.

How to calibrate your phone's compass

  • Move away from metal, magnets, speakers and laptop cases.
  • Hold the phone flat and wave it slowly in a figure 8 a few times.
  • On Android, check Google Maps: if it asks you to calibrate, follow its steps.
  • On iPhone, turn on Settings, Privacy and Security, Location Services, System Services, Compass Calibration.

Qibla finder not working?

  • iPhone and iPad: Safari asks for permission to use Motion and Orientation when you press Start. If you said no, close the tab and open it again, or allow it in Settings, Safari.
  • Android: use Chrome or Samsung Internet. Some cheaper phones have no compass sensor; use the degrees or the map instead.
  • Desktop computers have no compass. Use the degrees with a compass, or the map.
  • Location blocked: pick your city from the list, or type your coordinates.

How exact do you need to be?

Hanafi position

Someone who can see the Kaaba must face the Kaaba itself. Someone far away must face its direction (jihah), not its exact point. A small turn to the left or right does not affect the prayer, and many Hanafi scholars allow up to 45° either side, as long as some part of the face is still toward the qibla. If you prayed after doing your best to find it and later learn you were wrong, the prayer is still valid.2

Other madhhabs
Shafi'i
The stronger view is that you must aim at the Kaaba itself (ayn), by your best effort, even from far away. So try to be as exact as you can.
Maliki, Hanbali
Someone far away faces the direction of the Kaaba, as in the Hanafi school.

Finding the qibla without a compass

  • The mihrab of a local masjid shows the qibla. Use it to line up a landmark you can see from home.
  • The sun is directly above the Kaaba twice a year, around 28 May at 12:18 pm and 16 July at 12:27 pm Makkah time. At those moments, a stick's shadow points directly away from the qibla anywhere the sun is up.
  • Ask people who live nearby and pray regularly.

Qibla direction from major cities

CityQiblaDirectionDistance
New York, NY58.5°ENE10,306 km
Houston, TX45.5°NE12,574 km
Chicago, IL48.7°NE11,146 km
Los Angeles, CA23.9°NNE13,424 km
Dallas, TX43.5°NE12,430 km
Philadelphia, PA57.7°ENE10,434 km
Minneapolis, MN43.8°NE11,237 km
Atlanta, GA52.3°NE11,501 km
Detroit, MI52.0°NE10,822 km
Dearborn, MI51.9°NE10,832 km
Washington, DC56.6°ENE10,633 km
Boston, MA60.4°ENE10,002 km
Seattle, WA17.6°NNE12,135 km
San Francisco, CA18.8°NNE13,176 km
San Jose, CA19.5°NNE13,206 km
San Diego, CA25.3°NNE13,518 km
Anaheim, CA24.2°NNE13,434 km
Sacramento, CA19.6°NNE13,064 km
Phoenix, AZ30.1°NNE13,225 km
Las Vegas, NV26.4°NNE13,091 km
Denver, CO35.0°NE12,296 km
Miami, FL56.6°ENE11,688 km
Orlando, FL55.3°NE11,612 km
Tampa, FL54.8°NE11,736 km
Charlotte, NC54.4°NE11,143 km
Raleigh, NC55.8°NE10,944 km
Columbus, OH52.3°NE10,981 km
Cleveland, OH53.1°NE10,790 km
Jersey City, NJ58.5°ENE10,309 km
Paterson, NJ58.4°ENE10,306 km
Baltimore, MD56.8°ENE10,578 km
Austin, TX43.5°NE12,694 km
San Antonio, TX43.2°NE12,812 km
Indianapolis, IN50.1°NE11,205 km
Nashville, TN50.2°NE11,504 km
St. Louis, MO47.2°NE11,550 km
Milwaukee, WI48.3°NE11,077 km
Dubai258.2°WSW1,631 km
Abu Dhabi260.2°W1,527 km
Sharjah257.9°WSW1,649 km
Ajman257.8°WSW1,660 km
Al Ain262.4°W1,660 km
Ras Al Khaimah256.9°WSW1,715 km
Fujairah259.6°W1,734 km
Umm Al Quwain257.2°WSW1,668 km
London119.0°ESE4,794 km
Birmingham118.0°ESE4,952 km
Manchester118.5°ESE5,025 km
Bradford119.3°ESE5,014 km
Leicester118.9°ESE4,915 km
Toronto, ON54.6°NE10,496 km
Mississauga, ON54.4°NE10,517 km
Ottawa, ON57.2°ENE10,144 km
Montreal, QC58.7°ENE9,998 km
Calgary, AB25.0°NNE11,562 km
Edmonton, AB25.3°NNE11,293 km
Vancouver, BC16.7°NNE11,974 km
  1. Quran 2:144, translation by Sahih International.
  2. Ibn Abidin, Radd al-Muhtar, Bab Shurut al-Salah, on istiqbal al-qiblah. The other madhhabs' positions are summarised from their standard manuals.
  3. Kaaba coordinates 21.4225° N, 39.8262° E. Magnetic declination: NOAA and British Geological Survey, World Magnetic Model 2025.

The rulings on this page are pending review by the scholars on our team.

Questions

Good to know.

What is the qibla direction from my location?

Press Use my location above. The tool shows the qibla in degrees clockwise from true north, the compass bearing to use, and the distance to the Kaaba.

Is the qibla east or northeast from the US?

Northeast. From New York it is about 58° from north, from Chicago about 49° and from Los Angeles about 24°. The shortest route over the globe heads northeast, not southeast.

Why does my phone show a different qibla from my masjid?

Phone compasses are easily thrown off by metal and magnets, and many apps forget the difference between magnetic and true north. Some older masjids also used a flat-map direction. Calibrate your phone and compare with the degrees here.

Does this qibla finder store my location?

No. Your location is used only in your browser to work out the direction and is never sent to our servers.

Is my prayer valid if I was slightly off the qibla?

Yes. For someone far from Makkah, facing the general direction is enough in the Hanafi, Maliki and Hanbali schools, and a prayer made after a genuine effort stays valid even if you later find you were off.

How do I find the qibla without a compass?

Use the mihrab of a nearby masjid, ask local Muslims, or use the sun on the two days a year it is directly over the Kaaba, around 28 May and 16 July.