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

  1. Choose Conversion Direction: Select Gregorian → Hijri or Hijri → Gregorian at the top of the studio, or click Today to jump to the current date.
  2. Enter the Date & Regional Offset: Pick a Gregorian date or enter Hijri day, month, and year (AH), and choose 0, −1, or +1 day if aligning with a local moon-sighting calendar.
  3. 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):

Mean Lunar Month ≈ 29.5306 days  |  12 Lunar Months ≈ 354.37 days/year
Gregorian Date ↔ Julian Day Number (JDN) ↔ Hijri Date (Day, Month, Year AH)

Helpful Tips for Hijri Date Planning

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.

12 Islamic (Hijri) Months & Calendar Reference Table (16 Rows)

Use this reference table to check all twelve Hijri months in order, standard day lengths, and calendar rules.

Month # Hijri Month Name Tabular Days Notes
Month 1 Muharram 30 days First month of the Hijri year
Month 2 Safar 29 days Second lunar month
Month 3 Rabi' al-Awwal 30 days Third lunar month
Month 4 Rabi' al-Thani 29 days Fourth lunar month
Month 5 Jumada al-Ula 30 days Fifth lunar month
Month 6 Jumada al-Akhirah 29 days Sixth lunar month
Month 7 Rajab 30 days Seventh lunar month
Month 8 Sha'ban 29 days Month preceding Ramadan
Month 9 Ramadan 30 days Ninth lunar month
Month 10 Shawwal 29 days Tenth lunar month
Month 11 Dhu al-Qi'dah 30 days Eleventh lunar month
Month 12 Dhu al-Hijjah 29 or 30 days 30 days in tabular leap years
Regional Offset Adjusts by −1, 0, or +1 day to align with moon-sighting differences
Client-Side Engine Browser JavaScript Calendar Converter — Zero Server Latency
Server Uploads None — All date conversions run locally in your browser
Privacy Status 100% Local Processing — Your selected dates stay strictly on your device

Calculating age, checking world clocks, looking up country codes, or counting words? Explore our companion client-side tools:

Frequently Asked Questions

Lunar calendar start dates depend on crescent moon visibility, local sighting reports, or astronomical/tabular rules—use the Moon-Sighting / Regional Offset selector (−1, 0, or +1 day) to match your local calendar.
Yes! Click Hijri → Gregorian at the top of the studio, enter the Hijri day, month, and year (AH), and view the equivalent Gregorian date immediately.
Never. All date conversions run 100% client-side inside your browser.
Yes! It is completely free with no sign-up required.