←
Utilities

Chinese Lunar Calendar

Loading the tool…

Ready when you are.Runs in this browser · nothing is uploaded

Lunar ⇄ Gregorian dates, solar terms

  • Free
  • No sign-up
  • No upload
  • Works offline

Tool facts

Saves as
ICS
Price
Free, no sign-up, no watermark
Are files uploaded?
No. Everything is processed in this browser, on your device.
Offline use
Works without a connection once this page has loaded
Built with
lunar-javascript
Browser
A recent Chrome, Edge, Firefox or Safari, on computer or phone.
Limits
Converts dates from 1901-01-01 to 2100-12-31; the lunar birthday list covers at most 100 years.

Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.

About Chinese Lunar Calendar

This converter turns any Gregorian date from 1 January 1901 to 31 December 2100 into its Chinese lunar date (农历), and a lunar date back into the Gregorian one, with leap months marked 闰. For each day it shows the year, month and day in the sexagenary cycle (干支), the zodiac animal, the solar term or traditional festival on that day, and how many days remain until the next solar term and the next Spring Festival. A month calendar prints the lunar day under every date.

The lunar dates were checked against the Hong Kong Observatory conversion tables for all 73,049 days in the range, with no differences, and every solar-term date matches those tables too. Term times are given in Beijing time to the minute. The lunar birthday table lists on which Gregorian day your lunar birthday falls in each of the next 1 to 100 years, and can be saved as an .ics file for a phone calendar. Everything is calculated in your browser.

Chinese Lunar Calendar runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.

How to use Chinese Lunar Calendar

  1. Under Convert, choose Gregorian → Lunar or Lunar → Gregorian and enter the date. For a lunar date, tick Leap month only when that year has the leap month.
  2. Read the result card: lunar date, year, month and day ganzhi, zodiac, the next solar term and the days to the Spring Festival. Change Time if the day has a solar term.
  3. Click any day in the month calendar to see it in the result card. Use the arrows, the year box or the month list to move, and Today to come back.
  4. Under Lunar birthday, enter the birth date (Gregorian or lunar) and the number of years, then click Download .ics to add the dates to your calendar.

Frequently asked questions

How accurate are the lunar dates?

Every day from 1901-01-01 to 2100-12-31 gives the same lunar month, day and leap month as the Hong Kong Observatory tables. The month table comes from the lunar-javascript library with one correction: in 2057 the new moon falls within a minute of midnight Beijing time, the library starts the 9th month on 29 September and the Observatory on 28 September. This tool follows the Observatory.

Why does the month ganzhi change in the middle of a lunar month?

The ganzhi month does not follow the lunar month. It changes at the exact moment of each of the 12 jie terms (立春, 惊蛰 … 大雪, 小寒). Major Snow falls on 2026-12-07 at 10:52 Beijing time, so that day is 己亥 month before 10:52 and 庚子 month after it. Enter a time in the Time box to get the ganzhi for that moment; the day ganzhi changes at midnight.

How precise are the solar term times?

The 4,800 term times from 1901 to 2100 were compared with the JPL DE440 ephemeris (the apparent longitude of the Sun reaching a multiple of 15°). All are within one minute; seconds are cut off in the display. The ΔT used for future years is a prediction, so times after about 2050 carry that uncertainty. Seven terms fall within 12 minutes of midnight and the Hong Kong Observatory table gives the neighbouring date; the calendar uses that date and the term table marks the computed moment with an asterisk.

My lunar birthday is on the 30th. What happens in years without a 30th?

A lunar month has 29 or 30 days. If you were born on the 30th and that month has only 29 days in a given year, the table uses the 29th (廿九) and highlights the row in yellow. People born in a leap month celebrate in the ordinary month of the same number, and the table says so above the buttons.

Does the zodiac year start at Chinese New Year or at Lichun?

By default the year ganzhi and zodiac change at the Spring Festival (正月初一), as on calendars and for birthdays. Under Options you can switch to the exact moment of 立春 (Start of Spring, around 4 February), which Bazi charts use. The calendar header always names the lunar year from New Year to New Year.

· Free · Runs in this browser · nothing is uploaded

Drop any file here
Drop it to see which tools can open it