Report

Help us improve this tool

Hijri Calendar Converter

Convert dates between Gregorian and Hijri (Islamic) calendars bidirectionally. See Arabic month names, Arabic-Indic numerals, Islamic holidays, and countdowns to major Islamic events.

O M T

About the Hijri Calendar Converter

The Hijri Calendar Converter is a free online tool that converts dates between the Gregorian (Western) calendar and the Hijri (Islamic) calendar. The conversion is fully bidirectional and accurate, making it easy to find the corresponding Islamic date for any Gregorian date or vice versa. For other date tools, try our Date Calculator and Epoch & Unix Timestamp Converter.

What is the Hijri Calendar?

The Hijri calendar, also known as the Islamic calendar, is a purely lunar calendar consisting of 12 months that follow the phases of the Moon. Each month is 29 or 30 days long, and a Hijri year has approximately 354 days — about 11 days shorter than the Gregorian solar year. The calendar begins its count from the Hijra, the migration of the Prophet Muhammad from Mecca to Medina in 622 CE. Hijri years are marked as AH (Anno Hegirae, Latin for "in the year of the Hijra").

How Does the Conversion Work?

This converter uses the Tabular Islamic Calendar, an arithmetic model widely used by software applications and printed Islamic calendars. In this system, months alternate between 30 and 29 days, and within each 30-year cycle, eleven years are designated as leap years (years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26, and 29). In a leap year, the final month of Dhu al-Hijjah gains a 30th day. The conversion works by converting each calendar date to and from the Julian Day Number (JDN), a continuous day count that both calendars can map to, ensuring exact and reversible conversions.

How to Use the Converter

Using the Hijri Calendar Converter is simple:

  • Select a direction: Toggle between Gregorian to Hijri or Hijri to Gregorian conversion.
  • Enter the date: For Gregorian to Hijri, pick a date using the date picker. For Hijri to Gregorian, select the Hijri year, month, and day from the dropdowns.
  • View the result: The converted date appears instantly on the right side, along with the Arabic month name, date in Arabic-Indic numerals, weekday in Arabic and English, sacred month and leap year indicators, and any Islamic holiday falling on that date.

The Twelve Hijri Months

  • Muharram (محرم) — 30 days — A sacred month; Day of Ashura falls on the 10th
  • Safar (صفر) — 29 days
  • Rabi' al-Awwal (ربيع الأول) — 30 days — Mawlid (Prophet's birthday) on the 12th
  • Rabi' al-Thani (ربيع الآخر) — 29 days
  • Jumada al-Awwal (جمادى الأولى) — 30 days
  • Jumada al-Thani (جمادى الآخرة) — 29 days
  • Rajab (رجب) — 30 days — A sacred month; Isra and Mi'raj on the 27th
  • Sha'ban (شعبان) — 29 days — Mid-Sha'ban on the 15th
  • Ramadan (رمضان) — 30 days — The month of fasting
  • Shawwal (شوال) — 29 days — Eid al-Fitr on the 1st
  • Dhu al-Qa'dah (ذو القعدة) — 30 days — A sacred month of truce
  • Dhu al-Hijjah (ذو الحجة) — 29 days (30 in leap years) — A sacred month; Hajj and Eid al-Adha

Major Islamic Dates

  • 1 Muharram — Islamic New Year
  • 10 Muharram — Day of Ashura
  • 12 Rabi' al-Awwal — Mawlid al-Nabi (Prophet's Birthday)
  • 27 Rajab — Isra and Mi'raj
  • 15 Sha'ban — Mid-Sha'ban
  • 1 Ramadan — First day of fasting
  • 27 Ramadan — Laylat al-Qadr (Night of Power)
  • 1 Shawwal — Eid al-Fitr
  • 9 Dhu al-Hijjah — Day of Arafah
  • 10 Dhu al-Hijjah — Eid al-Adha

Why Does the Hijri Year Shift?

Because the Hijri calendar is strictly lunar with about 354 days per year, and the Gregorian calendar is solar with about 365 days, Islamic dates move approximately 11 days earlier each year in the Gregorian calendar. This means that Ramadan, the two Eids, and other Islamic observances cycle through all four seasons over a period of about 33 years.

Accuracy Note

The official beginning of each Islamic month depends on the actual sighting of the new crescent moon, which varies by location and weather conditions. Because of this, the observed date in your country may differ from the calculated tabular date by about one day. This tool is ideal for planning, study, date-of-birth conversion, and historical reference. For religious observance, always follow your local moon-sighting authority.

Frequently Asked Questions

What does AH mean in the Hijri calendar?

AH stands for Anno Hegirae, Latin for "in the year of the Hijra." Year 1 AH began in 622 CE, the year of the Prophet Muhammad's migration (Hijra) from Mecca to Medina.

Why is the Hijri year shorter than the Gregorian year?

The Hijri calendar is a purely lunar calendar with 12 lunar months totaling about 354 days, while the Gregorian calendar is a solar calendar with about 365 days. This 11-day difference causes Islamic dates to drift earlier in the Gregorian calendar each year.

What are the four sacred months in Islam?

The four sacred months in the Islamic calendar are Muharram (month 1), Rajab (month 7), Dhu al-Qa'dah (month 11), and Dhu al-Hijjah (month 12). Fighting was traditionally forbidden during these months. The tool flags your date if it falls in a sacred month.

How accurate is the tabular Islamic calendar?

The tabular Islamic calendar is an arithmetic approximation. The actual start of each Islamic month depends on the physical sighting of the new crescent moon, which varies by location. The calculated date may differ from the locally observed date by about one day. For religious observances, always follow your local moon-sighting authority.

Can I convert historical dates or dates of birth?

Yes. This tool supports Gregorian dates from 622 CE onward and Hijri dates from 1 AH onward. You can convert any date within these ranges to find the corresponding date on the other calendar.

What is the Julian Day Number and how is it used in this conversion?

The Julian Day Number (JDN) is a continuous count of days starting from a fixed point in the past. By converting both Gregorian and Hijri dates to and from JDN, we can perform accurate and reversible cross-calendar conversions. This is the same technique used by astronomers and calendar researchers.

When is the next Islamic New Year?

The Islamic New Year (1 Muharram) moves approximately 11 days earlier each Gregorian year. The countdown section of this tool shows the exact Gregorian date of the next Islamic New Year, along with other major events like Ramadan, Eid al-Fitr, and Eid al-Adha.