Gregorian (Western) → Hijri
Convert standard calendar dates into Islamic calendar dates.
Instantly convert Islamic (Hijri & Umm al-Qura) dates to Gregorian (Western) dates and back. Ideal for everyday date conversion, or checking upcoming dates for Ramadan, Eid al-Fitr, Eid al-Adha, and Hajj.
Convert standard calendar dates into Islamic calendar dates.
Convert Islamic dates into Gregorian format.
This tool uses two complementary calculation methods, both running entirely in your
browser with no external libraries and no server round-trip. Standard Hijri
conversion uses the classical tabular arithmetic algorithm (Meeus / van Gent),
and Umm al-Qura conversion uses a compact embedded month-length table derived
from official Saudi data. Both methods are self-contained and produce identical
results in all browsers — Firefox, Chrome, Edge, and Safari.
Intl.DateTimeFormat is intentionally not used for date conversion,
as Firefox's Islamic calendar Intl implementation is off by one day compared to
other browsers.
The Standard Hijri output follows the classical tabular (arithmetic) calendar algorithm, which is the same basis used by most digital Islamic calendars. The Umm al-Qura output is based on official Saudi month-length data. In both cases, local moon-sighting decisions in a given region may produce a date that differs by one day from what this tool shows. Islamic dates begin at sunset, so the Gregorian dates displayed here correspond to the post-midnight portion of the Islamic day.
Umm al-Qura is the official civil Islamic calendar of Saudi Arabia, based on astronomical moon calculations rather than physical sighting. It is widely used for administrative and digital purposes across the Arab world. Note that for the three most religiously significant months — Ramadan, Shawwal, and Dhu al-Hijjah — the actual start date in Saudi Arabia is confirmed by official moon sighting and may differ by one day from the pre-calculated Umm al-Qura table shown here. The Umm al-Qura data in this tool is reliable for dates between 1356–1500 AH (14 March 1937 – 16 November 2077 CE). Outside that range the converter automatically falls back to the standard tabular calendar.
Different communities observe the new month based either on a physical moon sighting (which depends on local weather, horizon conditions, and geography) or on pre-calculated astronomical data. This can produce a legitimate one-day difference between two equally correct sources.