Date & Time
Hijri ↔ Gregorian Date Converter
Convert dates between the Islamic Hijri calendar and the Gregorian calendar using the Umm al-Qura calendar (Saudi Arabia) or the tabular Islamic calendar.
How to use
- 1Choose the direction.
- 2Enter a Gregorian date, or a Hijri year, month and day.
How it's calculated
Uses the Unicode CLDR Islamic calendars built into your browser: Umm al-Qura (the official calendar of Saudi Arabia, based on astronomical calculation) or the civil tabular calendar (30-year cycle).
Frequently asked questions
Why might the date differ by a day locally?
Many countries start months by moon sighting, which can be a day later than calculated calendars like Umm al-Qura. Check with local religious authorities for Ramadan and Eid.
How long is a Hijri year?
About 354 or 355 days — 12 lunar months — so Islamic dates move about 11 days earlier each Gregorian year.
What does AH mean?
Anno Hegirae — 'in the year of the Hijra', counted from the Prophet's migration to Medina in 622 CE.
Why Hijri dates drift against the Gregorian calendar
The Hijri calendar is purely lunar — 12 months of about 29.5 days each, with no leap month to keep it tied to the solar year. That makes a Hijri year about 354–355 days long, roughly 10–11 days shorter than a Gregorian year, so Islamic dates and seasonal events like Ramadan move earlier by about 11 days every Gregorian year, cycling through all four seasons over roughly 33 years.
Two calendars, two different rules for 'what day is it'
Umm al-Qura is Saudi Arabia's official calendar, built from astronomical calculation of the moon's position. The tabular (civil) calendar instead follows a fixed 30-year arithmetic cycle with a predictable pattern of 29- and 30-day months, so the same Gregorian date can map to a different Hijri day depending which one you pick. Neither necessarily matches local moon-sighting announcements, which is why the FAQ note about checking with local religious authorities for Ramadan and Eid dates matters in practice — real-world sighting can land a day later than either calculated calendar.
Worked example: Hijri ↔ Gregorian Date Converter
18 February 2026 on the Gregorian calendar converts to 1 Ramadan 1447 AH under Umm al-Qura — the start of the fasting month for that year by Saudi Arabia's calculated calendar. Going the other direction, 1 Shawwal 1447 AH (the month after Ramadan, whose first day marks Eid al-Fitr) converts back to 20 March 2026. The 'AH' after the year stands for Anno Hegirae, counting years from the Prophet Muhammad's migration (Hijra) from Mecca to Medina in 622 CE.
Which dates the boxes will actually accept
The page opens converting Gregorian to Hijri on the Umm al-Qura calendar, and an empty Gregorian date means today rather than an error. Switching the other way, the Hijri boxes start at day 1 of month 9 in 1447, which is 1 Ramadan 1447. A Hijri year has to sit between 1301 and 1599, and the day has to be from 1 to 30; anything outside that is rejected before a conversion is attempted. A day in that range that does not exist, often the 30th of a 29-day month, is rejected with the date named and a note that the month may be shorter. The same Hijri day can fall on different Gregorian dates under the tabular calendar.
Related tools
- Add or Subtract Days from a Date
Find the date a number of days, weeks, months or business days before or after any date — for deadlines, notice periods and due dates.
- Islamic Prayer Times by City (Salah / Namaz Timetable)
Today's Fajr, Dhuhr, Asr, Maghrib and Isha times for any city, with a monthly timetable, Qibla direction and the Hijri date. Choose the calculation method and Hanafi or standard Asr. Calculated on your device.
- Week Number & Day of the Week Finder
Find the ISO week number, day of the week, day of the year and quarter for any date — and the dates of any week number.
- Holiday Countdown (Christmas, New Year, Easter…)
How many days until Christmas, New Year, Easter, Halloween, Thanksgiving, Valentine's Day, Mother's Day and more — or a countdown to any date you choose.
- Moon Phase Calculator
Find the moon phase, illumination and moon age for any date — plus the dates of the next new moon and full moon.
- Vegetable Planting Calendar (by Frost Date)
Get personalized dates for starting seeds indoors, transplanting and direct sowing 20+ vegetables — based on your last spring frost date — plus a fall planting window.