How lunar dates and solar terms are computed
Coverage 1901–2099, verified against almanacs; no holiday swaps.
The lunar month table
Month lengths (29 or 30 days) and the position of the leap month come from the Shouxing astronomical algorithm (new moons and mid-qi in Beijing time). The page only looks values up at runtime. Browser Intl’s chinese calendar is off by one day in years such as 1999, 2012, 2018, 2027 and 2030, so it is not used.
The 24 solar terms
A term begins every 15 degrees of solar longitude, dated in Beijing time. Their Gregorian dates are fairly stable — Spring Equinox around 20 March, Winter Solstice around 21 December.
Festivals
Four groups: fixed solar dates (New Year, Labour Day, National Day…), fixed lunar dates (Spring Festival, Dragon Boat, Qixi, Mid-Autumn, Chongyang, Laba…), term-based ones (Qingming, Winter Solstice) and nth-weekday ones (Mother’s, Father’s, Thanksgiving). New Year’s Eve is the last day of the lunar year, so it lands correctly even when the twelfth month has no 30th.
Not included
The yearly public-holiday and make-up-workday arrangement announced by the State Council is an administrative decision, not a calendar computation, so it is not predicted here.
Sexagenary year and animal
The header follows the common almanac convention where a Gregorian year carries the sexagenary name of its lunar year (2026 = Bing-Wu, Horse). Cells switch strictly at the lunar new year, so the day before still shows the previous year’s twelfth month.
More guides
Printing at the exact size
Margins, scale and paper decide the result — settings per browser.
Turning photos into calendar artwork
Three placements, size and corner controls, and the privacy story.
Making a desk calendar
210×140mm landscape, one month per sheet, photo placement and binding, ready for a desk stand.
Adding birthdays, anniversaries and to-dos
Up to 60 entries with their own colour, a JSON backup, and bulk import on another device.
Calendars for a company
Logo, credit line, brand colours and the right layout for client gifts or duty rotas.