Muslims date religious events by the Hijri lunar calendar. The Hijri date converter takes a Gregorian date and gives the Hijri year, the Islamic month with its name, the Hijri day and the day of the week, using the tabular Islamic calendar, which follows a fixed arithmetic rule.
How the calculation works
- The calculator converts the date to a Julian day number, then applies the arithmetic (tabular) rules of the Islamic calendar, which uses a 30-year cycle with 11 leap years of 355 days and 19 common years of 354 days.
- The Hijri year has 12 lunar months that alternate between 30 and 29 days: Muharram 30, Safar 29, and so on. In a leap year the last month, Dhu al-Hijjah, has 30 days.
- Year 1 AH began on 16 July 622 in the Julian calendar. Each Hijri year is about 11 days shorter than a solar year, so months move through the seasons in a 33-year cycle.
- The result is the tabular civil date, which can differ by one or two days from the date announced by a moon sighting or by the Umm al-Qura calendar.
Example
The Gregorian date 11 March 2024 is a Monday. The conversion gives 1 Ramadan 1445 AH. The month of fasting began on the evening of 10 March in many countries, so the first day of Ramadan fell on 11 March in the tabular calendar. The year 1445 is year 5 of its 30-year cycle.
Why it matters
The Hijri date is needed to plan fasting, pilgrimage, holidays and family events, and to read historical documents and dates on buildings and coins. A quick conversion also helps colleagues and neighbours to plan around a holiday that falls on a shifting Gregorian date.
Good to know
The tabular calendar is an arithmetic approximation. The beginning of Ramadan and of the two Eid festivals is set by local moon sighting or by national authorities, so the actual date may differ by one or two days from the result. Always confirm important dates with your local religious authority before you plan.
Related tools
The Easter date calculator finds the date of the Christian feast from the spring full moon, and the moon phase calculator gives the phase of the moon for a date.