Skip to content
dateconverts
IslamicBy Afaq Zahir · Updated · 8 min read

Tabular Hijri Calendar: The 30-Year Islamic Leap Cycle

The tabular Hijri calendar is the arithmetic form of the Islamic lunar calendar: twelve months that alternate between 30 and 29 days, with an extra day added to the last month in 11 years of every 30-year cycle. It counts years from the Hijra, the emigration of the Prophet Muhammad from Mecca to Medina in 622 CE, and because it follows fixed rules it can be computed for any date, past or future, without observing the moon.

Type
Lunar, arithmetic (rule-based)
Months
12, alternating 30 and 29 days
Year length
354 days, or 355 in a leap year
Leap rule
11 leap years in every 30-year cycle
Epoch
1 Muḥarram 1 AH = Friday 16 July 622 CE (Julian)
Day begins
At sunset
Era label
AH (Anno Hegirae)

What the tabular Hijri calendar is

The Islamic calendar is purely lunar. Each month is meant to begin with the new crescent moon, and twelve months make a year of about 354 days. In religious practice many Muslims still begin months by sighting the crescent, but scholars, astronomers and administrators have long needed a version that can be calculated in advance. The tabular calendar is that version: it replaces observation with a fixed pattern of month lengths and a regular cycle of leap years.

Because it is arithmetic, the tabular calendar gives the same answer everywhere and for every era. That makes it the standard reference for converting historical dates, for software, and for scholarly work. Its drawback is that it does not track the real moon exactly, so a tabular date can be a day earlier or later than the date announced by a mosque, a national committee or the Saudi Umm al-Qura calendar.

History and the Hijra epoch

The Hijri era was instituted during the caliphate of ʿUmar ibn al-Khaṭṭāb, around 17 years after the Hijra, when a common year count was needed for state correspondence. Rather than starting from the day of the journey itself, the era begins with the first day of the lunar year in which the Hijra took place: 1 Muḥarram of year 1.

Two conventions exist for that first day. The civil or arithmetical epoch, used by the tabular calendar, is Friday 16 July 622 in the Julian calendar (19 July 622 in the proleptic Gregorian calendar). An astronomical convention starts one day earlier, on Thursday 15 July 622. dateconverts uses the Friday epoch for the tabular calendar, which is the one adopted in most reference works and in the Unicode ICU library.

The arithmetic cycle itself was developed by Muslim astronomers in the early centuries of Islam to build astronomical tables (zījes). Several slightly different leap-year patterns circulated; the one described below is the most widely used today.

The twelve months

In the tabular calendar odd-numbered months have 30 days and even-numbered months have 29 days. In a leap year the twelfth month, Dhū al-Ḥijjah, receives a 30th day. Four months are traditionally sacred: Muḥarram, Rajab, Dhū al-Qaʿdah and Dhū al-Ḥijjah.

Months of the tabular Hijri year
No.Month (transliterated)ArabicDays
1Muḥarramمحرم30
2Ṣafarصفر29
3Rabīʿ al-Awwalربيع الأول30
4Rabīʿ al-Ākhir (al-Thānī)ربيع الآخر29
5Jumādā al-Ūlāجمادى الأولى30
6Jumādā al-Ākhirahجمادى الآخرة29
7Rajabرجب30
8Shaʿbānشعبان29
9Ramaḍānرمضان30
10Shawwālشوال29
11Dhū al-Qaʿdahذو القعدة30
12Dhū al-Ḥijjahذو الحجة29, or 30 in a leap year

The 30-year leap cycle

The average time from one new moon to the next is about 29.530589 days, so twelve lunar months last about 354.367 days. A year of 354 days falls short by roughly 11/30 of a day. The tabular calendar fixes this by adding one day in 11 years out of every 30, giving a cycle of 10,631 days and an average year of 354 11/30 days.

In the scheme used by dateconverts, the leap years are those whose position in the 30-year cycle is 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 or 29. To find the position, divide the Hijri year by 30 and take the remainder (a remainder of 0 means position 30). For example, 1447 AH leaves a remainder of 7, so it is a leap year with 355 days, and its Dhū al-Ḥijjah has 30 days. We confirmed this pattern directly from our conversion engine for the years 1441 to 1470 AH.

Other historical variants exist. One common alternative uses position 15 instead of 16, and some communities follow different tables altogether, which is one reason two tabular converters can disagree by a day. The average error of the cycle is small: the tabular year differs from the mean lunar year by only about 0.0004 days, which adds up to a single day in about 2,500 years.

  • Common year: 354 days (six months of 30 and six of 29).
  • Leap year: 355 days (Dhū al-Ḥijjah has 30).
  • 30-year cycle: 19 common years and 11 leap years, 10,631 days.

When the day and the year begin

In Islamic practice the day begins at sunset, not at midnight. The evening before a Gregorian date therefore already belongs to the next Hijri date: the first night of Ramaḍān, when the special tarāwīḥ prayers begin, is the evening before the first day of fasting. Converters, including dateconverts, list the Hijri date that covers the daylight hours of the Gregorian day you enter, so if an event happened after sunset you should add one day to the Hijri date.

The year begins on 1 Muḥarram. Because the Hijri year is about 11 days shorter than the solar year, the Islamic New Year, Ramaḍān and the two Eids move through all the seasons, completing a full circuit in roughly 33 solar years. There is no intercalary month: the Qurʾān (9:36–37) speaks of twelve months and rejects the pre-Islamic practice of inserting extra months.

Holidays and important dates

The main observances fall on fixed Hijri dates, so in the tabular calendar their Gregorian dates can be computed years ahead. In practice many communities confirm the start of Ramaḍān, Shawwāl and Dhū al-Ḥijjah by sighting or by an official announcement, so the tabular date is best treated as a planning date.

  • 1 Muḥarram: Islamic New Year.
  • 10 Muḥarram: ʿĀshūrāʾ.
  • 12 Rabīʿ al-Awwal: Mawlid an-Nabī, the Prophet’s birthday, in the most widely used tradition.
  • 27 Rajab: Isrāʾ and Miʿrāj (traditional date).
  • 15 Shaʿbān: Mid-Shaʿbān.
  • 1 Ramaḍān: start of the fast.
  • 1 Shawwāl: Eid al-Fiṭr.
  • 9 Dhū al-Ḥijjah: Day of ʿArafah.
  • 10 Dhū al-Ḥijjah: Eid al-Aḍḥā.

Where the tabular calendar is used today

The tabular calendar is the standard tool for converting historical Islamic dates, for example in manuscripts, chronicles, coins and tombstones, where the original reckoning is usually unknown and an arithmetic estimate is the fairest choice. It is built into operating systems, programming libraries and spreadsheet software, usually under names such as islamic-civil or Hijri (tabular).

Some communities use a tabular calendar for religious life as well. The Dawoodi Bohras, an Ismaili community, are a well-known example, though their table differs from the common one described here. Most Muslims, however, fix the dates of Ramaḍān and the Eids by moon sighting or by a national authority, so for current religious dates you should also check the Hijri (moon sighting) estimate or the Umm al-Qura (Saudi) calendar.

How to convert a Hijri date step by step

To convert by hand, count the days from the epoch. Take the number of complete 30-year cycles before your year (10,631 days each), add 354 days for every remaining earlier year plus one for each of those that is a leap year, add the days of the earlier months in your year, then add the day of the month. Adding that total to the epoch day, 16 July 622 (Julian), minus one gives the date. In practice a converter is far less error-prone.

A worked example from our engine: 1 Ramaḍān 1447 AH in the tabular calendar is Wednesday 18 February 2026, and 1 Shawwāl 1447 AH (Eid al-Fiṭr) is 20 March 2026. For 5 November 2026 the tabular calendar gives 24 Jumādā al-Ūlā 1448 AH, while the Umm al-Qura calendar gives the 25th and our moon-sighting estimate the 26th, a good illustration of how the three reckonings can drift apart within the same month.

  • Check which reckoning a source used: tabular, Umm al-Qura or local sighting.
  • Remember the sunset rule: an evening event belongs to the next Hijri date.
  • Before 15 October 1582 historians usually quote the Julian calendar, not the Gregorian.
  • Expect differences of one day, occasionally two, from announced dates.

How dateconverts calculates it

Our tabular Hijri conversion uses the islamic-civil calendar of the Unicode ICU library, which implements the Friday epoch and the leap years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29. Because the rules are arithmetic the result is exact for this scheme. Our automated tests compare it with the independent open-source convertdate library on 402 dates between 1700 and 2200, and they agree on every date.

Exact here means exact for the tabular rules, not a prediction of what a mosque will announce. The same engine also drives the Islamic holiday list on dateconverts, which is marked as tabular because local sighting may differ by a day.

The Hijri (tabular) year 1448, month by month

Calculated live by our converter. Each month links to its first day in every calendar.

MonthDaysFirst day (Gregorian)
Muḥarram3017 June 2026
Ṣafar2917 July 2026
Rabīʿ al-Awwal3015 August 2026
Rabīʿ al-Ākhir2914 September 2026
Jumādā al-Ūlā3013 October 2026
Jumādā al-Ākhirah2912 November 2026
Rajab3011 December 2026
Shaʿbān2910 January 2027
Ramaḍān308 February 2027
Shawwāl2910 March 2027
Dhū al-Qaʿdah308 April 2027
Dhū al-Ḥijjah298 May 2027

Upcoming Hijri (tabular) dates

Frequently asked questions

Which years are leap years in the tabular Islamic calendar?

In the common scheme, years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29 of each 30-year cycle are leap years with 355 days. Divide the Hijri year by 30 and check the remainder.

Why does the tabular date differ from the date announced for Ramaḍān?

Announcements are based on sighting the crescent or on an official calendar such as Umm al-Qura, while the tabular calendar follows a fixed arithmetic pattern. The two usually agree or differ by one day.

What was the first day of the Hijri calendar?

1 Muḥarram 1 AH is Friday 16 July 622 in the Julian calendar under the civil convention used here. An astronomical convention places it one day earlier, on 15 July.

How many days are in a Hijri year?

A tabular Hijri year has 354 days, or 355 in a leap year. That is about 11 days shorter than a solar year, so Islamic dates move earlier through the seasons each year.

Is the tabular calendar good for historical dates?

Yes. It is the usual choice for converting historical dates because the original reckoning is rarely known, but treat results as accurate to about a day.

When does an Islamic day start?

At sunset. An event on a Gregorian evening belongs to the following Hijri date.

Sources and further reading

  • Edward M. Reingold and Nachum Dershowitz, Calendrical Calculations (Cambridge University Press)
  • Unicode ICU User Guide: Calendar classes (islamic-civil)
  • convertdate, open-source Python calendar conversion library (used as an independent cross-check)
  • Encyclopaedia of Islam, second edition, articles on the Hijri era and Islamic chronology