Hijri ⇄ Gregorian Date Converter

Convert any date between the Islamic (Hijri) and Gregorian calendars, instantly, in your browser.

Gregorian → Hijri

Result:

Hijri → Gregorian

Result:

How to use this tool

Use the first form to convert a Gregorian date to Hijri, or the second form to convert a Hijri date to Gregorian. Both work independently and instantly, with no page reload.

About this calculation

This tool uses the standard tabular (calculated) Islamic calendar — a fixed 30-year cycle with 11 leap years — rather than actual moon-sighting reports. It is the same calculation method used by many calendar libraries, and is well suited for record-keeping, historical dates, and planning. For religious observances that depend on real moon sighting or a national authority's official calendar (such as the start of Ramadan or Eid), always confirm with your local mosque or moon-sighting authority, since the tabular calendar can differ from the sighted calendar by a day or two.

Method: civil tabular Islamic calendar, epoch 1 Muharram 1 AH = 16 July 622 CE (Julian). Cross-checked against multiple known reference dates before publishing.

Frequently asked questions

How accurate is this converter?

It uses the standard tabular (arithmetic) Islamic calendar, a fixed 30-year/11-leap-year cycle used for calculation and long-range conversion. Real-world Hijri dates announced by local authorities are usually based on moon sighting or astronomical prediction and can differ from the tabular calendar by one, occasionally two, days.

Why do different countries announce different Hijri dates?

Because the Islamic month begins with the sighting (or, in some countries, calculated prediction) of the new crescent moon, and moon visibility depends on location and local sighting authority. This can shift the start of a month by a day between regions, which is why Ramadan or Eid dates sometimes vary by country.

What calendar system does this tool use?

The civil tabular Islamic calendar with the widely used epoch of 1 Muharram, 1 AH corresponding to 16 July 622 CE (Julian calendar), the same calculation method used by many software libraries and calendar systems for a consistent, computable Hijri date.

Can I use this for religious observances like Ramadan or Eid?

Use it for general reference and planning, but for religious observances follow the announcement of your local mosque or national moon-sighting authority, since those are based on actual sighting or official astronomical criteria rather than the fixed arithmetic calendar this tool uses.

What date range does this converter support?

It works correctly across the full range supported by standard browser date inputs (year 1 CE onward) using proleptic Gregorian and tabular Hijri calendar math.