Saved

Press the star next to a tool's name to save it.

All my tools

Shamsi (Solar Hijri) Date Converter

Use this Shamsi date converter to change a Gregorian date to a Shamsi (Solar Hijri) date or back, with the weekday, month length, leap year and Nowruz date.

Restored your last values ·

Choose which way to convert, then enter the year, the month as a number from 1 to 12 and the day. For a Shamsi date, month 1 is Farvardin and month 12 is Esfand. The calculator uses your browser's built-in Persian calendar.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Choose the direction, enter the year, month and day, then press Convert date.

See full result

This Shamsi date converter changes a Gregorian date into a Shamsi (Solar Hijri) date, and a Shamsi date into a Gregorian one. Choose the direction, enter the year, the month and the day, and the calculator gives the converted date, the day of the week, the length of the month, whether the year is a leap year and the date of Nowruz for that year. It runs in your browser and nothing you enter is sent anywhere.

What the Shamsi calendar is

Shamsi means solar. The Solar Hijri calendar, also called the Persian calendar, counts years from the Hijrah, the year Muhammad left Mecca for Medina. Wikipedia says its epoch was the day of the spring equinox, March 19, 622 CE. It is a solar calendar, so its months follow the seasons and not the phases of the moon. That makes it different from the lunar Hijri calendar used for Islamic holidays, which our Hijri date converter handles.

How to use the Shamsi date converter

  1. Choose Gregorian date to Shamsi or Shamsi date to Gregorian.
  2. Enter the year.
  3. Enter the month as a number from 1 to 12, and the day.
  4. Press Convert date.

The months

Wikipedia lists the twelve months as Farvardin, Ordibehesht, Khordad, Tir, Mordad, Shahrivar, Mehr, Aban, Azar, Dey, Bahman and Esfand. The first six months have 31 days and the next five have 30 days. The last month, Esfand, has 29 days in common years and 30 in leap years. So month 1 is Farvardin, month 7 is Mehr and month 12 is Esfand. The calculator shows the length of the month for the date you enter.

The new year

The page explains that each year begins on the day of the March equinox, and that Nowruz always falls on the March equinox. The new year begins on or about 21 March in the Gregorian calendar. The page adds that if the equinox is before noon in Tehran, that day is the first day of Farvardin, and if it is after noon, the next day is. This is why the first day of the year is sometimes 20 March and sometimes 21 March. The calculator shows the Gregorian date of Nowruz for the year of the date you enter.

Leap years

The page says the calendar is not determined by a mathematical formula. Esfand gets its 30th day when that is needed so that Nowruz falls on the equinox. The calculator reports whether the year is a leap year by checking if Esfand has a 30th day. It uses your browser's Persian calendar to do this, so for years far from today, or for a date that matters legally, check an official calendar.

Worked examples

Gregorian 20 March 2024 is 1 Farvardin 1403, which was a Wednesday and the date of Nowruz that year. The year 1403 is a leap year, so its last day, 30 Esfand 1403, is 20 March 2025. The next day, 21 March 2025, is 1 Farvardin 1404, and 1404 is a common year. Going the other way, 1 Farvardin 1402 is 21 March 2023. A Shamsi date such as 30 Esfand 1404 is rejected, since that year has only 29 days in Esfand.

Years and months in the two calendars

A Shamsi year starts in March of a Gregorian year, so the year number is the Gregorian year minus 621 from March to the end of December, and minus 622 for dates in January, February and the first weeks of March. For example, in December 2024 the Shamsi year is already 1403, and in January 2025 it is still 1403. The converter does this for you, so you do not need to remember the rule.

Reading the results

The first result is the converted date. The converter also gives the date in the form you entered, so you can check that it read your input correctly. The day of the week is worked out for the date. The ISO date, written as year, month and day with dashes, is useful for spreadsheets and databases. The days in the Shamsi month and the leap year result tell you about the month and the year of the date, and the last result gives the Gregorian date of Nowruz for that Shamsi year.

Where the Shamsi calendar is used

If you work with documents, birth dates or contracts from places that use the Solar Hijri calendar, you may meet dates in this calendar, which look like 1403/01/01. Enter the three parts in the converter to see the Gregorian date. Remember that a date written with the year first and slashes may mean year, month and day, as in this example.

Dates around Nowruz

The days around 20 and 21 March are the most likely to surprise you. In 2024 the new year began on 20 March, and in 2025 on 21 March, so the same Gregorian date can be the last day of one Shamsi year in one year and the first day of the next in another. If you convert a date in these days, look at the Nowruz result to see which year it belongs to, and use the leap year result to see whether the last month had a thirtieth day.

Common mistakes

  • Entering the month name. Use the month number, 1 to 12.
  • Mixing up the direction. A year such as 1403 must be entered as a Shamsi date.
  • Using day 30 in Esfand of a common year. That day only exists in leap years.
  • Using it for the Islamic calendar. That is a lunar calendar, a different tool.

What next

Use this often? Add Shamsi (Sola to your Home screen.

Frequently asked questions

What is a Shamsi date converter?

A tool that converts between Gregorian dates and Shamsi (Solar Hijri, Persian) dates.

When does the Shamsi year start?

On the day of the March equinox, Nowruz, which is on or about 21 March in the Gregorian calendar.

How many days are in the Shamsi months?

The first six months have 31 days, the next five have 30, and Esfand has 29 days, or 30 in leap years.

What is the Shamsi date today?

Enter today's Gregorian date with the Gregorian to Shamsi option and the converter gives it.

Is the Shamsi calendar the same as the Hijri calendar?

No. The Solar Hijri calendar follows the sun and the seasons. The Islamic Hijri calendar follows the moon.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Unit Converters