How the Hijri calendar works
The Islamic (Hijri) calendar is a lunar calendar of twelve months. Its count of years begins with the Hijrah — the migration of the Prophet Muhammad ﷺ from Makkah to Madinah in 622 CE — which is why Hijri years are written with the letters AH, meaning "After Hijrah".
Each month begins with the sighting of the new crescent moon and lasts either 29 or 30 days, so a Hijri year has about 354 days — roughly eleven days shorter than the solar year. This is why Ramadan, the two Eids and every Islamic occasion arrive about eleven days earlier each year, travelling through all the seasons over a cycle of about 33 years.
The twelve months are Muharram, Safar, Rabi al-Awwal, Rabi al-Thani, Jumada al-Ula, Jumada al-Akhirah, Rajab, Shaban, Ramadan, Shawwal, Dhul-Qa'dah and Dhul-Hijjah. Four of them — Muharram, Rajab, Dhul-Qa'dah and Dhul-Hijjah — are the sacred months mentioned in the Quran, in which good deeds carry extra weight.
Because the start of each month depends on the moon, the exact date can differ by a day between countries and communities. Use this page as a reliable guide for daily life, and follow your local moon-sighting announcements for the beginning of Ramadan and the days of Eid.