Hijri–Gregorian Date Converter — Both Directions, Arithmetic Shown

Tools · Calendar

Hijri–Gregorian Date Converter — both directions, with the arithmetic shown

Two calendars, one running count of days: convert any date from Gregorian to Hijri or back by the tabular count, with the method printed beside the form and the key dates of 1448 AH worked out underneath. Nothing you type here is stored or sent anywhere.

The short answer

A Hijri date and a Gregorian date are two names for the same day, and this converter swaps between them by pure arithmetic: the tabular count of lunar months from the Hijra epoch. Its answers are calculated dates — announced dates follow the moon sighting and can sit a day either side.

One day, two names. A date written in a family record as 19 Jumada al-Akhirah and the same morning written in a passport as 30 November are not two days but one, counted from two different starting points. This converter moves between the two counts in both directions, and unlike most converters it shows its working: the count it uses is printed in full further down, with the verse the calendar rests on and the places where other counts part from it.

The converter — both directions, one count

The form takes a date in either calendar and returns the same day in the other, with its weekday and its place inside its year. Underneath every answer sits the day count the conversion ran on, so any result can be checked by hand against the arithmetic section. The starting date in the form is 30 November 2026, and its Hijri twin is already worked out in the answer box.

Hijri–Gregorian converter


19 Jumada al-Akhirah 1448 AH

Monday

Day 167 of 1448 AH, a common year of 354 days. Julian day number 24,61,375.

This converter gives calculated dates, by the tabular count set out on this page. Announced dates follow the sighting of the moon and can differ by a day — for Ramadan and the Eids, follow your local announcement.

The count used here is the tabular one, the rule-based count set out in the sections below. It is nobody's announced calendar; it is the shared ruler the other counts are measured against.

The key dates of 1448 AH, worked out

These are the fixed points of the current Hijri year, worked out by the converter's own arithmetic. Every one of them is a calculated date, and the note under the table says where the announced dates move away from them.

Hijri date Gregorian date (calculated, tabular) What it is
1 Muharram 1448 Wednesday 17 June 2026 The new year
10 Muharram 1448 Friday 26 June 2026 Ashura
1 Ramadan 1448 Monday 8 February 2027 The first day of the fast
1 Shawwal 1448 Wednesday 10 March 2027 Eid al-Fitr

Umm al-Qura began 1448 a day earlier than the tabular count, on Tuesday 16 June 2026, and it prints Eid al-Fitr a day earlier too, on Tuesday 9 March 2027, because its Ramadan runs 29 days where the tabular Ramadan always runs 30. Where a month is announced on a sighting, as it is across South Asia, the observed date commonly falls a day later than the calculated one: this site's Ramadan pages plan India from Tuesday 9 February 2027. Ramadan itself is the rare fixed point where the tabular count and Umm al-Qura agree to the day.

The twelve months in the Qur’an

The number of the months is not a human arrangement that grew up around the calendar. It is stated in the Qur'an, in Surah At-Tawbah, in the passage that closed the old practice of shifting the sacred months around:

إِنَّ عِدَّةَ ٱلشُّهُورِ عِندَ ٱللَّهِ ٱثْنَا عَشَرَ شَهْرًا فِى كِتَـٰبِ ٱللَّهِ يَوْمَ خَلَقَ ٱلسَّمَـٰوَٰتِ وَٱلْأَرْضَ مِنْهَآ أَرْبَعَةٌ حُرُمٌ ۚ ذَٰلِكَ ٱلدِّينُ ٱلْقَيِّمُ ۚ فَلَا تَظْلِمُوا۟ فِيهِنَّ أَنفُسَكُمْ ۚ وَقَـٰتِلُوا۟ ٱلْمُشْرِكِينَ كَآفَّةً كَمَا يُقَـٰتِلُونَكُمْ كَآفَّةً ۚ وَٱعْلَمُوٓا۟ أَنَّ ٱللَّهَ مَعَ ٱلْمُتَّقِينَ

“Indeed, the number of months ordained by Allah is twelve—in Allah’s Record since the day He created the heavens and the earth—of which four are sacred. That is the Right Way. So do not wrong one another during these months. And fight the polytheists together as they fight together against you. And know that Allah is with those mindful ˹of Him˺.”

Qur’an 9:36 · Surah At-Tawbah — read it on quran.com (translation: Dr. Mustafa Khattab)

Twelve months, four of them sacred: Muharram, Rajab, Dhu al-Qa'dah and Dhu al-Hijjah. The verse fixes the frame. Everything after it, the lengths of the months, the leap days, the rival methods of starting each month, is the work of the centuries that had to live inside that frame.

How the lunar year is built

A Hijri year follows the moon and nothing else. Wikipedia's summary is the plain one: the calendar is “a lunar calendar consisting of 12 lunar months in a year of 354 or 355 days.” No month is tied to a season, and no thirteenth month is ever added to pull the year back towards the sun, which is why Ramadan walks backwards through the seasons by about eleven days a year.

Inside the tabular count the months run in a fixed pattern. “The odd numbered months have 30 days and the even numbered months have 29 days, except in a leap year when the 12th and final month Dhu al-Hijjah has 30 days.” Muharram opens with 30, Safar follows with 29, and so on down the year. “By convention, months of 30 days and 29 days succeed each other, adding up over two successive months to 59 full days.” A real lunation lasts about 29.53 days, so the fixed pattern runs a small error against the moon, and the leap day exists to settle it.

The thirty-year cycle

The settlement runs on a thirty-year cycle. Twelve lunar months come to about 354.37 days, so a plain run of 354-day years falls behind the moon by roughly eleven days in thirty years. The tabular count pays those days back one at a time: “Using this rule the leap years are year number 2, 5, 7, 10, 13, 16, 18, 21, 24, 26 and 29 of the 30-year cycle.” In each of those years Dhu al-Hijjah takes a 30th day, the year runs to 355 days, and across the whole cycle the count holds 10,631 days, within a day of the moon for centuries at a time. “In the long term, it is accurate to one day in about 2,500 solar years or 2,570 lunar years.”

The cycle has a known variant, and a careful page should name it: in one historical scheme the sixth leap year falls at position 15 instead of 16. The difference touches one year in thirty and moves a handful of dates by a day. The count printed here uses the common scheme, the one in the list quoted above, and it is the scheme behind the “Kuwaiti algorithm” that Windows uses for its Hijri conversions.

The current year sits at position 8 of its cycle, which is not a leap position, so 1448 AH is a common year of 354 days. The year before it, 1447, sat at position 7 and was a leap year: its Dhu al-Hijjah ran to a 30th day, a date that exists in that year and in no common year.

The arithmetic, step by step

Every conversion on this page runs through a single number: the Julian day number, a running count of days used by astronomers, in which each calendar date, in any calendar, owns exactly one integer. The count is anchored at the epoch of the Hijri era. “1 Muharram of the new fixed calendar corresponded to Friday, 16 July 622 CE, the equivalent civil tabular date (same daylight period) in the Julian calendar.” That Friday carries the day number 1,948,440, and every Hijri date since is that number plus the days that have run.

days before a Hijri date = (year − 1) × 354 + leap days so far + whole months (30, 29, 30 …) + the day of the month

A worked example, the one the section above the converter does not use. Take 12 November 2026. Its Julian day number is 2,461,357. Set the epoch count against it and 512,917 days of the Hijri era have run. Whole years first: 1,447 completed years account for 512,769 of those days, being 354 each plus 531 leap days placed along the way, so the day falls inside year 1448, on its 149th day. Whole months next: Muharram 30, Safar 29, Rabi al-Awwal 30, Rabi al-Thani 29 and Jumada al-Ula 30 fill 148 days between them, so the 149th day opens the month that follows. The date is 1 Jumada al-Akhirah 1448, and the same count, taken seven at a time, leaves the weekday: Thursday.

Converting back runs the same road in reverse, which is why the two directions can never disagree with each other. One limit belongs here. For dates before October 1582 the Gregorian side of the converter is the proleptic count, the modern calendar's rules extended backwards past the calendar's own adoption. Historians work the same way, but a date in 622 read off this converter is a modern count of that day, not a date anyone wrote down at the time.

Three calendars, one moon

Three systems share the moon, and they answer a day apart often enough that the difference is worth printing plainly. The tabular count, the one used here, is “a rule-based variation of the Islamic calendar, in which months are determined by arithmetic rather than by observation or astronomical calculation.” It needs no sky at all, which is its strength for conversion and its limit for observance: as Wikipedia notes, “the arithmetically derived Tabular Islamic calendar can be adrift by one or two days” from the calendar of actual sightings.

Saudi Arabia's official Umm al-Qura calendar is calculated too, but from the sky over Makkah rather than from a fixed pattern. Since AH 1423 its rule has required “the geocentric conjunction of the sun and moon to occur before sunset, in addition to requiring moonset to occur after sunset at Mecca.” A month there lasts as long as the astronomy makes it, 29 or 30 days without a fixed order. In 1448 the two calculated counts cross in a way that shows the gap cleanly: the Gregorian day of Tuesday 16 June 2026 is 30 Dhu al-Hijjah 1447, the leap day closing the old year, in the tabular count, and 1 Muharram 1448, the first day of the new year, in the Umm al-Qura count.

The third system is the oldest: the month begins when the crescent is seen. Because the moon sets later the further west a place lies, “the beginning of each month differs from one Muslim country to another, during the 48-hour period following the conjunction,” and eastern countries, India among them, commonly begin a day after western ones. That is the whole explanation of the familiar pattern in which Saudi Arabia fasts and feasts a day before South Asia. No count is being careless; the moon is simply seen from different ground.

So the converter's answer is a calculated date, offered as one. For planning, for documents, for birthdays recorded in one calendar and celebrated in the other, the calculation is the tool. For the start of a fast or a festival, the announcement of the reader's own community carries the day, and the sections of this site that deal with Ramadan say so in the same words.

Frequently asked questions

Why is this converter's answer a day away from another website's?

Because the counts differ, and each site has picked one. The count here is the tabular one: months laid out by arithmetic. Many large sites print the Umm al-Qura count instead, which is worked out astronomically for Makkah, and observed calendars wait for the crescent to be seen. On 30 November 2026, for example, this count reads 19 Jumada al-Akhirah 1448 while IslamicFinder's Umm al-Qura count reads 20. Neither print is a misprint; they are two calendars answering at once.

When does Ramadan 1448 begin?

The calculated date is Monday, 8 February 2027, and the Umm al-Qura calendar prints the same day. In India, Pakistan and Bangladesh the fast commonly begins a day later, on the local sighting, and this site's Ramadan pages work from Tuesday, 9 February 2027 for India. The announcement made at the end of Sha'ban is the one that settles the morning.

What is the tabular calendar?

A rule-based form of the Hijri calendar. Its months are set by arithmetic — 30 and 29 days in turn, with a leap day added in eleven years out of thirty — rather than by watching the sky, so any date in it can be worked out exactly, in either direction, for any year. Historians use it to convert dates in old records, and it is built into a great deal of software: the “Kuwaiti algorithm” in Windows is this same scheme. Its dates can sit a day or two away from an observed date.

Why do Hijri years have 354 days in one year and 355 in another?

Twelve turns of the moon take about 354.37 days, and a calendar can only hold whole days. Most years therefore hold 354, and the fraction that has been gathering is paid back, in eleven years out of every thirty, as one extra day at the end of Dhu al-Hijjah, making 355. The year 1447 AH was one of those years; 1448 is a common year of 354.

Is the converted date the one I should observe?

The converter prints the calculated date, which is the right date for planning, for documents and for working out anniversaries. Observance is a different matter: it follows the announcement of your own community — a sighting report, or the calculated calendar its scholars have adopted — above all for the start of Ramadan and the two Eids. Where the announcement and the calculation differ by a day, the announcement is the one to act on.

How far back can I convert a date?

The arithmetic runs from the first day of the count, 1 Muharram 1 AH, and it runs forward without limit. Two cautions grow with distance. Before October 1582 the Gregorian side is the proleptic count, the modern calendar extended backwards past its own beginning. And the further a date sits from our own time, the more the fixed count can have drifted from the months people actually observed then — a day or two either way.

ImanAtlas converts by the tabular count printed on this page, and gives no rulings. For a question about your own situation, ask a qualified scholar you trust.

Sources

Hijri–Gregorian converter share card: a wheel of the twelve Hijri months in gold on deep green around a crescent, for the year 1448 AH, with its key calculated dates — 1 Muharram on 17 June 2026, 10 Muharram on 26 June 2026, 1 Ramadan on 8 February 2027 and 1 Shawwal on 10 March 2027
The year on one wheel: the converter card, with the calculated dates of 1448 AH.

Share this page