Guide

The Hijri calendar explained, and why Eid dates differ

Reviewed 22 November 2026 · 7 min read · Written and maintained by Toolnexo

The Islamic (Hijri) calendar is lunar, which is why Ramadan and Eid fall earlier each year and why two countries can celebrate Eid on different days. This guide explains how the calendar is built, what the different ways of fixing month starts are, and how to convert dates reliably. It is an explanation of how dates are calculated, not a religious ruling: for fasting, Eid and other obligations, follow the announcement of your local religious authority. The Hijri date converter on this site works in your browser, and every date below was produced with it.

How the calendar is built

The calendar has 12 months, each beginning with a new crescent moon. A lunar cycle lasts about 29.53 days, so months alternate between 29 and 30 days and a year of 12 months has about 354 days. The Gregorian year has about 365 days, so the Hijri year is roughly 11 days shorter.

Years are counted from the Hijra, the migration of the Prophet Muhammad from Mecca to Medina, in 622 CE. In the civil convention, 1 Muharram of year 1 AH corresponds to 16 July 622 CE. The months are Muharram, Safar, Rabi al-Awwal, Rabi al-Thani, Jumada al-Awwal, Jumada al-Thani, Rajab, Shaban, Ramadan, Shawwal, Dhul Qadah and Dhul Hijjah.

Why Ramadan moves

Because the year is about 11 days short, every Hijri date drifts earlier through the Gregorian year. In the Umm al-Qura calendar, 1 Ramadan 1445 fell on 11 March 2024 and 1 Ramadan 1446 on 1 March 2025, 355 days later. The following year, 1 Ramadan 1447 is calculated for 18 February 2026, 354 days after that. A full cycle through all the seasons takes about 33 years.

That drift also changes the length of the fast between seasons and latitudes, and it is why the same Hijri date rarely lands on the same Gregorian date two years running.

Three ways to fix the start of a month

Saudi Arabia's Umm al-Qura calendar is calculation based. It is widely used as a reference and in many apps and phones, but it is not what every country follows for religious observances.

  • Local moon sighting: a month begins when the new crescent is seen from the region, as announced by an authority. This is the traditional method and is still used in many countries.
  • Astronomical calculation: the start is predicted from the moon's position, without needing a sighting.
  • A fixed calendar: the tabular Islamic calendar follows a rule of 30 years with 11 leap years, so any date can be calculated with simple arithmetic. It can be a day or two away from the actual moon.

Why Eid can differ between countries

If the crescent is seen in one country but not in another, or if a country follows a calculated start while its neighbour follows local sighting, their months begin on different days. In South Asia the start of a month is often a day later than in Saudi Arabia, which is why the converter has an Adjust days setting: choose -1 if your local Hijri date is one day behind the Umm al-Qura date, then compare with your local announcement.

The converter shows the calculated date. The sighting announcement, not the calculation, decides the day in countries that follow sighting.

Converting dates and finding key dates

Enter a Gregorian date to get the Hijri date and the weekday, or the reverse. The Umm al-Qura calendar puts 1 Ramadan 1446 on Saturday, 1 March 2025, and 1 Shawwal 1446, the first day of Eid al-Fitr, on Sunday, 30 March 2025. A month has either 29 or 30 days, so day 30 is rejected in a 29-day month.

The key dates table lists Islamic New Year, Ashura, Mawlid, Isra and Miraj, mid-Shaban, Ramadan, the 27th night of Ramadan, Eid al-Fitr, the Day of Arafah and Eid al-Adha for any year from 1900 to 2100. Treat them as the expected dates and allow a day or two either side.

Things to remember

  • Hijri days begin at sunset; the converter shows the calendar date and changes at midnight.
  • Use the same calendar type when you compare two dates.
  • Dates for religious observance should come from your local authority.
  • For dates in other contexts, such as contracts, say which calendar you mean.
Tools in this guide

Put it into practice

How this guide is maintained

This page is reviewed when the related tools change. It describes what the published tools actually do: the tools run in your browser tab, so your files stay on your device. If you find something inaccurate, email [email protected] and it will be corrected.

Keep reading

Other guides

All guides →