# Chinese Calendar calculators

> Chinese lunisolar calendar (农历) conversion, 24 solar terms (节气), sexagenary stems and branches (干支), zodiac (生肖), lunar festivals, Bazi four pillars (八字), almanac day qualities (黄历) and era/calendar conversions — computed astronomically for Beijing time and checked against Hong Kong Observatory tables.

13 calculators. HTML index: https://tttkmbb.com/lunar · JSON: https://tttkmbb.com/api/v1/calculators?category=lunar

- [Lunar Calendar Converter (农历)](https://tttkmbb.com/lunar/lunar-calendar-converter.md): Converts a Gregorian date to the Chinese lunisolar calendar (农历 nongli): lunar year, month (with leap-month flag), day, the sexagenary stems and branches (干支 ganzhi) of year, month and day, zodiac animal, nayin (纳音), the current 24-solar-term period and any traditional festival on that day. Tool: `convert_solar_to_lunar`.
- [Lunar to Solar Date Converter](https://tttkmbb.com/lunar/lunar-to-solar.md): Converts a Chinese lunar calendar date (year, month, leap-month flag, day) to the Gregorian date, reporting the weekday, the day's ganzhi (干支) and the length of that lunar month, and validating that the leap month and day exist in that year. Tool: `convert_lunar_to_solar`.
- [24 Solar Terms Calculator (二十四节气)](https://tttkmbb.com/lunar/solar-terms.md): Lists the 24 solar terms (节气 jieqi) of a Gregorian year with their exact instants: the moments the Sun's apparent longitude reaches multiples of 15°, computed astronomically and shown in a chosen UTC offset (China Standard Time by default). Tool: `list_solar_terms`.
- [Chinese Zodiac Calculator (生肖)](https://tttkmbb.com/lunar/chinese-zodiac.md): Finds the Chinese zodiac animal (生肖 shengxiao), sexagenary year (干支 ganzhi), stem element, yin/yang, nayin (纳音) and fixed element for a birth date, using either the Chinese New Year boundary or the 立春 (Lichun) boundary, plus the traditional relationship groups (六合, 三合, 六冲, 六害, 相刑) and 本命年 years. Tool: `find_chinese_zodiac`.
- [Sexagenary Cycle Calculator (干支)](https://tttkmbb.com/lunar/sexagenary-cycle.md): Converts a year to its sexagenary name (干支 ganzhi: heavenly stem 天干 + earthly branch 地支) or a ganzhi name back to the matching years, with the stem element, yin/yang, zodiac animal, nayin (纳音), position in the 60-year cycle and the full 60-entry table. Tool: `convert_sexagenary_year`.
- [Chinese Double-Hour Calculator (时辰)](https://tttkmbb.com/lunar/chinese-hour.md): Converts a clock time to the traditional Chinese double-hour (时辰 shichen): its earthly branch (子 … 亥), animal and index, and, when a date is given, the hour's ganzhi (干支) by the 五鼠遁 (five-rats) rule from the day stem, with the option to count the late 子 hour (23:00–23:59) with the next day. Tool: `convert_to_chinese_hour`.
- [Chinese Nominal Age Calculator (虚岁)](https://tttkmbb.com/lunar/lunar-age.md): Computes the traditional Chinese nominal age (虚岁 xusui: one at birth, plus one at every Chinese New Year) alongside the completed-years age (周岁 zhousui), and finds the lunar birthday (农历生日), its Gregorian date in the current lunar year, the days to the next lunar birthday and the next 本命年. Tool: `calculate_chinese_nominal_age`.
- [Chinese Festival Dates Calculator](https://tttkmbb.com/lunar/chinese-festivals.md): Lists the Gregorian dates of the traditional Chinese festivals falling in a Gregorian year (春节, 元宵节, 龙抬头, 上巳节, 清明节, 端午节, 七夕, 中元节, 中秋节, 重阳节, 寒衣节, 下元节, 冬至, 腊八节, 小年, 除夕), the three 伏 periods (三伏 sanfu) counted by 庚 days from the summer solstice, and the nine 数九 (shujiu) periods from the winter solstice. Tool: `list_chinese_festivals`.
- [Bazi Four Pillars (八字)](https://tttkmbb.com/lunar/bazi-four-pillars.md): Builds the Bazi (八字, Bāzì) / Four Pillars (四柱) chart of a birth date and time: year pillar by 立春 (Lìchūn), month pillar by the 节 (jié) solar terms, day pillar from the sexagenary day count, hour pillar by the 五鼠遁 (Wǔshǔdùn) rule, plus day master, five-element counts, ten gods (十神), hidden stems (藏干), 纳音 (nàyīn), void branches (空亡) and the ten-year luck pillars (大运). Tool: `calculate_bazi_four_pillars`.
- [Chinese Almanac Day (黄历)](https://tttkmbb.com/lunar/chinese-almanac.md): Computes the traditional almanac (黄历 huánglì / 通胜 tōngshèng) entries of a civil date: lunar date, stem-branches, the 建除十二神 day officer, the 黄道/黑道 twelve spirits of the day and of each double-hour, the clashing animal, 煞 direction, 岁破/月破 flags, the 彭祖百忌 taboo lines and the 28-mansion (二十八宿) of the day. Tool: `describe_chinese_almanac_day`.
- [Nine Star Periods (紫白飞星)](https://tttkmbb.com/lunar/nine-star-feng-shui.md): Finds the annual, monthly and daily 紫白 (zǐbái) star (一白 … 九紫) of a date and its 20-year period in the 180-year 三元九运 (sānyuán jiǔyùn) cycle counted from 1864, as used in Flying Star (玄空飞星) feng shui reference tables. Tool: `calculate_nine_star_periods`.
- [Era Year Converter](https://tttkmbb.com/lunar/era-year-converter.md): Converts a Gregorian year (optionally an exact date) into the year counts of other calendars and eras: 民国 (Mínguó), Japanese 元号 (gengō), Thai Buddhist Era, 黄帝纪元 (Huángdì), 檀纪 (Dangun), 主体 (Juche), 皇纪 (kōki), Holocene, tabular Islamic (AH), Hebrew (AM), Solar Hijri, Ethiopian, Coptic and Byzantine years, plus the Chinese stem-branch year and zodiac. Tool: `convert_year_to_eras`.
- [Chinese Zodiac Compatibility (生肖配对)](https://tttkmbb.com/lunar/zodiac-compatibility.md): Lists the traditional earthly-branch relations between two Chinese zodiac animals: 六合 (liùhé, six harmonies / secret friends), 三合 (sānhé, trines), 六冲 (liùchōng, clashes), 六害 (liùhài, harms), 相刑 (xiāngxíng, punishments), 相破 (xiāngpò, breaks) and 比和 (same sign), with each animal's trine group, fixed element and polarity. Tool: `check_chinese_zodiac_compatibility`.
