Hijri Date Converter (Islamic and Gregorian Calendar)
Convert dates between the Gregorian calendar and the Islamic (Hijri) calendar in either direction, with the day of the week.
Arithmetical (tabular) calendar. Official Islamic dates depend on moon sighting and may differ by one or two days.
How to use this calculator
Choose the direction. For Gregorian to Hijri, pick a date; for Hijri to Gregorian, enter the Islamic day, month and year. The converter uses the standard arithmetical (tabular) Islamic calendar. Actual Islamic dates in Pakistan, Saudi Arabia and other countries are set by moon sighting or official calendars and can differ by one or two days.
Formula
The tabular Islamic calendar has 12 months alternating 30 and 29 days, with Dhu al-Hijjah given 30 days in 11 leap years of every 30-year cycle (years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29). Day 1 of 1 AH is Friday 16 July 622 (Julian). Dates are converted through the Julian Day Number.
Calculator credits
Calculator developmentJulia Edwards
Editorial supervisionSamad Aslam Khan
Published byThe Calculatorz
Last updated
Read how we research, test, review and correct our calculators in our editorial policy.
Frequently asked questions
Why can the converted date be one day off?
The Islamic calendar is lunar, and months officially begin when the new crescent moon is sighted. Arithmetical calendars predict this but cannot know local sighting decisions.
How long is a Hijri year?
354 or 355 days, about 11 days shorter than a Gregorian year, so Ramadan and Eid move earlier each year.
What is AH?
Anno Hegirae, 'in the year of the Hijra', counted from the Prophet Muhammad's migration from Makkah to Madinah in 622 CE.
Which calendar does Saudi Arabia use?
The Umm al-Qura calendar for official purposes, based on astronomical calculation, while religious dates follow moon sighting.
How is Ramadan's start decided in Pakistan?
By the Ruet-e-Hilal Committee after moon-sighting reports, so check official announcements.
How many leap years are in a 30-year cycle?
Eleven, each with 355 days, keeping the calendar aligned with the moon.
References & methodology sources
These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.
- Reingold, E. M., & Dershowitz, N. (2018). Calendrical calculations: The ultimate edition (4th ed.). Cambridge University Press. View source
- International Organization for Standardization. (2019). ISO 8601-1: Date and time—Representations for information interchange—Part 1: Basic rules. View source
- Lombardi, M. A. (2002). NIST time and frequency services (NIST Special Publication 432). National Institute of Standards and Technology. View source
- Klyne, G., & Newman, C. (2002). Date and time on the Internet: Timestamps (RFC 3339). Internet Engineering Task Force. View source