Qibla · Estado de Bahia
Qibla direction in Alagoinhas
To face the Kaaba in Alagoinhas, turn to 66.5° measured clockwise from true north, which is north-east (23.5° north of east). The Sacred Mosque in Mecca lies 9,314 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Alagoinhas should follow.
The compass rose shows the Qibla of Alagoinhas as a needle at 66.5°. With a phone app set to true north, simply turn until it reads 66°. A traditional magnetic compass also works, provided you allow for the local difference between magnetic and true north.
Find the Qibla with your phone
How to face the Qibla in Alagoinhas
Stand where you will pray and find north first. Then turn towards east and move a further 23.5° towards north: the result is the bearing of 66.5°. A small error of a few degrees is forgiven by most scholars, but aiming simply at east would leave you about 24° off.
The scholars distinguish two cases: the one who sees the Kaaba aims at the building itself, while the one who cannot see it, as anywhere in Alagoinhas, aims at its direction as well as he reasonably can. Comparing with the mihrab of a local mosque is a quick way to confirm the result. If you travel or move house, check the angle again, since it changes from place to place.
Why a flat map shows a different direction
On a flat (Mercator) map, the straight line from Alagoinhas to Mecca points to 66.4°, only 0.1° away from the true Qibla. Here the two methods practically agree, so a map gives a usable first idea, although the 66.5° bearing remains the exact one.
The value of 66.5° is the direction in which the shortest route from 12.1356° S, 38.4192° W sets off towards the Kaaba at 21.4225° N, 39.8262° E. Every accurate Qibla calculator, and the plans of well-oriented mosques, arrive at the same angle for this point.
Distance from Alagoinhas to Mecca and Medina
Mecca is 9,314 km from Alagoinhas as the crow flies, and Medina, the city of the Prophet ﷺ, is 9,386 km away. A direct flight would take roughly 11 h 27 min, although most pilgrims from Alagoinhas connect through Jeddah or Medina airport.
Clocks in Alagoinhas run 6 hours behind Mecca all year. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Alagoinhas rather than those of Mecca.
Finding the Qibla with the sun in Alagoinhas
On 207 days of 2027, the sun passes exactly through the Qibla direction of Alagoinhas while it is well above the horizon. At that moment, facing the sun means facing Mecca. The effect is most frequent in March (31 days); for example, on 1 March 2027 it happens at 11:05 local time.
On 115 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 13:50.
| Date | Sun in the Qibla direction (face the sun) | Sun opposite (shadows point to the Qibla) |
|---|---|---|
| 1 January 2027 | — | 13:50 |
| 15 January 2027 | — | 13:25 |
| 1 February 2027 | — | 12:37 |
| 15 February 2027 | — | 11:52 |
| 1 March 2027 | 11:05 | — |
| 15 March 2027 | 10:17 | — |
| 1 April 2027 | 09:17 | — |
| 15 April 2027 | 08:29 | — |
| 1 May 2027 | 07:36 | — |
| 15 May 2027 | 06:52 | — |
| 1 June 2027 | — | — |
| 15 June 2027 | — | — |
| 1 July 2027 | — | — |
| 15 July 2027 | 06:25 | — |
| 1 August 2027 | 07:13 | — |
| 15 August 2027 | 07:54 | — |
| 1 September 2027 | 08:42 | — |
| 15 September 2027 | 09:22 | — |
| 1 October 2027 | 10:06 | — |
| 15 October 2027 | 10:47 | — |
| 1 November 2027 | — | 11:40 |
| 15 November 2027 | — | 12:26 |
| 1 December 2027 | — | 13:16 |
| 15 December 2027 | — | 13:47 |
Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Alagoinhas: at 06:18 and 06:27 local time, face the sun and you face the Qibla exactly, anywhere in the city.
Alagoinhas compared with other cities
Compared with Brasília, 1,103 km away, the Qibla in Alagoinhas is turned 2.3° further anticlockwise (66.5° against 68.8°), and Mecca is 1,103 km closer. The nearest city with its own Qibla page, Feira de Santana (61 km), prays towards 66.6°, a difference of 0.1°.
Across the 257 cities in Brazil on this site, the Qibla ranges from 66.1° in Maceió to 74.2° in Uruguaiana, a spread of 8.1°. That is too large to use one national direction, so each city has its own bearing.
See all cities on the Qibla page for Brazil.
Qibla in cities near Alagoinhas
- Feira de Santana66.6° · 61 km
- Camaçari66.4° · 63 km
- Lauro de Freitas66.4° · 85 km
- Salvador66.4° · 94 km
- Santo Antônio de Jesus66.6° · 130 km
- Lagarto66.4° · 159 km
Qibla in Alagoinhas: questions and answers
What is the Qibla direction in Alagoinhas?
It is 66.5° from true north, which is north-east: 23.5° north of east.
How far is Alagoinhas from Mecca?
9,314 km in a straight line over the globe, and 9,386 km to Medina.
When does the sun show the Qibla in Alagoinhas?
On 207 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 Brazil?
No. It ranges from 66.1° to 74.2° across the country, so each city has its own bearing.
Does the Qibla change during the year?
No. The direction of 66.5° is fixed; only the times when the sun lines up with it change from day to day.
