Qibla · Central Java

Qibla direction in Salatiga

To face the Kaaba in Salatiga, turn to 294.6° measured clockwise from true north, which is north-west (24.6° north of west). The Sacred Mosque in Mecca lies 8,338 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Salatiga should follow.

Line up the top of your phone or compass with the green needle: it marks 294.6°, the Qibla of Salatiga. Phone compasses usually display true north, so a reading of 295° 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 Salatiga

Stand where you will pray and find north first. Then turn towards west and move a further 24.6° towards north: the result is the bearing of 294.6°. A small error of a few degrees is forgiven by most scholars, but aiming simply at west would leave you about 25° off.

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 Salatiga, faces its direction and makes a sincere effort to be accurate. Any of the mosques of Salatiga 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 Salatiga to Mecca points to 292.5° (north-west), 2.1° away from the correct 294.6°. That map line is a rhumb line: it keeps the same compass heading all the way, but it is 12 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.

How is the figure of 294.6° obtained? From the coordinates of Salatiga (7.3319° S, 110.4928° 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 Salatiga to Mecca and Medina

Mecca is 8,338 km from Salatiga as the crow flies, and Medina, the city of the Prophet ﷺ, is 8,445 km away. A direct flight would take roughly 10 h 19 min, although most pilgrims from Salatiga connect through Jeddah or Medina airport.

Clocks in Salatiga 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 Salatiga rather than those of Mecca.

Finding the Qibla with the sun in Salatiga

On 223 days of 2027, the sun passes exactly through the Qibla direction of Salatiga 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:31 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:33.

Sun in the Qibla direction in Salatiga, 2027 (local time, 24-hour clock). — means it does not happen that day.
DateSun in the Qibla direction (face the sun)Sun opposite (shadows point to the Qibla)
1 January 2027—08:33
15 January 2027—09:13
1 February 2027—10:13
15 February 2027—11:01
1 March 2027—11:47
15 March 202712:31—
1 April 202713:22—
15 April 202714:04—
1 May 202714:54—
15 May 202715:39—
1 June 202716:29—
15 June 202716:58—
1 July 202716:57—
15 July 202716:28—
1 August 202715:38—
15 August 202714:51—
1 September 202713:52—
15 September 202713:02—
1 October 202712:04—
15 October 2027—11:14
1 November 2027—10:15
15 November 2027—09:29
1 December 2027—08:44
15 December 2027—08:20

Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Salatiga: at 16:18 and 16:27 local time, face the sun and you face the Qibla exactly, anywhere in the city.

Salatiga compared with other cities

Compared with Jakarta, 421 km away, the Qibla in Salatiga is turned 0.6° further anticlockwise (294.6° against 295.2°), and Mecca is 418 km farther away. The nearest city with its own Qibla page, Ungaran (23 km), prays towards 294.5°, the same bearing to the tenth of a degree.

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 Salatiga

Qibla in Salatiga: questions and answers

What is the Qibla direction in Salatiga?

It is 294.6° from true north, which is north-west: 24.6° north of west.

How far is Salatiga from Mecca?

8,338 km in a straight line over the globe, and 8,445 km to Medina.

When does the sun show the Qibla in Salatiga?

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.6° is fixed; only the times when the sun lines up with it change from day to day.

More for Salatiga