TR

Home / Guides / How to Find the Qibla Direction: Degrees, Compass, and Province List

How to Find the Qibla Direction: Degrees, Compass, and Province List

Updated: October 31, 2026 · AracMerkezi

▶ Open Qibla Direction Calculator

Knowing which direction the Kaaba lies in from where you are, so you can face it for prayer, is a common need, especially when traveling, in a hotel room, or in a home you have just moved into. The qibla direction changes from one city to another: in Istanbul it points close to southeast, while in Kars it points almost due south. In this guide we explain how the qibla direction is calculated, the qibla degrees for 15 provinces, how to find it with a compass, and why magnetic declination matters. To get the result quickly, you can use the Qibla Direction Calculator.

Important note: This guide and the tool perform a mathematical calculation; they are not an official determination. Where certainty matters for worship, rely on the mihrab in the mosque, your local mufti's office, or the qibla information from the Diyanet (Presidency of Religious Affairs). Compass declination values are updated annually, so check the current value.

What is the qibla and how is it determined?

The qibla is the direction of the Kaaba in Mecca. Because the Earth is a sphere, the shortest path between two points is not a straight line but an arc of a great circle (orthodrome) around the globe. The qibla direction is the heading at which you set out from your location along this shortest path. The direction is measured in degrees clockwise from true north: 0° is north, 90° is east, 180° is south, and 270° is west.

The coordinates of the Kaaba are approximately 21.4225° north latitude and 39.8262° east longitude. The qibla calculation uses these two numbers together with your own latitude and longitude.

The formula

Let the latitude of your location be φ₁, the latitude of the Kaaba φ₂, and the longitude difference Δλ. The initial bearing is found as follows:

θ = atan2( sin Δλ · cos φ₂ , cos φ₁ · sin φ₂ − sin φ₁ · cos φ₂ · cos Δλ )

The result is converted to the 0–360° range. The distance is found with the haversine formula. The tool does this calculation for you; you only need to choose a province or enter latitude and longitude.

Qibla degrees for 15 provinces

The values below are calculated from provincial center coordinates, relative to true north:

ProvinceQibla direction (degrees)Approximate distance to the Kaaba
Istanbul151.6°2,405 km
Edirne147.1°2,572 km
Bursa150.8°2,321 km
Izmir143.7°2,246 km
Antalya150.4°1,933 km
Ankara160.2°2,161 km
Konya156.9°1,960 km
Adana164.7°1,786 km
Gaziantep171.6°1,756 km
Samsun170.5°2,233 km
Trabzon179.7°2,177 km
Diyarbakır181.4°1,834 km
Erzurum184.2°2,059 km
Kars189.2°2,155 km
Van191.2°1,928 km

As the table shows, the qibla shifts toward the southeast in western Turkey, south-southeast in the middle, and toward the south and even the southwest in the east. Trabzon points at about 180°, which is due south, while Van, at 191°, is slightly west of south. The reason is that the longitude of the Kaaba (39.83°) passes through the middle of Turkey.

How do you find the qibla with a compass?

Compasses usually show magnetic north, not true north. The angle between the two is called magnetic declination. In Turkey this declination is roughly a few degrees to the east (about 4–7°) and changes slightly from year to year. If the declination is eastward, you subtract it from the calculated qibla angle to get the compass reading:

Compass reading = True qibla angle − magnetic declination

Example 1: In Istanbul the qibla is 151.6°. If you take the declination as +5°, the angle your compass should show is 146.6°. The tool's default values give this result.

Example 2: In Ankara, 160.2° − 5° = 155.2°. In Kars, taking the declination as 6°, 189.2° − 6° = 183.2°.

Steps:

  1. Hold your phone flat, open the compass, and calibrate the device by moving it in a figure eight.
  2. Move away from metal tables, speakers, magnets, and electronic devices.
  3. Turn to the calculated compass angle; in most apps you can set north to true north, in which case no declination correction is needed.
  4. Mark the direction with an object (a wall or a line on a rug).

Checking the qibla with the sun

Twice a year the Sun passes directly over the Kaaba: around May 27–28 and July 15–16. On those days, at about 12:18 (May) and 12:27 (July) Mecca local time, which is the same clock time in Turkey, the shadow of every upright object points exactly away from the Kaaba. In other words, the direction opposite to where the shadow extends is the qibla. This method requires no compass and is very accurate if done at the right time; for exact times, consult official sources such as the Diyanet. For prayer times, the Prayer Times Calculator (Diyanet Method) is also useful.

Marking the qibla permanently at home

Once you have determined the direction correctly, leaving a permanent mark in your home makes things easier. Note the calculated compass angle relative to a wall of the room; for example, a rug line turned 20° to the right of the wall, or a small marker stuck on the edge of the ceiling, is enough. Taking two or three measurements at the same spot with a phone compass and using their average is more reliable than a single measurement. When you move, remember to repeat the process with the coordinates of the new address; the qibla angle does not change noticeably over a move of just a kilometer or two, but when you move to another province it can differ by anywhere from a few degrees to ten degrees.

In a hotel room and when traveling

Common mistakes

Accuracy and limits

The calculation is based on a spherical model; because the Earth is not a perfect sphere, there can be very small (a tenth of a degree) differences. In practice, a two-degree deviation corresponds to a shift of one or two meters over a few hundred meters, which is an acceptable level of precision for prayer. That said, in mosques the direction of the mihrab is what counts.

In short, the qibla direction is found from your latitude and longitude with the great-circle formula, and on a compass the magnetic declination must be subtracted. To see the result for your location, open the Qibla Direction Calculator.

Frequently asked questions

How many degrees is the qibla in Istanbul?

In Istanbul the qibla direction is about 151.6° clockwise from true north. If your compass shows magnetic north and the magnetic declination in your area is about +5°, you should read 146.6° on the compass.

Why might a phone compass show the qibla incorrectly?

A compass shows magnetic north, which deviates a few degrees from true north; metal objects, speakers, and electronic devices also distort the measurement. Calibrate the compass by moving it in a figure eight, correct for the declination, and if possible compare it with the mihrab in a mosque.

Is this calculation official?

No, it is a mathematical calculation; it finds the qibla direction from latitude and longitude using the great-circle formula. If certainty is required for worship, rely on the mihrab in the mosque or the information from the Diyanet (Presidency of Religious Affairs).

Tools mentioned in this guide

More guides

This article is for general information only and is not legal, financial or medical advice. We are not an official institution.