Skip to content
Today's prayer times
VAAZ

Qibla Finder: Find the Direction of the Kaaba

The qibla is the direction of the Kaaba from where you stand, the way Muslims face in prayer.

Use your location or pick a province to see the angle and the distance to the Kaaba at once. If your phone has a compass sensor, a live compass opens too.

Your location is used only on this device to work out the qibla angle; it is not sent to a server or stored.

NESW

Share your location or choose a province and we will work out the qibla angle and distance to the Kaaba.

Jump to the table for 81 provinces

What is the qibla?

The qibla is the direction Muslims face in prayer, towards the Kaaba in Mecca (Surah al-Baqarah, verse 144). Someone who can see the Kaaba faces it directly. According to a fatwa of the Higher Board of Religious Affairs of Türkiye's Diyanet, most scholars hold that those far from the Kaaba need only face its direction, and slight deviations do not harm the validity of the prayer.

The same fatwa gives the measure: a person has not turned completely away from the qibla as long as they stay within 45 degrees to the right or left of the straight line to the Kaaba. Someone who does not know the direction makes an effort to find out and prays according to what they learn; if they later discover a mistake, the prayer stands. A prayer offered deliberately in another direction is not valid. In a mosque there is no need to check, because mosques are built with the qibla determined.

How is the qibla angle calculated?

The Earth is a sphere, so the shortest path between two points follows a great circle, the curve where a plane through the centre of the Earth cuts its surface. The qibla angle is the starting direction of the great-circle arc from where you stand to the Kaaba, measured clockwise from true north: 0° is north, 90° east, 180° south and 270° west.

The calculation uses spherical trigonometry. Its inputs are your latitude and longitude and the coordinates of the Kaaba: 21.4225° north, 39.8262° east (the value the adhan library uses for its qibla calculation). The finder on this page and the table of 81 provinces below use the same formula; the table is computed on the server and the finder on your own device.

Drawing a straight line between two points on a map, especially on a Mercator map, gives a different angle from the great-circle direction. That is why a calculated value is more reliable than a line measured on a map.

How accurate is a phone compass?

  • A compass sensor is small and sensitive. Metal surfaces, magnetic cases, speakers, vehicles and reinforced concrete throw it off, and a few degrees of drift is normal.
  • Hold the phone flat and wait a few seconds. If it drifts, wave the phone in a figure of eight to calibrate it.
  • Phone compasses work from magnetic north, while the qibla angle is given from true north. The difference (magnetic declination) varies by place and year and is a few degrees in Türkiye.
  • When in doubt, compare the compass with the qibla-time method described below or with the mihrab of a mosque.

How to find the qibla without a compass

Qibla time: finding it with the sun

Twice a year the sun passes directly over the Kaaba. At that moment the sun lies in the direction of the Kaaba from anywhere on Earth that can see it. According to Diyanet astronomer Hümeyra Nur İşlek, these moments are 12:18 on 28 May and 12:27 on 16 July in Türkiye time, the same in every province from Edirne to Kars (TRT Haber, citing AA, 15 July 2018). The date can shift by a day with the year (27 or 28 May, 15 or 16 July); the clock times do not. Türkiye and Mecca share a time zone (UTC+3), so elsewhere convert them to your local time: 09:18 and 09:27 UTC.

Do not look straight at the sun. The shadow of an upright stick, a door frame or a window edge stretches away from the qibla, so turn to face the direction opposite to the way the shadow points and you are facing the qibla. The method fails under cloud, and the sun must be above the horizon where you are; at that hour it has not yet risen in much of the Americas.

The mihrab of a mosque

According to the Diyanet fatwa, mosques are built with the qibla determined. If you pray in a mosque, the wall with the mihrab faces the qibla and you need not check.

Qibla angle and distance to the Kaaba for 81 provinces

The table is computed from the centre coordinates of each province, with the angle measured clockwise from true north. Across Türkiye's 81 provinces the qibla angle runs from 143.7° (Izmir, southeast) to 192.9° (Hakkari, south-southwest). The nearest province to the Kaaba is Hatay (about 1,699 km as the crow flies) and the farthest is Edirne (about 2,572 km). Click a province to open its prayer times; for any other place use the finder above.

Qibla angle, direction and distance to the Kaaba for 81 provinces
ProvinceQibla angleDirectionDistance
Adana164.7°south-southeast1,785 km
Adıyaman174.9°south1,823 km
Afyonkarahisar152.7°south-southeast2,120 km
Ağrı189.5°south2,057 km
Aksaray162.0°south-southeast1,964 km
Amasya168.8°south2,171 km
Ankara160.2°south-southeast2,162 km
Antalya150.4°south-southeast1,932 km
Ardahan187.9°south2,206 km
Artvin185.5°south2,205 km
Aydın144.4°southeast2,159 km
Balıkesir147.3°south-southeast2,322 km
Bartın160.4°south-southeast2,354 km
Batman184.3°south1,834 km
Bayburt181.1°south2,094 km
Bilecik153.0°south-southeast2,271 km
Bingöl182.1°south1,943 km
Bitlis187.2°south1,900 km
Bolu157.7°south-southeast2,283 km
Burdur150.5°south-southeast2,030 km
Bursa150.8°south-southeast2,322 km
Çanakkale144.7°southeast2,439 km
Çankırı162.8°south-southeast2,212 km
Çorum166.4°south-southeast2,176 km
Denizli147.4°south-southeast2,090 km
Diyarbakır181.3°south1,835 km
Düzce156.7°south-southeast2,309 km
Edirne147.1°south-southeast2,572 km
Elazığ178.1°south1,920 km
Erzincan179.0°south2,038 km
Erzurum184.2°south2,060 km
Eskişehir153.9°south-southeast2,224 km
Gaziantep171.6°south1,755 km
Giresun176.0°south2,171 km
Gümüşhane179.1°south2,115 km
Hakkari192.9°south-southwest1,836 km
Hatay167.6°south-southeast1,699 km
Iğdır192.1°south-southwest2,091 km
Isparta151.3°south-southeast2,023 km
Istanbul151.6°south-southeast2,405 km
Izmir143.7°southeast2,246 km
Kahramanmaraş170.4°south1,819 km
Karabük160.7°south-southeast2,302 km
Karaman158.2°south-southeast1,863 km
Kars189.2°south2,156 km
Kastamonu163.8°south-southeast2,291 km
Kayseri166.6°south-southeast1,969 km
Kilis170.5°south1,721 km
Kırıkkale161.9°south-southeast2,134 km
Kırklareli148.5°south-southeast2,548 km
Kırşehir163.1°south-southeast2,043 km
Kocaeli153.6°south-southeast2,355 km
Konya156.9°south-southeast1,960 km
Kütahya152.1°south-southeast2,209 km
Malatya175.2°south1,888 km
Manisa144.7°southeast2,249 km
Mardin183.1°south1,770 km
Mersin162.3°south-southeast1,783 km
Muğla144.7°southeast2,074 km
Muş185.9°south1,957 km
Nevşehir164.2°south-southeast1,982 km
Niğde163.5°south-southeast1,905 km
Ordu174.6°south2,183 km
Osmaniye167.8°south-southeast1,774 km
Rize181.9°south2,180 km
Sakarya154.7°south-southeast2,319 km
Samsun170.5°south2,233 km
Şanlıurfa176.5°south1,753 km
Siirt186.9°south1,847 km
Sinop167.8°south-southeast2,332 km
Sivas171.7°south2,055 km
Şırnak188.9°south1,797 km
Tekirdağ148.2°south-southeast2,464 km
Tokat170.6°south2,124 km
Trabzon179.7°south2,177 km
Tunceli179.1°south1,967 km
Uşak149.6°south-southeast2,162 km
Van191.2°south1,928 km
Yalova151.9°south-southeast2,358 km
Yozgat165.4°south-southeast2,100 km
Zonguldak158.9°south-southeast2,352 km

Next: Prayer times · Adhan times

Sources

  1. Din İşleri Yüksek Kurulu: Kıblesinde hata tespit edilen camilerle ilgili ne yapmak gerekir?Facing the direction of the Kaaba is enough for those far away, the 45-degree measure, and mosques being built with the qibla determined.
  2. Din İşleri Yüksek Kurulu: Kıbleye doğru yönelmeden kılınan namaz geçerli olur mu?A person who does not know the direction makes an effort to find out, and the prayer stands if a mistake is found afterwards.
  3. TRT Haber (AA): Diyanet kıble tayini konusunda hassas davranıyor, 15 Temmuz 2018Qibla times given by Diyanet astronomer Hümeyra Nur İşlek: 28 May 12:18 and 16 July 12:27 (Türkiye time).
  4. adhan-jsSource of the Kaaba coordinates and the great-circle formula used in the calculation.

Never miss the adhan: the VAAZ app

Adhan alerts, a qibla compass, the Quran, duas and Ramadan tracking in your pocket.