Six rules of stroke order
Click a character to watch the rule in action.
Top before bottom. 三 is written from the top line down.
Left before right. 川 goes from the left stroke to the right.
Horizontal before vertical. In 十 the cross bar comes first.
Left-falling before right-falling. 人: the ノ stroke, then the ㇏.
Outside before inside. Build the frame of 月, then fill it.
Close the box last. In 日 the bottom line seals the frame.
The 10 Heavenly Stems (天干)
The stems sit on top of each pillar. They alternate Yang and Yin through the Five Elements: Wood, Fire, Earth, Metal, Water. Your Day Master — the stem of your Day Pillar — represents you.
The 12 Earthly Branches (地支)
The branches sit below the stems. Each one is a zodiac animal, a solar month (starting at its solar term, not the 1st) and a two-hour block of the day.
Why we ask for your city of birth
BaZi follows the sun, not your clock. For an accurate chart we:
- convert your clock time to universal time with your city's historical time zone, removing daylight saving time;
- compare that moment with the solar terms (which change your Month Pillar, and at Start of Spring your Year Pillar);
- adjust for your longitude and the equation of time to get true solar time for the Day and Hour Pillars.
If you were born within 10 minutes of an hour boundary or within an hour of a solar term, we show the other possible chart too.
Keep learning
- The Ten Heavenly Stems and The Twelve Earthly Branches in the BaZi Wiki
- The Five Elements cycle
FAQ
What are the 8 characters of BaZi?
BaZi (八字) literally means “eight characters”. Your birth year, month, day and hour each become a pillar of two characters: a Heavenly Stem on top and an Earthly Branch below. There are only 10 stems and 12 branches, so learning these 22 characters lets you read and write any BaZi chart.
Why does my birth city matter?
BaZi uses the sun's position, not the clock. We convert your local clock time (including daylight saving time) to true solar time for your longitude, and compare it with the solar terms, which are defined in China time. Without this, people born outside East Asia can get the wrong Hour, Month or even Year Pillar.
I don't know my birth time. Can I still write my BaZi?
Yes. Tick “I don't know my birth time” and you will get six characters (Year, Month and Day Pillars). The Hour Pillar stays open.
Is the stroke order the same in Taiwan and mainland China?
Almost. The animations use open stroke data based on the mainland standard; Taiwan's Ministry of Education order differs slightly for a few characters. Either way, your characters will look correct.
Stroke animation: Hanzi Writer (MIT); character data from Make Me a Hanzi (Arphic Public License). City data: GeoNames (CC BY 4.0).