Persian (Jalali) calendar converter
Convert dates between the Gregorian and Persian (Solar Hijri / Jalali) calendars in both directions, with the weekday shown for each result. The Persian calendar is the official calendar of Iran and Afghanistan, so this is handy for reading Iranian dates, planning around Nowruz, or filling in forms that expect a Shamsi date.
How it works
The converter pivots through the Julian Day Number (JDN) — a continuous day count that both calendars can map onto:
Gregorian date → JDN → Persian date
Persian date → JDN → Gregorian date
It uses Borkowski’s 33-year-cycle algorithm for the Persian side, which matches the observational Solar Hijri calendar for every modern date, including leap years. Because both directions share the JDN pivot, a round-trip returns exactly the date you started with.
The structure of the Persian calendar
The Persian calendar is purely solar, unlike the Islamic Hijri calendar which is lunar. Its year always begins at the astronomical spring equinox — making it more astronomically precise than the Gregorian calendar, which relies on a fixed rule (leap year every 4 years, with exceptions). The twelve Persian months are:
| Month | Days | Season (northern hemisphere) |
|---|---|---|
| Farvardin | 31 | Spring |
| Ordibehesht | 31 | Spring |
| Khordad | 31 | Spring |
| Tir | 31 | Summer |
| Mordad | 31 | Summer |
| Shahrivar | 31 | Summer |
| Mehr | 30 | Autumn |
| Aban | 30 | Autumn |
| Azar | 30 | Autumn |
| Dey | 30 | Winter |
| Bahman | 30 | Winter |
| Esfand | 29 or 30 | Winter |
The first six months each have 31 days — more than the equivalent Gregorian months — because they correspond to the half of Earth’s orbit when the planet moves more slowly (further from the Sun). The last month, Esfand, has 29 days in a common year and 30 in a leap year.
Common date-conversion scenarios
Nowruz planning: The Persian New Year, 1 Farvardin, always falls around 20 or 21 March in the Gregorian calendar. The exact date shifts by a day every few years following the equinox.
Iranian legal and financial documents: Iran uses the Solar Hijri date on official documents, contracts, invoices, and ID cards. If you receive a document dated, for example, 1402/08/15, that is the 15th of Aban 1402 in the Persian calendar — this converter gives you the Gregorian equivalent immediately.
Afghan government dates: Afghanistan also uses the Solar Hijri calendar officially, though some month names differ slightly from the Iranian convention.
Example
The Persian New Year, 1 Farvardin 1403, converts to 20 March 2024 (Gregorian) — Nowruz. Going the other way, entering 2024-03-20 returns 1403-01-01 along with its weekday. Dates just before Nowruz fall in the previous Persian year (month Esfand), since the year boundary is the equinox, not 1 January.
It is privacy-first: nothing leaves your browser.