Persian Calendar Converter
Convert between Gregorian, Hijri, and the Persian Solar Hijri (Jalali) calendar. Get accurate date conversions with month names and day of week.
Persian Calendar Converter
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: JDN = day + floor((153m+2)/5) + 365y + floor(y/4) - floor(y/100) + floor(y/400) - 32045
Worked example โ Gregorian: March 21, 2026 | Persian: 1 Farvardin 1405 | Hijri: 2 Shawwal 1447
Formula
JDN = day + floor((153m+2)/5) + 365y + floor(y/4) - floor(y/100) + floor(y/400) - 32045
The Julian Day Number (JDN) serves as an intermediary for calendar conversions. Each calendar system has algorithms to convert to and from JDN, enabling accurate date translation between Persian, Gregorian, and Hijri calendars.
Worked Examples
Example 1: Converting March 21, 2026 to Persian Calendar
Problem:Convert the Gregorian date March 21, 2026 to the Persian (Jalali) and Hijri calendars.
Solution:Using the Julian Day Number algorithm: JDN for March 21, 2026 = 2,461,121 Persian epoch JDN = 1,948,321 Days since epoch = 512,800 Using the 2820-year cycle algorithm: Persian date = 1 Farvardin 1405 For Hijri: JDN - 1,948,440 + 10632 = Hijri calculation Hijri date = 2 Shawwal 1447
Result:Gregorian: March 21, 2026 | Persian: 1 Farvardin 1405 | Hijri: 2 Shawwal 1447
Example 2: Converting Persian Date 1 Mehr 1404 to Gregorian
Problem:Convert the Persian date 1 Mehr 1404 (first day of autumn in Persian calendar) to Gregorian.
Solution:1 Mehr is the 187th day of the Persian year (6 months of 31 days + 1 day) Persian year 1404, month 7, day 1 Using the reverse algorithm through JDN: JDN = Persian epoch + yearly offset + day of year Converting JDN back to Gregorian gives September 23, 2025
Result:Persian: 1 Mehr 1404 | Gregorian: September 23, 2025 (Autumn Equinox)
Frequently Asked Questions
What is the Persian (Jalali) calendar and how does it differ from the Gregorian calendar?
The Persian calendar, also known as the Solar Hijri or Jalali calendar, is a solar calendar used officially in Iran and Afghanistan. It was reformed by Omar Khayyam and other astronomers in 1079 CE. Unlike the Gregorian calendar which starts from the estimated birth of Jesus, the Persian calendar counts years from the migration (Hijra) of Prophet Muhammad in 622 CE but uses solar year calculations rather than lunar. The first six months have 31 days each, the next five have 30 days, and the last month has 29 days (or 30 in leap years). The Persian New Year, Nowruz, falls on the vernal equinox around March 20-21, making it astronomically precise.
How accurate is the Persian calendar compared to the Gregorian and Hijri calendars?
The Persian calendar is considered one of the most accurate calendars ever devised. It has an error of only one day in approximately 3.8 million years, compared to the Gregorian calendar which accumulates an error of one day every 3,236 years. This remarkable accuracy comes from its leap year algorithm which uses a 2820-year grand cycle. The Hijri (Islamic) calendar, being purely lunar with 354 or 355 days per year, drifts approximately 11 days each year relative to the solar year, completing a full cycle through all seasons every 33 years. The Persian calendar stays perfectly aligned with the seasons because it is anchored to the vernal equinox.
What are the months and seasons of the Persian calendar?
The Persian calendar has twelve months organized into three groups reflecting the seasons. Spring months are Farvardin (31 days), Ordibehesht (31 days), and Khordad (31 days). Summer months are Tir (31 days), Mordad (31 days), and Shahrivar (31 days). Autumn months are Mehr (30 days), Aban (30 days), and Azar (30 days). Winter months are Dey (30 days), Bahman (30 days), and Esfand (29 or 30 days). The first day of Farvardin always coincides with the spring equinox, making the calendar naturally aligned with the astronomical seasons without any need for artificial adjustments.
How does the Hijri (Islamic) calendar conversion work?
The Hijri calendar is a purely lunar calendar consisting of 12 months that alternate between 29 and 30 days, resulting in a year of 354 or 355 days. Conversion between Gregorian and Hijri dates requires algorithms based on the Julian Day Number system, which provides a continuous count of days since January 1, 4713 BCE. The Hijri epoch corresponds to July 16, 622 CE in the Julian calendar. Because the Hijri year is about 11 days shorter than the solar year, Islamic dates cycle through all Gregorian seasons over a period of approximately 33 years. Important Islamic dates like Ramadan occur at different Gregorian dates each year.
Why is Nowruz celebrated on different Gregorian dates each year?
Nowruz, the Persian New Year, is celebrated on the exact moment of the vernal equinox, when the sun crosses the celestial equator moving northward. This astronomical event occurs around March 20 or 21 each year in the Gregorian calendar, but the exact time varies by several hours from year to year due to the difference between the calendar year (365 or 366 days) and the actual tropical year (approximately 365.2422 days). In time zones east of UTC, the equinox can sometimes fall on March 19 or March 22 local time. Nowruz has been celebrated for over 3,000 years and is recognized by UNESCO as an Intangible Cultural Heritage of Humanity.
How do I convert a Persian year to a Gregorian year in my head?
Add 621 for dates from Nowruz to the end of Esfand, and 622 for dates in the part of the Persian year that falls in January, February and early March. Because 1 Farvardin lands around 21 March, a single Persian year straddles two Gregorian years. So 1 Farvardin 1405 is 21 March 2026 (1405 + 621), while 10 Dey 1404 falls at the very end of December 2025 (1404 + 621) and 10 Bahman 1404 is in January 2026 (1404 + 622). The rule gives the year only; use the converter for the exact month and day.
How are leap years decided in the Solar Hijri calendar?
A Persian leap year, called kabiseh, adds a thirtieth day to Esfand, giving 366 days instead of 365. Officially Iran determines it observationally: if the March equinox falls before true noon on the 52.5 degrees east meridian, that day is 1 Farvardin, and whichever year ends up with 366 days is the leap year. Most software instead uses the arithmetic Birashk approximation built on a 2820-year grand cycle, which reproduces the observed pattern almost always but can disagree in isolated years, so a converter result near the start or end of Esfand deserves a check against an official Iranian almanac.
Why do the Solar Hijri and Islamic Hijri year numbers differ if both start from 622 CE?
Both calendars count from the Hijra, but they measure the years with different clocks. The Solar Hijri year tracks the tropical year of about 365.24 days, so its count stays in step with the Gregorian count. The Islamic Hijri year is lunar, roughly 354 days, so it gains about one year on the solar count every 33 years. After fourteen centuries that accumulated gain is more than forty years, which is why a single Gregorian date can convert to a Persian year in the 1400s and a Hijri year in the 1440s at the same time.
Why does the converter route dates through the Julian Day Number instead of converting directly?
The Julian Day Number is a plain running count of days that belongs to no calendar, so it acts as a neutral pivot. Writing a direct Persian-to-Hijri routine would need a separate rule for every pair of calendars; routing through JDN needs only one to-JDN and one from-JDN routine per calendar, and any new calendar plugs in with two functions. It also removes month-length and leap-rule bookkeeping from the comparison step, since once two dates are integers you can subtract them to get the exact day gap.
Why can a tabular Hijri date differ from the date announced locally?
The Hijri output here uses the tabular scheme, where months alternate 30 and 29 days and eleven years in each 30-year cycle carry an extra day. That is a fixed arithmetic rule that any computer can reproduce. Many Muslim countries instead begin each month on the physical sighting of the new crescent, which depends on weather, the observer's longitude and the criteria a local authority accepts. The two methods usually agree within a day, but the start of Ramadan or Dhul-Hijjah announced in one country can be one or even two days off a tabular value.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐งฎDate to Julian Day Converter
Convert between calendar dates and Julian Day Numbers used in astronomy and programming.
๐งฎChinese Calendar Converter
Convert between Gregorian calendar dates and the Chinese lunar calendar.
๐งฎHebrew Calendar Converter
Convert between Gregorian and Hebrew calendar dates with Jewish holiday awareness.
๐งฎDecimal Hours Converter
Convert between hours:minutes format and decimal hours for payroll and billing.
๐งฎChinese New Year Date Calculator
Find the date of Chinese New Year for any year based on the lunar calendar.
๐งฎRamadan Date Calculator
Find the estimated start date of Ramadan for any year based on the Islamic lunar calendar.
๐งฎ24 Hour to 12 Hour Converter
Convert any 24-hour (military) time to 12-hour AM/PM format and vice versa.
๐งฎQuarter Calculator
Find which fiscal or calendar quarter any date falls in and the quarter start/end dates.