BaZi Calculator: Four Pillars of Birth (八字计算器)

Work out the BaZi (八字) of a birth date: the four pillars of year, month, day and hour in heavenly stems and earthly branches, checked against lunar_python.

Four pillars (八字)
—Year pillar
—Month pillar
—Day pillar
—Hour pillar
—Zodiac animal (from 立春)
—Lunar date

The BaZi year starts at 立春 (about 4 February), not at the Lunar New Year, and months start at the 12 节 solar terms. Births between 23:00 and 24:00 use the next day's stem for the hour. Times are Beijing time.

What it does


BaZi (八字, eight characters) describes a moment with four pillars, each a heavenly stem and an earthly branch from the 60-day cycle: year, month, day and hour. The day pillar follows the unbroken sexagenary count, the year changes at 立春, the month at each 节 solar term, and the hour stem comes from the day stem. This page computes the calendar; it does not tell fortunes.

How to use it


  1. Type the date of birth.
  2. Choose the hour of birth (Beijing time), if known.
  3. Read the year, month, day and hour pillars.

The arithmetic runs in your browser. Nothing you type is sent anywhere and nothing is stored, so you can use these with real numbers.

Frequently asked questions


What is the BaZi of 10 November 2026 at 14:00?
丙午 year, 己亥 month, 戊子 day, 己未 hour.

Why is my BaZi year different from my lunar year?
The BaZi year changes at 立春, around 4 February, while the lunar year changes at the Lunar New Year.

How are the pillars checked?
Against the lunar_python library on thousands of random dates from 1901 to 2099.

👪 Chinese Kinship Calculator (亲戚称呼计算器)
🎂 Chinese Nominal Age Calculator (虚岁计算器)
🏦 China Bank Deposit Interest Calculator (存款利息计算器)
字 Chinese Word Counter (中文字数统计)