TR

Home / Lookup / Qibla Direction Calculator

🧭 Qibla Direction Calculator

Qibla Direction Calculator – get instant, free results right on your device.

⚠️ Important notice: This tool calculates the qibla direction mathematically from latitude and longitude; it is not an official document. A compass is affected by magnetic declination and nearby metal objects. Inside a mosque, rely on the mihrab; where needed for worship, rely on the qibla determination of the Diyanet (Presidency of Religious Affairs).
WhatsAppTelegramX

The qibla is the direction of the great circle (shortest path) from where you are to the Kaaba. Degrees are measured clockwise from true north. Phone compasses may point to magnetic north; correct for the declination value. Inside a mosque, follow the mihrab. Not an official institution.

Last updated: November 2026 · Parameter year: 2026 · Methods and sources: Methodology · Editorial policy

What is Qibla Direction Calculator?

The qibla is the direction of the Kaaba in Mecca, which is faced in prayer, relative to where you are. Because the Earth is a sphere, this direction is the starting angle of the great-circle arc, the shortest path between two points, and it can differ from the direction you would draw as a straight line on a map. In Turkey, the qibla is toward the southeast in the west, south-southeast in the center, and nearly south or even southwest in the east.

Select your province from the list, or enter latitude and longitude with the “Custom coordinates” option (north and east are positive). From the Kaaba's coordinates (21.4225° N, 39.8262° E), the tool gives the qibla direction in degrees relative to true north, as a verbal direction, and as the straight-line distance to the Kaaba. If your phone's compass shows magnetic north, enter your region's magnetic declination in the declination field (roughly 4–7° east in Turkey); the tool also calculates the angle you should read on the compass.

The calculation is based on a spherical model and in practice may differ by less than half a degree; this is sufficient precision for prayer. Still, this tool is not an official determination; in a mosque, follow the mihrab, and for religious information, rely on the Diyanet (Presidency of Religious Affairs). Compasses are affected by metal objects and electronic devices, so keep away from them when measuring. The calculation runs in your browser, and your location is not sent anywhere. For prayer times, see the Prayer Times Calculator (Diyanet Method).

How to use

Fill in these fields: Province, Latitude, Longitude, Magnetic declination. Then press the button; the result appears on the same page and your data never leaves your device.

Formula

Istanbul → qibla direction about 151.6° from true north (south-southeast), about 2,405 km to the Kaaba

Example

Istanbul → qibla direction about 151.6° from true north (south-southeast), about 2,405 km to the Kaaba

Worked examples and tips

Example 1: For Istanbul, the qibla direction is 151.6° clockwise from true north (south-southeast). With a magnetic declination of +5°, you should read 146.6° on the compass; the straight-line distance to the Kaaba is about 2,405 km.

Example 2: For Ankara, the qibla direction is 160.2°, the compass reading (declination +5°) is 155.2°, and the distance is about 2,161 km. In Kars (declination +6°), the qibla is 189.2°, close to south-southwest, the compass reading is 183.2°, and the distance is about 2,155 km.

Example 3: For abroad, if you choose 'Custom coordinates' and enter Berlin's latitude 52.52 and longitude 13.40 (declination +3°), the qibla is 136.7° (southeast), the compass reading is 133.7°, and the distance is about 4,130 km.

Tips: If your phone's compass is set to true north, enter 0 for the magnetic declination. Calibrate the compass and keep away from metal objects and speakers. The calculation is not an official determination; in a mosque, follow the mihrab. Within the same province, the direction changes by less than half a degree between districts.

Frequently asked questions

Qibla Direction Calculator – how to use it?

Fill in the fields and press the button; the result appears instantly. Example: Istanbul → qibla direction about 151.6° from true north (south-southeast), about 2,405 km to the Kaaba

Qibla Direction Calculator – is it free, and is my data stored?

Yes, it is free and requires no sign-up. Because processing happens in your browser, the information you enter is not sent to a server.

Related guide

Related tools

🚘Turkish License Plate Code LookupTurkish License Plate Code Lookup – get instant, free results right on your device.🗓️Day of Week and Day of Year LookupDay of Week and Day of Year Lookup – get instant, free results right on your device.♈Zodiac Sign LookupZodiac Sign Lookup – get instant, free results right on your device.🕌Prayer Times Calculator (Diyanet Method)Prayer Times Calculator (Diyanet Method) – get instant, free results right on your device.🌙Moon Phase CalculatorMoon Phase Calculator – get instant, free results right on your device.%Percentage CalculatorCalculate the percentage of a number, the ratio between two numbers, and the percentage change.