Astronomy
Astronomy without arithmetic: Varāhamihira's diagram computer (505 CE)
Published July 5, 2026
# Astronomy without arithmetic: Varāhamihira's diagram computer (505 CE)
How much longer is a summer day in Kashmir than in Kerala? The answer is spherical trigonometry — in modern notation, an arcsine of a product of tangents, one of the standard nuisances of positional astronomy. Varāhamihira's *Pañcasiddhāntikā* (505 CE) teaches the computation twice: once with sines, and once — chapter XIV — like this:
> "Draw upon the ground a level circle with a diameter one hundred > and eighty aṅgulis long, and mark upon its circumference the signs > at equal distances, and also the degrees of declination…" > > — *Pañcasiddhāntikā* XIV.1, trans. Thibaut & Dvivedi (1889)
The verses continue: describe auxiliary circles whose radii are taken with strings stretched at right angles to the north–south line; lay off your latitude; take the intercepted segment, double it, apply it as a chord to the proper circle, and read the degrees off the graduations — multiply by ten and you have your answer in vināḍikās of ascensional difference. Thibaut's commentary states what the stanzas accomplish: the required quantity is found "**without calculation, by the mere inspection of a kind of diagram**."
That sentence deserves to be read twice. This is a sixth-century textbook teaching *graphical computation*: a drawn construction whose geometry performs the trigonometry, so that the answer is measured rather than calculated.
Why this counts as a computer
A nomogram — the engineer's calculating chart, ubiquitous from the 1880s until pocket calculators killed it — works on exactly this principle: encode the equation in the geometry once, and every subsequent use is a lookup with a straightedge. Chapter XIV's ground-drawing is the same move. The equation (the ascensional-difference relation: how the sine of the day-length correction scales with latitude and solar declination) is built into the circle-and-string construction; Thibaut's notes verify it with similar triangles. Once drawn, the diagram answers for *any* sign of the zodiac at the given latitude — successive signs read from the successive circles — with no multiplication performed by the user at all.
The claim deliberately calls this "analog computation" as a modern lens, not an ancient intention. Varāhamihira's motive was presumably practical: sine-table trigonometry demands tables, skill, and time, and a working astrologer-astronomer (his main readership) needed day-lengths and rising times constantly. The diagram is the profession's shortcut — accuracy traded for speed, exactly the trade every analog device makes.
The honest comparison
Graphical and instrumental solution of sphere-problems is another shared ancient technology, and the parallels are distinguished ones. Greek astronomy had the *analemma* — plane constructions solving spherical problems, known to Ptolemy, who wrote a treatise on it. The astrolabe, developed from Hellenistic foundations and perfected in the Islamic world, mechanized the same family of problems in brass — a pocket version of what chapter XIV draws on the ground. India's own later tradition built [demonstration spheres](/c/2ba4338c-49b6-58b0-9208-f0323f24ccdf) and, eventually, the huge masonry instruments of Jantar Mantar, which are in essence chapter XIV's diagrams built at architectural scale.
What the *Pañcasiddhāntikā* documents is the method's place in the Indian curriculum, in 505 CE, from the same author who [ranked five schools of astronomy by accuracy](/c/558dc8b7-6602-5f65-b034-af6d6da3857c): alongside the exact sine methods ([the tables Āryabhaṭa versified](/c/64ecd29d-53f4-5693-b8b1-b5b5663b08ca)), the tradition maintained a parallel graphical toolkit and taught both, each for its purpose. Exact where exactness pays, fast where speed pays — a thoroughly modern engineering sensibility wearing a sixth-century dress.
Legacy
The graphical stream ran long in Indian astronomy. Instrument chapters (yantrādhyāya) became standard components of siddhāntas; Bhāskara II's includes a *phalaka-yantra* (board instrument) of his own design; and the culmination — Jai Singh's 18th-century observatories — is explicitly a program of replacing table computation with giant built geometry: the Samrāṭ Yantra at Jaipur is a sundial the size of an apartment block, reading time to a couple of seconds by mere inspection.
There is also a quieter legacy, pedagogical: drawing the sky's mathematics on the ground makes it *visible*. A student who has stretched the strings of chapter XIV's diagram has seen with his eyes why days lengthen with latitude — the geometry is the explanation, not just the calculator. Sixteen centuries later, every physics teacher who reaches for a diagram instead of a formula is making Varāhamihira's pedagogical bet: sometimes the picture *is* the computation.
---
Sources
- [Thibaut & Dvivedi, *The Panchasiddhantika*, 1889](https://archive.org/details/wg1078) — XIV.1–7 cited with Thibaut's commentary ("without calculation, by the mere inspection of a kind of diagram") and his similar-triangles verification. - Ôhashi, "Astronomical Instruments in Classical Siddhāntas" (1994) — the yantra tradition (secondary, for context). - Evans, *The History and Practice of Ancient Astronomy*, 1998 — the Greek analemma and astrolabe (referenced for the comparison only).
Related claims
- [The wonder-working fabric: the Sūrya-Siddhānta's armillary sphere](/c/2ba4338c-49b6-58b0-9208-f0323f24ccdf) - [The Roman Siddhānta: Greek astronomy inside the Indian canon (505 CE)](/c/558dc8b7-6602-5f65-b034-af6d6da3857c) - [Aryabhata's sine table (499 CE)](/c/64ecd29d-53f4-5693-b8b1-b5b5663b08ca)
References
- [1]Pañcasiddhāntikā XIV (505 CE) teaches graphical methods: construct a degree-marked circle of 180 aṅgulis with auxiliary declination circles and strings, from which the ascensional difference for any latitude — and related rising-time quantities — are read directly off the figure. Thibaut's commentary describes the procedure as finding the result "without calculation, by the mere inspection of a kind of diagram": a worked analog-computing device inside a 6th-century astronomy curriculum. Source: The Panchasiddhantika: The Astronomical Work of Varaha Mihira (T1)
- [2]Sūrya-Siddhānta xiii (the "astronomical upaniṣad" chapter) directs the teacher to build an armillary sphere — an earth-globe ringed by the circles of the asterisms and ecliptic — explicitly "in order to the instruction of the pupil," then covers other instruments, especially for timekeeping (xiii.17–25). Burgess notes Indian practice paired a meridian circle with the clepsydra, closely analogous to later Western method: the hardware behind the siddhānta's precision parameters. Source: Translation of the Surya-Siddhanta (T1)
- [3]Varāhamihira's Pañcasiddhāntikā (505 CE) summarizes and ranks five astronomical schools; the Romaka ("Roman") Siddhānta places in the top three. Its luni-solar yuga of 2,850 years with 1,050 intercalary months is exactly 150 Metonic cycles (19 years, 7 intercalations each), and its epoch is reckoned from sunset at Yavanapura — Alexandria. Greco-Roman astronomy circulated inside the Indian canon, openly named and rated. Source: The Panchasiddhantika: The Astronomical Work of Varaha Mihira (T1)
- [4]Aryabhatiya II.10 gives 24 first-differences of sines at 3°45' intervals (R = 3,438 minutes). Cumulative sum reconstructs sin(θ) for θ = 3°45'…90°, accurate to ~0.03%. The English word "sine" descends Sanskrit jya → Arabic jaib (translation error: pocket/ bay) → Latin sinus → English "sine." Hipparchus had a chord table 600 years earlier; Aryabhata's is the first half-chord (= modern sine) table in any tradition. Source: The Aryabhatiya of Aryabhata (T1)