Regarding the Islamic mathematician and astronomer Omar Khayyam, known (among other things) for his accurate calculation of the year, quoted from https://www.famousscientists.org/omar-khayyam/

Khayyam found that 1,029,983 days made 2,820 years. This gives a tropical year length of 365.2422 days to seven significant figures.

I haven't been able to find out how he did such a thing. Clearly he did not wait 2820 years and count the days. So what was the method?

  • 2
    $\begingroup$ It is called the Jalali calendar and there some pages in French about it. A partial answer is that there is an observational basis, the vernal equinox being tracked precisely: if it is before noon then it's new year's day, if it is later then the new year starts the following day. Next there are cycles of 29 and 33 years comprising 7 or 8 leap years and they follow in a series 29,33,33,33,29,33... for a run of 22 repetitions with the last term being 37 instead of 33. The total reckoning is 683 leap years in a series of 2820 that is 2820*365 +683 = 1,029,983. Some important details are missing. $\endgroup$
    – sand1
    Commented Aug 26, 2020 at 21:14
  • 1
    $\begingroup$ It seems however that the 2820 cycle is a modern (XX.c) invention, while 128=29+33+33+33 is much older, see the history arxiv.org/ftp/arxiv/papers/1111/1111.4926.pdf $\endgroup$
    – sand1
    Commented Aug 27, 2020 at 9:53
  • $\begingroup$ Time passes differently in Xanadu :-) $\endgroup$ Commented Aug 27, 2020 at 12:01
  • $\begingroup$ @gktscrk added a paper with further refs. btw the question is actually unsourced also. $\endgroup$
    – sand1
    Commented Aug 28, 2020 at 18:08

2 Answers 2


Khayyam simply did not achieve this precision. It is an urban myth, typically lacking any proper sources and references. Only occasionaly one finds mentions such as

"the Persian calendar using the 2820-year arithmetic algorithm, as suggested by Ahmad Birashk and others (and mistakenly attributed to Omar Khayyam)".. [1]

In a paper at the arxiv the author states that

The length of the year in the Iranian calendar, as conceived by Khayyam et al., is 365.2424.. days (Youschkevitch & Rosenfeld 1973), a logical consequence of the intercalation system: 365 + 8 / 33 = 365.2424.

Section 7 of the paper is "The putative 2820-year cycle" where he elaborates:

recently an extremely precise value for the duration of the year (365.24219858156 days) has been attributed to Khayyam (O’Connor & Robertson 1999), although it is supported by no historical source, as far as we know. We think that this may be a spurious value resulting from the erroneous 2820-year cycle suggested recently.

In an other paper at the arxiv there is just a hint at the issue mentioning The researches of two modern Iranian scholars. These two scholars are Zabīh Behrūz and Ahmad Birashk :

They have accepted a system of intercalation based on a 2820 years principal cycle with its own 128 years sub- cycles, 29 or 33 years sub-sub-cycles, “tetraennial”s, and “ pentaennial”s.[2]

So it appears that they relied on modern 19th c. data to obtain a cycle with an integer number of days and next proceeded to implement an intercalation scheme that matches older practices. (For the record Meton solved an analogous problem for the luni-solar calendar). There is no good explanation how to explain the 4 years added at the end of a series of 22 repetions of 128 years sub cycles, except that the number 2820 is known in advance. The precision needed to arrive at it does not seem possible without sophisticated time keeping devices and observational instruments as the equinox should be clocked with an error less than a half of second. (Averaging data could produce by chance the decimals needed.)


He used the same principle as Hipparchus and all other astronomers, including those more ancient than Hipparchus.

The idea is the following: if you can determine some fixed moment in the year (like a solstice or an equinox) with error E, then by doing this N years apart, you divide the number of days between two successive events on N, and your error will be E/N. So larger the N is better your accuracy is. For example, if you know the only the number of days from one equinox to another 1000 years later, your can determine the length of a year with accuracy 1/1000 of a day.

We don't know exactly what ancient observations Hipparchus used (but it is almost certain that he had access to some ancient Babylonian observations few hundred years before him. Hipparchus own observations are preserved by Ptolemy.

But Omar Khayyam had a much longer period at his disposal, at least from Hipparchus to his own time. (And more, since Ptolemy also preserved more ancient observations). Accordingly his accuracy was higher. Speaking of the techniques of fixing the exact moment of a solstice or equinox, there was no much improvement from the times of Hipparchus to the time of Khayyam. So using my notation, their E was of the same order of magnitude, while Khayyam's N was much larger.

You can obtain even better accuracy by computing the time from the earliest observation known to you to an equinox which you can observe yourself.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.