Brahmagupta's Gift: Rules for Zero in 628 CE
The mathematician who gave zero its operational identity
Learn how Brahmagupta in his Brahmasphutasiddhanta defined rules for adding, subtracting, multiplying, and dividing with zero and with negative numbers, the first systematic treatment in history.
The Caravan Town and the Chapter
In 628 CE, in the caravan town of Bhillamāla in western Rajasthan, a thirty-year-old astronomer sat down to write a book on how to compute the heavens. The town was a Jain and Hindu learning centre on the trade route that linked the Indian Ocean ports to Central Asia. The book would run to twenty-four chapters and some twelve hundred verses of Sanskrit verse. In Chapter 18, almost as a technical aside, he did something no one had ever done before. He wrote the rules of arithmetic for zero and for negative numbers.

His name was Brahmagupta. The book was the Brāhmasphuṭasiddhānta, 'the correctly established doctrine of Brahma'. And the chapter, called Kuṭṭakādhyāya, is the oldest surviving text in the world in which zero appears not as a placeholder but as a full participant in arithmetic. Every spreadsheet, every calculator, every trading engine, and every programming language in the world today is running, beneath its surface, on the rules he fixed in that chapter.
The Man and the Observatory
Brahmagupta was born in 598 CE, probably in Bhillamāla itself. He eventually became head of the astronomical observatory at Ujjain, the same observatory where Āryabhaṭa's work had been studied a century earlier and where Bhāskara II would work five hundred years later. Ujjain was to Indian mathematical astronomy what Alexandria had been to Greek geometry, a single city where the tradition concentrated across generations.
Most of the Brāhmasphuṭasiddhānta is astronomy: planetary motion, eclipse prediction, calendar computation. But Brahmagupta understood that serious astronomy requires serious arithmetic, and in Chapters 12 and 18 he paused the celestial mechanics and wrote the arithmetic manual his astronomers would need. That manual is where zero got its rules.
What Brahmagupta Actually Did
Before 628 CE, Indian mathematicians had been using a symbol for zero as a placeholder for roughly three centuries. Archaeological evidence from the Bakhshali Manuscript and from inscriptions at temple sites shows dots and circles standing in for empty columns. But a placeholder is not a number. A placeholder tells you that a position is empty. It does not tell you what happens when you add the empty position to another number, or multiply two empty positions together. No civilization had ever answered those questions in writing.