Where do the Ramadan and Eid dates come from?
They're calculated astronomically via the digital Umm al-Qura calendar, not entered manually or updated yearly — meaning they work automatically for any future year with no manual maintenance. Ramadan is the ninth Hijri month, Eid al-Fitr is the first of Shawwal, and Eid al-Adha is the tenth of Dhu al-Hijjah.
The calculated date may differ by one day from the official announcement based on actual moon sighting — this is a known and documented discrepancy across all digital Hijri calculators, not a calculation error. For the precise official date, follow the announcement from the relevant authority in your country.
FAQ
Can I count down to an occasion other than Ramadan and the two Eids?
Yes, choose "custom date" from the list and set any date you want — a travel date, an exam, or any personal occasion of your own.
What if the date I chose has already passed?
In that case, the calculator shows the number of days that have passed since that date instead of the days remaining, with a clear note in the result.
Does the result exactly match the official moon-sighting announcement?
Usually yes, but there's a chance of a one-day difference in some years, because the calculation here is purely astronomical and doesn't rely on an actual observer's moon sighting.
Source
Hijri occasion dates: the astronomical Umm al-Qura calendar (islamic-umalqura), via the international Unicode standard (ICU).
Related calculators
Last updated: July 2026
Religious dates in this calculator are astronomical estimates, not a substitute for the official adopted announcement.
Read the full disclaimer.