Qibla · Central Java
Qibla direction in Purwokerto
To face the Kaaba in Purwokerto, turn to 294.9° measured clockwise from true north, which is north-west (24.9° north of west). The Sacred Mosque in Mecca lies 8,216 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Purwokerto should follow.
On the compass the green needle points to 294.9°. If your phone shows true north, rotate until the heading reads 295°; 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 Purwokerto
Stand where you will pray and find north first. Then turn towards west and move a further 24.9° towards north: the result is the bearing of 294.9°. A small error of a few degrees is forgiven by most scholars, but aiming simply at west would leave you about 25° 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 Purwokerto is a local mosque: its mihrab and prayer lines already point to the Qibla. See the mosques of Purwokerto. 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 Purwokerto to Mecca points to 292.9°, only 2.0° away from the true Qibla. Here the two methods practically agree, so a map gives a usable first idea, although the 294.9° bearing remains the exact one.
The angle on this page is the initial bearing of the great circle from 7.4214° S, 109.2344° 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 Purwokerto to Mecca and Medina
Mecca is 8,216 km from Purwokerto as the crow flies, and Medina, the city of the Prophet ﷺ, is 8,327 km away. A direct flight would take roughly 10 h 10 min, although most pilgrims from Purwokerto connect through Jeddah or Medina airport.
Clocks in Purwokerto 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 Purwokerto rather than those of Mecca.
Finding the Qibla with the sun in Purwokerto
On 223 days of 2027, the sun passes exactly through the Qibla direction of Purwokerto 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 15 March 2027 it happens at 12:36 local time.
On 140 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 08:44.
| Date | Sun in the Qibla direction (face the sun) | Sun opposite (shadows point to the Qibla) |
|---|---|---|
| 1 January 2027 | — | 08:44 |
| 15 January 2027 | — | 09:23 |
| 1 February 2027 | — | 10:21 |
| 15 February 2027 | — | 11:08 |
| 1 March 2027 | — | 11:53 |
| 15 March 2027 | 12:36 | — |
| 1 April 2027 | 13:26 | — |
| 15 April 2027 | 14:08 | — |
| 1 May 2027 | 14:57 | — |
| 15 May 2027 | 15:40 | — |
| 1 June 2027 | 16:29 | — |
| 15 June 2027 | 16:56 | — |
| 1 July 2027 | 16:55 | — |
| 15 July 2027 | 16:28 | — |
| 1 August 2027 | 15:40 | — |
| 15 August 2027 | 14:54 | — |
| 1 September 2027 | 13:56 | — |
| 15 September 2027 | 13:06 | — |
| 1 October 2027 | 12:10 | — |
| 15 October 2027 | — | 11:20 |
| 1 November 2027 | — | 10:22 |
| 15 November 2027 | — | 09:37 |
| 1 December 2027 | — | 08:53 |
| 15 December 2027 | — | 08:32 |
Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Purwokerto: at 16:18 and 16:27 local time, face the sun and you face the Qibla exactly, anywhere in the city.
Purwokerto compared with other cities
The Qibla here is practically the same as in Jakarta (295.2°), and Mecca is 296 km farther away. The nearest city with its own Qibla page, Cilacap (42 km), prays towards 295.0°, a difference of 0.1°.
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 Purwokerto
Qibla in Purwokerto: questions and answers
What is the Qibla direction in Purwokerto?
It is 294.9° from true north, which is north-west: 24.9° north of west.
How far is Purwokerto from Mecca?
8,216 km in a straight line over the globe, and 8,327 km to Medina.
When does the sun show the Qibla in Purwokerto?
On 223 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 Indonesia?
No. It ranges from 290.2° to 295.5° across the country, so each city has its own bearing.
Does the Qibla change during the year?
No. The direction of 294.9° is fixed; only the times when the sun lines up with it change from day to day.
