Skip to main content

Convert a Hijri date to Gregorian (and a Gregorian date to Hijri)

Two-way converter between the Islamic (Hijri, Umm al-Qura) and Gregorian calendars: date in Arabic, weekday, the method applied and a switch for evening events after sunset.

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

The Hijri day starts at sunset: tick this for an event that takes place in the evening.

Was this tool useful?

On this page

How does this tool work?

The Hijri calendar is a lunar calendar of 12 months of 29 or 30 days. Its year has 354 or 355 days, about 11 days fewer than a Gregorian year, so every Islamic holiday moves roughly ten days earlier each Gregorian year. This converter turns a Gregorian date into a Hijri date, or the reverse, using the Umm al-Qura calendar of Saudi Arabia, and shows the weekday, the date written in Arabic and the method actually applied.

The conversion relies on the “islamic-umalqura” calendar of the ICU internationalization data built into your browser. For the Hijri years 1300 to 1600 (November 1882 to November 2174), each month start comes from the Umm al-Qura table, computed from the conjunction and the moonset at Mecca. Outside that range ICU falls back on the tabular civil calendar: months alternating 30 and 29 days and 11 leap years in each 30-year cycle. The result tells you which method was used.

From Hijri to Gregorian, the tool looks for the Gregorian day whose conversion gives exactly the day, month and year you entered. If the date does not exist, for instance the 30th of a month that has only 29 days that year, you get a message instead of an approximate date.

The Hijri day begins at sunset. The “After sunset” option therefore converts the next civil day: an event on the evening of June 15, 2026 already falls on 1 Muharram 1448.

Gregorian dates before October 15, 1582 are expressed in the proleptic Gregorian calendar. The Hijra itself, 1 Muharram 1 AH, is July 19, 622 proleptic Gregorian, which historians write as Friday, July 16, 622 in the Julian calendar.

How to use this tool

  1. Pick the direction

    Gregorian to Hijri, or Hijri to Gregorian.

  2. Enter the date

    MM/DD/YYYY for the Gregorian date; day, month and year for the Hijri date. The result updates instantly.

  3. Say whether the event is in the evening

    Tick “After sunset” for an evening gathering, the breaking of the fast or a night prayer.

  4. Check the method

    The “Method” line shows whether the Umm al-Qura table or the tabular calendar was applied; share the calculation with the link at the bottom of the result.

The rules of the tabular Hijri calendar

Outside the Umm al-Qura table, the tabular civil calendar spreads 10,631 days over 30 lunar years, which tracks the mean synodic month to within seconds.

Leap year (355 days)

(14 + 11 × Y) mod 30 < 11

Years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29 of each 30-year cycle; the last month then gets a 30th day.

Mean month length

10,631 days ÷ 360 months ≈ 29.53056 days

Compare with the mean synodic month of 29.53059 days.

Y
Hijri year

The Umm al-Qura calendar does not follow this fixed rule: each month length comes from an astronomical calculation for Mecca, hence one-day differences with the tabular calendar.

Use cases

Plan around Ramadan or Eid

Find the likely Gregorian date of 1 Ramadan, 1 Shawwal or 10 Dhu al-Hijjah in advance to book leave or organise a meal.

Read a Saudi or Gulf document

Contract, visa, certificate or deed dated in Hijri: get the exact Gregorian equivalent in the official Umm al-Qura calendar.

Work out a lunar anniversary

Zakat is due after a lunar year (hawl): convert the starting date and its Hijri anniversary.

History and genealogy

Date a manuscript, a gravestone or an Ottoman record, keeping in mind that the tabular method applies before 1300 AH.

Examples

Islamic New Year 1448

According to Umm al-Qura. Morocco, which follows local crescent sighting, announced Wednesday, June 17.

Input

1 Muharram 1448

Result

Tuesday, June 16, 2026

Start of Ramadan 1447

Eid al-Fitr (1 Shawwal 1447) falls on Friday, March 20, 2026 in this calendar.

Input

1 Ramadan 1447

Result

Wednesday, February 18, 2026

Today’s date

With the after-sunset option, the same evening is 29 Rabi al-Thani.

Input

October 9, 2026

Result

28 Rabi al-Thani 1448

Tips and best practices

  • Treat the date of a religious holiday as a forecast: most countries announce the start of Ramadan and of the Eids after sighting the crescent, which can shift the date by one day, occasionally two.
  • Because the Hijri year is about 11 days shorter, a Hijri anniversary moves back by that much every Gregorian year: convert again each year instead of adding 365 days.
  • For a date before November 1882 (before 1300 AH) the result follows the tabular calendar, so a historical source may differ by one day.
  • Hijri and Gregorian years do not line up: 1448 AH starts in June 2026 and ends in June 2027. Always check the Gregorian year shown.

Sources and references

Frequently asked questions

Why does the result sometimes differ by one day from another Hijri calendar?

There are several Hijri calendars: Saudi Arabia’s Umm al-Qura table (used here), the 30-year tabular civil calendar, and calendars based on actual crescent sighting, which vary by country. Depending on where the Moon is, they start a month on the same day or a day apart.

Does the converter give the official start of Ramadan in my country?

No. It gives the Umm al-Qura date, calculated in advance. Many communities in the UK, the US or North Africa fix the start of Ramadan after the night of doubt and the crescent sighting, so the announced date can be the next day.

Why does the day change at sunset?

In the Islamic calendar a day begins at sunset, not at midnight. The evening of February 17, 2026 already belongs to 1 Ramadan 1447: it is the first night of tarawih prayers, and the fast starts on the morning of February 18.

How many days are there in a Hijri year?

354 days in a common year and 355 in a leap year, about 11 days fewer than a Gregorian year. Roughly 33 Hijri years make 32 Gregorian years.

When was year 1 AH?

1 Muharram 1 AH is July 16, 622 in the Julian calendar, i.e. July 19, 622 in the backward-extended Gregorian calendar shown by the tool. An earlier Gregorian date has no Hijri equivalent.

How is this different from the Persian “Solar Hijri” calendar?

Both count years from the Hijra, but the Persian calendar is solar: its year starts at the March equinox and has 365 or 366 days. In 2026 the Persian year is 1405, while the lunar Hijri year is 1447 and then 1448. Use the Persian calendar converter for Iranian or Afghan dates.

Related tools

Tools similar or complementary to this one.

Similar tools

Calculate Fajr, Sunrise, Dhuhr, Asr, Maghrib and Isha times for your city.

Dates & timeUse this tool

Estimate Zakat at 2.5% from assets, debts and your chosen Nisab standard.

Dates & timeUse this tool
GuideConcepts and technologiesBeginner

Hijri and Gregorian calendars: how to convert a date

Understand how the lunar Hijri calendar differs from the Gregorian calendar, why calculated dates can vary from local observance, and how to convert both ways.

17 September 20263 min
GuideBest practicesBeginner

Zakat and Nisab: understanding the 2.5% calculation

Learn how the Nisab threshold, gold and silver standards, net eligible assets and the 2.5% rate fit together - and where a Zakat calculator's assumptions matter.

17 September 20263 min