Local Prayer Times

Madinah, Saudi Arabia

Qibla direction in Madinah (Medina)

NESW
Qibla from Madinah

176.3°

South (S), measured clockwise from true north

339 km (211 miles) to the Kaaba in Makkah along the shortest path over the globe.

Find the qibla with the Sun in Madinah

No compass needed: at these moments the Sun stands exactly in the qibla direction, or exactly opposite it so that shadows point towards Makkah.

DateTimeQibla isSun height
Fri 4 Dec12:00 pmFace the Sun43°
Sat 5 Dec12:00 pmFace the Sun43°
Sun 6 Dec12:01 pmFace the Sun43°
Mon 7 Dec12:01 pmFace the Sun43°
Tue 8 Dec12:02 pmFace the Sun43°
Wed 9 Dec12:02 pmFace the Sun43°
Thu 10 Dec12:02 pmFace the Sun42°
Fri 11 Dec12:03 pmFace the Sun42°
Sat 12 Dec12:03 pmFace the Sun42°
Sun 13 Dec12:04 pmFace the Sun42°

When the Sun is over the Kaaba

Twice a year the Sun passes straight over the Kaaba at midday in Makkah. In 2027 that happens on Friday 28 May 2027 at 12:18 pm local time (12:17 PM in Makkah); Friday 16 July 2027 at 12:27 pm local time (12:26 PM in Makkah). The Sun is then 87° above the horizon in Madinah, so at that moment it stands exactly in the qibla direction and every shadow points directly away from it.

Using a compass

Stand with the compass flat, find north, then turn 176° clockwise (south). The bearing is from true (geographic) north. A magnetic compass points to magnetic north, which differs from true north by the local magnetic declination; many phone compass apps can show true north when location is switched on. The NOAA declination calculator gives the correction for your position.

The direction is the start of the great circle, the shortest path over the Earth, from Madinah to the Kaaba, which is how qibla compasses and calculators define it. On a flat Mercator map a straight line to Makkah points a different way, 176° (south), because such maps stretch distances towards the poles; the two can differ noticeably for distant cities.

Computed from the city coordinates (24.4686, 39.6142) and the Kaaba (21.4225, 39.8262) on a spherical Earth; agrees with the Aladhan qibla API to 0.01° and with an ellipsoidal (WGS84) geodesic to within 0.2°. Sun times from the same solar ephemeris as the prayer times.

Questions

What is the qibla direction from Madinah?

176.3° clockwise from true north, which is south.

How far is Madinah from Makkah?

About 339 km (211 miles) along the shortest path over the globe.

Is the qibla measured from true north or magnetic north?

From true north. Correct a magnetic compass by the local magnetic declination, or use a phone compass set to true north.