Al-Biruni's Ghazna qibla setting-out

تخطيط قبلة غزنة بالدائرة عند البيروني

Transfers spherical calculation into local circle setting-out using thirds or eighteenths of a radius; approximations for Ghazna, not a worldwide fixed bearing 1.

Depth

At a glance

Era
The Buyid, Fatimid and Seljuk Era
Region
Persia & Central Asia

Images

Sphere with great-circle arcs, red verticesA/B/C, right angle atC and centerO; no city labels or plotted qibla.
Commons Spherical triangle.svg, Pbrks/Pbroks13,14 July2008; derivative of Stannered24 April2007 tracing Rt66lt PNG, whose original PD statement names wfstb. Verified worldwide public-domain release; modern context only. · Licence: PD · Media record
Sphere with great-circle arcs, red verticesA/B/C, right angle atC and centerO; no city labels or plotted qibla.
Image: Spherical geometry behind qibla calculation — modern context. Commons Spherical triangle.svg, Pbrks/Pbroks13,14 July2008; derivative of Stannered24 April2007 tracing Rt66lt PNG, whose original PD statement names wfstb. Verified worldwide public-domain release; modern context only.

Quick facts

Domain
Navigation, cartography and geography
Kind
Method
First attested
1025 CE · 416 AH
Era
Abbasid age
Where
Ghazna
Attribution
Improvement

Who made it

The claim and its basis

Documented practical approximation of a calculated direction, not absolute priority.

Text acknowledges earlier methods, then gives architects two local constructions; describer is narrower than inventor of all qibla science.

Sources: The Determination of the Coordinates — Jamil Ali translation · Biruni — Günay Tümer, TDV İslâm Ansiklopedisi · Al-Bīrūnī — Encyclopaedia Britannica · Commons — right spherical triangle

Before it

  • Earlier astronomers' and zij methods

How it works

Spherical calculation to a building line

Summary

How can a calculation on a sphere become a line that an architect can draw on a flat surface? Near the end of his investigation of qibla direction, al-Biruni supplies a practical connection between mathematical specialist and craft worker: two circle approximations specifically for Ghazna, following elaborate calculations of the direction of Mecca 2. This entry is not about inventing the qibla or all spherical trigonometry. The author acknowledges earlier astronomers, then distinguishes the needs of calculators from those of architects 3. Its subject is a documented procedure whose approximation can be examined, not an archaeological mosque proved to have used it.

What it is

The method transfers a calculated direction to a horizontal circle with a known north–south line, obtaining a slanting radius and a wall line perpendicular to it 1. The first approximation divides the southern radius into thirds; the second divides the western radius into eighteen parts and uses a point near its outer end 1. This is not a drawing of a journey around the Earth. It represents a local angle in the town's horizon plane, whereas the preceding proof treats the problem on a sphere 4. No radius in the builder's circle represents the distance between Ghazna and Mecca.

The world before it

The qibla chapter opens by acknowledging simple methods used by earlier members of the astronomical profession, before introducing a more detailed computation 5. Later, the author returns to a figure representing a method described in astronomical tables, or zijes; he does not place himself at the beginning of the entire subject 6. Another established practice appears when he discusses the reference meridian: the Indian Circle is already in current use before he supplies an alternative 7. These precedents remain in the account. The passage does not justify inventing a named discoverer for every operation or a direct transmission from an author it does not identify.

The story

Al-Biruni connects determining the positions of towns with public benefit, making qibla direction an application of geographical measurement rather than an ornament added after the tables 5. A Ghazna example, spherical proofs and alternative numerical methods follow, before an explicit change of audience to architects and artisans 8. Tümer dates the composition of the Tahdid to 416/1025: the record uses that documentary date, not an invented year for a mosque or the first trial of the circle construction 9. The conclusion explains the particular local benefit of investigating Ghazna's position, while retaining a wider geographical purpose 10.

The maker(s)

Sunni frame: The museum's declared frame is Sunni, while preserving the individually documented Muslim identity of al-Biruni and disagreement over his affiliation. A patron's religion or a book's language cannot by itself establish an individual's belief 11 12. Tümer challenges inferences drawn simply from political patronage; this attributed interpretation is not converted into a decisive personal declaration by the scholar 11.

Reported Shia and Zaydi classifications: Tümer reports Abdullah Ni'me's classification and Taqi Danishpazhuh's assessment. Their original arguments were not independently read for this entry; the reported views remain labelled, without a sectarian verdict 11. The scientific role here is “describer” of a calculation-to-construction procedure. The passage neither makes him the first person to know a direction or divide a circle nor names builders who executed the example in a surviving structure 13.

How it works

In the spherical proof, the author represents the zeniths of Ghazna and Mecca and draws a great circle through them. Its intersection with the horizon supplies the required direction relative to the meridian 14. He also handles which side the angle lies on: east or west, and north or south of the east–west line. A sine value alone does not determine the quadrant 15.

The architect's first construction begins with a circle and meridian. A point is placed one-third of the radius south of the center; a perpendicular extends west from that point to the circumference, and the center is joined to the intersection 1. In our modern unit-circle reconstruction, the southward component is 1/3, giving an angle west of south of acos(1/3), approximately 70.528779°. These symbols and the decimal answer are our reconstruction of the instructions, not a formula printed in that notation by al-Biruni 16.

For the more precise construction, divide the western radius into eighteen parts, count one part inward from its western endpoint, and extend a perpendicular south to the circumference 7. The westward component is 17/18 of the radius, so our reconstructed angle is asin(17/18), approximately 70.811864° west of south. It is not an angle of 17/18 degrees, and the count does not begin at the center 17. The niche wall is perpendicular to the resulting direction, not parallel to it 7.

To check that the result is a ratio rather than a building dimension, choose an imaginary radius of 18 paper units. The first point is 6 units south of the center; the second is 17 units west of it. In both cases the circumference determines the perpendicular's endpoint, not a guessed additional length 16. Scaling the whole drawing equally preserves its angle; moving only one point does not. These are modern teaching units, not historical measurements reported by the author or dimensions of a mosque. A small paper diagram can represent a direction without representing the distance between the towns.

The spread

The inspected pages supply no list of mosques, named builders or documented itinerary of the construction. Addressing artisans establishes an intended audience, not a count of adopters 18. Being reproducible on paper does not prove that every later qibla layout borrowed it. The record therefore invents neither diffusion arrows between cities nor a chain from Ghazna into modern architecture. What is traceable is the explanatory sequence within the book: positions, direction, practical approximation, then ways of establishing the reference meridian 19. That is a documented teaching sequence even without a demonstrated history of field use.

What it was built on

The calculations need the latitude of the town, the latitude of Mecca and their difference in longitude. They use sines, cosines and auxiliary arcs, with figures and ratios explaining the operations 20. The practical construction also needs a correct reference direction; this is why the architectural instructions are followed by meridian determination 21. Writing “south” at the top of a sheet does not establish true south, and dividing a radius cannot repair a mistaken reference line. The museum's Abu al-Wafa spherical-triangle methods concern a different mathematical contribution. This passage does not demonstrate that they directly supplied this procedure, so no unsupported dependency edge connects the entries.

What was built on it

Within the text, a calculated direction becomes a drawn line and then a relationship to the niche wall: the author states that application explicitly 1. The passage does not name the inventor of a phone app or a modern map projection, and functional similarity does not establish descent. The dependent-inventions field consequently remains empty, not because the method lacks value but because reception is a separate historical question. The conclusion also identifies finding the direction of travel to a destination as a wider geographical benefit; it does not present an assembled navigation device or prove that a particular traveler used Ghazna's two approximations 22.

Impact on daily life

The clearest described effect is making knowledge available between professions: a calculator handles elaborate quantities while an artisan needs a limited sequence of drawing operations 1. The architectural approximation avoids reproducing all the sexagesimal arithmetic on the building surface, but it does not dispense with the local result it approximates. Calling the niche wall perpendicular to the direction also helps distinguish the line of sight from the line of the wall 7. The pages do not measure labor hours saved, construction cost or the error of an existing mosque. The museum supplies none of those numbers by intuition. This is a historical professional procedure, not a binding religious instruction to today's visitor.

How it changed history

These pages show that application and proof were not opposites: the author explains the geometry, then changes the approximation level when the user changes 8. The conclusion says corrected positions benefit Muslims and also mentions Jerusalem for Jews, east for Christians and the meridian for Sabians. These are the author's descriptions of religious communities, not our generalizations about every community or individual today 23. The bounded historical importance is evidence of geography, computation and practical work being connected. It is not a claim that these pages alone changed every building, invented tolerance or founded modern cartography. The documented small procedure does not need those larger claims to matter.

Who invented it?

The precise attribution is to the exposition and two approximations in the inspected book, preserving its acknowledgment of predecessors. These pages alone do not prove worldwide priority 24. They also contain a significant textual problem: the division instruction on translated page 245 reverses the numerator–denominator order used in the example on 246 and supported by the proof on 247 15. We neither repair it silently nor assign the error to the Arabic author without collating the original.

A second problem is a printed longitude difference of 26°22′24″ paired with a sine of 27;35,14 on a radius 60 scale. Our modern arithmetic gives approximately0.444218 for the printed angle, whereas the printed sine divided by 60 is approximately0.459787, close to the sine of 27°22′24″ 25. This discrepancy is disclosed, not used as permission to alter the historical longitude or claim that the example passed a modern accuracy test.

Today

The construction can teach approximation, not determine the qibla of another town. The first historical example reports 70°48′15″ from south, the second 70°47′13″ west of south, a difference of one minute and two seconds. We neither make them equal nor explain their entire difference as rounding without investigation 26. In our reconstruction, the eighteenths construction is closer to those reported angles than the thirds construction. That is a bounded, checkable interpretation of the author's statement about improved precision 27. Real-world directional accuracy needs separate coordinates, reference conventions and verification, particularly given the numerical discrepancy in this translation. The museum offers no live compass or surveying service.

Surviving examples

The witness actually read was Jamil Ali's English translation in a147-page file of two-page photographic spreads, not an independently collated Arabic manuscript. Numbers in the middle refer to the Cairo edition and do not equal the English page numbers 28. Pages241–247 and 254–257 were visually inspected, including Fig.69 and both architectural constructions; the rest of the selected passage was read, not the whole book. The accompanying image is a modern right spherical triangle, right angle atC, with a public-domain release and documented derivative chain. It is not al-Biruni's figure or a Mecca–Ghazna map 29. Its Greek labels near the center mark central angles, not city names or historical qibla values.

In culture

The move from computation to the craft worker's hand deserves a place in a museum: knowledge does not end at a number, since the author asks how someone can place it on a surface 1. But the diagram should not become a slogan suggesting that one direction serves all Muslims or that every niche bears this book's influence. Ghazna's specificity is part of the meaning, not a dispensable detail 18. The entry distinguishes what the text says, what the museum has recalculated and what is not established, rather than producing a heroic image that confuses a Muslim author's contribution with first ownership of every idea he used.

For young readers

Compare two equal paper circles with clearly marked imaginary directions. The first uses a point one-third of the radius southward; the second a point one eighteenth inward from the western endpoint. Their perpendiculars do not start at the same place 30. Compare the rays from the center and ask which is closer to approximately 71°, then remember that this comparison does not establish the direction of a real city. Keep it a paper geometry activity: no solar observations, rooftop work or mosque orientation. The important question behind “more accurate” is always: closer to which value, using which data?

References

  • 31 — Primary translation actually read, not manuscript collation;255–256 for the two constructions.
  • 32 — Composition date and disputed affiliation.
  • 12 — Individual Muslim identification, not inference from a name.
  • 29 — Modern contextual image, not evidence of historical building practice.

Connections

Explore the connections

Described by
Al-Biruni, Muhammad ibn Ahmad

People and things also explored

Qibla· Al-Biruni at Qābūs's court, Gurgān· Al-Biruni takes refuge at Bukhara· Maḥmūd takes al-Bīrūnī to Ghazna· The Masʿūdic Canon dedicated· The book on India composed· Al-Tha'alibi at the Khwarazmshah's court, Jurjaniyya, c. 403/1012· Al-Biruni's mountain-and-horizon Earth measurement

Sources

  1. The Determination of the Coordinates — Jamil Ali translation , pp.255–256
  2. The Determination of the Coordinates — Jamil Ali translation , pp.241–256
  3. The Determination of the Coordinates — Jamil Ali translation , pp.241,255
  4. The Determination of the Coordinates — Jamil Ali translation , pp.242–255
  5. The Determination of the Coordinates — Jamil Ali translation , p.241
  6. The Determination of the Coordinates — Jamil Ali translation , p.253
  7. The Determination of the Coordinates — Jamil Ali translation , p.256
  8. The Determination of the Coordinates — Jamil Ali translation , pp.242–256
  9. Biruni — Günay Tümer, TDV İslâm Ansiklopedisi , works
  10. The Determination of the Coordinates — Jamil Ali translation , p.258
  11. Biruni — Günay Tümer, TDV İslâm Ansiklopedisi , religious-affiliation discussion
  12. Al-Bīrūnī — Encyclopaedia Britannica , biography
  13. The Determination of the Coordinates — Jamil Ali translation , pp.241,255–256
  14. The Determination of the Coordinates — Jamil Ali translation , pp.242–243
  15. The Determination of the Coordinates — Jamil Ali translation , pp.245–247
  16. The Determination of the Coordinates — Jamil Ali translation , pp.255–256 reconstructed geometry
  17. The Determination of the Coordinates — Jamil Ali translation , p.256 reconstructed geometry
  18. The Determination of the Coordinates — Jamil Ali translation , pp.255–258
  19. The Determination of the Coordinates — Jamil Ali translation , pp.241–258
  20. The Determination of the Coordinates — Jamil Ali translation , pp.241–254
  21. The Determination of the Coordinates — Jamil Ali translation , pp.256–258
  22. The Determination of the Coordinates — Jamil Ali translation , p.259
  23. The Determination of the Coordinates — Jamil Ali translation , pp.258–259
  24. The Determination of the Coordinates — Jamil Ali translation , pp.241,253,255–256
  25. The Determination of the Coordinates — Jamil Ali translation , p.242 numerical comparison
  26. The Determination of the Coordinates — Jamil Ali translation , pp.242,246
  27. The Determination of the Coordinates — Jamil Ali translation , pp.255–256 reconstructed comparison
  28. The Determination of the Coordinates — Jamil Ali translation , preface ix–xii; pp.241–259
  29. Commons — right spherical triangle , description,licence,history
  30. The Determination of the Coordinates — Jamil Ali translation , pp.255–256 reconstructed paper activity
  31. The Determination of the Coordinates — Jamil Ali translation , pp.241–259; preface ix–xii
  32. Biruni — Günay Tümer, TDV İslâm Ansiklopedisi , works; religious-affiliation discussion
Cite this page

islam.museum contributors. “Al-Biruni's Ghazna qibla setting-out”. islam.museum, https://islam.museum/en/invention/biruni-ghazna-qibla-setting-out/. CC BY-SA 4.0. Last updated 2026-11-20.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Ideas

Beliefs, concepts, sciences and schools, explained in plain words.
Related

Qibla

The qibla is the direction of the Kaaba towards which the worshipper turns in prayer. The Encyclopaedia of Islam reports that the Muslims faced Jerusalem in the first years after the hijra before the direction was changed, which tradition places in Rajab or Sha'ban of the second year. The article also gives the Shafi'i rules on facing it and shows how medieval astronomers such as Habash, Ibn Yunus, al-Biruni and al-Khalili, whose table has almost 3,000 entries, worked out the direction mathematically.