Complete User Guide to Hijri (Islamic) and Gregorian Calendar Date Conversions
How the Lunar Hijri Calendar Differs From the Solar Gregorian Calendar
The Islamic (Hijri) calendar—abbreviated AH (Anno Hegirae, counting from the Hijra in 622 CE)—is a purely lunar calendar consisting of 12 lunar months of 29 or 30 days each. Because a lunar year of roughly 354 or 355 days is about 10 to 11 days shorter than a solar Gregorian year of 365.2425 days, Hijri months shift earlier across the Gregorian seasons by roughly 11 days every year. In everyday practice, moon sighting and regional announcements can shift a month start by a day compared with arithmetic or astronomical models—which is why an optional −1 / 0 / +1 day adjustment is helpful. A browser-based Hijri Date Converter runs bidirectional conversions 100% locally in your browser using JavaScript—with zero server uploads.
How to Convert Between Gregorian and Hijri Dates in 3 Easy Steps
- Choose Conversion Direction: Select Gregorian → Hijri or Hijri → Gregorian at the top of the studio, or click Today to jump to the current date.
- Enter the Date & Regional Offset: Pick a Gregorian date or enter Hijri day, month, and year (AH), and choose
0,−1, or+1day if aligning with a local moon-sighting calendar. - Copy or Export Your Conversion: Review the Gregorian date, Hijri date, weekday, and Julian Day Number, then click Copy Date Conversion or Download .txt.
Lunar Cycle & Julian Day Bridge
Calendar converters bridge between the Gregorian calendar and the Hijri calendar using Julian Day Numbers (JDN) and the 30-year tabular lunar cycle (10,631 days per 30 Hijri years, with leap years having 355 days):
Gregorian Date ↔ Julian Day Number (JDN) ↔ Hijri Date (Day, Month, Year AH)
Helpful Tips for Hijri Date Planning
- Verify Local Crescent Sighting for Religious Observances: Dates for Ramadan, Eid al-Fitr, Eid al-Adha, and Muharram depend on local moon sighting or official national authorities and may vary by a day.
- Check Day Bounds (1–30): In the tabular Hijri model, odd months have
30days and even months have29days (except the 12th month, Dhu al-Hijjah, which has30days in tabular leap years). - Use "Today" for Quick Reference: Click Today anytime to see today's date in both calendars.
Worked Example: Selecting 2026-11-19 in Gregorian → Hijri mode (0 day offset) computes the corresponding Islamic Hijri date, weekday, and Julian Day Number immediately in your browser.