Four pillars of destiny

BaZi chart calculator

Eight characters, four pillars, ten gods. Cast from an exact birth moment against the true solar terms rather than the civil calendar.

Birth details

Local calendar date where you were born.

If you do not know, 12:00 is a neutral placeholder.

The offset in force at birth, not your current one.

Day changes at

Sect 1 is the classical reckoning; sect 2 is the modern convention.

Sex

Used only for the luck pillars.

True solar time (optional, more accurate)

Clock time differs from solar time by up to 16 minutes of equation of time, plus four minutes per degree of longitude from the zone meridian.

East is positive. New York is −74, London −0.13, Beijing 116.4.

The month pillar changes at the 節, not on the first of the month; the year changes at 立春, not on 1 January. Both boundaries are resolved to the second from an astronomical ephemeris covering 1900–2100.

A BaZi chart is eight characters. Four pairs — year, month, day, hour — each pair one Heavenly Stem above one Earthly Branch. The chart is calendar arithmetic. Nearly everything called a reading is an interpretive layer placed on top of that arithmetic, and this page keeps the two apart.

What the four pillars are

BaZi (八字) means "eight characters". The same thing is called 四柱, "four pillars", because the eight characters are written as four columns of two: a stem above its branch.

PillarUpper characterLower characterFixed by
Year天干 Heavenly Stem地支 Earthly Branchthe 立春 instant
MonthHeavenly StemEarthly Branchthe last 節 before the birth
DayHeavenly StemEarthly Branchthe civil date, with the 子-hour convention
HourHeavenly StemEarthly Branchthe two-hour branch at the clock time

The eight characters are a date written in a calendrical notation, not a sentence. The same sixty-place cycle labels years, months, days and hours, so the four pillars are four readings off one wheel.

Ten stems and twelve branches pair in step, which is why the cycle is sixty long rather than a hundred and twenty. The least common multiple of ten and twelve is sixty. 甲子 is followed by 乙丑, then 丙寅, and after sixty pairs the pattern returns to 甲子. You do not get 甲丑, because the stems advance by one as the branches advance by one and the two never fall out of step.

The lower character of the year pillar also names the animal — 子 Rat, 丑 Ox, 寅 Tiger and so on. In this system the year pillar turns at 立春, so the animal turns there too. Someone born between 立春 and New Year can carry one animal on a wall calendar and another in a chart, and both statements are correct in their own convention.

The ten stems and twelve branches

StemPinyinElementPolarity
甲JiǎWoodYang
乙YǐWoodYin
丙BǐngFireYang
丁DīngFireYin
戊WùEarthYang
己JǐEarthYin
庚GēngMetalYang
辛XīnMetalYin
壬RénWaterYang
癸GuǐWaterYin
BranchPinyinAnimalElementHours
子ZǐRatWater23:00–01:00
丑ChǒuOxEarth01:00–03:00
寅YínTigerWood03:00–05:00
卯MǎoRabbitWood05:00–07:00
辰ChénDragonEarth07:00–09:00
巳SìSnakeFire09:00–11:00
午WǔHorseFire11:00–13:00
未WèiGoatEarth13:00–15:00
申ShēnMonkeyMetal15:00–17:00
酉YǒuRoosterMetal17:00–19:00
戌XūDogEarth19:00–21:00
亥HàiPigWater21:00–23:00

The stems are simple: one element, one polarity, alternating yang and yin down the list. The branches carry more. Each is an element, a two-hour slice of the day, an animal, and a container for one or more hidden stems.

Note that the 子 hour straddles midnight. It runs from 23:00 to 01:00, which means a birth at half past eleven at night sits inside the same branch as a birth an hour and a half later, on the following date. That single overlap is the reason the day boundary is a question at all.

The five elements relate in two fixed ways. One produces the next: Wood feeds Fire, Fire makes Earth, Earth bears Metal, Metal carries Water, Water feeds Wood. One controls another: Wood parts Earth, Earth banks Water, Water quenches Fire, Fire melts Metal, Metal cuts Wood. Every stem and branch sits somewhere on both chains, and those two relationships are what the next four sections are built from.

The day master

The day stem is the 日主, the day master — the point of reference for the whole chart.

It is not a description of a person. It is an origin. Every other stem in the chart is named by its relation to this one, so the day master fixes the coordinates and the rest of the chart is read in them. Move the origin and every label changes, while the eight characters stay exactly as they were.

There are ten possible day masters, one for each stem, and each carries an element and a polarity. A chart with a yang Wood day master labels a given stem one way; the same stem in a chart with a yin Earth day master is labelled differently, because the relation is different.

That is why the day master is described as the centre of the reading rather than its subject. The tradition reads outward from it: the year, month and hour pillars are not three separate fortunes but three positions described as what they are to the day master.

Two charts can share three pillars and still differ, because the day stems differ.

Hidden stems and the element tally

Each branch contains one to three 藏干, hidden stems. They are not printed in the eight characters; they are the branch's internal composition.

BranchHidden stems, primary first
子癸
丑己 癸 辛
寅甲 丙 戊
卯乙
辰戊 乙 癸
巳丙 庚 戊
午丁 己
未己 丁 乙
申庚 壬 戊
酉辛
戌戊 辛 丁
亥壬 甲

The primary hidden stem is the branch's own stem and carries the most weight of the three. The middle and residual stems are real but weaker. A branch with one hidden stem has no ambiguity; 子, 卯 and 酉 are the simple ones.

Tallying elements gives two counts. The first counts the eight visible characters — four stems by their own element, four branches by their branch element. The second counts the hidden stems inside the four branches. Both are shown, and they do not agree, which is the point of showing both.

A count is a count. If Metal appears zero times, the chart has no Metal in it; that is a fact about the notation, not a verdict on the person. The moment a tally is called strong or weak, or an absent element is called a lack, an interpretive layer has started. It is a defensible layer, and the classical literature argues about it at length, but it is not arithmetic and should not be presented as though it were.

The ten gods

The 十神, the Ten Gods, are ten relations between the day master and a given stem. They are fixed by two things: the element relation, and whether the polarities match or differ.

Relation to the day masterSame polarityOpposite polarity
Same element比肩 Companion劫財 Rival
The element the day master produces食神 Eating God傷官 Hurting Officer
The element the day master controls偏財 Indirect Wealth正財 Direct Wealth
The element that controls the day master七殺 Seven Killings正官 Direct Officer
The element that produces the day master偏印 Indirect Resource正印 Direct Resource

Five relations, two polarities, ten labels. The day master itself is not given one of them; it is the reference, and the other stems are named against it.

The names are old and dramatic, and they mislead readers who meet them without the table. Eating God is not a deity. Seven Killings is not a threat. Each is a shorthand for an element and a polarity position: "the element that controls the day master, at the same polarity" is Seven Killings, and nothing more is encoded in the word. The colour comes from the tradition, not from the arithmetic.

Because the labels are relational, the same stem is Companion in one chart and Direct Officer in another. A stem's Ten God depends on where the day master sits, and on nothing else.

Luck pillars

The 大運, luck pillars, are ten-year periods derived from the month pillar. They run forward or backward through the sixty-place cycle, and the direction depends on two things: the polarity of the year stem, and the sex of the person.

Polarity of the year stemMaleFemale
Yangforwardbackward
Yinbackwardforward

The starting age is computed, not chosen. It is the interval between the birth and the nearest month-starting 節 — the next one for a forward run, the previous one for a backward run — at three days per year. One day therefore equals four months, and the remainder in days becomes the months of the first period.

Ten pillars follow, each ten years long, the first beginning at that starting age and the sequence running consecutively from the month pillar. The first pillar is not the month pillar; it is the next pair along the cycle, in whichever direction the rule gives.

The arithmetic here is exact and the interpretation is not. Which pillar is held to be a good one is a matter of reading; that a pillar begins in a particular year is a matter of counting.

How a reading is actually assembled

The chart is built in a fixed order, and each step depends on the one before it.

  1. Fix the instant. Clock time at the birthplace, plus the time zone. Optionally the longitude, if true solar time is being applied.
  2. Year pillar. Compare the instant against that year's 立春. Before it, the year pillar belongs to the previous year.
  3. Month pillar. Find the last 節 at or before the instant. That term sets the month branch.
  4. Day pillar. Take the civil date and apply the 子-hour convention: either the day turns at 23:00 or it turns at midnight.
  5. Hour pillar. The two-hour branch from the clock. The hour stem follows from the day stem.
  6. Hidden stems, then the two element tallies.
  7. Ten Gods for every stem, visible and hidden.
  8. Luck pillars and the starting age.
  9. Interpretation. The arithmetic has ended.

The twelve 節 and the month branches they start:

節Month branch
立春寅
驚蟄卯
清明辰
立夏巳
芒種午
小暑未
立秋申
白露酉
寒露戌
立冬亥
大雪子
小寒丑

Step five hides a rule worth stating, because it is the one place the hour pillar is not simply read off the clock. The hour stem follows the day stem: 甲 and 己 days open the 子 hour on 甲, 乙 and 庚 on 丙, 丙 and 辛 on 戊, 丁 and 壬 on 庚, 戊 and 癸 on 壬. Each following hour advances one stem.

Two corrections can move a chart across a boundary, and both are matters of convention rather than error.

True solar time. Clock noon is not solar noon. The difference comes from the width of the time zone — a zone one hour wide spans fifteen degrees of longitude, and a birthplace at the edge of it can be half an hour off its own sun — plus the equation of time, which shifts the sun by up to about sixteen minutes across the year. Some practitioners apply the correction and some do not. It matters because a correction of twenty minutes can carry a birth across a 節 instant or across 23:00, and either changes a pillar.

The day boundary. The 子 hour runs 23:00–01:00, so a birth in it sits on the line between two dates. One convention turns the day at 23:00, the other at midnight. The two give different day pillars, different hour stems, and therefore different Ten Gods. Neither is a computing error. A good calculator states which one it uses.

What a calculator can and cannot tell you

A calculator can give the eight characters exactly, the hidden stems, both element tallies, the Ten God of every stem, the luck pillars with their start age, and the 節 instants to the minute. It can also state the conventions it used, which is the part that makes its output checkable rather than merely plausible.

It cannot do three things. It cannot adjudicate between conventions: whether the day turns at 23:00 or at midnight is a choice, not a fact, and a boundary birth carries two different charts that are each correct within their own convention. It cannot supply the interpretive layer, which is a school's reading and not a computation. And it cannot validate that layer, because the claims the layer makes about health, money or relationships are not the kind of claims that arithmetic supports.

Precision is not authority. A chart computed to the second is still a chart. The exactness of the stem and branch is real; it says nothing about whether the reading built on top of it is sound.

Two careful calculators can disagree about a boundary birth and both be correct within their stated conventions. That disagreement is the honest part of the subject.

Frequently asked questions

Why does the year change in February?

Because the year pillar turns at 立春, which falls on 4 or 5 February, not on 1 January and not at Chinese New Year. A birth in the second half of January belongs to the previous year pillar, whatever the calendar on the wall says.

I do not know my birth hour. What is lost?

The hour pillar, and everything derived from it: its stem, its hidden stems, its Ten God, and its share of the two tallies. Three pillars remain, and three of four is still a chart. What cannot be recovered is any reading that depends on the hour.

Why do two sites give different day pillars?

Check the day boundary first. One site turns the day at 23:00, the other at midnight, and a birth between those times gets two different answers. Another cause is true solar time: if one site corrects the clock and the other does not, the same birth can land in different hours.

Is 八字 the same as 四柱?

Yes. 八字, "eight characters", names the chart by its size; 四柱, "four pillars", names it by its shape. Both refer to the same four stem-and-branch pairs.

Does the animal sign change at Chinese New Year?

By the common convention, yes. In a BaZi chart, no: the animal is the branch of the year pillar, and the year pillar turns at 立春. For most of the year the two conventions agree; for the two weeks or so between 立春 and New Year they do not, and a birth in that window carries two animals depending on who is asked.

Why is there no Kua number in my chart?

Because Kua belongs to a different system. The life gua is an 八宅 device, derived from the birth year and the sex; a BaZi chart is derived from the date and time and never produces a Kua number. The two are separate coordinate systems that are often printed side by side, which is not the same as being one system.

Notes on method

The arithmetic on this page is computed. The 節 instants come from a solar-term table, the sixty-place cycle is generated from the stem and branch counts, and the luck pillars are derived from the month pillar by the rule stated above.

The interpretive layer — what an element count means, which Ten God is welcome, what a luck pillar brings — is one reading of the 子平 tradition, argued over within that tradition for centuries. It is not a prediction, and it is not a measurement. Nothing here promises a reader health, wealth, protection or luck; the shop sells objects, not outcomes.

Where a convention changes the result, the convention has been named rather than hidden: the 立春 year boundary, the 子-hour day boundary, and true solar time. A reader who knows which conventions a chart used can check it. A reader who does not is being asked to trust the arithmetic and the interpretation alike, and only one of those has earned it.