Qibla · Riau
Qibla direction in Pekanbaru
To face the Kaaba in Pekanbaru, turn to 293.8° measured clockwise from true north, which is north-west (23.8° north of west). The Sacred Mosque in Mecca lies 7,064 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Pekanbaru should follow.
On the compass the green needle points to 293.8°. If your phone shows true north, rotate until the heading reads 294°; with a classic magnetic compass, first correct for the local magnetic declination, which can shift the needle by several degrees.
Find the Qibla with your phone
How to face the Qibla in Pekanbaru
Stand where you will pray and find north first. Then turn towards west and move a further 23.8° towards north: the result is the bearing of 293.8°. A small error of a few degrees is forgiven by most scholars, but aiming simply at west would leave you about 24° off.
Scholars agree that someone who can see the Kaaba must face it exactly, while someone far away faces its direction (jihat al-Ka‘bah) as precisely as reasonably possible. The simplest check in Pekanbaru is a local mosque: its mihrab and prayer lines already point to the Qibla. See the mosques of Pekanbaru. At home, mark the direction once with tape or a small arrow so the whole family prays the same way.
Why a flat map shows a different direction
A straight line drawn on a flat (Mercator) map from Pekanbaru to Mecca points to 289.2° (west), 4.6° away from the correct 293.8°. That map line is a rhumb line: it keeps the same compass heading all the way, but it is 15 km longer than the true shortest route. The Qibla follows the great circle, the shortest path on the curved Earth, which is why the bearing differs.
The angle on this page is the initial bearing of the great circle from 0.5167° N, 101.4417° E to the Kaaba (21.4225° N, 39.8262° E). It is the method used by mosque architects and by every serious Qibla calculator, and it gives one exact answer for each point on Earth.
Distance from Pekanbaru to Mecca and Medina
Mecca is 7,064 km from Pekanbaru as the crow flies, and Medina, the city of the Prophet ﷺ, is 7,152 km away. A direct flight would take roughly 8 h 49 min, although most pilgrims from Pekanbaru connect through Jeddah or Medina airport.
Clocks in Pekanbaru run 4 hours ahead of Mecca all year. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Pekanbaru rather than those of Mecca.
Finding the Qibla with the sun in Pekanbaru
On 183 days of 2027, the sun passes exactly through the Qibla direction of Pekanbaru while it is well above the horizon. At that moment, facing the sun means facing Mecca. The effect is most frequent in May (31 days); for example, on 1 April 2027 it happens at 12:54 local time.
On 181 days the sun stands exactly opposite the Qibla: then the shadow of any vertical object, a pole, a door frame or a plumb line, points straight towards Mecca. This is most frequent in January (31 days), for instance on 1 January 2027 at 07:15.
| Date | Sun in the Qibla direction (face the sun) | Sun opposite (shadows point to the Qibla) |
|---|---|---|
| 1 January 2027 | — | 07:15 |
| 15 January 2027 | — | 08:13 |
| 1 February 2027 | — | 09:25 |
| 15 February 2027 | — | 10:20 |
| 1 March 2027 | — | 11:11 |
| 15 March 2027 | — | 11:58 |
| 1 April 2027 | 12:54 | — |
| 15 April 2027 | 13:41 | — |
| 1 May 2027 | 14:37 | — |
| 15 May 2027 | 15:29 | — |
| 1 June 2027 | 16:34 | — |
| 15 June 2027 | 17:20 | — |
| 1 July 2027 | 17:14 | — |
| 15 July 2027 | 16:29 | — |
| 1 August 2027 | 15:26 | — |
| 15 August 2027 | 14:33 | — |
| 1 September 2027 | 13:27 | — |
| 15 September 2027 | 12:33 | — |
| 1 October 2027 | — | 11:31 |
| 15 October 2027 | — | 10:37 |
| 1 November 2027 | — | 09:32 |
| 15 November 2027 | — | 08:39 |
| 1 December 2027 | — | 07:40 |
| 15 December 2027 | — | 06:57 |
Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Pekanbaru: at 16:18 and 16:27 local time, face the sun and you face the Qibla exactly, anywhere in the city.
Pekanbaru compared with other cities
Compared with Jakarta, 959 km away, the Qibla in Pekanbaru is turned 1.4° further anticlockwise (293.8° against 295.2°), and Mecca is 857 km closer. The nearest city with its own Qibla page, Payakumbuh (121 km), prays towards 294.3°, a difference of 0.5°.
Across the 140 cities in Indonesia on this site, the Qibla ranges from 290.2° in Merauke to 295.5° in Pelabuhanratu, a spread of 5.3°. That is too large to use one national direction, so each city has its own bearing.
See all cities on the Qibla page for Indonesia.
Qibla in cities near Pekanbaru
- Payakumbuh294.3° · 121 km
- Dumai293.3° · 128 km
- Bukittinggi294.4° · 150 km
- Padang294.7° · 203 km
- Rantauprapat293.3° · 251 km
- Padangsidempuan293.8° · 260 km
Qibla in Pekanbaru: questions and answers
What is the Qibla direction in Pekanbaru?
It is 293.8° from true north, which is north-west: 23.8° north of west.
How far is Pekanbaru from Mecca?
7,064 km in a straight line over the globe, and 7,152 km to Medina.
When does the sun show the Qibla in Pekanbaru?
On 183 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.
Why is the Qibla in Pekanbaru not the direction shown on a map?
Flat maps distort directions. The line on a map points to 289.2°, but the shortest route on the globe leaves Pekanbaru at 293.8°, and that is the Qibla.
Does the Qibla change during the year?
No. The direction of 293.8° is fixed; only the times when the sun lines up with it change from day to day.
