Skip to content
CornerTools

Islamic Calendar Converter

See today's Hijri date, convert Hijri to Gregorian and back on the Umm al-Qura calendar, and find this year's Ramadan and Eid dates.

Convert
Gregorian date

Converts a Gregorian date to the Hijri (Islamic) calendar and back, shows today's Hijri date and the whole Hijri month with each day's Gregorian date, and lists the key dates of this Hijri year and the next: the Islamic New Year, Ashura, the first day of Ramadan, Eid al-Fitr, the Day of Arafah and Eid al-Adha.

Dates follow Umm al-Qura, the calendar Saudi Arabia publishes in advance. Many countries begin the religious months by sighting the new crescent instead, often a day later, so the converter can move every month's start by up to two days either way.

How to use it

Choose the direction, then enter the date as day, month and year. Hijri months are listed in English with their Arabic names. A Hijri month has 29 or 30 days; entering day 30 of a 29-day month says how many days that month has instead of guessing.

Local start moves the start of every Umm al-Qura month 1 or 2 days later or earlier. The result then reads, for example, “Adjusted by +1 day for your local start.” The choice is remembered on this device, and a shared link carries it.

Umm al-Qura is used for 1343–1500 AH (2 August 1924 to 16 November 2077), the years its published tables cover. Outside them the converter uses the tabular calendar and says so: “Tabular calendar: before 1343 AH / after 1500 AH, Umm al-Qura is not published.” It converts from 1 Muharram 1 AH (19 July 622) to 31 December 9999 (2 Rabi al-Thani 9666 AH).

How it works

The Hijri year has 12 lunar months, about 354 days, so each Hijri date comes about 11 days earlier in the Gregorian year than the year before, and Ramadan moves through every season in about 33 years.

KACST, which manages the Umm al-Qura calendar, states its rule since 1420 AH: calculations use the coordinates of the Kaaba in Makkah, and a new month begins when the crescent is born and the Moon sets after the Sun in Makkah. Earlier years followed earlier rules. The converter uses the month lengths KACST publishes in its own converter for 1343–1500 AH, so every month has 29 or 30 days.

The tabular calendar, used outside Umm al-Qura's years, is arithmetic: months alternate 30 and 29 days, and in a cycle of 30 years, years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29 add a 30th day to Dhu al-Hijjah. 1 Muharram 1 AH is 16 July 622 in the Julian calendar. As published, the tabular 1342 AH ends the day before Umm al-Qura's 1343 begins, and Umm al-Qura's 1500 ends the day before the tabular 1501 begins. A local start moves only the Umm al-Qura months, so at those two seams it can leave a day or two with no Hijri date, or a day both calendars name; the converter says so rather than stretch a month.

A Hijri day begins at sunset, so the evening before a Gregorian date already belongs to the Hijri date given for it. The converter gives the date for the daytime.

Leap year: (14 + 11 × year) mod 30 < 11
Days before year y = 354 × (y − 1) + ⌊(3 + 11 × y) ÷ 30⌋

Examples

Gregorian to Hijri

Convert
Gregorian to Hijri
Gregorian date
1 January 2027
Hijri date
23 Rajab 1448 AH

With the default local start, as Umm al-Qura.

Eid al-Fitr 1448 a day later

Convert
Hijri to Gregorian
Hijri date
1 Shawwal 1448 AH
Local start
1 day later
Gregorian date
Wednesday, 10 March 2027

Umm al-Qura puts 1 Shawwal 1448 on 9 March 2027. India's central government holiday list for 2027 has Id-ul-Fitr on 10 March 2027, a day later, as it often is where months begin by sighting.

Ramadan and Eid dates

Ramadan, Eid and the Islamic New Year in 2026
DayHijriGregorian
Ramadan begins1 Ramadan 1447 AHWednesday, 18 February 2026
Eid al-Fitr1 Shawwal 1447 AHFriday, 20 March 2026
Day of Arafah9 Dhu al-Hijjah 1447 AHTuesday, 26 May 2026
Eid al-Adha10 Dhu al-Hijjah 1447 AHWednesday, 27 May 2026
Islamic New Year1 Muharram 1448 AHTuesday, 16 June 2026
Ashura10 Muharram 1448 AHThursday, 25 June 2026
Ramadan, Eid and the Islamic New Year in 2027
DayHijriGregorian
Ramadan begins1 Ramadan 1448 AHMonday, 8 February 2027
Eid al-Fitr1 Shawwal 1448 AHTuesday, 9 March 2027
Day of Arafah9 Dhu al-Hijjah 1448 AHSaturday, 15 May 2027
Eid al-Adha10 Dhu al-Hijjah 1448 AHSunday, 16 May 2027
Islamic New Year1 Muharram 1449 AHSunday, 6 June 2027
Ashura10 Muharram 1449 AHTuesday, 15 June 2027

Rules and sources

Umm al-Qura is Saudi Arabia's official calendar, calculated in advance by KACST. KACST's own calendar says religious occasions follow its astronomical calculation and may differ by one day where the month begins with an actual moon sighting.

Religious months in many countries begin with a moon sighting, announced the evening before, so a calculated date for Ramadan or Eid can be a day early for them. India's central government holiday list says its Islamic festivals may move with the moon sighting; its 2027 list puts Id-ul-Fitr on 10 March, a day after Umm al-Qura.

Sources

Reviewed

Frequently asked questions

Umm al-Qura is calculated in advance. Where the month begins when the new crescent is seen, it can begin a day later, or occasionally earlier, depending on the evening's sighting. Set the local start to match your country's announcement; every Umm al-Qura date, the month grid and the key dates move with it.
At sunset. The night before 1 Ramadan is already 1 Ramadan, which is why the first tarawih prayer comes on the evening before the first fast. The converter gives the Hijri date for a Gregorian date's daytime.

See also

  • Printable Calendar — to print a year or month calendar with India's holidays, Id-ul-Fitr and Bakrid included.
  • Days Between Dates — to count the days to Ramadan or Eid.
  • Prayer Times — for the day's prayer times and a Ramadan timetable with Sehri and Iftar.
  • Moon Phase Calendar — for the time of each new moon, which the crescent that starts a month follows.