BaZi (Four Pillars of Destiny) Calculator
Convert your Gregorian birth date into the Chinese Sexagenary cycle. Generates the Year, Month, Day, and Hour pillars based on solar terms and stems/branches.
About
BaZi (Eight Characters) is a sophisticated system of Chinese metaphysics that maps a person's birth time to the Sexagenary cycle of 60 Stem-Branch combinations. Unlike Western astrology which focuses on star positions, BaZi focuses on the flow of 'Qi' (energy) through the Five Elements (Wood, Fire, Earth, Metal, Water) at the precise moment of birth.
This calculator performs the complex conversion from the Gregorian calendar to the Solar Chinese calendar. It accounts for the crucial Solar Terms (Jie Qi), which define the true astrological months, rather than the Lunar months used in festivals. Use this to discover your Day Master and elemental structure.
Formulas
The calculation relies on the Modulo-60 cycle. A simplified logic for the Year Pillar:
The Month Pillar is derived using the 'Five Tigers' method based on the Year Stem. The Day Pillar requires counting total days from a reference epoch (e.g., Jan 1, 1900).
Reference Data
| Branch (Earthly) | Zodiac Animal | Main Element | Associated Hours |
|---|---|---|---|
| Zi (子) | Rat | Water (Yang) | 23:00 - 01:00 |
| Chou (丑) | Ox | Earth (Yin) | 01:00 - 03:00 |
| Yin (寅) | Tiger | Wood (Yang) | 03:00 - 05:00 |
| Mao (卯) | Rabbit | Wood (Yin) | 05:00 - 07:00 |
| Chen (辰) | Dragon | Earth (Yang) | 07:00 - 09:00 |
| Si (巳) | Snake | Fire (Yin) | 09:00 - 11:00 |
| Wu (午) | Horse | Fire (Yang) | 11:00 - 13:00 |
| Wei (未) | Goat | Earth (Yin) | 13:00 - 15:00 |
| Shen (申) | Monkey | Metal (Yang) | 15:00 - 17:00 |
| You (酉) | Rooster | Metal (Yin) | 17:00 - 19:00 |
| Xu (戌) | Dog | Earth (Yang) | 19:00 - 21:00 |
| Hai (亥) | Pig | Water (Yin) | 21:00 - 23:00 |