Hijri Date Converter

Convert dates from Gregorian to Hijri and from Hijri to Gregorian with the official Umm al-Qura calendar. Accurate, instant and free.

النسخة العربية ↗

This Hijri to Gregorian converter turns an Islamic (Hijri) date into its Gregorian date, called Miladi in Arabic, and converts Gregorian dates back to Hijri. It follows the Umm al-Qura calendar used for official business in Saudi Arabia, so it suits forms, residency and passport dates, contracts and family records.

Need a whole year instead of a single day? Scroll to the table of Hijri years 1400 to 1450 AH further down.

How to convert Hijri to Gregorian (and back)

  1. Choose the direction: Gregorian to Hijri or Hijri to Gregorian.
  2. For a Gregorian date, pick it in the date field. For a Hijri date, type the day, choose the month from the list and type the year in AH (1300 to 1600).
  3. The converted date appears instantly with the day of the week and a numeric version (day/month/year). Tap Copy result to paste it into a form or message.

Today’s date in both calendars is always shown at the top of the tool, so you do not need to convert it yourself.

How the Islamic calendar maps to the Gregorian calendar

The Hijri calendar is lunar. Each month starts with a new crescent and lasts 29 or 30 days, so a Hijri year has 354 or 355 days. That is about 11 days shorter than a Gregorian year, which is why Ramadan and the two Eids move earlier every year and why a Hijri year usually straddles two Gregorian years.

There is no fixed offset between the two calendars, so you cannot add a number of years and be done. The converter looks the date up in Umm al-Qura data instead. Umm al-Qura is prepared by King Abdulaziz City for Science and Technology (KACST) from astronomical calculation for Mecca, rather than from sighting the moon on the night. Since 1420 AH the basic rule has been that a new month starts when, on the 29th, the moon sets after the sun at Mecca. Utrecht University astronomer R.H. van Gent has documented the history of the Umm al-Qura rules, including earlier versions.

Umm al-Qura or moon sighting? Many countries, and Saudi Arabia itself for Ramadan, Eid and Hajj, start religious months by sighting the crescent. Those dates can differ from Umm al-Qura by a day. For paperwork, Umm al-Qura is the reference.

Quick estimate without the tool

If you only need the rough year, these formulas get close. They come from the ratio of the two year lengths (about 354.37 days against 365.24), so treat the answer as an estimate.

Gregorian year ≈ Hijri year × 0.970229 + 621.5643
Hijri year ≈ (Gregorian year − 621.5643) × 1.030684

Example: 1448 × 0.970229 + 621.56 ≈ 2026.5. In fact 1448 AH runs from 16 June 2026 to 5 June 2027, so the estimate lands in the right place but cannot tell you the exact day.

Worked examples you can check

  1. Gregorian date to Hijri: 25 October 2026 converts to 14 Jumada al-Ula 1448 AH, a Sunday (14/05/1448).
  2. Hijri date to Miladi: 15 Muharram 1415 converts to 25 June 1994, a Saturday. Useful if an old certificate shows only the Hijri date.
  3. A date that does not exist: Ramadan 1448 has 29 days in Umm al-Qura. Type 30 Ramadan 1448 and the tool says the date does not exist. 1 Ramadan 1448 converts to Monday 8 February 2027.

Hijri years 1400–1450 AH in Gregorian

Looking up a year such as 1415 AH? Each row shows the Umm al-Qura date of 1 Muharram (Islamic New Year) and the Gregorian years that Hijri year covers. Dates before 1420 AH were set under older Umm al-Qura rules, so an old document may differ by a day.

Hijri yearStarts (1 Muharram)Gregorian years
140021 Nov 19791979–1980
14019 Nov 19801980–1981
140229 Oct 19811981–1982
140318 Oct 19821982–1983
14048 Oct 19831983–1984
140526 Sep 19841984–1985
140616 Sep 19851985–1986
14076 Sep 19861986–1987
140826 Aug 19871987–1988
140914 Aug 19881988–1989
14103 Aug 19891989–1990
141123 Jul 19901990–1991
141213 Jul 19911991–1992
14132 Jul 19921992–1993
141421 Jun 19931993–1994
141511 Jun 19941994–1995
141631 May 19951995–1996
141719 May 19961996–1997
14188 May 19971997–1998
141928 Apr 19981998–1999
142017 Apr 19991999–2000
14216 Apr 20002000–2001
142226 Mar 20012001–2002
142315 Mar 20022002–2003
14244 Mar 20032003–2004
142521 Feb 20042004–2005
142610 Feb 20052005–2006
142731 Jan 20062006–2007
142820 Jan 20072007–2008
142910 Jan 20082008
143029 Dec 20082008–2009
143118 Dec 20092009–2010
14327 Dec 20102010–2011
143326 Nov 20112011–2012
143415 Nov 20122012–2013
14354 Nov 20132013–2014
143625 Oct 20142014–2015
143714 Oct 20152015–2016
14382 Oct 20162016–2017
143921 Sep 20172017–2018
144011 Sep 20182018–2019
144131 Aug 20192019–2020
144220 Aug 20202020–2021
14439 Aug 20212021–2022
144430 Jul 20222022–2023
144519 Jul 20232023–2024
14467 Jul 20242024–2025
144726 Jun 20252025–2026
144816 Jun 20262026–2027
14496 Jun 20272027–2028
145025 May 20282028–2029

The twelve Hijri months

#MonthNote
1MuharramIslamic New Year on the 1st
2Safar
3Rabi’ al-Awwal
4Rabi’ al-Thani
5Jumada al-Ula
6Jumada al-Akhirah
7RajabA sacred month
8Sha’ban
9RamadanMonth of fasting
10ShawwalEid al-Fitr on the 1st
11Dhu al-Qa’dahA sacred month
12Dhu al-HijjahHajj; Eid al-Adha on the 10th

When the result can look wrong

  • Religious dates. The start of Ramadan or Eid announced after moon sighting can be a day off the Umm al-Qura date.
  • Tabular calendars. Some phones and programs use an arithmetic Hijri calendar that drifts from Umm al-Qura by a day or two.
  • Day 30. Not every month has 30 days. If the tool says a date does not exist, check the original document for a typo.
  • Mixed-up years. 1446 AH and 2024 are different systems. Make sure the year you type matches the direction you picked.
  • Old records. Very old documents may have used local sighting or older rules, so allow for a day’s difference.

Want the background? Read why Ramadan moves every year, or see how to calculate your age in Hijri years.

Converting Hijri dates in Excel and Windows

If you have a long list of dates, such as iqama or visa expiry dates for a team, you may prefer to convert them inside a spreadsheet instead of one by one in the tool. Put the Gregorian date in cell A1 and type =TEXT(A1,”B2dd/mm/yyyy”) in another cell. The B2 prefix tells Excel to display the date in the Hijri calendar. Depending on your regional settings you may need a semicolon instead of the comma. You can also change a column to a Hijri calendar through Format Cells, then Date.

The catch is that Windows knows two Hijri calendars. Microsoft’s developer documentation explains that its Umm al-Qura calendar is table-based and covers 1318 to 1500 AH (30 April 1900 to 16 November 2077), while the general “Hijri” calendar is arithmetic and accepts an adjustment of up to two days either way in regional settings. So a spreadsheet or an older program can be a day or two off Umm al-Qura without any mistake in your data.

  • Test with a known date: enter 8 February 2027. It should show 01/09/1448, which is 1 Ramadan 1448 AH in Umm al-Qura. A different day means the machine is using the arithmetic calendar or an adjustment.
  • Check the adjustment: the Windows Hijri date adjustment runs from −2 to +2 and affects every program that reads the system settings.
  • Official dates: check deadlines that matter, such as an iqama renewal, with this converter before relying on the sheet, because it follows Umm al-Qura directly.

Frequently asked questions

How do I convert a Hijri date to Gregorian?

Switch the direction to Hijri first, enter the day, pick the month and type the year (AH). The Gregorian (Miladi) date and its weekday appear straight away.

How do I convert Gregorian to Hijri?

Leave the tool on Gregorian to Hijri and pick a date in the calendar field. You get the Umm al-Qura Hijri date, the weekday and a short numeric form such as 14/05/1448.

What year is 1415 Hijri in Gregorian?

Hijri year 1415 began on 11 June 1994 and ended on 30 May 1995, so it covers parts of both years. The table on this page lists every year from 1400 to 1450 AH.

What does Miladi mean?

Miladi is the Arabic word for the Gregorian calendar, the one with January to December. So converting Hijri to Miladi is exactly the same conversion.

What is today’s Hijri date?

The tool shows today in both calendars at the top, based on your device’s date.

Why does another site show a date one day off?

Some sites use local moon sighting or a simple arithmetic (tabular) Hijri calendar. This converter uses Umm al-Qura, so a one-day gap with other methods is normal.

Can I use the result for official documents?

Umm al-Qura is the calendar Saudi Arabia uses for official business, so the result matches government dates there. For deadlines that carry fines, confirm with the issuing authority.

Which years does the converter support?

Hijri years 1300 to 1600, roughly 1882 to 2174 in the Gregorian calendar. A Hijri month always has 29 or 30 days, never 31.

How do I convert Gregorian dates to Hijri in Excel?

Put the date in A1 and use =TEXT(A1,”B2dd/mm/yyyy”). The B2 prefix shows the date in the Hijri calendar. Check one known date, such as 8 February 2027 = 1 Ramadan 1448, to confirm Excel matches Umm al-Qura.

Why does Excel or my phone show a different Hijri date?

Many systems default to an arithmetic Hijri calendar or apply a ±1 or ±2 day adjustment. Umm al-Qura is table-based, so a one or two day gap is normal. Use this converter for official Saudi dates.

Scroll to Top