Qibla · Ogooué-Maritime Province
Qibla direction in Port-Gentil
To face the Kaaba in Port-Gentil, turn to 52.0° measured clockwise from true north, which is north-east (38.0° north of east). The Sacred Mosque in Mecca lies 4,174 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Port-Gentil should follow.
On the compass the green needle points to 52.0°. If your phone shows true north, rotate until the heading reads 52°; 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 Port-Gentil
Stand where you will pray and find north first. Then turn towards east and move a further 38.0° towards north: the result is the bearing of 52.0°. Because the angle sits far from the cardinal points, a rough guess such as “east” would be off by more than 30°, which is why a measured bearing matters in Port-Gentil.
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. If a mosque is nearby, its mihrab and prayer lines are the easiest reference, since they were set when the building was laid out. 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
On a flat (Mercator) map, the straight line from Port-Gentil to Mecca points to 53.9°, only 1.9° away from the true Qibla. Here the two methods practically agree, so a map gives a usable first idea, although the 52.0° bearing remains the exact one.
The angle on this page is the initial bearing of the great circle from 0.7193° S, 8.7815° 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 Port-Gentil to Mecca and Medina
Mecca is 4,174 km from Port-Gentil as the crow flies, and Medina, the city of the Prophet ﷺ, is 4,345 km away. A direct flight would take roughly 5 h 25 min, although most pilgrims from Port-Gentil connect through Jeddah or Medina airport.
Clocks in Port-Gentil run 2 hours behind Mecca all year. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Port-Gentil rather than those of Mecca.
Finding the Qibla with the sun in Port-Gentil
On 190 days of 2027, the sun passes exactly through the Qibla direction of Port-Gentil 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:02 local time.
On 175 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 14:36.
| Date | Sun in the Qibla direction (face the sun) | Sun opposite (shadows point to the Qibla) |
|---|---|---|
| 1 January 2027 | — | 14:36 |
| 15 January 2027 | — | 14:29 |
| 1 February 2027 | — | 14:07 |
| 15 February 2027 | — | 13:42 |
| 1 March 2027 | — | 13:13 |
| 15 March 2027 | — | 12:41 |
| 1 April 2027 | 12:02 | — |
| 15 April 2027 | 11:30 | — |
| 1 May 2027 | 10:58 | — |
| 15 May 2027 | 10:34 | — |
| 1 June 2027 | 10:14 | — |
| 15 June 2027 | 10:08 | — |
| 1 July 2027 | 10:13 | — |
| 15 July 2027 | 10:26 | — |
| 1 August 2027 | 10:49 | — |
| 15 August 2027 | 11:11 | — |
| 1 September 2027 | 11:38 | — |
| 15 September 2027 | 12:01 | — |
| 1 October 2027 | — | 12:27 |
| 15 October 2027 | — | 12:51 |
| 1 November 2027 | — | 13:22 |
| 15 November 2027 | — | 13:47 |
| 1 December 2027 | — | 14:13 |
| 15 December 2027 | — | 14:30 |
Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Port-Gentil: at 10:18 and 10:27 local time, face the sun and you face the Qibla exactly, anywhere in the city.
Port-Gentil compared with other cities
Compared with Libreville, 144 km away, the Qibla in Port-Gentil is turned 0.6° further anticlockwise (52.0° against 52.6°), and Mecca is 135 km farther away. The nearest city with its own Qibla page, Libreville (144 km), prays towards 52.6°, a difference of 0.6°.
Across the 3 cities in Gabon on this site, the Qibla ranges from 46.6° in Franceville to 52.6° in Libreville, a spread of 6.0°. That is too large to use one national direction, so each city has its own bearing.
See all cities on the Qibla page for Gabon.
Qibla in cities near Port-Gentil
- Libreville52.6° · 144 km
- Franceville46.6° · 543 km
Qibla in Port-Gentil: questions and answers
What is the Qibla direction in Port-Gentil?
It is 52.0° from true north, which is north-east: 38.0° north of east.
How far is Port-Gentil from Mecca?
4,174 km in a straight line over the globe, and 4,345 km to Medina.
When does the sun show the Qibla in Port-Gentil?
On 190 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 Gabon?
No. It ranges from 46.6° to 52.6° across the country, so each city has its own bearing.
Does the Qibla change during the year?
No. The direction of 52.0° is fixed; only the times when the sun lines up with it change from day to day.
