Skip to content
SPCX Tools

Hijri Converter

Convert dates between the Islamic and Gregorian calendars and calculate your exact age in both systems.

Runs locally — files never leave your device

Loading tool…

How to use Hijri Converter

  1. 1Choose your conversion direction: Gregorian to Hijri or Hijri to Gregorian.
  2. 2Enter your target date using the calendar picker or the day, month, and year dropdowns.
  3. 3The converted date appears instantly in the results panel, formatted in both systems.
  4. 4If you enter a date in the past (like a birthday), the tool will automatically calculate your current age in both Gregorian and Hijri years.

Fast and private hijri to gregorian conversion

This dual-mode Islamic calendar converter allows you to seamlessly translate dates between the Gregorian (solar) and Hijri (lunar) systems. Whether you need to find out when a historical event occurred in the Islamic calendar, plan for upcoming religious observances, or simply check the Hijri date today, the tool provides instant, accurate results.

Because the conversion logic runs entirely on your device, the tool is completely private. If you are entering personal information like your date of birth to calculate your age, you can do so knowing that your data never leaves your browser. There are no servers processing your input, which also means the converter works instantly without any loading times or network delays.

How the Islamic calendar converter works

The tool offers two main modes of operation: Gregorian to Hijri and Hijri to Gregorian.

When converting to Hijri, simply use the standard calendar picker to select a date. The tool accepts dates ranging from January 1, 1925, to December 31, 2076. It instantly outputs the corresponding day, month, and year in the Hijri format (AH).

When converting from gregorian to hijri, you use the provided dropdowns to select the Hijri day, month, and year. The supported range for this mode is from the year 1343 AH to 1500 AH. The tool automatically adjusts the number of days available in the "Day" dropdown based on the specific month and year you select, preventing you from entering an invalid date (such as the 30th day of a 29-day month).

Calculate your age in hijri years

One of the most unique features of this tool is the built-in age calculator. If you enter a date that falls in the past—such as your birthday—the converter automatically assumes you might be looking for an age calculation.

Below the main conversion result, a secondary panel will appear showing your exact age. It calculates the difference between your entered date and today's date, displaying the result in years, months, and days. It does this for both calendar systems simultaneously.

You will notice that your age in Hijri years is higher than your Gregorian age. This is because the Islamic calendar is lunar, meaning a year lasts approximately 354 days instead of 365. Over time, this 11-day difference adds up. A person who is 32 years old in the Gregorian calendar will be celebrating their 33rd birthday in the Hijri calendar. If you need to calculate ages or time gaps using standard solar dates only, you can also use our dedicated Age Calculator or the Date Difference Calculator.

The Umm al-Qura calendar system

Converting between lunar and solar calendars requires a standardized mathematical model. This tool utilizes the umm al-qura calendar system, which is the official civil calendar of Saudi Arabia and the standard used by many Islamic organizations worldwide.

Historically, the start of a new Islamic month depends on the physical sighting of the new crescent moon. Because weather and geography affect visibility, the exact start of a month can vary by a day depending on where you are in the world.

To create a predictable civil calendar, the Umm al-Qura system relies on precise astronomical calculations. It defines the start of the month based on the sunset and moonset times at the coordinates of the Great Mosque of Mecca. If the moon sets after the sun on the 29th day of the previous month, the new month begins the next day. This ensures that historical dates, birth certificates, and administrative records remain consistent and can be converted back and forth without ambiguity.

Common use cases

Finding the Hijri Date Today: Many users check the tool daily to keep track of the current Islamic month and day, especially as important months like Ramadan, Shawwal, or Dhu al-Hijjah approach.

Converting Birthdays: Discovering your Hijri birthday is a common curiosity. Because the lunar calendar shifts by 11 days each solar year, your Hijri birthday will fall on a different Gregorian date every year.

Historical and Administrative Records: Many documents in the Middle East use the Hijri calendar. If you are translating a document, researching genealogy, or reading historical texts, this tool allows you to quickly translate those dates into the standard Gregorian timeline. If you are looking for traditional East Asian lunar conversions instead, see our Lunar Calendar Converter.

Frequently asked questions

What is the supported date range for conversion?
The converter supports Gregorian dates from January 1, 1925, to December 31, 2076. This corresponds to the Hijri years 1343 AH to 1500 AH. Dates outside this range will return an invalid status.
Why is my age in Hijri years older than my Gregorian age?
The Islamic calendar is strictly lunar. A lunar year has 354 or 355 days, which is about 11 days shorter than the 365-day Gregorian solar year. Because the Hijri year is shorter, you accumulate Hijri years faster. For roughly every 32 Gregorian years, 33 Hijri years pass.
Which Islamic calendar system does this tool use?
This tool uses the Umm al-Qura calendar system, which is the official civil calendar of Saudi Arabia and is widely used globally for administrative purposes and calculating Islamic dates.
Is my date of birth or search data saved?
No. All date conversions and age calculations happen entirely in your web browser. No data is sent to a server, ensuring your personal information remains completely private.
Can I find the Hijri date today with this tool?
Yes. When you first open the page, the tool automatically loads today's date and displays the current Hijri equivalent instantly.
Why might a converted date differ by one day from my local mosque's calendar?
The Umm al-Qura calendar is based on calculated astronomical moon phases at Mecca. However, traditional Islamic months begin with the physical sighting of the crescent moon, which can vary by location and weather conditions. Civil calendars use the calculated date for consistency.