Published: 2026-12-03 • Last Updated: December 2026 • Reading Time: ~7 mins
1. Why this article exists
Every visitor to a mosque notices that the congregation faces one direction. The direction is called the Qibla, and it points toward the Sacred Mosque in Makkah. Our existing guide on determining Qibla direction in Australia explains the geometry. This article does something different: it looks at what the Qur'an and hadith say about the Qibla, and at how the direction changed in the lifetime of the Prophet (peace be upon him). It then explains, in plain terms, how that direction is converted into a compass bearing from an Australian city. It gives no rulings. For questions about how precise your alignment must be, please ask a qualified scholar.
2. The verse about turning the face
Surah al-Baqarah 2:144 is the verse most closely tied to the change of direction (Qur'an 2:144 on Quran.com). On the Quran.com page (translation by Dr. Mustafa Khattab, The Clear Quran), the verse begins with Allah saying that He sees the Prophet turning his face toward the heavens. It continues that He will give the Prophet a direction of prayer with which he will be pleased, tells him to turn his face toward the Sacred Mosque, and says that believers should do the same wherever they are. It adds that those who were given earlier scriptures know this is the truth from their Lord, and that Allah is never unaware of what people do. Two points are worth noting. The instruction to face the Sacred Mosque is addressed to the Prophet and then extended to all believers, and it applies wherever they are.
3. What Sahih al-Bukhari reports about the change
Hadith 399 in Sahih al-Bukhari is narrated by al-Bara' ibn Azib, under a chapter heading which says that during the obligatory prayers one should face the Qibla wherever one may be (Sahih al-Bukhari 399 on Sunnah.com). The report says that the Prophet first prayed facing Baitul-Maqdis (Jerusalem) for sixteen or seventeen months, although he preferred to face the Ka'bah. Then a verse about the turning of his face toward the heavens was revealed and he began to face the Ka'bah. Some people described in the report as foolish, identified there as Jews, questioned the change. In the report, a man who had prayed with the Prophet in the new direction later passed a group of the Ansar who were praying Asr toward Jerusalem. He told them of the change and they turned toward the Ka'bah.
The report records that the Qibla was changed during the Prophet's life, and it records how news of the change reached one group of people. The report does not say how far away the community was or how long they continued in the old direction before hearing the news, so we do not add any detail.
4. From “face the Sacred Mosque” to a compass bearing
For people living far from Makkah, the practical question is which way to point. Our guide calculates the shortest path across the earth's surface (the great-circle path) from a city to the Ka'bah and gives the starting direction of that path as a bearing measured clockwise from true north. The bearings we calculated for Australian state and territory capitals are listed below. They are our own calculations, not figures taken from a religious authority, so please check them with a calculator you trust before relying on them.
- Sydney 277.5°, Melbourne 278.8°, Brisbane 280.3°, Adelaide 283.3°
- Canberra 277.8°, Hobart 275.0°, Darwin 290.8°, Perth 295.4°
All of these bearings are close to west, tilted slightly north. Because they are measured from true north, a magnetic compass will need a correction for local magnetic declination. Geoscience Australia and the US National Oceanic and Atmospheric Administration both publish declination calculators, and our Qibla guide links to them.
Why a flat map can mislead
The great-circle method is the technical definition commonly used by Muslim astronomers, as described on Wikipedia's Qibla page, and Google's Qibla Finder describes the same approach: it uses the location of the Kaaba and your location to find the most direct route between two points on the globe. On a flat map that route can look curved, which is why drawing a straight line to Makkah on a flat map can point the wrong way. The Kaaba's coordinates are commonly given as about 21.4225° N, 39.8262° E. Sources differ slightly in the last decimals, which changes a bearing by only a tiny amount. As one example of the output, our home-page tool shows 278.8° and a distance of about 12,740 km for its default Melbourne location.
5. Using the compass tool on JummahGlobal
The Qibla compass on our home page calculates a bearing for the location you choose, and its Auto-Detect Location button uses your device's location if you allow it. It is a calculation, not a certification. If you are praying at a mosque, the mosque's own mihrab shows the direction that the congregation follows. Our Qibla guide notes that steel structures and magnets near your phone can disturb a compass reading, so step away from them before using it.
6. What these sources do not tell us
The verse and the hadith establish that Muslims face the Sacred Mosque and that the direction was changed during the Prophet's lifetime. They do not set out a method of calculation, and they do not give a tolerance, for example how many degrees of error are acceptable. Scholars have written on those questions and may differ, so we leave them out. If you have a question about a specific situation, such as praying on an aeroplane or in a room where the direction is uncertain, please ask a qualified scholar or your local imam.
7. Summary
Surah al-Baqarah 2:144 and Sahih al-Bukhari 399 describe the instruction to face the Sacred Mosque and record the move from Jerusalem to the Ka'bah. Modern tools convert that instruction into a bearing, and different tools can differ by a degree or two depending on the method and on magnetic declination. Check your calculation with a trusted source and, for congregational prayer, follow the direction of your mosque.