Islamic & Cultural Tools

Hijri Date Converter

Calculate and analyze your hijri date converter with our free tool.

Hijri Date Converter — Online Calculator

Hijri Date Converter

Convert in either direction using the tabular Islamic calendar.

Hijri Date
19 Jumada al-Thani 1445 AH
19 جمادى الآخرة 1445
MondayJumada al-Thani

Tabular arithmetic estimate only. Official Hijri dates can differ by one or more days because local moon sighting and Umm al-Qura calendars use different methods.

Disclaimer: This tool provides informational results only and should not be used as professional advice.

The Hijri Date Converter converts a Gregorian date into its Hijri (Islamic) equivalent, or a Hijri date back into Gregorian, and reports the date in words, the Arabic name of the Hijri month, and the weekday. It uses the arithmetic (tabular) Islamic calendar, so results are instant and consistent, with the understanding that observed religious dates can differ by a day where local moon sighting is followed.

How It Works

  1. Validation: For a Gregorian conversion, the date must be a real calendar date in year-month-day form; impossible dates such as 31 February are rejected. For a Hijri conversion, the day must be from 1 to 30, the month from 1 to 12, and the year at least 1.
  2. Conversion to a day count: The entered date is first converted into a Julian Day Number, a single continuous count of days. Gregorian dates use the standard Julian day formula; Hijri dates use the arithmetic Islamic formula below.
  3. Conversion out of the day count: The same day number is then converted into the other calendar. The Hijri side applies the tabular algorithm built on a repeating 30-year cycle.
  4. Presentation: The result is formatted with the Hijri month name in English transliteration and in Arabic script, the Gregorian date in words, and the weekday derived from the day number.

Formula

The Hijri calendar in this converter is the arithmetic calendar: years of 354 days, with 11 leap years of 355 days in every 30-year cycle, giving a cycle of 10,631 days. Months alternate 30 and 29 days, beginning with Muharram at 30, and the extra leap day is added to the final month, Dhu al-Hijjah.

A Hijri date is converted to a Julian Day Number (JDN) as implemented in this tool:

JDN=d+30m−⌊m−12⌋+354y+⌊11y+330⌋+1948054JDN = d + 30m - \left\lfloor\frac{m-1}{2}\right\rfloor + 354y + \left\lfloor\frac{11y+3}{30}\right\rfloor + 1948054

where d is the day of the month, m is the month number from 1 to 12, and y is the Hijri year. The constant anchors the count to the Hijri epoch, the first day of Muharram in year 1. Gregorian dates reach the same day number through the standard Gregorian-to-JDN formula, and the reverse conversions invert these steps exactly, which is why converting there and back returns your original date.

Input Parameters

| Parameter | Unit | Typical range | Notes | |---|---|---|---| | Gregorian date | Date | Any valid date | Used for Gregorian to Hijri conversion | | Direction | Choice | Gregorian to Hijri, or Hijri to Gregorian | Sets which fields are read | | Hijri day | Day of month | 1 to 30 | Hijri to Gregorian only | | Hijri month | Month number | 1 to 12 | Hijri to Gregorian only | | Hijri year | Year AH | 1 and above | Hijri to Gregorian only |

The twelve Hijri months, in order, are Muharram, Safar, Rabi al-Awwal, Rabi al-Thani, Jumada al-Awwal, Jumada al-Thani, Rajab, Shaban, Ramadan, Shawwal, Dhu al-Qidah, and Dhu al-Hijjah. Ramadan, the ninth month, is the month of fasting, and Dhu al-Hijjah, the twelfth, is the month of Hajj.

Worked Example

Converting 1 January 2024 from Gregorian to Hijri:

  1. The date is validated and converted to its Julian Day Number, 2460311.
  2. The tabular algorithm counts complete 30-year cycles within that day number, then works through the years and months of the partial cycle.
  3. The result is 19 Jumada al-Thani 1445, and the weekday is Monday.

In the other direction, entering 1 Ramadan 1445 gives 10 March 2024, a Sunday, on the arithmetic calendar. In many regions the observed first of Ramadan that year fell on 11 March, which is exactly the kind of one-day difference the limitations below explain.

Interpreting the Results

Treat the converted date as the civil, tabular equivalent of your date: the date used for documents, planning, and most printed calendars. The Arabic month name is provided because Hijri dates are often recorded in Arabic in certificates and official papers, and matching the two scripts avoids transcription mistakes. The weekday is a useful cross-check: if a historical record gives both a Hijri date and a weekday, and this converter's weekday disagrees, the record may follow a different calendar convention or contain an error worth investigating.

Choosing the Right Tool

Use the Zakat Calculator when the question is how much zakat is due on your wealth, which depends on nisab thresholds and a full lunar year of ownership rather than a single date conversion. Use the Islamic Inheritance Calculator when you are dividing an estate among heirs under the Islamic rules of succession. Use the Mahr Calculator when the question is the dower agreed in a marriage contract. Stay on this page for the calendar question itself: what a given date is called in the other calendar.

Questions

Why is my converted Ramadan or Eid date one day different from my local mosque's date?

Because this converter uses the arithmetic calendar, while many communities begin months by sighting the crescent moon or by following an official national calendar such as Umm al-Qura. A difference of one day, occasionally two, between a tabular date and an observed date is normal and expected.

Does the converter handle dates before the Hijra?

The Hijri to Gregorian direction requires a Hijri year of at least 1, the year of the Hijra, which began in 622 CE. Gregorian dates earlier than the epoch have no Hijri equivalent in this system.

Is a Hijri year shorter than a Gregorian year?

Yes. Twelve lunar months total 354 days, or 355 in a leap year, against 365 or 366 for the Gregorian year. That is why Ramadan and the Eids move about 11 days earlier in each successive Gregorian year.

Limitations

This is the tabular calendar, not an observation. Religious observance dates that depend on moon sighting, and official dates in countries that publish their own computed calendar, can differ by one or occasionally two days, so confirm Ramadan, Eid al-Fitr, Eid al-Adha, and similar dates with the authority your community follows. The converter also assumes the Gregorian calendar rules apply uniformly across history; dates from before its adoption in a given country may have been recorded in the Julian calendar there.

Sources and Methodology

The conversion implements the widely used arithmetic Islamic calendar algorithm, often called the Kuwaiti algorithm, built on the 30-year cycle of 10,631 days with leap years at positions 2, 5, 7, 10, 13, 16, 18, 21, 24, 26, and 29 of the cycle, as documented in standard calendrical references. The tabular scheme reflects the calendar structure recognised across the Muslim world, while actual observance follows local sighting and official calendars, including the Umm al-Qura calendar of Saudi Arabia. This tool is a conversion utility, not a religious ruling.

Related Tools