Islamic · Calendar

Hijri Date Converter

Convert either way using the tabular Islamic calendar. Arithmetic cannot anticipate a moon sighting, so for Ramadan, Eid and Hajj, follow the Ruet-e-Hilal announcement — a converted date can be a day out.

Direction
Defaults to today.

Reference

The Hijri months

Month lengths in the tabular calendar. In a leap year, Dhu al-Hijjah has 30 days instead of 29.
#MonthDays
1Muharram30
2Safar29
3Rabi' al-Awwal30
4Rabi' al-Thani29
5Jumada al-Awwal30
6Jumada al-Thani29
7Rajab30
8Sha'ban29
9Ramadan30
10Shawwal29
11Dhu al-Qa'dah30
12Dhu al-Hijjah29 or 30

A tabular Hijri year is 354 days, or 355 in the eleven leap years of each thirty-year cycle — about eleven days shorter than a Gregorian year, which is why Ramadan moves earlier each year.

Reading the result

Calculated dates and sighted dates can differ

A conversion like this uses an arithmetic Hijri calendar. The Islamic month in Pakistan actually begins on the sighting of the new moon, announced by the Ruet-e-Hilal Committee, and a sighted month can start a day earlier or later than the calculation suggests.

For a historical date or general reference that difference rarely matters. For anything tied to an announced date — the start of Ramadan, Eid, the day of Arafah — the announcement governs, not the conversion.

The lunar year is shorter, so dates drift

A Hijri year runs about eleven days shorter than a Gregorian one. That is why Ramadan moves earlier through the seasons each year, and why an anniversary in one calendar does not stay fixed against the other.

It also means an age in Hijri years is a larger number than the same age in Gregorian years — the two are not interchangeable in documents that specify one.

The day begins at sunset

An Islamic date starts at maghrib, not at midnight. So the evening of a Gregorian date already belongs to the following Hijri day. That matters when working out which night a particular observance falls on.

Where this stops

This converts between calendars arithmetically. It does not predict moon sighting, and it should not be used to fix a religious observance where a local announcement exists.

FAQs

Hijri date FAQs

Which calendar does this use?

The tabular or civil Islamic calendar: a purely arithmetic scheme in which months alternate between 30 and 29 days and eleven years in every thirty-year cycle carry an extra day. It is the standard basis for date conversion in software, it is reversible, and it never disagrees with itself.

Will it match the date announced in Pakistan?

Often, but not always, and it is important to know why. Pakistan begins each month on the sighting of the new moon, decided by the Ruet-e-Hilal Committee. Arithmetic cannot anticipate a sighting, so a converted date can be a day out — occasionally two, and sometimes in different directions in different countries on the same night. For Ramadan, Eid and Hajj, follow the announcement, not this page.

Why do two websites give me different Hijri dates?

Because they are using different schemes — a different epoch, a different leap-year pattern in the thirty-year cycle, or an astronomical calculation rather than a tabular one. None of them is a moon sighting. Differences of a day between converters are normal and are not a sign that one is broken.

What is the Hijri epoch?

Year 1 begins with the Hijrah, the migration to Madinah. In the tabular calendar used here, 1 Muharram 1 AH corresponds to 19 July 622 CE in the proleptic Gregorian calendar — 16 July 622 by the Julian calendar in use at the time. Both describe the same day.

Why is the Hijri year shorter?

It is a lunar calendar of about 354 days, roughly eleven days shorter than the solar year. That is why Ramadan moves through the seasons and why a Hijri year does not map cleanly onto a Gregorian one — and why Zakat calculated on a lunar year comes round slightly more often than an annual solar cycle would suggest.

Can I use this for a Zakat anniversary?

Yes, and it is the right tool for it: the Zakat year is lunar, so a date fixed by the Gregorian calendar will drift about eleven days each year against the actual obligation. Convert your Zakat date once and track it in Hijri.

What is the Julian Day Number shown?

A continuous count of days used to convert between calendars without ambiguity — every date in every calendar maps to one number. It is shown because it makes the conversion checkable: two dates with the same Julian Day Number are the same day, whatever calendar they are written in.

Does it handle dates before the Hijrah or far in the future?

The arithmetic runs in both directions without breaking, but a converted date centuries away is a mathematical result rather than a historical or usable one. Treat distant dates with the same caution you would treat any extrapolation.

Related tools

Fixing your Zakat anniversary?

The Zakat year is lunar — a Gregorian date drifts about eleven days against it every year.

Open Zakat Calculator