🧰 ToolPicoAll Tools →

Hijri ↔ Gregorian date converter

Convert Gregorian dates to the Hijri (Islamic) calendar and back, instantly. Day of the week, Arabic month names, Islamic holidays for any year, and your Hijri age — all algorithmic (Kuwaiti / Islamic Civil calendar), running entirely in your browser.

2 calendars in one tool Instant results Free, no sign-up Updated: Jul 19, 2026
Today · Hijri
Today · Gregorian
Hijri month
Years since the Hijra
Next observance
Enter any date — e.g. a birthday — to see its Hijri equivalent.
Enter a Hijri day, month, and year to get the Gregorian equivalent.
Quick answer To convert a Gregorian date to Hijri, the date is first converted into a continuous Julian day number, then mapped onto the Hijri calendar's 30-year leap cycle. For example, July 19, 2026 = 3 Safar 1448 AH. The reverse conversion uses the same Julian day bridge.
1448current Hijri year (AH)
354days in a Hijri year (avg 354.367)
12Hijri months, 29–30 days each
4sacred months
⚙️ Method & accuracy note: This tool offers two Hijri calculation methods, selectable above the calculator. Kuwaiti / Tabular (the default) is the arithmetic Islamic Civil calendar — Hijri months are set by a 30-year mathematical leap cycle rather than by observing the crescent moon each month. Umm al-Qura is Saudi Arabia's official calendar; since it is published as a lookup table rather than a formula, this tool applies a documented day-offset approximation of it, not the exact official table. Either method can differ by one day (occasionally two) from a local moon-sighting announcement. Results are for informational purposes only and are not a religious ruling — for prayer times, Ramadan, or Eid dates, follow your local mosque or Islamic authority.

What is Hijri-Gregorian date conversion, and how is it calculated?

A complete guide to the arithmetic Islamic calendar, the Julian day number bridge, the shifting 11-day gap, and the four sacred months.

Hijri-Gregorian date conversion is the process of translating a day between the Moon-based Hijri (Islamic) calendar and the Sun-based Gregorian calendar used internationally today. The Hijri calendar counts years from the Hijra — the migration of the Prophet Muhammad from Mecca to Medina in 622 CE. This tool performs the conversion using an arithmetic method — a fixed mathematical rule rather than observing the sky each month — and runs entirely in your browser, with no data sent anywhere.

How is a Hijri date calculated?

Quick answerThe Gregorian date is first converted to a continuous Julian day number — a day count independent of any calendar. That number is then run through the Hijri calendar's 30-year leap cycle (years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26, and 29 have 355 days) to derive the Hijri year, month, and day. The reverse conversion uses the same bridge.
  • Months alternate 30 and 29 days: Muharram 30, Safar 29, Rabi' al-awwal 30 …
  • Leap years: the final month, Dhu al-Hijjah, extends to 30 days instead of 29
  • Year length: 354 days in a common year, 355 in a leap year — average ≈354.367 days

Why does the Hijri-Gregorian gap change every year?

Quick answerA Hijri year (≈354 days) is about 11 days shorter than a Gregorian year (≈365 days). Because of this, Hijri months drift roughly 11 days earlier through the Gregorian seasons each year — Ramadan, for instance, gradually moves from summer to spring to winter over the decades. The year-number gap between the two calendars isn't fixed either: the Hijri year gains about one year on the Gregorian year roughly every 33.6 years.

What are the four sacred months in Islam?

Quick answerMuharram, Rajab, Dhu al-Qadah, and Dhu al-Hijjah are known as al-ashhur al-hurum, the sacred months, traditionally set apart from warfare. Three fall consecutively around the Hajj season (Dhu al-Qadah, Dhu al-Hijjah, and Muharram), and Rajab stands alone mid-year. This converter flags a sacred month badge whenever a result falls within one.

Common date conversions (example table)

A few notable dates converted with the arithmetic calendar. For your own date, use the calculator above.

Gregorian → Hijri (arithmetic / Kuwaiti calendar)
Gregorian dateDayHijri equivalent
January 1, 2026Thursday12 Rajab 1447 AH
January 1, 2000Saturday24 Ramadan 1420 AH
July 4, 1776Thursday17 Jumada al-awwal 1190 AH
July 20, 1969Sunday5 Jumada al-awwal 1389 AH
September 11, 2001Tuesday22 Jumada al-thani 1422 AH

Note: Gregorian dates before 1582 are interpreted as proleptic (backward-projected) Gregorian; historical Julian-calendar dates may differ by a few days.

Popular conversions

Hijri age, Islamic holidays & month info

Calculate your Hijri age from a birth date, look up any Hijri year's holidays and observances, or check how many days a given Hijri month has — all algorithmic.

🎂Hijri age & birthday
Enter a Gregorian birth date to see your Hijri age, Hijri birth date, and next Hijri birthday.
🕌Islamic holidays & observances
Enter a Hijri year to list Ramadan, Laylat al-Qadr, Eid, and other observances with their Gregorian dates.
📅Hijri month info
Pick a Hijri year and month to see its length (29/30 days) and Gregorian date range.

Hijri month calendar

A visual, printable Hijri month grid with the matching Gregorian date under each day. Uses the same conversion engine and calculation method selected above.

Today Sacred month

Reference tables

Hijri month names (with Arabic script) and a structural comparison between the Hijri and Gregorian calendars.

Hijri (lunar) month names — amber rows are sacred months
#Month nameArabicDays
1Muharramمحرم30
2Safarصفر29
3Rabi' al-awwalربيع الأول30
4Rabi' al-thaniربيع الآخر29
5Jumada al-awwalجمادى الأولى30
6Jumada al-thaniجمادى الآخرة29
7Rajabرجب30
8Sha'banشعبان29
9Ramadanرمضان30
10Shawwalشوال29
11Dhu al-Qadahذو القعدة30
12Dhu al-Hijjahذو الحجة29*

*Dhu al-Hijjah has 30 days in leap years. The Days column shows the arithmetic calendar's standard lengths.

Hijri vs. Gregorian calendar comparison
FeatureHijriGregorian
BasisLunar (Moon)Solar (Sun)
Year length≈354 days≈365 days
Start of year1 MuharramJanuary 1
Epoch622 CE (the Hijra)1 CE (traditional)
Months12 (29–30 days)12 (28–31 days)
Current year

The last row is filled in automatically based on your device's date.

Add this converter to your site (embed code)

Embed the Hijri-Gregorian date converter on your own website for free. Copy the code below into your HTML — the tool runs in a simplified view and links back to this page as its source.

The embedded tool has a fixed layout; you can adjust the height value to fit your site. No ads or personal data, runs entirely client-side.

Calendar terms glossary

Short definitions of the core terms used in Hijri, Gregorian, and Islamic-calendar calculations.

Hijri calendarThe Islamic lunar calendar, dated from the Hijra (622 CE). A year is 354–355 days.
Gregorian calendarThe solar civil calendar in international use today, refined from the Julian calendar in 1582.
Tabular (arithmetic) calendarA calendar that sets month lengths by a fixed mathematical rule rather than observing the moon. This tool uses one.
Julian day numberA continuous day count running since 4713 BCE, independent of any calendar. Used as a bridge between calendar systems.
Leap year (Hijri)Occurs 11 times in a 30-year cycle. In these years the final month, Dhu al-Hijjah, has 30 days, making the year 355 days.
Sacred monthsMuharram, Rajab, Dhu al-Qadah, and Dhu al-Hijjah — the four months traditionally set apart from warfare.
Lunar monthThe time from one new moon to the next (≈29.53 days). A Hijri month is 29 or 30 days.
Laylat al-QadrThe Night of Decree, observed on an odd night in the last ten days of Ramadan (commonly the 27th).
Day of ArafahThe 9th of Dhu al-Hijjah, the day before Eid al-Adha, central to the Hajj pilgrimage.
Islamic Civil (Kuwaiti) algorithmThe specific tabular calendar variant this tool uses, with a civil epoch and a standardized 30-year leap cycle.

In-depth guides

Step-by-step explanations of the most commonly asked Hijri-Gregorian conversion questions.

How is July 4, 1776 converted to the Hijri calendar? (step by step)

Step 1: Convert the Gregorian date to a continuous Julian day number → July 4, 1776 = JDN 2,369,916.
Step 2: Subtract the Islamic epoch and apply the Hijri calendar's 30-year leap cycle to that day count.
Step 3: The result is 17 Jumada al-awwal 1190 AH, a Thursday.

The same arithmetic formula works for any proleptic Gregorian date, recent or centuries old — try it yourself in the "Gregorian → Hijri" tab above.

Don't confuse the arithmetic calendar with moon-sighting

This tool's Hijri dates come from a fixed mathematical rule (the Kuwaiti / Islamic Civil algorithm), decided in advance for every month. Many local Islamic authorities instead confirm the start of a month by sighting the crescent moon, or by observation-based calculation criteria. The two approaches usually agree, but can differ by one day in a given month.

Use this converter for planning, historical dates, and quick reference. For prayer times, the start of Ramadan, or Eid, always follow the announcement from your local mosque or Islamic authority.

Why is my Hijri age higher than my Gregorian age?

A Hijri (lunar) year averages about 354.367 days, while a Gregorian (solar) year averages about 365.25 days. Because the lunar year is shorter, more Hijri years fit into the same span of time — roughly one extra Hijri year for every 33 Gregorian years lived.

For example, someone who is 34 years old in the Gregorian calendar is typically around 35 in the Hijri calendar. The "Hijri age & birthday" tool above calculates both ages exactly, using your real birth date rather than an approximation.

Frequently asked questions

How is a Hijri date calculated?
The Islamic Civil (Kuwaiti) tabular calendar calculates dates mathematically rather than by observing the moon. The Gregorian date is first converted to a continuous Julian day number; a 30-year leap cycle (years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26, and 29 have 355 days) is then applied to derive the Hijri year, month, and day. This tool uses the Kuwaiti (Islamic Civil) algorithm and never connects to an external server.
What is today's date in the Hijri calendar?
The "Today" panel at the top of the page shows today's Hijri date, Gregorian date, and current Hijri month progress based on your device's clock, calculated automatically each time you load the page. Because this is an arithmetic calendar, it can differ by ±1 day from an official moon-sighting announcement.
What is the difference between the Hijri and Gregorian calendars?
The Gregorian calendar is solar-based, with a year of 365-366 days. The Hijri calendar is lunar-based; its 12 months are 29 or 30 days, giving a year of 354-355 days. Because of the roughly 11-day gap, Hijri months drift earlier through the Gregorian seasons every year, and the year-number gap between the two calendars isn't fixed either — it closes by about one year roughly every 33.6 years.
What is the Hijri equivalent of my birth date?
Enter your birth day, month, and year in the "Gregorian → Hijri" tab to get your Hijri birth date, the day of the week you were born, and more. The "Hijri age & birthday" tool goes further, calculating both your Gregorian and Hijri age and counting down to your next Hijri birthday. Your Hijri age is usually a few years higher than your Gregorian age because the lunar year is shorter.
What are the months of the Hijri calendar?
In order: Muharram, Safar, Rabi' al-awwal, Rabi' al-thani, Jumada al-awwal, Jumada al-thani, Rajab, Sha'ban, Ramadan, Shawwal, Dhu al-Qadah, and Dhu al-Hijjah. Muharram, Rajab, Dhu al-Qadah, and Dhu al-Hijjah are the four sacred months. Ramadan is the month of fasting; the first day of Shawwal is Eid al-Fitr, and the tenth day of Dhu al-Hijjah is Eid al-Adha.
When do Ramadan and Eid fall in a given year?
Enter a Hijri year in the "Islamic holidays & observances" tool to see the calculated Gregorian dates for the start of Muharram, Ashura, Mawlid al-Nabi, Laylat al-Raghaib, Laylat al-Mi'raj, Laylat al-Bara'ah, the start of Ramadan, Laylat al-Qadr, Day of Arafah, Eid al-Fitr, and Eid al-Adha. These dates follow the arithmetic calendar; an official announcement in your area may fall a day earlier or later.
How many days are in a Hijri year?
A Hijri (lunar) year has 12 months that alternate between 30 and 29 days. A common year has 354 days, and a leap year has 355 days. Eleven of every 30 years are leap years (years 2, 5, 7, 10, 13, 16, 18, 21, 24, 26, and 29), when the final month, Dhu al-Hijjah, has 30 days instead of 29. The average Hijri year is about 354.367 days.
Why might this differ from an official moon-sighting announcement?
Many local Islamic authorities set the start of each month based on the actual sighting of the crescent moon, or observation-based calculation criteria. This tool instead uses the arithmetic (tabular) calendar, where month lengths are fixed by a mathematical rule in advance. The two methods usually agree but can differ by a day in some months. For religious observance, always follow the announcement from your local mosque or Islamic authority.
Is my date data sent anywhere?
No. Every conversion runs entirely in your browser, on your device — no date is ever sent to a server. The only exception is when you click "Copy link," which adds your entered date to a shareable link's URL parameters.
What is the difference between the Kuwaiti and Umm al-Qura Hijri methods?
Kuwaiti / Tabular (Islamic Civil) sets Hijri month lengths with a fixed 30-year mathematical leap cycle. Umm al-Qura is Saudi Arabia's official calendar, normally published as a lookup table rather than a formula; this tool applies a documented day-offset approximation of it instead of the exact official table. The two methods usually agree but can differ by one, occasionally two, days in a given month. Use the method toggle above the calculator to switch — the result panel shows both dates when they differ.

Methodology & sources

ToolPico's Hijri-Gregorian Date Converter is a free, independent tool. The conversion engine bridges the two calendars through a continuous Julian day number: Gregorian dates use the standard proleptic Gregorian algorithm, and Hijri dates use the Kuwaiti / Islamic Civil arithmetic algorithm (a 30-year leap cycle, civil epoch). Results are computed instantly client-side (in your browser); no data is sent to a server. Results have been cross-checked against the islamic-civil calendar output for the 1950-2075 range.

Limits: The arithmetic calendar can differ by a day from an observation-based official announcement; dates before 1582 are interpreted as proleptic Gregorian. Last updated: July 19, 2026. Results are for informational purposes only; for official religious or legal matters, consult your local Islamic authority.

Explore all ToolPico tools →

🔗 Add this tool to your site

Copy the code below into your own site. The tool is free, always up to date, and runs entirely on your page. No sign-up required.

Preview →
⚡ Built with ToolPico · toolpico.com