Free tool · Qibla finder

Qibla direction: find the Qibla from where you are

Find the direction of the Kaaba from your location or your city, as an angle from north, and on a phone, with a live compass. It runs in your browser, and your location is never sent anywhere.

How to use it

  1. Tap Use my location and allow it, or choose your city.
  2. Read the angle: it is measured clockwise from true north. 90° is east, 180° is south, 270° is west.
  3. On a phone, tap Use the phone's compass, hold the phone flat, and turn until the needle points straight up.

This is a calculation, not a ruling. Facing the general direction of the Kaaba is what is asked; where there is a masjid nearby, its direction is a good check.

Qibla direction from 176 cities

Degrees clockwise from true north, and the distance to the Kaaba, for the cities in the Aqdam app.

Qibla direction by city
CityQiblaDistance
Afghanistan
Kabul250.8° WSW3,217 km
Albania
Tirana133.6° SE2,902 km
Algeria
Algiers105.4° ESE3,926 km
Oran100.9° E4,222 km
Argentina
Buenos Aires76.3° ENE12,061 km
Australia
Brisbane280.3° W13,298 km
Melbourne278.8° W12,741 km
Perth295.4° WNW10,024 km
Sydney277.5° W13,236 km
Austria
Vienna136.7° SE3,637 km
Azerbaijan
Baku207.2° SSW2,314 km
Bahrain
Manama246.2° WSW1,217 km
Bangladesh
Chittagong279.3° W5,334 km
Dhaka277.6° W5,172 km
Sylhet277.0° W5,303 km
Belgium
Brussels123.5° ESE4,489 km
Bosnia and Herzegovina
Sarajevo134.8° SE3,180 km
Brazil
São Paulo68.9° ENE10,602 km
Brunei
Bandar Seri Begawan290.9° WNW8,269 km
Canada
Calgary25.0° NNE11,562 km
Edmonton25.3° NNE11,293 km
Mississauga54.4° NE10,517 km
Montreal58.7° ENE9,998 km
Ottawa57.2° ENE10,144 km
Toronto54.6° NE10,496 km
Vancouver16.7° NNE11,974 km
Chad
N'Djamena65.3° ENE2,827 km
China
Beijing278.9° W7,386 km
Ürümqi256.2° WSW5,031 km
Denmark
Copenhagen138.2° SE4,426 km
Djibouti
Djibouti342.5° NNW1,151 km
Egypt
Alexandria135.4° SE1,467 km
Cairo136.1° SE1,287 km
Ethiopia
Addis Ababa4.7° N1,383 km
France
Lyon118.6° ESE4,166 km
Marseille116.3° ESE4,002 km
Paris119.2° ESE4,496 km
Germany
Berlin136.7° SE4,130 km
Cologne126.7° SE4,345 km
Frankfurt128.1° SE4,192 km
Hamburg133.0° SE4,373 km
Munich129.8° SE3,890 km
Ghana
Accra63.8° ENE4,650 km
Guinea
Conakry70.3° ENE5,841 km
India
Bengaluru288.5° WNW4,109 km
Chennai287.9° WNW4,381 km
Delhi266.6° W3,835 km
Hyderabad282.7° WNW4,070 km
Kolkata278.2° W4,983 km
Lucknow270.9° W4,198 km
Mumbai280.1° W3,452 km
Srinagar256.8° WSW3,695 km
Indonesia
Banda Aceh292.2° WNW6,220 km
Bandung295.2° WNW8,031 km
Jakarta295.2° WNW7,920 km
Makassar292.5° WNW9,148 km
Medan292.8° WNW6,646 km
Surabaya294.0° WNW8,562 km
Iraq
Baghdad199.8° SSW1,396 km
Erbil195.0° SSW1,691 km
Ireland
Dublin114.1° ESE5,257 km
Italy
Milan123.6° ESE3,859 km
Rome123.3° ESE3,419 km
Japan
Tokyo293.0° WNW9,472 km
Jordan
Amman160.8° SSE1,232 km
Kazakhstan
Almaty246.6° WSW4,187 km
Astana231.5° SW4,292 km
Kenya
Mombasa0.3° N2,832 km
Nairobi7.2° N2,547 km
Kosovo
Pristina137.9° SE2,930 km
Kuwait
Kuwait City224.6° SW1,204 km
Kyrgyzstan
Bishkek244.5° WSW4,002 km
Lebanon
Beirut161.9° SSE1,450 km
Libya
Tripoli109.2° ESE2,916 km
Malaysia
George Town291.6° WNW6,739 km
Johor Bahru293.0° WNW7,255 km
Kota Kinabalu290.6° WNW8,344 km
Kuala Lumpur292.5° WNW6,974 km
Maldives
Malé300.8° WNW4,109 km
Mali
Bamako72.3° ENE5,158 km
Mauritania
Nouakchott76.5° ENE5,820 km
Mauritius
Port Louis336.5° NNW5,007 km
Morocco
Casablanca93.7° E4,824 km
Fez95.8° E4,590 km
Marrakesh91.4° E4,851 km
Rabat94.6° E4,758 km
Netherlands
Amsterdam125.6° SE4,553 km
Rotterdam124.7° SE4,549 km
New Zealand
Auckland261.2° W15,365 km
Niger
Niamey72.2° ENE4,084 km
Nigeria
Abuja64.6° ENE3,729 km
Kano68.3° ENE3,480 km
Lagos63.3° ENE4,251 km
North Macedonia
Skopje137.4° SE2,861 km
Norway
Oslo139.0° SE4,851 km
Oman
Muscat266.4° W1,920 km
Pakistan
Faisalabad259.5° W3,483 km
Islamabad255.9° WSW3,528 km
Karachi267.7° W2,800 km
Lahore260.4° W3,598 km
Multan260.5° W3,306 km
Peshawar254.0° WSW3,401 km
Quetta256.7° WSW2,878 km
Rawalpindi256.1° WSW3,522 km
Palestine
Al-Quds (Jerusalem)157.3° SSE1,238 km
Gaza153.3° SSE1,241 km
Hebron156.2° SSE1,218 km
Philippines
Manila289.0° WNW8,525 km
Marawi290.6° WNW9,113 km
Qatar
Doha252.6° WSW1,269 km
Russia
Grozny194.4° SSW2,495 km
Kazan195.2° SSW3,899 km
Makhachkala199.0° SSW2,501 km
Moscow176.4° S3,822 km
Saudi Arabia
Dammam244.1° WSW1,181 km
Jeddah96.0° E66 km
Madinah175.6° S346 km
Makkah318.5° NW5 km
Riyadh243.8° WSW790 km
Senegal
Dakar73.9° ENE6,071 km
Singapore
Singapore293.0° WNW7,269 km
Somalia
Mogadishu345.0° NNW2,235 km
South Africa
Cape Town23.4° NNE6,558 km
Durban10.4° N5,780 km
Johannesburg14.6° NNE5,446 km
South Korea
Seoul285.7° WNW8,336 km
Spain
Barcelona110.6° ESE4,159 km
Madrid104.0° ESE4,598 km
Sri Lanka
Colombo294.8° WNW4,589 km
Sudan
Khartoum48.2° NE1,010 km
Sweden
Stockholm148.2° SSE4,554 km
Switzerland
Zurich125.0° SE4,020 km
Syria
Aleppo170.3° S1,664 km
Damascus164.5° SSE1,389 km
Tajikistan
Dushanbe243.8° WSW3,354 km
Tanzania
Dar es Salaam1.2° N3,138 km
Zanzibar1.3° N3,068 km
Thailand
Bangkok286.9° WNW6,451 km
Pattani290.7° WNW6,776 km
The Gambia
Banjul73.1° ENE6,019 km
Tunisia
Tunis112.7° ESE3,328 km
Turkmenistan
Ashgabat229.2° SW2,554 km
Türkiye
Ankara160.2° SSE2,162 km
Bursa150.8° SSE2,322 km
Istanbul151.6° SSE2,405 km
Izmir143.7° SE2,246 km
Konya156.9° SSE1,960 km
Uganda
Kampala18.1° NNE2,472 km
United Arab Emirates
Abu Dhabi260.2° W1,527 km
Dubai258.2° WSW1,631 km
Sharjah257.9° WSW1,649 km
United Kingdom
Birmingham118.0° ESE4,952 km
Blackburn118.4° ESE5,053 km
Bradford119.3° ESE5,014 km
Cardiff115.7° ESE4,980 km
Glasgow118.3° ESE5,264 km
Leeds119.5° ESE5,002 km
Leicester118.9° ESE4,915 km
London119.0° ESE4,794 km
Luton119.0° ESE4,831 km
Manchester118.5° ESE5,025 km
United States
Atlanta52.3° NE11,501 km
Chicago48.7° NE11,146 km
Dallas43.5° NE12,430 km
Dearborn51.9° NE10,832 km
Houston45.5° NE12,574 km
Los Angeles23.9° NNE13,424 km
Minneapolis43.8° NE11,237 km
New York58.5° ENE10,306 km
Philadelphia57.7° ENE10,434 km
San Francisco18.8° NNE13,176 km
Washington, D.C.56.6° ENE10,633 km
Uzbekistan
Samarkand239.8° WSW3,273 km
Tashkent240.3° WSW3,531 km
Yemen
Aden330.8° NNW1,107 km
Sana'a326.3° NNW815 km

Questions people ask

Which way is the Qibla?

Towards the Kaaba in Makkah. From most of Europe and North Africa that is roughly south-east, from South Asia roughly west, from North America roughly north-east, and from Indonesia and Malaysia roughly west-north-west. The tool on this page gives the exact angle for where you are.

How is the Qibla direction calculated?

As the starting direction of the shortest path over the globe (the great circle) from your position to the Kaaba, at 21.4225° N, 39.8262° E. That is why from North America the Qibla is north-east, not south-east as a flat map suggests. It is the method used by most masjids and prayer apps.

How accurate is my phone's compass?

Often a few degrees off, and more near metal, magnets or electronics. Hold the phone flat, away from your laptop or car, and move it in a figure of eight to calibrate it. A small error is forgiven; where there is a masjid nearby, its direction is a good check.

Is my location sent anywhere?

No. If you use your location, your browser gives it to this page only, the calculation runs on your device, and nothing is sent to us or anyone else.

What if I can't tell the direction?

Do your best to find it, then pray. If you find out afterwards that you faced the wrong way after making an honest effort, scholars generally hold that the prayer counts. Ask a scholar you trust about your situation.

Aqdam has a Qibla compass beside your prayer times, and works offline.

Download on the App StoreGet it on Google Play