Hijri Calendar Converter
Convert any date between the Gregorian calendar and the Hijri (Islamic) calendar, fully bi-directional. See the Arabic month name, the date in Arabic-Indic numerals, the weekday in Arabic, the sacred-month and leap-year flags, the Islamic holiday landing on that day, and a live countdown to the next Hijri New Year, Ramadan, Eid al-Fitr and Eid al-Adha.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by going Premium (ad‑free + faster tools), or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade to Premium (ad‑free)
About Hijri Calendar Converter
The Hijri Calendar Converter turns any date between the Western (Gregorian) calendar and the Hijri (Islamic) calendar into a clear, side-by-side answer — and adds the Arabic month name, the date written in Arabic-Indic numerals, the weekday in Arabic, the sacred-month and leap-year flags, the Islamic holiday landing on that day, and a live countdown to the next Hijri New Year, Ramadan, Eid al-Fitr and Eid al-Adha. The conversion is fully bi-directional, instant, and needs no sign-up.
What is the Hijri (Islamic) calendar?
The Hijri calendar is a purely lunar calendar of twelve months that follow the phases of the Moon. Each month is 29 or 30 days long and begins with the sighting of the new crescent moon (hilal), so a Hijri year has about 354 days — roughly 11 days shorter than the Gregorian solar year of 365 days. Its starting point, year 1 AH, marks the Hijra: the migration of the Prophet Muhammad from Mecca to Medina in 622 CE. "AH" stands for Anno Hegirae, Latin for "in the year of the Hijra." Because the lunar year is shorter than the solar year, Islamic dates such as Ramadan and the two Eids move about 11 days earlier through the Western seasons each year and complete a full cycle in roughly 33 years.
How to use the converter
- Pick a direction. Toggle between 📅 Gregorian → 🌙 Hijri (start from a Western date) and 🌙 Hijri → 📅 Gregorian (start from an Islamic date). The form switches automatically and a live preview updates as you type.
- Enter the date. For Gregorian to Hijri, choose the calendar date. For Hijri to Gregorian, enter the Hijri year, pick the month from the list (English plus Arabic), and enter the day (1–29 or 30).
- Convert. Press the Convert button to lock in the full result below the form.
- Read the result. The hero card shows the two dates side by side. Below it you get the Arabic month name and its meaning, the date in Arabic-Indic numerals, the weekday in Arabic, the sacred-month and leap-year flags, any holiday on that day, a countdown to the next major Islamic events, and a visual grid of the whole month.
The twelve Hijri months
| # | Month | Arabic | Days | Notes |
|---|---|---|---|---|
| 1 | Muharram | مُحَرَّم | 30 | Sacred month; Day of Ashura on the 10th |
| 2 | Safar | صَفَر | 29 | "The empty" month |
| 3 | Rabi' al-Awwal | رَبِيع ٱلْأَوَّل | 30 | Mawlid (Prophet's birthday) on the 12th |
| 4 | Rabi' al-Thani | رَبِيع ٱلْآخِر | 29 | The second spring month |
| 5 | Jumada al-Awwal | جُمَادَىٰ ٱلْأُولَىٰ | 30 | First of the "dry" months |
| 6 | Jumada al-Thani | جُمَادَىٰ ٱلْآخِرَة | 29 | Second of the "dry" months |
| 7 | Rajab | رَجَب | 30 | Sacred month; Isra and Mi'raj on the 27th |
| 8 | Sha'ban | شَعْبَان | 29 | Mid-Sha'ban on the 15th |
| 9 | Ramadan | رَمَضَان | 30 | The month of fasting |
| 10 | Shawwal | شَوَّال | 29 | Eid al-Fitr on the 1st |
| 11 | Dhu al-Qa'dah | ذُو ٱلْقَعْدَة | 30 | Sacred month of truce |
| 12 | Dhu al-Hijjah | ذُو ٱلْحِجَّة | 29 / 30 | Sacred; Hajj and Eid al-Adha (10th); 30 days in a leap year |
Major dates on the Islamic calendar
- 1 Muharram — Islamic New Year (Ras as-Sanah al-Hijriyah)
- 10 Muharram — Day of Ashura
- 12 Rabi' al-Awwal — Mawlid al-Nabi, the Prophet's birthday
- 27 Rajab — Isra and Mi'raj, the Night Journey
- 15 Sha'ban — Mid-Sha'ban (Laylat al-Bara'ah)
- 1 Ramadan — First day of fasting
- 27 Ramadan — Laylat al-Qadr, the Night of Power (commonly observed)
- 1 Shawwal — Eid al-Fitr, the festival of breaking the fast
- 9 Dhu al-Hijjah — Day of Arafah
- 10 Dhu al-Hijjah — Eid al-Adha, the festival of sacrifice
How the calculation works
This converter uses the Tabular Islamic Calendar, an arithmetic model widely used by software and printed calendars. Months alternate 30 and 29 days, and within each 30-year cycle eleven years are leap years (years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29), in which the final month, Dhu al-Hijjah, gains a 30th day. The math is done by converting each calendar to and from the Julian Day Number, a continuous count of days that both calendars can map to, which keeps the conversion exact and reversible in either direction.
A note on accuracy
The official beginning of each Islamic month depends on the actual sighting of the new crescent moon, which varies by location and weather. Because of this, the observed date in your country (for example, the first day of Ramadan or Eid announced by local authorities) can differ from the calculated tabular date by about one day. Use this tool for planning, study, date-of-birth conversion and historical lookups; for religious observance always follow your local moon-sighting authority.
Worked examples
A few conversions to show what the tool returns in each direction:
- Gregorian → Hijri: April 10, 2024 converts to 1 Shawwal 1445 AH (١ شَوَّال ١٤٤٥) — the day of Eid al-Fitr, the first day of the month after Ramadan.
- Gregorian → Hijri: August 15, 1990 converts to 23 Muharram 1411 AH, a date inside the first sacred month of the year.
- Hijri → Gregorian: 1 Muharram 1448 AH (the Islamic New Year) converts to June 17, 2026.
- Hijri → Gregorian: 10 Dhu al-Hijjah 1447 AH (Eid al-Adha) converts to May 27, 2026, during the Hajj.
Notice how a fixed Islamic date such as 1 Shawwal lands on a different Gregorian day each year — about 11 days earlier annually — because the lunar year is shorter than the solar year.
Frequently asked questions
Why is the Hijri year about 11 days shorter than the Gregorian year?
Because it is purely lunar. Twelve lunar months total about 354 days, while the Gregorian year tracks the Sun at about 365 days. That 11-day difference is why Islamic months drift earlier through the Western seasons every year, completing a full cycle in roughly 33 years.
What does "AH" mean?
AH is short for Anno Hegirae — "in the year of the Hijra." Year 1 AH began in 622 CE, the year the Prophet Muhammad migrated from Mecca to Medina, which is the starting point of the Islamic calendar.
What are the four sacred months?
Muharram (1), Rajab (7), Dhu al-Qa'dah (11) and Dhu al-Hijjah (12). Fighting was traditionally forbidden during these months. The converter flags your date if it falls in one of them.
Can I convert my date of birth or a historical event?
Yes. Enter any date from year 622 CE onward (Gregorian) or any year from 1 AH onward (Hijri) and the converter returns the matching date on the other calendar, along with the weekday and the Islamic context for that day.
Does the tool change the URL when I click a quick example?
No. Quick-example buttons only fill in the form so you can review and adjust the values before pressing Convert. Nothing is submitted until you click the Convert button.
Reference this content, page, or tool as:
"Hijri Calendar Converter" at https://MiniWebtool.com// from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: 2026-05-29