子平 · 玄元
源流
Auspice青鸾信

I Ching & BaZi: one root, two branches

Auspice · ·

易经与八字的三千年 · 同根,两枝

People often say BaZi comes from the I Ching. It doesn’t. The I Ching is about two thousand years older, and the two grew up separately from the same roots: an ancient Chinese way of counting days, and the ideas of yin and yang and the five elements. They crossed paths only once, in the first century BCE. Here is how each one began.

Which is older, the I Ching or BaZi?

The I Ching, by a long way. Its core text, the Zhou Yi (周易), is dated by most scholars to the late Western Zhou dynasty, around the ninth century BCE. The first person on record reading fates the way BaZi does is Li Xuzhong (761–813), an official of the Tang dynasty, and he used only three pillars, one each for the year, month and day of birth. Around the tenth century a man known as Xu Ziping added a fourth pillar for the hour and made the day the center of the chart, which gave BaZi the form it has today. That leaves close to two thousand years between them.

Did BaZi come from the I Ching?

No. Both came from something older than either: a calendar. The story starts with the Shang kings, who ruled northern China more than three thousand years ago. Their diviners asked questions by heating cattle shoulder blades and turtle shells until they cracked, then carved the question, and often the answer, into the bone. These are the oracle bones, the earliest large body of Chinese writing that survives.

Many of those inscriptions are dated, and the dates use two sets of signs: ten heavenly stems and twelve earthly branches. Paired off in turn, stem with branch, they make sixty combinations, a repeating sixty-day count called the sexagenary cycle. Under King Wu Ding, around 1250 BCE, the bones were already naming days this way. The most complete table of all sixty pairs comes later. It is carved on an ox shoulder blade, catalogued as Heji 37986 (number 37986 in the standard collection of oracle-bone inscriptions), and belongs to the Huang group of inscriptions made under the last two Shang kings, around the eleventh century BCE.

The other half of the shared root came much later. Yin and yang, and the five elements (wood, fire, earth, metal and water; 五行, which some translators prefer to call the five phases), were worked into a system during the Warring States and Han periods. By the Han dynasty they had been joined to the calendar: every stem and branch had an element, and every element had a season and a direction.

At that point neither hexagram divination nor fate reading existed in the form we know today. But the vocabulary both would later use was already in place. That is why the I Ching and BaZi can be described with the same words while doing different things, and why people so often mix them up. BaZi vs I Ching is about exactly that confusion. The two lines met only once, through a scholar named Jing Fang in the first century BCE; the details are in the section for practitioners at the end.

How did the I Ching take shape?

In layers, added over more than a thousand years. The core is the Zhou Yi: sixty-four hexagrams, figures made of six stacked lines, each solid or broken, and each hexagram with a short judgment and six line statements. It dates from the late Western Zhou, around the ninth century BCE. The Zuozhuan, a chronicle of the Spring and Autumn period (722–468 BCE), records people consulting it by counting out yarrow stalks.

Next came the Ten Wings (十翼), ten commentaries on the Zhou Yi written between the Warring States period and the Western Han dynasty. They turned a handbook for divination into a philosophy of change. In 136 BCE, under Emperor Wu of Han, the book was made one of the Five Classics, the texts at the center of Confucian learning.

Then it started to branch. Jing Fang (77–37 BCE) attached stems and branches to the six lines of each hexagram, a system called najia (纳甲), so that the lines could be compared with each other by element. Wang Bi (226–249) read the book as philosophy and set the tone for how scholars would read it for centuries. In the Song dynasty two practical ways of casting took shape. One, written down in the Huozhulin (火珠林), used three coins and was built on Jing Fang’s najia. The other, the Plum Blossom method (梅花易数), is credited to Shao Yong (1011–1077), though the text itself was written later; it casts from numbers and the time of day instead of coins. In 1177 Zhu Xi’s Zhouyi Benyi set out the yarrow-stalk procedure that most later manuals copied.

One sentence from the Ten Wings shows the turn from divination to philosophy. It is also the earliest classical statement of yin and yang as a principle, and that idea is what BaZi later inherited, without taking a single hexagram along with it:

一陰一陽之謂道,繼之者善也,成之者性也。

One yin, one yang: that is called the Way. What carries it onward is goodness; what brings it to completion is one’s nature.

Zhou Yi, “Appended Statements” (Xici), Part I, chapter 5 · our translation

How did BaZi take shape?

Much later, and straight from the calendar, without passing through any book about hexagrams. The first person clearly on record is Li Xuzhong (761–813), a Tang-dynasty official. When he died, the writer Han Yu wrote his epitaph, and it says Li took the stems and branches of the year, month and day a person was born, and weighed how they fed and checked each other to judge that person’s life. That is three pillars and six characters, with no hour yet.

Xu Ziping, who by tradition lived in the Five Dynasties or early Song period (the tenth century), added the hour as a fourth pillar. He also moved the center of the chart to the stem of the day pillar, which is what BaZi now calls the Day Master. That is why the method is still called Ziping’s method (子平法).

Its books arrived in three waves. First the Yuanhai Ziping (渊海子平), compiled in the Song and surviving in Ming-dynasty printings. Then the Sanming Tonghui (三命通会), a huge reference work by Wan Minying from the late Ming. Then the Ziping Zhenquan (子平真诠) by Shen Xiaozhan, whose preface is dated 1776; it set out the pattern (格局) method that most schools today come from.

The method traveled to Korea in the late Goryeo period, and to Japan. In those countries it became Saju and Shichū Suimei. In 1930s Shanghai, during the Republic, the old books were reprinted and argued over again by writers such as Wei Qianli, Yuan Shushan and Xu Lewu. Through most of the twentieth century the practice was kept alive mainly in Hong Kong, Taiwan and Chinese communities abroad, and it reached the English-language web as “BaZi” only in the 2020s.

Three thousand years on one timeline

易 · I Ching命 · BaZi1200 BCE800 BCE400 BCE050010001400180019002000Stem–branch day countShang oracle bones · c. 1250 BCEYin–yang & five elementsWarring States – Hanshared root: stem-branch calendar · yin–yang · five elementsNajia: the one crossingstems & branches on the six linesZhou Yi core textWestern Zhou · c. 9th c. BCETen Wings commentariesWarring States – W. HanOne of the Five Classics136 BCEJing Fang · najia 纳甲77–37 BCEPlum Blossom method (attr. Shao Yong)N. Song · 1011–1077Huozhulin coin methodSongLegge (EN)1882Wilhelm (DE)1924Baynes (EN) · Jung foreword1950Human Designborrows the 64 · 1987Li Xuzhong · three pillarsTang · 761–813Xu Ziping · adds the hour: four pillarsFive Dynasties – early SongYuanhai ZipingSong · Ming editionsSanming TonghuiMing · Wanli eraZiping Zhenquanpreface 1776Republican revival (Wei, Yuan)1930sEnglish web2020s
The upper lane is the I Ching, the lower lane is BaZi, and the middle line is what they share: the stem-and-branch calendar, yin and yang, and the five elements. The red dashed line is the one place they met, Jing Fang’s najia. The timeline is squeezed by different amounts in four stretches (the double slashes mark where they change), so that the events of the last two centuries don’t pile up on one spot.

When did the I Ching reach the West?

More than a century before BaZi did. James Legge’s English translation came out in 1882 and Richard Wilhelm’s German one in 1924. In 1950 Cary Baynes turned Wilhelm’s German into English, with a foreword by the psychologist Carl Jung, who saw casting a hexagram as an example of synchronicity, his word for a meaningful coincidence. That is still the edition most English readers meet. In 1987 Human Design borrowed the sixty-four hexagrams for a new system, and for many people today that is where they first hear of them.

So the West met the two in the opposite order from the one in which they were made. English readers have had the I Ching for about a century and a half. It’s on bookshelves in every language, and Jung, Leibniz and Philip K. Dick all wrote about it. BaZi is a word that started showing up in English searches only in the last few years. As a result, most people come to BaZi with I Ching expectations. They look for hexagrams in their chart, expect it to be cast fresh for each question, and file both under “Chinese astrology” as if they were one practice.

The history clears that up quickly. A BaZi chart is worked out once from your birth moment, and it describes you. A hexagram is cast for one situation, and it describes that situation. If you want to see your own chart, you can make one for free, and every rule it follows is written out on the method page. If you’d like to cast a hexagram for something you’re facing, that is a tool we are designing, and it isn’t open yet.

For practitioners: the details

The rest of this page is for readers who want the sources.

Where did the two lines meet?

Once, and only in notation. Najia gave each of a hexagram’s six lines a stem and a branch, so the lines could be compared in the calendar’s element terms (this line’s water controls that line’s fire). That is the same way a BaZi chart compares its stems and branches. The Song coin method took this over, and the six-line tradition (六爻) that grew from it is the only way of reading hexagrams that uses BaZi’s vocabulary. It even borrows the term “useful god” (用神), though it means something different by it. The Plum Blossom method connects to the calendar from the other side, by casting a hexagram from the numbers of the hour.

Apart from that, the two stayed separate. The Qing imperial catalogue of 1782 (四库全书总目) filed them in different sub-categories of the “arts of calculation” (术数): divination (占卜) for hexagram methods, fate-books (命书相书) for four pillars. No classical BaZi text derives a chart from a hexagram, or a hexagram from a chart.

Key texts, both lineages

TextLineageDateWhat it added
Zhou Yi 周易 (core text)I Chinglate Western Zhou, c. 9th c. BCEThe 64 hexagrams with judgments and line statements
Ten Wings 十翼I ChingWarring States – Western HanCommentaries that turn the book into a philosophy of change
Jing Fang 京房, najia 纳甲I Ching → crossing77–37 BCEStems and branches placed on the six lines
Huozhulin 火珠林I Ching (six-line)SongThree-coin casting on a najia frame
Meihua Yishu 梅花易数I Ching (Plum Blossom)attributed to Shao Yong (1011–1077); text laterCasting from numbers and the hour
Han Yu’s epitaph for Li XuzhongBaZi813Earliest record of the three-pillar method
Yuanhai Ziping 渊海子平BaZiSong compilation; Ming editionsFour pillars, read from the day stem
Sanming Tonghui 三命通会BaZiMing, Wanli eraA large reference work pulling the field together
Ziping Zhenquan 子平真诠BaZipreface 1776The pattern (格局) method
Legge · Wilhelm · Baynes/JungI Ching in the West1882 · 1924 · 1950The translations most readers meet

What each system starts from, why one has so many more charts than the other has hexagrams, and which suits which question are all on BaZi vs I Ching. For how the four-pillar method grew in Korea and Japan, read BaZi vs Saju. For the modern system that borrowed the hexagrams, read BaZi vs Human Design.