Year 1 of the Hijri calendar begins on 1 Muharram 1 AH, which the astronomers’ reference books equate with Friday 16 July 622 in the Julian calendar then in use (US Naval Observatory; Richards, section 15.6). The year is named after the Hijra, the migration of the Prophet Muhammad and his followers from Makkah to Madinah in 622 CE. Yet nobody in 622 wrote “year 1”. The count was chosen later, and the clearest early account of how it was chosen comes from a scholar writing almost four centuries afterwards.
The short answer
According to the historical tradition, the caliph Umar ibn al-Khattab adopted the Hijra as the starting point of a new era in the year 17 AH, which is 638 to 639 CE. That is the date given by the astronomer al-Biruni in his book on the calendars of the world (al-Biruni, p. 34), and the one repeated in the modern standard reference on calendars, which credits Umar with it and adds that it is not known how the first day was fixed (Richards, section 15.6.2).
So the calendar starts in 622 because that is when the Hijra happened, and it starts on a day in July rather than on the day of the journey itself because the count runs from the first day of the lunar year in which the Hijra fell.
What al-Biruni recorded
Abu al-Rayhan al-Biruni, born in 973, wrote his book on chronology in about 1000 CE; a modern biography of him calls it “a mine of information on calendars” (Yano, Biographical Encyclopedia of Astronomers). In the chapter on the eras of the nations he sets out the circumstances of the Hijri era, citing earlier narrators by name (al-Biruni, pp. 33 to 35). His account has two strands.
In the first, a written obligation reached Umar that was payable in the month of Sha’ban, and the question came up of which Sha’ban was meant: the current one or the next. Umar asked for advice on how dates should be kept. Those he consulted looked first at the practice of the Persians, whose way of counting months and days was described to them, and at the era the Greeks used, counted from Alexander. Neither was taken up. Al-Biruni reports the objections: the Greek era was too long a count, and a Persian era ended with each king, because a new ruler began his own.
In the second strand, which al-Biruni gives from the narrator al-Shabi, Abu Musa al-Ashari wrote to Umar that the letters he received carried no date. Al-Biruni says Umar had by then set up registers and taxes and needed an era for them. After consultation, the Hijra was chosen as the most certain date available, and al-Biruni places the decision in 17 AH.
He also gives the reason the Hijra was preferred to other events in the Prophet’s life. The dates of his birth and of the beginning of his mission were disputed, and al-Biruni lists several different days given for the birth; an era needs a starting point everyone accepts. He adds that people did not like to count from a death, and that the Hijra marked the point from which the community’s affairs became established (al-Biruni, pp. 34 and 35).
These are reports handed down and written down long after the event, and al-Biruni presents them that way, each with the name of the person it came from. They are the tradition’s account, not a record made at the time.
Why the year begins in Muharram
The Hijra did not happen on 1 Muharram. Al-Biruni dates the arrival at Madinah to Monday the 8th of Rabi al-Awwal, the third month, and notes that the beginning of that year fell on a Thursday (al-Biruni, p. 34). The era was made to start not on the day of the journey but at the start of the year that contained it.
The arithmetic of the tabular calendar, the rule based version historians use to convert old dates, lets us check his weekday. Counting forward from the epoch, the 8th of Rabi al-Awwal 1 AH is 66 days later and falls on Monday 20 September 622 (calculated). That is a Monday, as al-Biruni says.
On the first day itself the sources differ by one day. Most reference works take the epoch as Friday 16 July 622 (Julian Day Number 1,948,440), while the calendar chapter of the Explanatory Supplement to the Astronomical Almanac notes that the day began at sunset on the Thursday evening, and that some authors take the Thursday as the epoch instead (Richards, section 15.6.3). It also notes that the astronomical new moon fell on 14 July 622, two days earlier.
The dates in this article in both calendars
| Event | Hijri | Gregorian or Julian |
|---|---|---|
| First day of the eraThe epoch historians use; the evening before, a Thursday, began the day | 1 Muharram 1 AH | Friday 16 July 622 (Julian calendar) |
| Arrival at Madinah, as al-Biruni dates itHe gives the weekday as Monday; the tabular count agrees | 8 Rabi al-Awwal 1 AH | Monday 20 September 622calculated |
| The era adopted, as al-Biruni dates itThe whole of year 17 | 17 AH | 23 January 638 to 11 January 639calculated |
| Earliest surviving dated documentsBy the tabular count that day falls in Jumada al-Ula 22 | Year 22 | 25 April 643 for the first of them |
| Al-Biruni writes his ChronologyThe Hijri years spanning 1000 CE | 390 to 391 AH | About 1000 CEcalculated |
| Umm al-Qura calendar on its present ruleCalculated, not sighted; used for civil dates | 1423 AH | 15 March 2002 |
What the earliest documents show
Texts written centuries later are one kind of evidence. Documents written at the time are another, and the oldest surviving ones are papyri from Egypt. A study of early Arabic papyri by Mathieu Tillier and Naim Vanthieghem notes that the two oldest documents dated by the era both come from Egypt and from its 22nd year. The first, a complete receipt in Greek and Arabic, is dated 25 April 643; it was written by one Abd Allah ibn Jabir after he received sheep to feed his troops (Tillier and Vanthieghem, note 1). By the tabular count, 25 April 643 falls in the month Jumada al-Ula of year 22 (calculated), five years after the date al-Biruni gives for the era’s adoption.
The same study shows how much is still debated about the earliest use of the era. Several first century debt documents add a phrase after the year that scholars read in different ways. Yusuf Ragib read it as naming the year by the jurisdiction of the believers, and suggested it was an early name for a calendar counted from the Hijra which, he noted, Muslims seem not to have called by that particular name for several centuries; Jelle Bruning read it as a legal formula instead, and Mehdy Shaddel has questioned that reading in turn. Tillier and Vanthieghem argue that Ragib’s reading is the most convincing and that the phrase refers to a calendar (Tillier and Vanthieghem, pp. 7 and 8). The point for this article is simple: the documents show the year count in use in Egypt within a few years of 17 AH, while the name and form of the earliest dating formulas are a live question among historians.
How the count works
The Hijri year is purely lunar: twelve months that follow the phases of the moon, with no month added to keep step with the sun (Richards, section 15.6.1). Twelve lunar months come to about 354 days, about 11 days fewer than a solar year, so the Hijri year moves earlier through the solar calendar each year (US Naval Observatory). Al-Biruni already described the era as based on lunar years whose months begin with the appearance of the new moon, not by calculation (al-Biruni, p. 34).
For religious purposes the months begin with the first sighting of the crescent, and the reference works note that countries, religious authorities and scientists have long disagreed about whether to rely on sighting or on calculation (Richards, section 15.6.1). This site takes no side in that question. It shows two calculated versions, each named:
- The tabular calendar. Historians convert old dates with a fixed rule: months of 30 and 29 days in turn, and a 30 year cycle in which 11 years get an extra day (Richards, section 15.6.3). Thirty such years hold 19 years of 354 days and 11 of 355, which is 10,631 days (van Gent, Utrecht University). Every old date in this article is worked out this way.
- The Umm al-Qura calendar. Saudi Arabia’s calculated calendar, computed for Makkah by astronomical rules that have changed several times; the present rule dates from 1423 AH, 2002 CE (van Gent, Umm al-Qura rules). It is the calendar this site’s Hijri calendar page and the app use for present day dates.
Turning a Hijri year into a Gregorian one
Because a Hijri year is about 0.97022 of a solar year (354.367 days against 365.242), a rough conversion multiplies the number of Hijri years elapsed by 0.97022 and adds the epoch, 622.54 in decimal years. For the year 1448 AH that gives 622.54 + 0.97022 × 1447 = 2026.45, which is mid 2026. The calendar itself puts 1 Muharram 1448 on 16 June 2026 (calculated, Umm al-Qura). The drawing above shows the same drift century by century.
Where the evidence is thin
- The adoption. The year 17 AH and the stories of the undated letters and the question about Sha’ban come from later narrative sources such as al-Biruni, who wrote around 1000 CE and names the earlier narrators he relied on. No document from 17 AH announcing the decision is known to survive.
- The first day. Reference works give Friday 16 July 622, with some authors preferring the Thursday; the standard reference says plainly that how the initial date was determined is not known (Richards, section 15.6.2).
- The earliest wording. Documents from the 20s AH onwards use the year count, but how the earliest of them named their era is still argued over (Tillier and Vanthieghem).
What is not in doubt is the structure: a lunar year of twelve months, counted from the year of the Hijra, which began in July 622.
Sources
Each source below is listed with the date it was read. Links in the text go to the page that supports the sentence. Figures marked calculated are worked out by this site's own code each time the site is built, from the rules the sources give.
- al-Biruni, The Chronology of Ancient Nations, translated by C. Edward Sachau (London: W. H. Allen for the Oriental Translation Fund, 1879), pp. 33 to 35, 70 to 74. Internet Archive scan, Wellesley College Library copy Read 3 December 2026.
- E. G. Richards, "Calendars", chapter 15 of the Explanatory Supplement to the Astronomical Almanac, 3rd edition, ed. S. E. Urban and P. K. Seidelmann (University Science Books, 2013), section 15.6, The Islamic Calendar. Reprinted by the US Naval Observatory Read 3 December 2026.
- US Naval Observatory, Astronomical Applications Department, The Islamic Calendar Read 3 December 2026.
- Mathieu Tillier and Naim Vanthieghem, "Recording Debts in Sufyanid Fustat: A Reexamination of the Procedures and Calendar in Use in the First/Seventh Century", in John Tolan (ed.), Geneses (Routledge, 2019), pp. 148 to 188. Author's version, HAL open archive Read 3 December 2026.
- Robert Harry van Gent, Utrecht University, Origin and Mathematics of the 30-Year Cycle (of the tabular Islamic calendar) Read 3 December 2026.
- Robert Harry van Gent, Utrecht University, The Umm al-Qura Calendar of Saudi Arabia: astronomical rules Read 3 December 2026.
- Michio Yano, "Biruni", in Thomas Hockey et al. (eds.), The Biographical Encyclopedia of Astronomers (Springer, 2007), pp. 131 to 133. Online at McGill University's Institute of Islamic Studies Read 3 December 2026.
This article is history, drawn from the academic and historical record and published by the makers of Prayer Times & Quran Plus. It is not religious guidance, and it does not rule between schools or traditions. Corrections are welcome at support.