Hijri ↔ Gregorian Date Converter
Convert dates between the Islamic Hijri (lunar) calendar and the Gregorian (solar) calendar. Includes Ramadan and Eid markers.
Date & Time
Hijri ↔ Gregorian Date Converter
Generated on April 25, 2026
?What is the Hijri ↔ Gregorian Date Converter?
The Hijri ↔ Gregorian Date Converter translates dates between the two most-used calendars in the Muslim world. The Islamic / Hijri calendar is a lunar calendar (12 months × ~29.5 days = ~354 days per year) starting from the migration (Hijra) of Prophet Muhammad ﷺ from Mecca to Medina in 622 CE. The Gregorian calendar is a solar calendar (365.25 days) introduced by Pope Gregory XIII in 1582. Because the Hijri year is 11 days shorter, Islamic dates shift backward through the Gregorian year — Ramadan moves through every season over 33 years. This converter uses the Aladhan API which implements the official Umm al-Qura calendar (used in Saudi Arabia and most Muslim countries); local moon-sighting can shift dates by ±1 day.
The Formula
Both calendars are converted via the Julian Day Number — a continuous count of days since 1 January 4713 BCE used in astronomy. The Hijri epoch starts at JDN 1948440 (16 July 622 CE). Modern Hijri date conversion uses the Umm al-Qura tabular calendar, which prescribes specific 29- or 30-day months instead of relying on actual moon sighting; this gives a deterministic answer that can be computed years in advance. Local moon-sighting committees (in Pakistan: Ruet-e-Hilal Committee) may declare the start of a Hijri month one day earlier or later than the official Umm al-Qura calendar.
Practical Examples
1 Muharram 1447 AH = 27 June 2025 — the Islamic New Year.
1 Ramadan 1446 AH = 1 March 2025 — start of Ramadan in 2025.
10 Dhu al-Hijjah 1446 AH = 6 June 2025 — Eid al-Adha 2025 (Bakra Eid).
Birth of Prophet Muhammad ﷺ traditionally celebrated on 12 Rabi al-Awwal — varies by year between September and December in the Gregorian calendar.
Hijra (the migration that starts the Islamic calendar): 1 Muharram 1 AH = 16 July 622 CE.
27 Ramadan (Laylat al-Qadr, Night of Power): a likely odd-numbered night in the last 10 days of Ramadan, considered the most blessed night of the year.
Frequently Asked Questions
Popular Conversions
Jump to a ready-made conversion — useful for quick reference and sharing: