A Hànzi calendar tool · 八字 bāzì

Four pillars,
read as a calendar.

Enter a birth date and time to get the four pillars — year, month, day and hour — along with the solar term that set each month. This page computes the chart. It does not interpret it, score it, or tell you what is going to happen to your money.

Compute a chart

Times are read as China Standard Time (UTC+8). Leave the time empty if you only know the date — the hour pillar will be omitted rather than guessed.

What the four pillars are

Bazi (八字, “eight characters”) is a chart of four pillars. Each pillar pairs one of the ten heavenly stems (天干) with one of the twelve earthly branches (地支), so four pillars hold eight characters. The pillars are built from the solar calendar, not from the lunar one, which is where most of the confusion starts.

PillarWhat sets itChanges at
Year 年柱The solar year立春, usually 3–5 February
Month 月柱Which of the twelve 节 is in forceIts 节, roughly every 30 days
Day 日柱The 60-day cycleAt 23:00 (晚子时)
Hour 时柱The two-hour branch and the day stemEvery two hours, starting at 23:00

The ten stems and twelve branches combine in a cycle of sixty, which is why the day pillar is a 60-day rotation and the year pillar a 60-year one.

Why the year starts at 立春, not January 1

Three different “new years” run through Chinese calendars, and they are often confused:

So a birth on 20 January belongs to the previous pillar year even though it is in the new Gregorian year, and a birth between Lunar New Year and 立春 can carry the new zodiac animal while still sitting in the old pillar year. Those are not contradictions; they are different systems.

Why months start at a 节

The twelve months of the pillars are anchored to twelve solar terms rather than to the first of the month. Each month begins when the sun reaches a particular point in its annual path, which is why the boundary can fall at any hour of the day — and why a birth can be in the previous month even though the calendar says otherwise.

That is also why this page shows the governing term and its exact moment. If a chart looks wrong to you, the usual reason is a birth within a day of one of those boundaries.

Why the day changes at 23:00

The first double hour, 子时, runs from 23:00 to 01:00. Under the 晚子时 convention used here, a birth at 23:00 or later is treated as belonging to the next day, which moves both the day pillar and the hour pillar.

Some schools switch at midnight instead. Both conventions are in use, and they disagree for exactly one hour of the day. If your birth time is close to 23:00, expect different calculators to disagree — that is a convention difference, not a calculation error.

What this page does not do

It does not predict. Turning a date into four pillars is precise, reproducible arithmetic. Whether the resulting chart says anything true about a person’s wealth, career, relationships or health is a separate claim, and not one that has been demonstrated. We compute the first part and stay quiet about the second.

It does not read the chart either. There is no interpretation of 十神, no 命宫, no 大运, no lucky-element advice. Those are interpretive layers, and mixing them into a calculator is how a calendar tool turns into a fortune-telling app.

It does not model hidden stems. The element tally counts the four stems and four branches you can see. Traditional readings also weigh 藏干 and seasonal strength, which we do not attempt.

How the calculation is checked

Every solar term from 1900 to 2100 was generated once, at development time, from sxtwl (寿星天文历) and committed as static data. Nothing is fetched at runtime.

The browser arithmetic is then tested against 184 charts generated independently from the same library, plus 144 boundary cases — one minute either side of every 节 in six sample years — so a wrong month or year at a boundary fails the test rather than reaching a visitor.

Questions about bazi charts

What is a bazi chart?

Bazi means eight characters. The chart has four pillars — year, month, day and hour — and each pillar is a pair of one heavenly stem and one earthly branch, so four pairs make eight characters. The day pillar is the one traditional readings centre on.

Why does the year start at 立春 instead of January 1?

The pillars are built from the solar calendar the year’s 节, and 立春 is the first of them. So a birth in January still belongs to the previous pillar year. It also does not change at Lunar New Year, which is a different boundary again.

What if I do not know my birth time?

Leave the time field empty. The page computes three pillars and omits the hour pillar rather than inventing a time. The calendar part stays exact.

Does this page predict my wealth, career or love life?

No. This page computes a calendar chart. It does not score, rank or forecast anything, and it does not generate personal readings. The arithmetic is reproducible; claims that a chart predicts a life are a separate matter and we do not make them.

Which time zone should I use?

China Standard Time (UTC+8), which is what the underlying solar-term data uses. If you were born outside China, converting to UTC+8 is a convention rather than a rule; some practitioners use local solar time instead. The difference only matters near a solar-term boundary or close to 23:00.

Why does the day change at 23:00?

The first double hour (子时) runs from 23:00 to 01:00, and the traditional convention treats a birth at 23:00 or later as belonging to the next day. This is the 晚子时 rule. Some schools instead switch at midnight, which can move the day pillar by one place.