Hijri ↔ Gregorian date converter
Gregorian → Hijri
Hijri → Gregorian
Islamobile shows today's Hijri date, prayer times and Islamic calendar events. Free on iPhone.
Download on theApp StoreHow does this converter work?
The Hijri calendar (or Islamic calendar) is a lunar calendar of 12 months, starting from the Hijra — the migration of the Prophet Muhammad ﷺ from Mecca to Medina, in 622 CE. Each month lasts about 29 or 30 days, giving a year of 354 or 355 days: about 11 days shorter than a Gregorian (solar) year. This converter uses the tabular Hijri calendar, a standard arithmetic calculation (a 30-year cycle with 11 leap years), computed locally in your browser.
A precision note
The tabular calculation gives a reliable day-accurate match in the vast majority of cases, but the actual start of each lunar month depends on moon-sighting (or the Umm al-Qura calendar used in Saudi Arabia), which can shift the result by a day, sometimes two. For an official religious date — the start of Ramadan, Eid, Hajj dates — always check the announcement from your mosque or the relevant authorities rather than relying solely on an arithmetic calculation.
The 12 months of the Hijri calendar
Muharram, Safar, Rabi al-Awwal, Rabi al-Thani, Jumada al-Awwal, Jumada al-Thani, Rajab, Sha'ban, Ramadan (the month of fasting), Shawwal, Dhu al-Qi'dah and Dhu al-Hijjah (the month of Hajj).
Frequently asked questions
How do I convert a Gregorian date to a Hijri date?
Enter the date in the first field: its Hijri equivalent is shown instantly.
Is this converter 100% accurate?
It relies on a standard arithmetic calculation (tabular calendar), reliable to the day in most cases. The actual start of each month depends on moon-sighting or the Umm al-Qura calendar, so a one- or two-day gap is possible. Check official religious dates with your mosque.
What's the difference between the Hijri and Gregorian calendars?
The Hijri calendar is lunar (354-355 days/year), the Gregorian calendar is solar (365-366 days/year). The gap between the two shrinks by about 11 days each year, which makes Hijri dates "drift" back by about 11 days per year within the Gregorian calendar.