MING
Knowledge

The Chinese Calendar: the Coordinate System of Time Behind BaZi

The eight characters of a BaZi chart are simply your birth moment written in the stem-branch calendar. Understand this two-thousand-year-old coordinate system — lunar months, solar terms, the sixty-pair cycle — and you finally know where those eight characters come from.

Last updated: 2026-07-30

What Is the Stem-Branch Calendar?

The stem-branch (GanZhi) calendar marks years, months, days and hours with rotating pairs of the ten Heavenly Stems and twelve Earthly Branches. It is the time coordinate system underneath BaZi: your "eight characters" are four coordinates — year, month, day and hour pillar — each one stem plus one branch, read off this calendar at the moment of your birth.

It differs from both calendars you already know:

  • The Gregorian calendar tracks the earth around the sun, ignoring the moon;
  • The Chinese lunar calendar is lunisolar — moon-phase months, realigned to the sun by leap months;
  • The stem-branch calendar is purely solar: the year turns at Li Chun, months turn at solar terms, and the moon plays no part at all.

"BaZi uses the lunar calendar" is the most widespread misconception in the field. Chart casting looks at neither Lunar New Year nor lunar months — it looks only at which solar term the sun has reached.

The Sixty JiaZi: the Cycle Engine

Match the ten stems and twelve branches in running order — Jia with Zi, Yi with Chou, and onward, the stems lapping back after ten — and you get sixty unique pairs before the sequence repeats: the sixty JiaZi. Sixty years makes one full round, which is why a sixtieth birthday is called "completing the cycle."

Four timelines run along the sixty-pair loop independently:

TimelineCycle lengthBoundary
Year pillar60 yearsLi Chun (~Feb 4)
Month pillar60 months (5 years)The twelve "nodes" (Li Chun, Jing Zhe, Qing Ming…)
Day pillar60 daysThe Zi hour (23:00)
Hour pillar60 hours (5 days)Every two hours

At your birth moment each line freezes, and the four frozen pairs are your Four Pillars. Because the four cycles have different lengths, an identical set of eight characters recurs only after sixty-plus years — the mathematical basis of BaZi's individuality.

The 24 Solar Terms: the Real Ruler of Chart Casting

The earth's yearly orbit divides into 24 stations of 15° each — the solar terms. Twelve of them, the "nodes" (Li Chun, Jing Zhe, Qing Ming, Li Xia, Mang Zhong, Xiao Shu, Li Qiu, Bai Lu, Han Lu, Li Dong, Da Xue, Xiao Han), are the month boundaries of the stem-branch calendar: the month pillar flips at the instant of the node, never on a lunar first.

Two casting consequences follow:

  1. The year turns at Li Chun — a birth on February 3 versus February 5 can mean a different zodiac sign and year pillar entirely;
  2. The month turns at the node's exact moment — two births on the same day, minutes apart across a node, get different month pillars, and the Day Master's seasonal standing can flip with them.

The precise instant of each term shifts from year to year (by a day or two), so serious casting consults an astronomical almanac — precisely where manual work goes wrong most often and where a calculator earns its keep.

From Gregorian Birthday to Four Pillars

What a chart calculator does with your Gregorian birthday breaks into four steps:

  1. Year pillar — determine which Li Chun your birth follows, take that year's stem-branch pair;
  2. Month pillar — find which two nodes bracket the moment, then derive the month stem from the year stem by the classical "Five Tigers" formula;
  3. Day pillar — the day count has rotated continuously since antiquity, never once interrupted (the verifiable record spans over 2,700 years — the longest unbroken day-count system in human history), so the day pair is computed from a known anchor date;
  4. Hour pillar — the birth hour fixes the branch, and the "Five Rats" formula derives the hour stem from the day stem. The Zi hour (23:00–1:00) straddles two days: born after 11 p.m., your day pillar belongs to the next day — the most famous trap in all of chart casting.

Doing this by hand takes a perpetual calendar and memorized formulas; a chart calculator finishes in a second and marks the element balance and Ten Gods structure on top.

Why the Calendar Layer Matters

For anyone learning BaZi, the stem-branch calendar is not background trivia — it is the foundation of accuracy:

  • The Li Chun boundary decides the entire chart of anyone born in January–February;
  • Node boundaries decide the month command — the heaviest single weight in judging Day Master strength;
  • The late-Zi-hour rule can change the very character that represents you.

Casting software handles these boundaries correctly, but knowing the boundaries exist lets you estimate error bars when a birth time is fuzzy — and explains why two people born one day apart can hold utterly different charts.

Where to Go Next

With the coordinate system in place, continue along the learning path: the Heavenly Stems and Earthly Branches are its alphabet, the BaZi overview assembles the eight characters into a chart, and luck cycles set that chart in motion through time. Or simply enter your Gregorian birthday and watch the four pillars compute themselves.

Enter your birth date — the stem-branch pillars are computed automatically

Cast your Four Pillars chart for free and see every concept you just learned at work in a real chart — the AI explains what each one means for you.