CellariusHoroscope
EN-USEnglish (US)

Chinese astrology

BaZi calculator: the four pillars of your birth moment

BaZi, the 八字 or Four Pillars, describes a birth moment with four pairs of a heavenly stem and an earthly branch: year, month, day and hour. This calculator works out those four pillars from your date, time and place, using the true solar time of your birthplace, and shows which rule was used at every choice. It is a Chinese tradition, not a prediction.

You can also order your pillars as a printed plate, in five styles.

Your birth moment

Everything is calculated in your browser; nothing is sent or stored.

Enter the time as the clock in your birthplace showed it then, daylight saving time included. We work out the true solar time ourselves.

No place found? Enter coordinates yourself

North and east are positive; south and west negative.

The longitude of the place sets the true solar time; the time zone sets what the clock showed then, also in the past.
Settings: time standard, zi hour and more
Which time counts for the day and the hour?

Many Chinese calculators use clock time. This site uses true solar time by default and shows the result on clock time next to it when they differ.

Day change around 23:00 (zi hour)

There is a genuine dispute between schools about this. If your birth falls between 23:00 and 00:00 we show both results.

How we calculate

  1. Year: the year changes at the exact moment of Lìchūn (solar longitude 315°, around February 4), not at Chinese New Year and not on January 1.
  2. Month: the month changes at each of the twelve jie (every 30° of solar longitude). The month stem follows from the year stem with the five tigers rule.
  3. Day: a continuous count of 60 days, independent of the moon and the year. The Julian day number sets stem and branch.
  4. Hour: twelve double hours of two hours each; the hour stem follows from the day stem with the five rats rule. By default, we use the true solar time of your birthplace.
  5. The year and month boundaries come from the real position of the Sun, calculated with the same engine as the rest of this site. If a birth falls close to a boundary, we say so.

What this is not

  • Not a prediction: the chart describes a birth moment according to a tradition; it says nothing about your future.
  • Not medical, financial or relationship advice.
  • No verdict on the strength of the day master or on favorable elements: that is a modern addition that schools disagree about, and we do not calculate it.