How Bát Tự builds the four pillars, and why the lunar month is the wrong month pillar

The four Bát Tự pillars are a solar calendar computation, not a lunar one. The year pillar changes at Lập Xuân, the month pillar at each solar term to the minute, the day pillar at 23:00. Using the lunar month as the month pillar is wrong on 24.3% of days from 1900 to 2100.
Bát Tự is the rule set of a traditional art and is not scientifically verified. This post only covers building the four pillars correctly by its rules in a way that can be rechecked, not whether the chart's readings come true.
When does the year pillar change?
At Lập Xuân, when the Sun passes 315 degrees of ecliptic longitude, usually 3 to 5 February, not at Tết. Someone born at 10:00 on 30 January 1990 has the lunar date day 4, month 1, Canh Ngọ (Tết Canh Ngọ was 27 January), but that year's Lập Xuân came at 09:14 on 4 February, so the year pillar is still Kỷ Tỵ.
Over 73,414 days from 1900 to 2100, taken at noon, 1,487 days (2.0%) have a year pillar different from the lunar year's stem and branch.
When does the month pillar change, and how precisely?
At each of the 12 jié solar terms (Lập Xuân, Kinh Trập, Thanh Minh...), to the minute in Vietnam time. Lập Xuân 1990 began at 09:14 on 4 February (09:14:02 to the second): born at 09:14 still gives year Kỷ Tỵ, month Đinh Sửu; born at 09:15 is already year Canh Ngọ, month Mậu Dần.
The month stem follows from the year stem by the Ngũ Hổ Độn rule:
| Year stem | Dần month |
|---|---|
| Giáp, Kỷ | Bính Dần |
| Ất, Canh | Mậu Dần |
| Bính, Tân | Canh Dần |
| Đinh, Nhâm | Nhâm Dần |
| Mậu, Quý | Giáp Dần |
Our solar term moments are on average 0.27 minutes from IMCCE, at most 0.9 minutes (see the lunar calendar and the 24 solar terms). Anyone born within about 2 minutes of a solar term should double-check, because the month pillar, and at Lập Xuân the year pillar too, may differ.
Why is the lunar month the wrong month pillar?
Because lunar months follow the Moon, while the month pillar follows the Sun. The first of a lunar month and the solar term can be almost half a month apart, and a leap month repeats the stem and branch of its same-numbered month. Over 73,414 days from 1900 to 2100, 17,819 days (24.3%) have a lunar-month stem and branch different from the month pillar: nearly a quarter of people would get the wrong month pillar from a lunar calendar.

Which day counts for a birth in the Tý hour?
The day pillar changes at 23:00: a birth from 23:00 onward takes the next day's stem and branch, as the Tý hour of the new day. We do not split early and late Tý.
- The hour stem follows from the day stem by the Ngũ Thử Độn rule: Tý-hour stem = (day stem mod 5) × 2, with Giáp as 0.
- The Tử Vi tool keeps the date as entered, so for a birth between 23:00 and midnight the two tools can show two dates; both results say so.
Where do the hidden stems and ten gods come from?
- Hidden stems: each branch holds one to three stems by the traditional table, e.g. Tỵ holds Bính, Canh, Mậu.
- Ten gods: the five-element and yin-yang relation between a stem and the day stem (the Day Master). Same element: Friend or Rob Wealth; produced by the Day Master: Eating God or Hurting Officer; controlled by it: Indirect or Direct Wealth; controlling it: Seven Killings or Direct Officer; producing it: Indirect or Direct Resource. The first of each pair shares the Day Master's polarity, the second does not.
The chart of a man born at 10:00 on 30 January 1990:
| Pillar | Stem-branch | Ten god of the stem | Hidden stems |
|---|---|---|---|
| Year | Kỷ Tỵ | Indirect Wealth | Bính, Canh, Mậu |
| Month | Đinh Sửu | Eating God | Kỷ, Tân, Quý |
| Day | Ất Mùi | Day Master | Kỷ, Ất, Đinh |
| Hour | Tân Tỵ | Seven Killings | Bính, Canh, Mậu |
At what age do the luck pillars begin?
Three days count as one year. A man born in a yang-stem year or a woman born in a yin-stem year moves forward, counting days to the next solar term; everyone else moves backward, counting back to the last one.
The example is a man in a Kỷ (yin) year, so he moves backward: from Tiểu Hàn (21:33 on 5 January 1990) to birth is 24.52 days, times 4 gives 98 months, i.e. luck begins at 8 years 2 months. The first luck pillar steps back from the month pillar Đinh Sửu to Bính Tý.
How is Bát Tự checked?
- The Bát Tự test set has 777 charts: four pillars, hidden stems, ten gods, life stages, symbolic stars, conception pillar, life palace, luck pillars and the 2026 annual pillar. The TypeScript and Python ports match the reference engine field by field.
- The month pillar depends on solar term moments, which have been checked against 4,824 IMCCE moments and 804 USNO moments.
One Bát Tự chart traced from book to formula to result is in the post from knowledge to personalisation. Using the Bát Tự library in code: the post on analysing chart data with Python and the Open code and data page.
If you reuse these figures, please credit: Data: Nhat Nguyet (nhatnguyet.org).





