HijriToday
English

How to Convert Gregorian to Hijri: The Formula and a Better Way

The most accurate way to convert Gregorian to Hijri is an Umm al-Qura converter: choose Gregorian and enter the date. To estimate the year by hand, use Hijri year ≈ (Gregorian year − 622) × 33 ÷ 32, which gets you close but does not give the exact day.

Today's Hijri date: 25 Jumada al-Akhira 1448 AH, which is Saturday, 5 December 2026. See today's Hijri date or convert any Hijri date to Gregorian.

Using the Gregorian to Hijri converter

Open the Hijri to Gregorian converter, tap Gregorian at the top, and set the day, month and year (1901 to 2076). The Hijri equivalent and weekday update as you change any field. Some examples to try:

  • 1 January 2000 is 24 Ramadan 1420 AH, a Saturday.
  • 20 June 2010 is 8 Rajab 1431 AH, a Sunday.
  • 29 February 2024 is 19 Sha'ban 1445 AH, and 1 March is the 20th.

For today's Hijri date you do not need to enter anything at all.

The Gregorian to Hijri year formula

Subtract 622 from the Gregorian year, multiply by 33, divide by 32. For 2026 that gives (2026 − 622) × 33 ÷ 32 = 1447.9. That is a sensible answer because 2026 straddles two Hijri years: 1 January is 12 Rajab 1447 and 31 December is 22 Rajab 1448. The 33-to-32 ratio comes from the difference between the two year lengths.

Estimating the exact day

For a day-level estimate use Hijri = (decimal date − 621.5643) ÷ 0.970229. Take 15 March 1990:

  1. 15 March is day 74, so the decimal date is 1990 + 73 ÷ 365 = 1990.200.
  2. (1990.200 − 621.5643) ÷ 0.970229 = 1410.632, so the year is 1410 AH.
  3. 0.632 × 12 = 7.58: seven full months have passed, so this is the eighth month, Sha'ban.
  4. 0.58 × 29.5 + 1 ≈ 18, giving 18 Sha'ban 1410 AH.

That matches the Umm al-Qura calendar exactly. It often will not.

Why a converter beats the formula

The formula assumes equal months, but Umm al-Qura months run 29 or 30 days without a fixed pattern. We tested it against the table on five days of every month from 1901 to 2076. It hit the exact day about 55% of the time, most misses were a single day, and the largest error was 3 days.

GregorianFormulaUmm al-Qura
15 March 199018 Sha'ban 141018 Sha'ban 1410
1 January 200024 Ramadan 142024 Ramadan 1420
20 July 19852 Dhu al-Qa'dah 14053 Dhu al-Qa'dah 1405

Use the formula for a rough year and the table for anything that matters. Even the table can be a day from a local moon-sighting announcement, so check religious dates with your country's official authority. See why converters disagree for more.

Writing a Hijri date correctly after converting

Write day, month, year, then AH, as in 25 Jumada al-Akhira 1448 AH. In numeric form confirm whether the reader expects day or month first, since 05/08 can be read two ways. Our guide to writing the Hijri date in numbers has the details, and you can compare against today's Gregorian date.

Frequently asked

How do I find the Hijri year from a Gregorian year?

Subtract 622, multiply by 33, divide by 32. The result is approximate, and most Gregorian years span two Hijri years.

Does the converter handle the Solar Hijri calendar?

No. It works with the lunar Hijri calendar on Umm al-Qura only. The Solar Hijri calendar used in Iran is a different system.

Is the converted Hijri date the same everywhere?

The Umm al-Qura result is fixed, but countries that start months by sighting may record a date one day apart.