How the Four Pillars are calculated
- Year pillar: changes at the exact moment of Start of Spring (立春), when the sun reaches 315° of ecliptic longitude, around 4 February. It also gives your zodiac animal.
- Month pillar: the Bazi month is not a calendar month. It begins at each of the 12 “jie” solar terms, roughly the 4th to 8th of each month, and the month's stem follows from the year's stem.
- Day pillar: an unbroken 60-day cycle that runs on regardless of months and years, so it changes every day at the same rate.
- Hour pillar: each day has twelve two-hour blocks starting with Zi (子) at 11 pm, and the hour's stem follows from the day's stem.
Because a solar term can fall at any minute, the calculator converts your local birth time to universal time using the time-zone rules in effect on that date, including daylight saving, and compares it with the exact solar-term moments. Charts can be calculated for births from February 1900 to 2100.
The ten heavenly stems
| Stem | Pinyin | Element |
|---|---|---|
| 甲 | Jiǎ | Yang Wood |
| 乙 | Yǐ | Yin Wood |
| 丙 | Bǐng | Yang Fire |
| 丁 | Dīng | Yin Fire |
| 戊 | Wù | Yang Earth |
| 己 | Jǐ | Yin Earth |
| 庚 | Gēng | Yang Metal |
| 辛 | Xīn | Yin Metal |
| 壬 | Rén | Yang Water |
| 癸 | Guǐ | Yin Water |
The twelve earthly branches and their hidden stems
Each branch carries one to three “hidden” heavenly stems, listed main stem first. This is the most widely used table; a few schools differ on the hidden stems of 巳 and 亥.
| Branch | Animal | Element | Hidden stems |
|---|---|---|---|
| 子 Zǐ | Rat | Water | 癸 Water |
| 丑 Chǒu | Ox | Earth | 己 Earth, 癸 Water, 辛 Metal |
| 寅 Yín | Tiger | Wood | 甲 Wood, 丙 Fire, 戊 Earth |
| 卯 Mǎo | Rabbit | Wood | 乙 Wood |
| 辰 Chén | Dragon | Earth | 戊 Earth, 乙 Wood, 癸 Water |
| 巳 Sì | Snake | Fire | 丙 Fire, 庚 Metal, 戊 Earth |
| 午 Wǔ | Horse | Fire | 丁 Fire, 己 Earth |
| 未 Wèi | Goat | Earth | 己 Earth, 丁 Fire, 乙 Wood |
| 申 Shēn | Monkey | Metal | 庚 Metal, 壬 Water, 戊 Earth |
| 酉 Yǒu | Rooster | Metal | 辛 Metal |
| 戌 Xū | Dog | Earth | 戊 Earth, 辛 Metal, 丁 Fire |
| 亥 Hài | Pig | Water | 壬 Water, 甲 Wood |
The ten gods
Every other stem in the chart is labeled by how its element relates to your Day Master in the five-element cycle (Wood → Fire → Earth → Metal → Water → Wood produces; Wood controls Earth, Earth controls Water, Water controls Fire, Fire controls Metal, Metal controls Wood) and whether its yin-yang polarity matches.
Luck pillars
Luck pillars are 10-year periods that step forward or backward through the sexagenary cycle from your month pillar: forward for men born in a yang year and women born in a yin year, backward otherwise. The age of the first one comes from the time between your birth and the next (or previous) solar term, with three days counted as one year.
Bazi calculator FAQ
What is a Bazi chart?
Bazi (八字, "eight characters") is the traditional Chinese way of writing a birth moment as four pairs of characters, one pair each for the year, month, day, and hour. Each pair is a heavenly stem and an earthly branch from the 60-step sexagenary cycle used in the Chinese calendar. It is also called the Four Pillars of Destiny.
Why is my Bazi year different from my Chinese zodiac year?
Bazi years start at the solar term Start of Spring (立春), around 4 February, while Chinese New Year follows the lunar calendar and falls between late January and mid-February. If you were born between the two, your Bazi year and the zodiac animal you were told may differ. This calculator uses the solar-term boundary.
Do I need my exact birth time?
The hour pillar needs it, and so do births close to a solar term, when the month can change within minutes. Without a time you still get the year, month, and day pillars. The day pillar is affected only if you were born near midnight.
What is true solar time and should I use it?
Clock time is shared by a whole time zone, but the sun's position depends on longitude. True solar time corrects for your birthplace's longitude and the equation of time, a seasonal shift of up to about 16 minutes. Many practitioners use it for the hour pillar; others use clock time. Try both if your birth time is near the start of a two-hour block.
What about births between 11 pm and midnight?
That hour is the first part of the Zi (子) hour. Some schools start the new day at 11 pm, others at midnight. The calculator uses 11 pm by default and lets you switch under Advanced.
Why does a different Bazi calculator show another chart?
The usual causes are time zone and daylight saving time, the Zi-hour rule, true solar time, and using Chinese New Year instead of Start of Spring for the year. The "How this chart was calculated" section under your chart shows each of these so you can compare.
Is my birth data stored?
No. The chart is calculated in your browser and nothing you enter is sent to a server.
About this site
Bazi is part of traditional Chinese culture. This calculator shows how a chart is built; it does not predict the future, and nothing on this site is advice about health, finances, relationships, or other decisions.
Sources
- Solar-term times: computed with lunar-javascript (6tail, MIT license) and checked against the Hong Kong Observatory's 24 Solar Terms tables and the US Naval Observatory's equinox and solstice times.
- Sexagenary day cycle and month stems: Wikipedia, “Sexagenary cycle” (1 October 1949 is a 甲子 day; 甲 and 己 years begin with a 丙寅 month).
- True solar time: NOAA Global Monitoring Laboratory, “General Solar Position Calculations” (equation of time).
- Time zones and daylight saving history: the IANA time zone database built into your browser.