Classic Text · 淵海子平

Yuan Hai Zi Ping — The Foundation of BaZi Literature

Yuan Hai Zi Ping (淵海子平 Yuān Hǎi Zǐ Píng, roughly “Deep Ocean of Zi Ping”) is the foundational compiled text of the day-master method of BaZi. It codified the system every modern reading still uses: four pillars of year, month, day, and hour; the Day Master as the self at the center of the chart; and the Ten Gods that describe how every other element relates to that self. If BaZi has a single taproot, this is it.

What Yuan Hai Zi Ping actually is

Yuan Hai Zi Ping is the earliest surviving comprehensive manual of the 子平 (Zǐ Píng) method — the day-master-centered approach that defines modern Four Pillars astrology. It gathers the calculation techniques, interpretive rules, and teaching verses of that method into one reference work, and nearly every later classic is, in one way or another, a commentary on or extension of what it laid down.

The title itself signals a compilation. “Yuan Hai” (淵海, “deep ocean”) and “Zi Ping” (子平) are often understood as two originally separate collections that were later bound together, which is one reason the received book reads like an anthology of chapters, tables, and mnemonic songs rather than a single continuous treatise. What matters for a student is less its editorial history than its content: it is where the working vocabulary of BaZi — Day Master, Ten Gods, patterns, luck pillars — is first assembled in usable form.

Read it as the field's first textbook rather than its scripture. It teaches a method; it does not claim to predict a fixed future. Qysmet treats it the same way — as the source of a structured, deterministic system for reading a chart, not as fortune-telling.

In scope, the book is deliberately broad. It moves from the raw materials of the calendar — the ten heavenly stems (天干 tiān gān) and twelve earthly branches (地支 dì zhī) that combine into the sixty-year cycle — through the assembly of a person's four pillars, and on to the interpretive apparatus that turns those eight characters into a reading. Along the way it collects charts, worked examples, and rules of thumb. This encyclopedic reach is part of why it became the standard reference: a student could find, in one place, both how to build a chart and how to begin reading it.

It also helps to place the book in the wider Chinese intellectual landscape. Its machinery — the stems and branches, the Five Elements (五行 wǔ xíng), the interplay of yin and yang — is drawn from the same cosmological vocabulary that runs through Han-dynasty correlative thought and, further back, the I Ching (易經 Yì Jīng). Yuan Hai Zi Ping does not argue this cosmology from first principles; it inherits it and puts it to work. Understanding that lineage keeps the book in proportion: it is a specialized application of a very old worldview, not a self-contained system that fell from the sky, and reading it well means recognizing which parts are its own contribution and which parts it simply assumes.

Xu Ziping and the shift from Year to Day Master

The method is named for 徐子平 (Xú Zǐ Píng), a figure traditionally placed in the late Tang, Five Dynasties, or early Song period. Reliable biographical detail is thin, and much of what circulates about him is later tradition rather than documented history — so it is honest to say we know the method under his name far better than we know the man.

His attributed contribution is the single most important idea in modern BaZi. Earlier fate calculation — the 三命 (sān mìng, “three fates”) tradition associated with 李虚中 (Lǐ Xūzhōng) of the Tang — read a person's destiny primarily from the YEAR pillar, the sign under which they were born. The Zi Ping revolution moved the center of gravity to the DAY STEM: the 日主 (rì zhǔ, “Day Master”) or 日元 (rì yuán, “Day Origin”), which represents the self.

Once the Day Master is the self, the whole chart reorganizes around it. Every other stem and branch is no longer an isolated omen but a relationship — a resource that feeds the self, an authority that controls it, an output it produces, a rival that competes with it. This relational reading is what makes a BaZi chart interpretable as a coherent picture of one person rather than a list of separate signs.

The change also shifted the analytical center of the chart onto the Month pillar. Because the month captures the season of birth, it tells you whether the Day Master arrives in a season that strengthens or weakens its element — a Wood self born in spring is supported, the same self born in autumn is under pressure. This question of whether the Day Master is strong or weak relative to its surroundings becomes the first thing a reader assesses, and it flows directly from Xu Ziping's decision to make the self, rather than the birth year's sign, the thing being measured.

It is worth appreciating how consequential this reorientation was in practice. Under the older year-centered method, two people born in the same year shared a great deal of their supposed fate regardless of the day and hour of birth. By promoting the day stem to the role of the self, the Zi Ping method made the finer coordinates of birth — the day and, through the hour, the moment — decisive. The chart became far more individuated: it now described this person, distinguished from others born the same year, rather than a whole cohort. That gain in resolution is a large part of why the method displaced its predecessors and why serious readings, including Qysmet's, still hinge on getting the day and hour right.

The innovations it codified

Yuan Hai Zi Ping did not invent the Chinese calendar's stems and branches — those long predate it. What it did was systematize how to read them as a portrait of a self. The table below sets the older approach beside the Zi Ping innovation on four points that still structure every reading today.

Concept (中文 pinyin)Before Zi PingThe Zi Ping innovation
Pivot of the chart 日主 (rì zhǔ)Fate read chiefly from the YEAR pillar (the sān mìng tradition of Li Xuzhong)The DAY STEM becomes the self; the whole chart is read in relation to it
Ten Gods 十神 (shí shén)Elemental relations noted, but not organized around a single selfTen named relationships between each stem and the Day Master, giving a fixed interpretive grammar
Patterns 格局 (gé jú)No settled framework for a chart's overall shapeStructures based on the strongest influence in the Month pillar, in embryonic form
Symbolic stars 神煞 (shén shà)Scattered omen-lore of auspicious and inauspicious signsCollected and tabulated as a supplementary layer over the core reading

The Ten Gods and the structure of the text

The 十神 (shí shén, “Ten Gods”) are the heart of the method. They are not deities. Each is a name for how another element stands to the Day Master, according to the five-element cycles of generation and control and to whether the polarity (yin or yang) matches. The ten fall into five pairs: the resource that supports the self, the peer that stands beside it, the output it expresses, the wealth it governs, and the authority that governs it.

This is why a chart can be read at all. Given a Day Master, every other stem resolves to one of ten roles — for example a 正官 (zhèng guān, “Direct Officer,” an authority that disciplines the self) or a 食神 (shí shén, “Eating God,” a gentle creative output). The reading becomes a study of which roles are present, strong, absent, or in conflict.

Around this core, Yuan Hai Zi Ping arranges the rest of the machinery: the 大运 (dà yùn, “luck pillars” or “great luck,” the ten-year phases that move a chart through time), the shén shà star-lore, and a large body of teaching verses. Many chapters are cast as rhymed 訣 (jué, “formulas” or mnemonic songs) — a memorable form built for oral transmission in an era when learning meant memorizing. The book's somewhat patchwork organization reflects exactly this: it is a teacher's compendium, not a modern systematic exposition.

The luck pillars deserve a word, because they answer an obvious objection: a birth chart is fixed, so how can it describe a life that changes? The dà yùn supply the answer. They roll the chart forward in roughly ten-year blocks, each block introducing a new stem and branch that interacts with the natal eight characters — strengthening a weak Day Master here, activating a dormant relationship there. Yuan Hai Zi Ping treats the fixed chart and the moving luck as two halves of one reading, which is why a competent reading always situates the self in time rather than pronouncing on it once and for all.

Its place among the four classics

BaZi study traditionally rests on a handful of classic texts. Four are cited most often, and Yuan Hai Zi Ping sits first among them as the foundation the others build on. This overview recurs across our articles on each book so you can navigate between them.

Text (中文)Era / attributed authorEmphasis
淵海子平 Yuan Hai Zi PingSong–Ming lineage; method of Xu ZipingFoundations and the Day Master
三命通會 San Ming Tong HuiMing; Wan MinyingComprehensive encyclopedia
滴天髓 Di Tian SuiAttributed to Liu Bowen, Ming; commentary by Ren Tieqiao, QingPhilosophical; the flow of qi
子平真詮 Zi Ping Zhen QuanQing; Shen XiaozhanPattern (格局) analysis

Why read it today

Because learning BaZi still means learning the Zi Ping method, and this is where that method is first laid out whole. Later masters refined it — Zi Ping Zhen Quan sharpened pattern analysis, Di Tian Sui deepened the philosophy of elemental flow — but they refine a structure Yuan Hai Zi Ping had already set. Understanding the source clarifies what every later text is arguing with.

For the practical reader, the value is conceptual rather than procedural. You do not need the book's hand-calculation tables anymore — software like Qysmet computes the pillars, Day Master strength, and Ten Gods deterministically in an instant. What endures is the framework: the idea that your chart is a single self surrounded by relationships, and that reading it means understanding those relationships. That is the lens Qysmet's guide, Qyrus, uses to read your chart back to you.

There is also a discipline in returning to the source. Because BaZi has been transmitted for centuries through teachers, schools, and popularizers, a great deal of received wisdom circulates without a clear pedigree. Knowing what Yuan Hai Zi Ping does and does not actually establish gives a reader a way to test claims: is a given rule part of the foundational method, a later refinement, or simply folklore accreted along the way? That habit — checking assertions against the earliest coherent statement of the method rather than accepting them because they are widely repeated — is exactly the scholarly posture BaZi deserves, and it is the posture that keeps the practice honest.

Honest notes on authorship and transmission

It is worth separating what is well founded from what is tradition. The method's attribution to Xu Ziping is firm in that the whole approach carries his name, but the man's dates and biography are uncertain and heavily overlaid with legend. Treat confident-sounding birth and death years for him with caution.

The book is a later compilation, not a work Xu Ziping himself wrote. The received text is associated in the tradition with compilers such as 徐大升 (Xú Dàshēng), and it reached something like its familiar printed form by the Ming dynasty, drawing on Song and later material. Because it is an anthology assembled over time, different editions vary, and some chapters clearly postdate others.

None of this weakens its standing. It is common for a founding technical corpus to be attributed to a semi-legendary originator and stabilized by later editors — and it changes nothing about the method's coherence. We flag the uncertainty simply because good scholarship, and honest BaZi, require it: where the record is thin, we say so rather than inventing dates or quotations to fill the gap.

See the method in your own chart

Yuan Hai Zi Ping put the Day Master at the center of the chart. Qysmet computes yours — pillars, Ten Gods, and all — and reads it back in plain language.

Get My Free BaZi Reading

Frequently Asked Questions

What is Yuan Hai Zi Ping?

Yuan Hai Zi Ping (淵海子平) is the foundational compiled manual of the Zi Ping method of BaZi — the day-master-centered form of Chinese Four Pillars astrology. It assembles the core calculation and interpretation techniques, including the four pillars, the Day Master, the Ten Gods, luck pillars, and symbolic stars, and it is the text most later BaZi classics build upon.

Who wrote Yuan Hai Zi Ping?

The method is named for Xu Ziping (徐子平), a figure placed in the late Tang to early Song era whose biography is largely uncertain. The book itself is a later compilation rather than his own writing; the tradition associates its received form with compilers such as Xu Dasheng (徐大升), and it reached its familiar shape by the Ming dynasty.

What was Xu Ziping's key innovation?

He is credited with shifting the focus of fate calculation from the YEAR pillar — the emphasis of the earlier sān mìng tradition associated with Li Xuzhong of the Tang — to the DAY STEM. Making the day stem the “Day Master,” or self, and reading everything else in relation to it is the single most important idea in modern BaZi.

What are the Ten Gods in Yuan Hai Zi Ping?

The Ten Gods (十神 shí shén) are ten named relationships between each element in a chart and the Day Master, based on the five-element cycles of generation and control and on matching or differing yin-yang polarity. They fall into five pairs — resource, peer, output, wealth, and authority — and they form the interpretive grammar that makes a chart readable as a portrait of one self.

Is Yuan Hai Zi Ping still relevant for learning BaZi?

Yes. Learning BaZi essentially means learning the Zi Ping method this text codified. Modern tools handle the calculation, so the book's value today is conceptual: it establishes the framework — the Day Master surrounded by relationships — that every later classic and every contemporary reading, including Qysmet's, still uses.

How does Yuan Hai Zi Ping relate to the other BaZi classics?

It is the foundation of the four commonly cited classics. San Ming Tong Hui (Ming) is a comprehensive encyclopedia, Di Tian Sui (Ming, with a famous Qing commentary) is philosophical and focused on the flow of qi, and Zi Ping Zhen Quan (Qing) specializes in pattern (格局) analysis. All three refine or extend the day-master system that Yuan Hai Zi Ping first set out whole.

Keep reading

Sources & further reading