Qibla · Qom Province
Qibla direction in Qom
To face the Kaaba in Qom, turn to 219.2° measured clockwise from true north, which is south-west (39.2° west of south). The Sacred Mosque in Mecca lies 1,824 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Qom should follow.
Line up the top of your phone or compass with the green needle: it marks 219.2°, the Qibla of Qom. Phone compasses usually display true north, so a reading of 219° is all you need; a needle compass reads magnetic north and needs the local declination added or subtracted first.
Find the Qibla with your phone
How to face the Qibla in Qom
Stand where you will pray and find north first. Then turn towards south and move a further 39.2° towards west: the result is the bearing of 219.2°. Because the angle sits far from the cardinal points, a rough guess such as “south” would be off by more than 30°, which is why a measured bearing matters in Qom.
Facing the Qibla is a condition of the prayer. Whoever prays inside the Sacred Mosque faces the Kaaba itself; whoever is far away, as in Qom, faces its direction and makes a sincere effort to be accurate. Any of the mosques of Qom is a handy reference, because the prayer rows were aligned when it was built. Once you know the direction at home, a discreet mark on the wall saves you from checking again.
Why a flat map shows a different direction
A straight line drawn on a flat (Mercator) map from Qom to Mecca points to 216.3° (south-west), 2.9° away from the correct 219.2°. That map line is a rhumb line: it keeps the same compass heading all the way, but it is not the true shortest route. The Qibla follows the great circle, the shortest path on the curved Earth, which is why the bearing differs.
How is the figure of 219.2° obtained? From the coordinates of Qom (34.6401° N, 50.8764° E) and of the Kaaba (21.4225° N, 39.8262° E), spherical trigonometry gives the starting bearing of the great circle joining them. Mosque architects and astronomical Qibla tables rely on exactly the same calculation.
Distance from Qom to Mecca and Medina
Mecca is 1,824 km from Qom as the crow flies, and Medina, the city of the Prophet ﷺ, is 1,568 km away. A direct flight would take roughly 2 h 39 min, although most pilgrims from Qom connect through Jeddah or Medina airport.
Clocks in Qom run 0.5 hours ahead of Mecca all year. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Qom rather than those of Mecca.
Finding the Qibla with the sun in Qom
On 365 days of 2027, the sun passes exactly through the Qibla direction of Qom while it is well above the horizon. At that moment, facing the sun means facing Mecca. The effect is most frequent in January (31 days); for example, on 1 January 2027 it happens at 14:49 local time.
The sun is never opposite the Qibla of Qom during daylight, so the shadow method does not apply here; the left-hand column is the one to use.
| Date | Sun in the Qibla direction (face the sun) | Sun opposite (shadows point to the Qibla) |
|---|---|---|
| 1 January 2027 | 14:49 | — |
| 15 January 2027 | 14:50 | — |
| 1 February 2027 | 14:43 | — |
| 15 February 2027 | 14:32 | — |
| 1 March 2027 | 14:17 | — |
| 15 March 2027 | 14:00 | — |
| 1 April 2027 | 13:39 | — |
| 15 April 2027 | 13:22 | — |
| 1 May 2027 | 13:05 | — |
| 15 May 2027 | 12:54 | — |
| 1 June 2027 | 12:47 | — |
| 15 June 2027 | 12:46 | — |
| 1 July 2027 | 12:50 | — |
| 15 July 2027 | 12:56 | — |
| 1 August 2027 | 13:07 | — |
| 15 August 2027 | 13:15 | — |
| 1 September 2027 | 13:26 | — |
| 15 September 2027 | 13:34 | — |
| 1 October 2027 | 13:43 | — |
| 15 October 2027 | 13:53 | — |
| 1 November 2027 | 14:06 | — |
| 15 November 2027 | 14:17 | — |
| 1 December 2027 | 14:31 | — |
| 15 December 2027 | 14:42 | — |
Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Qom: at 12:48 and 12:57 local time, face the sun and you face the Qibla exactly, anywhere in the city.
Qom compared with other cities
Compared with Tehran, 127 km away, the Qibla in Qom is turned 0.7° further clockwise (219.2° against 218.5°), and Mecca is 122 km closer. The nearest city with its own Qibla page, Sāveh (64 km), prays towards 217.0°, a difference of 2.2°.
Across the 90 cities in Iran on this site, the Qibla ranges from 195.9° in Khoy to 257.6° in Iranshahr, a spread of 61.7°. That is too large to use one national direction, so each city has its own bearing.
See all cities on the Qibla page for Iran.
Qibla in cities near Qom
- Sāveh217.0° · 64 km
- Kashan222.1° · 89 km
- Robāţ Karīm218.0° · 96 km
- Eslamshahr218.3° · 107 km
- Qarchak219.4° · 108 km
- Shahrīār217.6° · 114 km
Qibla in Qom: questions and answers
What is the Qibla direction in Qom?
It is 219.2° from true north, which is south-west: 39.2° west of south.
How far is Qom from Mecca?
1,824 km in a straight line over the globe, and 1,568 km to Medina.
When does the sun show the Qibla in Qom?
On 365 days of 2027 the sun stands in the Qibla direction; the table on this page gives the exact time for the 1st and 15th of each month.
Is the Qibla the same everywhere in Iran?
No. It ranges from 195.9° to 257.6° across the country, so each city has its own bearing.
Does the Qibla change during the year?
No. The direction of 219.2° is fixed; only the times when the sun lines up with it change from day to day.
