ZYSNOR, smart solutions, real impact

Dates and time guide

How to convert Hijri to Gregorian dates

By , Founder of ZYSNOR · Updated · Checked · 10 min read

In short

The Hijri calendar has 12 lunar months of 29 or 30 days, so its year is 354 or 355 days, about 11 days shorter than the Gregorian year. There is no simple formula, so converters use a table of month starts. The Umm al-Qura calendar used in Saudi Arabia gives, for example, 1 Ramadan 1447 = 18 February 2026. Religious dates are confirmed by moon sighting and can differ by a day or more.

Jump to a section

You see 1447 on a document, or you need the date of Eid in your own calendar, and the two calendars do not line up. This guide explains how the Hijri calendar works, why the dates move, what the Umm al-Qura calendar is and where a converter's answer can differ from the day a country announces.

How the Hijri calendar works

The Hijri (Islamic) calendar is a lunar calendar of 12 months. Each month is 29 or 30 days, so a year has 354 or 355 days. The Gregorian year has 365 or 366 days, so the Hijri year is about 11 days shorter. Years are counted from the Hijra, the migration of the Prophet Muhammad from Makkah to Madinah, in 622 CE. Years are written with AH, for the Latin anno Hegirae.

The months in order are Muharram, Safar, Rabi al-Awwal, Rabi al-Thani, Jumada al-Awwal, Jumada al-Akhirah, Rajab, Sha'ban, Ramadan, Shawwal, Dhu al-Qa'dah and Dhu al-Hijjah. Spellings differ between sources; the ZYSNOR converter prints the English names above and the Arabic names.

Traditionally the Islamic day starts at sunset, not at midnight. A converter works with calendar days from midnight, so the evening before a date can already be the new Hijri day for a person who follows the traditional day.

Why the dates move every year

A Hijri year is 10 to 12 days shorter than a Gregorian year, so a Hijri date falls earlier in the Gregorian calendar each year. Over about 33 years it passes through every season.

Five bars on a January to March axis showing the first day of Ramadan moving from 1 March in 2025 to 16 January in 2029
The first day of Ramadan, year by year. It moves back by 10 to 12 days each Gregorian year.

This is why Ramadan was in March in 2025 and in February in 2026, and why the converter must be used again for every year. There is no fixed number of days to add or subtract.

Why there is no simple formula

A month starts when a new crescent moon appears, and the real moon cycle is about 29.5 days. The calendar therefore needs a rule for which months have 29 days and which have 30. Different calendars use different rules, so the same day can have two Hijri dates. A converter has to pick one calendar and use its table of month starts.

The Umm al-Qura calendar

The Umm al-Qura calendar is the calendar the Saudi government uses for civil purposes. R. H. van Gent's reference page explains that its dates are now determined at the King Abdulaziz City for Science and Technology (KACST) in Riyadh from astronomical theories of the sun and the moon. The dates are calculated in advance, so a table of month starts for many years exists.

The browser you use has this calendar built in, and the ZYSNOR Hijri Date Converter reads it. That is why the tool works offline and sends nothing to a server. The range is 1 January 1900 to 16 November 2077, which is 1317 to 1500 AH.

Worked examples

These results come from the ZYSNOR Hijri Date Converter:

Table of five dates in 2026: 1 Ramadan 1447 on Wednesday 18 February, 1 Shawwal on Friday 20 March, 9 and 10 Dhu al-Hijjah on 26 and 27 May and 1 Muharram 1448 on 16 June
Five Hijri dates in 2026 and the Gregorian dates the Umm al-Qura calendar gives for them.

Example 1: a Gregorian date to Hijri. Today, Thursday 19 November 2026, is 9 Jumada al-Akhirah 1448 AH. The tool also says that this month has 29 days.

Example 2: a Hijri date to Gregorian. Enter year 1448, month 2 and day 1. The answer is 15 July 2026, the same date that the official Umm al-Qura calendar site gives for 1 Safar 1448.

Example 3: a date that does not exist. Sha'ban 1447 has only 29 days, so 30 Sha'ban 1447 is not a date. The tool tells you this and asks for a day from 1 to 29. The next day, 29 Sha'ban 1447, was Tuesday 17 February 2026, and the next day was 1 Ramadan.

Calendar date or moon sighting?

A converter answers one question: what the calendar says. The start of a religious month, such as Ramadan or Shawwal, is a different question, decided by looking for the crescent and announced by an authority.

Two boxes: the Umm al-Qura calendar is calculated in advance and used for civil purposes, while moon sighting decides religious months and can differ by country
What the calendar says and what an authority declares can be different questions.

In 2026 the two agreed in Saudi Arabia: the official announcement of 17 February said that Wednesday would be the first day of Ramadan, and the Umm al-Qura calendar gives 18 February. In some years, and in some countries, the declared day is one or more days later than the calendar. Reports before Ramadan 2026 said that South Asian countries would probably start a day or two later, because they depend on sighting in their own country.

Use the converter for planning, forms and documents. For fasting, Eid and Hajj, follow the announcement of your own religious authority.

Mistakes to avoid

  • Adding a fixed number of days. There is no fixed offset between the two calendars.
  • Treating the converter as a religious ruling. It shows a calculated calendar, not an announcement.
  • Forgetting the sunset rule. The Hijri day can begin the evening before the midnight date.
  • Mixing Hijri systems. The Solar Hijri calendar used in Iran and Afghanistan is a different, solar calendar with the same starting point.
  • Using day 30 in a 29-day month. Check the month length shown by the converter.

Short glossary

  • AH: after the Hijra, the label for Hijri years.
  • Hilal: the new crescent moon.
  • Umm al-Qura: the calculated calendar of Saudi Arabia, used for civil purposes.
  • Moon sighting: looking for the crescent to decide the start of a month.

Common questions

How do I convert a Hijri date to a Gregorian date?

Use a converter that reads a calendar table, such as the ZYSNOR Hijri Date Converter: choose Hijri to Gregorian, type the year, month and day and read the Gregorian date. There is no fixed number of days to add.

Why does Ramadan start earlier every year?

The Hijri year has 354 or 355 days and the Gregorian year has 365 or 366, so Hijri dates move back by 10 to 12 days a year. In the Umm al-Qura calendar Ramadan starts on 18 February 2026 and on 8 February 2027.

What is the Umm al-Qura calendar?

It is the calendar the Saudi government uses for civil purposes. Its month starts are calculated in advance from astronomical theories of the sun and the moon at KACST in Riyadh.

Is the converter's date the same as the Eid date in my country?

Not always. A converter shows the calculated calendar. Religious dates such as Eid are announced after moon sighting and can differ by a day or more between countries.

What is the date today in Hijri?

Press Today in the converter to see today's Hijri date in your browser. For example, Thursday 19 November 2026 is 9 Jumada al-Akhirah 1448 AH.

Why does the converter say my Hijri date is not valid?

A Hijri month has 29 or 30 days. If you type 30 for a month that has 29 days, the converter says which month has only 29 days. Choose a day from 1 to 29.

Is the ZYSNOR Hijri Date Converter free?

Yes. It is free, needs no sign-up and runs in your browser; your dates stay on your device.

How can I estimate the Gregorian year of a Hijri year in my head?

A lunar Hijri year has about 354.37 days against 365.24 for a Gregorian year, so Gregorian year ≈ 622 + Hijri year × 32 ÷ 33. For 1448 AH this gives 622 + 1,404.1 = 2026.1, and 1 Muharram 1448 fell on 16 June 2026. For 1447 AH it gives 2025.2, and 1 Muharram 1447 fell on 26 June 2025. The estimate gives the year only. For an exact day use the converter, which follows the Umm al-Qura calendar.

Sources and how we researched this

Sources (5)

How we researched this

We read the Umm al-Qura rules page of R. H. van Gent (Utrecht University) for what the calendar is and who calculates it, and the official Saudi announcement of the start of Ramadan 1447 for the check against a real date. General facts about the Hijri calendar (months, year length, the day starting at sunset) come from encyclopedia-style pages and are marked as such in the sources. We did not find a primary source for how Pakistan or other countries decided each 1447 date, so the guide only says that sighting can differ and does not report what any country announced.

All the conversions in the guide were run through the live ZYSNOR Hijri Date Converter in Chromium, and we also ran the browser's calendar over its whole range (1 January 1900 to 16 November 2077) to check that every month has 29 or 30 days and the dates never go backwards.

Related guides

Rules differ between schools and change over time. Always check your own school or university handbook.