BaZi Chart

BaZi compatibility: compare two charts

Enter two sets of birth details. We calculate each chart separately with the same published rules, then lay them side by side.

Person A

Sets the time zone and true solar time. Without a place we can't correct for longitude.

More options

Only used to set the direction of luck pillars on each chart. It doesn't change the comparison.

Only enter someone else's birth details if they're happy for you to.

Free · no sign-up · nothing is saved

Hour pillar

Person A's birth time is blank

The hour pillar is read from the clock. Leave it blank and we still cast the year, month and day, and leave the hour pillar out. We never guess a time such as noon.

Quick answer: A BaZi compatibility reading calculates two full birth charts with the same rules, then compares specific parts: the two Day Masters, what each Day Master is in the other's chart, the two day branches and the two five-element balances. It shows patterns: where you complement each other, where you double up, and where you'll need to talk things through. It doesn't produce a score or decide whether a relationship "works". Compare two charts above.

What a compatibility reading actually compares

A BaZi chart is eight characters: a heavenly stem and an earthly branch for each of the year, month, day and hour of birth. Each person's chart describes that person. A compatibility reading doesn't merge the two charts or make a third chart. It puts them side by side and asks how particular characters in one relate to particular characters in the other.

Our calculator compares four things, all computed by code:

  1. The two Day Masters. The Day Master is the stem of the day pillar, the character a BaZi reading treats as "you". Two Day Masters relate through the five-element cycles: same element, one producing the other, or one controlling the other. We also check whether they form one of the five classical stem combinations.
  2. The Ten Gods, in both directions. Inside one chart, every stem gets a Ten God name according to its relation to the Day Master. We apply the same rule across charts: what is B's Day Master in A's chart, and what is A's in B's?
  3. The two day branches. The branch under the Day Master is often called the spouse palace (夫妻宮), the seat of close relationships. We check whether the two day branches form one of the six classical harmonies, one of the six classical clashes, the same branch, or none of these.
  4. The two element balances. Each chart has a weighted count of Wood, Fire, Earth, Metal and Water, including hidden stems. We look for elements one chart has plenty of and the other lacks, elements both lean on, and elements both lack.

The order of steps

The order matters, because each step depends on the one before.

Step 1: calculate each chart on its own, with the same conventions. Both charts use the same rules: the year changes at Li Chun, months change at the twelve jie solar terms, the day changes at 23:00 unless you switch it, and true solar time is applied when a birthplace is given. If two charts were calculated with different conventions, any comparison between them would be comparing the conventions. Each chart has its own receipt, so you can check both.

Step 2: compare the Day Masters. The engine looks up both day stems' elements and polarities and names the relation. For example, a Yi (乙, Yin Wood) Day Master and a Ding (丁, Yin Fire) Day Master are in a producing relation: Wood feeds Fire.

Step 3: name the Ten Gods both ways. In that example, Ding is Yi's Eating God (食神: same polarity, produced by the Day Master), and Yi is Ding's Indirect Resource (偏印: same polarity, produces the Day Master). The two names always come as a matched pair, because they describe the same relationship from each end.

Step 4: check the day branches. The engine looks the two day branches up in the six-harmony and six-clash tables below.

Step 5: compare the element balances. The engine flags an element as "little of" at 1 weighted point or less, and as "prominent" when it is among a chart's two highest and above 1 point. Those thresholds are ours, not classical, and we publish them so you can disagree with them.

Step 6: stop. We don't add up the findings into a number. A producing relation doesn't cancel out a clash, and an element gap isn't a "point against". Each finding describes a different part of the picture.

What the calculator does, and what it doesn't

Does Doesn't
Calculates both charts with the same published rules and shows both receipts Give a score, a percentage or a "match" label
Names the relation between the two Day Masters (same, producing, controlling) and checks the five stem combinations Assess whether a combination "transforms" (合化); that depends on the whole chart and school
Names what each Day Master is in the other's chart (Ten Gods) Use Ten Gods as gendered "spouse stars"
Checks the two day branches for six harmonies, six clashes or a repeated branch Check three harmonies, harms, punishments or breaks, or relations between other pillars
Compares the two weighted element balances Name a "favourable element" (用神) for either person
Works with an unknown birth time (three pillars) Guess a missing birth time, or read the year animals

The classical tables we use

These three tables are standard, and they are exactly what the engine checks. The Sanming Tonghui (三命通會, Ming dynasty, attributed to Wan Minying 萬民英) discusses each one in its second volume.

The five stem combinations (天干五合)

Combination Classical name in the Sanming Tonghui
Jia–Ji 甲己 中正之合, "the combination of central uprightness"
Yi–Geng 乙庚 仁義之合, "the combination of benevolence and righteousness"
Bing–Xin 丙辛 威制之合, "the combination of awe and control"
Ding–Ren 丁壬 淫慝之合, "the licentious combination"
Wu–Gui 戊癸 無情之合, "the combination without feeling"

The book attaches character judgements to each name, some of them moralising and some aimed specifically at women. We quote the names so you can recognise them; we don't apply those judgements to anyone.

The six harmonies (六合): Zi–Chou 子丑 · Yin–Hai 寅亥 · Mao–Xu 卯戌 · Chen–You 辰酉 · Si–Shen 巳申 · Wu–Wei 午未.

The six clashes (六沖): Zi–Wu 子午 · Chou–Wei 丑未 · Yin–Shen 寅申 · Mao–You 卯酉 · Chen–Xu 辰戌 · Si–Hai 巳亥. Each clash pairs branches six apart, opposite each other on the circle of twelve.

One structural detail: a day pillar's stem and branch always share a polarity. That means two day pillars can't show a stem combination (which needs one yang and one yin stem) together with a day-branch clash (which needs two branches of the same polarity). The engine's findings are consistent with that; it's a property of the calendar, not a sign.

What the classical texts say, and what they don't

We want to be plain about this: the classical BaZi texts are mostly about reading one chart. The relationships they discuss happen inside that chart. They don't set out a two-chart compatibility method. When they talk about combinations and clashes, they mean characters in the same chart, or a chart meeting a year or a luck pillar.

Here is what they do say, in passages we checked on Wikisource. Translations are ours and provisional.

On what a combination is. The Sanming Tonghui, volume 2, "On the combinations of the ten stems" (論十干合):

夫合者,乃和諧之義,如陽見陽,二陽相競則為克,陰見陰,二陰不足則為克,唯陰見陽,陽見陰為合,亦如男女相合而成夫婦之道。

Provisional translation: "A combination means harmony. When yang meets yang, the two yangs compete, and that is control; when yin meets yin, the two yins fall short, and that too is control. Only yin meeting yang, or yang meeting yin, makes a combination, just as man and woman join in the way of husband and wife."

The same chapter explains the Jia–Ji pair as a story: Earth fears Wood, so Wu Earth "marries" its yin sister Ji to Jia Wood (戊兄遂將己妹嫁木家,與甲為妻,所以甲與己合). The marriage here is a metaphor for how two stems pair up. It isn't a rule about two people. The text uses it to explain combinations found in one person's chart.

On when a combination counts for more. The Yuanhai Ziping (淵海子平) describes a "transformation pattern" (化象) in a single chart:

化象者:乃甲乙日生人,在辰戌丑未月,天干有一己字合甲字,謂之甲己化土

Provisional translation: "A transformation pattern: someone born on a Jia or Yi day, in a Chen, Xu, Chou or Wei month, with one Ji among the stems combining with Jia. This is called 'Jia and Ji transform into Earth'." It goes on to say that two Jia competing for one Ji (爭合), or a Yi appearing alongside (妒合), break the pattern. So whether a combination means much depends on the month and on the rest of the chart. That's why our calculator reports a stem combination between two Day Masters as a fact and doesn't read it as "transformed".

On harmonies and clashes. The Sanming Tonghui defines a branch harmony as yin and yang branches in accord: 夫合者,和也,乃陰陽相和,其氣自合 ("A combination is harmony: yin and yang in accord, their qi combining of itself"). It defines a clash by counting: 地支取七位為沖……如子午對沖,子至午七數 ("Branches seven places apart clash … as Zi and Wu face each other: from Zi to Wu is seven"; counting both ends, which is why it says seven where we say six apart). Then it adds 相沖者,十二支戰擊之神,大概為凶。然有為福之甚者 ("Clashes are the battling spirits of the twelve branches and are generally inauspicious. Yet some are very fortunate"). Its examples of fortunate clashes depend on nayin (納音) elements, which our calculator doesn't compute. We report this as it is: the classical default reading of a clash is cautious. Many modern readers frame a clash between two people's day branches as movement and difference that needs plain communication. Both are readings; neither is a prediction.

On spouses. The Yuanhai Ziping, "On wives and concubines" (論妻妾), reads a man's spouse from his own chart: 正財為正妻,偏財妾也。甲木見己土為正財 ("Direct Wealth is the principal wife, Indirect Wealth a concubine. For Jia Wood, Ji Earth is Direct Wealth"). This shows two things. The classical method finds a spouse inside one chart, through the Ten Gods. And it does so with gender roles and family structures that we don't carry over. When our result says B's Day Master is A's Direct Wealth, that is a label for an element relationship, not a role assignment.

The Yuanhai Ziping edition on Wikisource is marked as being of unknown source (來源不明); we disclose that whenever we quote it. More on these books: Classical sources.

Traditional marriage matching varies

Practices for matching couples before marriage, often called hehun (合婚, "matching for marriage"), have existed in many forms. Methods differ between regions, schools and practitioners, and many combine BaZi with other systems. We don't know of a single classical standard for them, and we don't claim one. Our calculator isn't a hehun method. It applies the one-chart rules the classical texts do describe to two charts at once, and tells you which parts are classical tables and which parts (the thresholds, the cross-chart Ten Gods) are our own extension.

BaZi compatibility is not zodiac compatibility

Chinese zodiac compatibility compares two year animals: one branch from each chart, which is one character out of eight. BaZi compatibility starts from the Day Masters and the full element balance. Your zodiac animal comes from your year branch, and in BaZi the year starts at Li Chun, not Chinese New Year. If you were born in late January or early February, your BaZi animal may differ from the one in a zodiac table. Our free comparison doesn't read the year animals at all.

Why there is no score

Scores are popular because they're easy to share. We don't give one for three reasons:

  • The findings don't add up. A producing relation between Day Masters, a clash between day branches and a shared element gap are different kinds of fact. Any formula that turns them into one number would be inventing weights, and the classical texts don't provide any.
  • A number sounds like a verdict. People act on verdicts about relationships. A chart is a framework for reflection, and we'd rather give you questions than a grade.
  • Rules should be visible. Everything on our result can be traced to a table or a threshold published on this page or on How we calculate your chart. A score would hide that.

If you don't know a birth time

You can still compare. Without a time we calculate three pillars and leave the hour empty; we never fill in noon. The Day Master and day branch come from the day pillar, so the Day Master relation, the Ten Gods and the day-branch check all still work. The element balance counts six characters for that person instead of eight, so treat element gaps as less certain. One exception: if the birth might have been between 23:00 and midnight, the day pillar could be the next day's. Try the comparison both ways, and see how the day boundary works.

How to use the result

  • Read it together. The most useful part is often the conversation it starts.
  • Look for recognition, not prediction. Ask "does this describe something we already do?" rather than "what will happen?"
  • Keep the single charts in view. Each person's own chart, including Day Master strength and the five elements, says more about that person than any comparison.
  • Don't decide anything because of a chart. Use it to notice patterns, not to choose people.

FAQ

Is BaZi compatibility the same as Chinese zodiac compatibility?

No. Zodiac compatibility compares the two year animals, one character from each chart. BaZi compatibility compares the Day Masters, the Ten Gods each way, the day branches and the full element balances. Our free comparison doesn't use the year animals.

What if I don't know my partner's birth time?

Leave it blank and tick "I don't know the birth time". We calculate three pillars and don't guess. The Day Master and day-branch comparisons still work; the element balance is less complete. If the birth might have been between 23:00 and midnight, check both possible days.

Can a chart say whether we should marry, or stay together?

No. Nothing on this site can tell you that, and we don't try. The comparison describes patterns between two charts in traditional terms. Decisions about a relationship belong to the people in it, with whatever advice they trust.

Is a clash between our day branches bad?

The classical texts treat clashes cautiously, and we say so above. A clash is still one relation between two characters out of sixteen. It doesn't override the rest of either chart, and it isn't a forecast. Many readers take it as a cue to talk plainly about different rhythms.

Does a stem combination mean we're meant to be together?

No. A stem combination is a classical pairing of two stems. The Sanming Tonghui explains it with a marriage metaphor, but it uses that metaphor for combinations inside one chart. Whether a combination counts for much depends on the rest of the chart, which our calculator doesn't assess.

Why do other sites give a percentage?

Some sites build a scoring formula. Classical texts don't provide one, so any formula is the site's own choice of weights. We'd rather show the parts and leave the weighing to you.

Can I compare charts for friends, family or a business partner?

Yes. Nothing in the comparison is specific to romantic relationships. The day branch is traditionally linked with close relationships in general, and the Ten Gods describe element relationships, not roles.

Do you save the two charts?

No. The free comparison works like the single chart: birth details travel in the page address to calculate the charts, and nothing is stored. Paid reports store the birth details needed to produce and re-deliver the PDF; see Privacy. Please only enter someone else's details if they're happy for you to.


Compare two charts: use the calculator at the top of this page. For one chart in depth, calculate a full BaZi chart or find just your Day Master.

Related: Learn BaZi · Ten Gods · Jia · Yi · Bing · Ding · Wu · Ji · Geng · Xin · Ren · Gui · sample compatibility report

Sources

BaZi is a traditional Chinese cultural practice. This page describes what classical texts and practitioners say; it is for reflection, education and entertainment, and is not medical, legal, financial or psychological advice. Different schools may read the same chart differently.

Last updated: 2026-10-04