See today's Hijri date and convert any date between the Hijri (Islamic) and Gregorian calendars with a simple tool that runs in your browser. Pick a Gregorian date, or type a Hijri day, month, and year, and the tool shows both dates, the day of the week, the length of the Hijri month, and the day of the Hijri year. It also lists key Islamic dates for the chosen Hijri year, including the Islamic New Year, the first day of Ramadan, Eid al-Fitr, the Day of Arafah, and Eid al-Adha. It helps when you plan Ramadan, the Hajj, travel, leave from work, and events that follow the Islamic calendar. Everything runs on your device, and your calendar choices are remembered the next time you visit.

The Hijri year is about 11 days shorter than the Gregorian year, so Ramadan and the Eids move earlier on the Gregorian calendar every year.

How to use the Hijri calendar tool

  • Pick a Gregorian date: use the date box in step 1, or press Previous day and Next day to move one day at a time. The tool starts on today.
  • Enter a Hijri date: type a day, choose a month, and type a year in step 2. The Gregorian date and the results update at once.
  • Choose the method: pick Umm al-Qura or the tabular calendar in step 3. Use the adjustment box to move the Hijri date by up to two days.
  • Read the results: the big number is the Hijri day. The rows below show the Hijri and Gregorian dates, the month length, and the key Islamic dates of that Hijri year.
  • Copy the dates: click any row to copy it. Copy results copies everything shown. Reset returns to today and the default settings.
  • Use the keyboard: press the Left and Right arrow keys to change the day, and T to jump back to today.

How the Hijri calendar works

  • It follows the moon: each month begins with the new crescent moon and lasts 29 or 30 days. Twelve months make a year of 354 or 355 days.
  • The count starts in 622 CE: year 1 AH began with the Hijra, the migration of the Prophet Muhammad from Mecca to Medina. AH stands for Anno Hegirae.
  • The days begin at sunset: a Hijri day runs from sunset to sunset. The tool shows the date for the civil day that begins at midnight, which is how most countries use the calendar in daily life.
  • The dates drift: because the year is about 11 days shorter than the solar year, Islamic dates move about 11 days earlier on the Gregorian calendar each year.
  • Two methods: Umm al-Qura is the official calculated calendar of Saudi Arabia. The tabular calendar follows a fixed 30-year pattern of month lengths. The two can differ by a day or two.
  • Moon sighting can differ: many countries and communities set the start of Ramadan and the Eids by sighting the moon, so their date can be a day or two away from a calculated date.
  • Today: the tool reads the date from your device clock. While you are viewing today, it moves to the new day by itself at midnight.

What the tool tells you

ResultExampleWhat it means
Hijri date23 Jumada al-Thani 1448The day, month, and year in the Hijri calendar for the chosen Gregorian date.
Gregorian dateDec 3, 2026The matching date in the Gregorian calendar, with the day of the week.
Days in the month29How many days the Hijri month lasts, either 29 or 30, and the date it ends.
Days left6The number of days left in the Hijri month, and the date the next month starts.
Day of the Hijri yearDay 171The number of the day counted from 1 Muharram, out of 354 or 355 days.
Key Islamic datesEid al-Fitr · Mar 9, 2027The Gregorian date of each main Islamic occasion in the chosen Hijri year. Earlier dates are dimmed.

The 12 Hijri months

MonthArabic nameNotes
1. MuharramمحرمIslamic New Year on the 1st and Ashura on the 10th. A sacred month.
2. SafarصفرThe second month of the year.
3. Rabi al-Awwalربيع الأولMawlid al-Nabi is observed on the 12th by many Muslims.
4. Rabi al-Thaniربيع الآخرThe fourth month of the year.
5. Jumada al-Ulaجمادى الأولىThe fifth month of the year.
6. Jumada al-Thaniجمادى الآخرةThe sixth month of the year.
7. RajabرجبA sacred month. Isra and Miraj is remembered on the 27th.
8. ShabanشعبانThe month before Ramadan.
9. RamadanرمضانThe month of fasting. Laylat al-Qadr is sought in its last ten nights.
10. ShawwalشوالEid al-Fitr falls on the 1st.
11. Dhu al-Qadahذو القعدةA sacred month, just before the Hajj.
12. Dhu al-Hijjahذو الحجةThe month of the Hajj. The Day of Arafah is the 9th and Eid al-Adha is the 10th.

What this tool does and does not do

This tool runs entirely in your browser and sends nothing to a server. It converts dates from 1900 to 2100 and shows the Hijri date for the civil day that begins at midnight, not at sunset. The Umm al-Qura method uses the calendar data built into your browser, and if your browser does not have it, the tool uses the tabular method and tells you so. Both methods are calculated, so neither one can tell you when a country will announce the start of Ramadan or an Eid after moon sighting. Use the adjustment box to match the date your country or community follows, and confirm important dates with a local religious authority before you plan travel or leave. The key Islamic dates in the list follow the usual dates for each occasion, and some of them, such as Mawlid and Laylat al-Qadr, are observed on different days by different communities. The "today" date and the midnight change depend on your device clock, so the tool can be off by a day if your device date or time zone is wrong.

Tips for better results

  • Match your country: if your country follows moon sighting and starts months a day after Saudi Arabia, set the adjustment to -1 day. Use +1 day if it starts a day earlier.
  • Plan Ramadan early: pick any date in a Hijri year and read the first day of Ramadan and Eid al-Fitr in the key dates list.
  • Allow a day either way: the real Eid date can move by one day when the moon is sighted, so keep your plans flexible.
  • Check both methods: if two sources give different dates, switch between Umm al-Qura and tabular to see which one they use.
  • Copy for notes: use Copy results to paste the dates into a calendar note, message, or document.
Pick a date, read the Hijri day, and scroll to the key dates. Set the adjustment if your community follows moon sighting.

Common Hijri calendar problems

  • The Hijri date is a day off: your country may follow moon sighting instead of calculation. Use the adjustment box to move the date by one day.
  • An Eid date looks wrong: the key dates are calculated. The real date depends on the moon sighting announced where you live.
  • The date changes at midnight, not sunset: a Hijri day starts at sunset, but this tool changes the date at midnight, like a civil calendar.
  • Umm al-Qura is missing: some older browsers do not have the data. The tool then uses the tabular method.
  • My settings disappeared: your method and adjustment are saved in your browser. Clearing site data, using a private window, or pressing Reset removes them.

Frequently asked questions

What is the Hijri calendar?

The Hijri calendar is the Islamic lunar calendar. It has 12 months of 29 or 30 days, so a year lasts 354 or 355 days. Year 1 began in 622 CE, when the Prophet Muhammad migrated from Mecca to Medina. Each month begins with the new crescent moon.

Why is the Hijri date different in different countries?

A Hijri month starts with the new crescent moon. Some countries rely on local moon sighting, others on astronomical calculation, so their dates can differ by one or two days. Use the adjustment box in the tool to match the date your country or community follows.

What is the difference between Umm al-Qura and the tabular calendar?

Umm al-Qura is the official calendar of Saudi Arabia and is based on astronomical calculation. The tabular calendar uses a fixed 30-year cycle of month lengths, so it is simple and predictable but can differ from Umm al-Qura by a day or two. Neither one replaces local moon sighting, which many countries use to set the start of Ramadan and the Eids.

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

Enter the day, month, and year in step 2. The Gregorian date box and the results update at once. To go the other way, pick a Gregorian date in step 1 and read the Hijri date.

Why do Islamic holidays move earlier each year?

A Hijri year is about 11 days shorter than a Gregorian year, so Islamic dates move about 11 days earlier on the Gregorian calendar each year. Ramadan passes through every season over a cycle of about 33 years.

Is the Xornex Hijri calendar tool free?

Yes. There is no sign-up and no limit on how many dates you can convert. The tool runs in your browser and sends nothing to our server.

Share this article