Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Hijri Date
7 Shaʻban 1446
Input Gregorian Date 2025-02-06
Hijri Year 1446
Hijri Month 8 (Shaʻban)
Hijri Day 7

What the Hijri Date Converter Does

This tool converts a date from the Gregorian calendar (the standard civil calendar used worldwide) into the Islamic, or Hijri, calendar used across the Muslim world for religious observances, festivals, and historical dating. You enter a single Gregorian date and the converter instantly returns the matching Hijri year, month number, day of the month, and the full Hijri month name — for example, 1446, month 9, day 1, "Ramadan".

Two calendar pages side by side with a conversion arrow between them
The converter maps a Gregorian calendar date to its equivalent Hijri date.

How to Use It

There is just one input field:

  • Gregorian Date — pick or type the calendar date you want to convert (in standard year-month-day format, e.g. 2024-03-11).

Submit the date and the calculator displays the corresponding Hijri date split into its individual parts so you can read off the exact day, month name, and year in the Islamic calendar.

The Formula and How the Conversion Works

The converter doesn't rely on a simple subtraction. The Hijri calendar is a purely lunar calendar of 12 months that are 29 or 30 days long, giving a year of about 354 days — roughly 11 days shorter than the Gregorian solar year. Because of this, no fixed offset works for all dates.

Internally the tool parses your Gregorian date into a calendar date object, then maps it onto the standardised tabular Islamic calendar (the Umm al-Qura–style chronology built into the date library). It extracts four fields from the result: the Hijri year, the month number (1–12), the day of the month, and the localised month name.

Advertisement
Timeline showing Hijri lunar year shorter than Gregorian solar year
The Hijri lunar year is about 11 days shorter than the Gregorian solar year, causing the dates to drift.

Worked Example

Suppose you enter 2024-03-11 as the Gregorian Date. The converter maps it to the Hijri calendar and returns:

  • Hijri Year: 1445
  • Hijri Month: 9
  • Hijri Day: 1
  • Month Name: Ramadan

So 11 March 2024 corresponds to 1 Ramadan 1445 AH — the first day of the fasting month.

Frequently Asked Questions

Why might my result differ by a day from a local calendar? The tool uses a calculated (tabular) Islamic calendar. Many countries determine the start of each month by physical moon sighting, which can shift dates by a day in either direction.

What does "AH" mean? AH stands for "Anno Hegirae," counting years from the Prophet Muhammad's migration (Hijra) from Mecca to Medina in 622 CE.

Can I convert any date? You can convert any valid Gregorian date you enter; just provide it in the standard year-month-day format so it parses correctly.

Last updated: