← Back to blog
Zi WeiSingapore7 min read

How Many Kinds of Marriage Can Zi Wei Dou Shu Actually Tell Apart? I Counted All 262,980 Birth Moments

Gender
More options: exact time, lunar date, birthplace →
How Many Kinds of Marriage Can Zi Wei Dou Shu Actually Tell Apart? I Counted All 262,980 Birth Moments

Yesterday afternoon I ran a script. In 54 seconds it cast charts for all 262,980 birth times from 1965 to 2024, and I looked at just one palace: the Spouse Palace (夫妻宫).

Looking only at the main stars (zhuxing, the 14 major stars), those 260,000-plus birth times fall into just 39 configurations. Once you also count the Earthly Branch (地支), the auxiliary stars (fuxing), the malefic stars (shaxing), the minor stars (zayao), and any Natal (本命) Four Transformations (四化) landing in the Spouse Palace, the number becomes 137,636.

The gap between the two levels is a factor of 3,529.

Curious about your own chart? Free chart, then ask the AI astrologer →

Let me say this up front: what I counted this time is resolution, not accuracy. Whether any given reading is accurate, I can't verify it and neither can you, and people have argued about that for centuries without settling it. But "how many groups can this symbol system sort people into at most" can be counted, because it's a finite set of rules. You just enumerate everything. That's what I wanted to count.

Why the Spouse Palace? Because it's the palace in the whole chart with the least observation involved. The Zi Wei Dou Shu Jie Lan (《紫微斗数捷览》, a classic quick-reference manual) has the line: "If the Life Palace is set in Zi, then Hai is the Siblings Palace and Xu is the Spouse Palace." Look closely. Once the Life Palace (命宫) is fixed, the position of the Spouse Palace is simply counted backwards from it. It doesn't care what age you marry, it doesn't care about your parents, it's just counting squares. And since the position is derived mechanically, and where the stars land is derived mechanically too, the question of how many different faces this palace can have has a definite answer.

I started studying with a teacher in Taiwan in 2020, so this is my sixth year. To be frank, at the start I wanted to debunk it, and I got proven wrong, loudly. Eventually I just wrote the whole chart-casting logic into code. After finishing it, I ran a seven-dimension reversibility test on 500 random charts, covering the Annual Cycle (流年), Monthly Cycle (流月), Daily Cycle (流日), Hourly Cycle (流时), Dou Jun (斗君, the monthly starting marker), 10-Year Cycle (大限) and Minor Yearly Cycle (小限). All 500 closed the loop, not a single one fell out. With that foundation in place, I felt safe running a full enumeration.

Here's the setup. The sample runs from 1965-01-01 to 2024-12-31, taking the midpoint of each of the 12 shichen (the traditional two-hour periods) every day, for 262,980 birth times in total. San He school (三合派, the "three harmonies" school), male settings, true solar time not applied. Zero failures. The granularity has three levels. Level one looks only at which main stars sit in the Spouse Palace. Level two adds which Earthly Branch the Spouse Palace falls on. Level three packs in the auxiliary stars, malefic stars, minor stars and the Natal Four Transformations in that palace. The script is at packages/engine/tests/census/spouse-palace-resolution.test.ts, one run takes 54 seconds, and the results are saved to xiaoS/data/20260905-census-spouse-resolution.json. If you want to recompute it, run it yourself.

Start with the most basic question: how many main stars can actually sit in the Spouse Palace? There are only three answers. Zero stars: 43,268 birth times. One star: 132,627. Two stars: 87,085. Across 260,000-plus birth times, a third star never showed up. That's locked in by the star-placement rules themselves.

Then level one: 39.

Broken down, each of the 14 main stars sitting alone gives 14, the fixed pairs that can share a palace give 24, and the Empty Palace (空宫) with no main star at all counts as 1, for a total of 39. On average each configuration is shared by 6,743 birth times. In other words, when someone reads the Spouse Palace from the main stars alone, the number of people worldwide being described by the same cell is on the order of six thousand-plus birth times.

Add the Earthly Branch and you get 132, each shared by 1,992 birth times on average. This step grew less than I expected. I'd assumed multiplying in twelve branches would make things much busier, but it only went up a bit more than threefold, because main stars and branches are already tightly bound to each other. They aren't free combinations.

Level three: 137,636, each shared by only 1.91 birth times on average.

1.91. That means at the strict level, the 260,000 birth times are almost all distinct from one another. It's already close to one person per cell. The 3,500-plus-fold gap from 39 to 137,636 comes entirely from the auxiliary, malefic and minor stars and the Four Transformations, which are usually treated as supporting cast.

Back to the Empty Palace. The largest of the 39 cells is the Empty Palace: 43,268 birth times, 16.453%, roughly one in every six birth times. I care about this proportion quite a bit, because when the Spouse Palace is empty, the traditional approach is to borrow the Opposite Palace (对宫), meaning you use the stars of the Career Palace (shiye gong, 事业宫, the palace of work and career) to read the Spouse Palace. The single biggest cell in all of level one happens to be the one that has nothing to say for itself and has to borrow from next door.

As a side note, last time I counted Hong Luan (红鸾) and Tian Xi (天喜) landing in the Spouse Palace, I got exactly one sixth. This time the Empty Palace's 16.453% sits very close to it. The two numbers looking alike is pure coincidence. They come from two completely unrelated sets of star-placement rules, so don't try to force a connection.

So what can these numbers tell us? Readings hang on stars. Wherever the stars land, the readings follow. The Complete Book of Zi Wei Dou Shu (《紫微斗数全书》), in its Questions and Answers on the Stars (诸星问答论), says of Po Jun (破军): "Po Jun belongs to Water; it is the seventh star of the Northern Dipper, the spirit governing spouse, children and daughters-in-law, and servants." That's a typical level-one reading. Its only inputs are one main star and one palace. However detailed sentences like that get, they can take at most 39 values. The number of categories your marriage can be sorted into under this way of reading has a ceiling of 39, no matter how skilled the reader is.

The next part matters more than the conclusions above.

Resolution is not accuracy. 137,636 configurations only shows that this symbol system's space of expression is that large. It says nothing at all about whether it maps correctly onto real marriages. Dividing finely and dividing correctly are two different things. However fine the markings on a vernier caliper, if you measure wrong, it's still wrong.

39 cells might also be enough. I have to be honest about this. The language people use to describe their own marriages is coarse to begin with: more apart than together, incompatible personalities, better to marry late — a dozen or twenty stock phrases like that. If the goal is only to give a general direction, 39 cells might well be enough. Low resolution doesn't mean useless. Just don't use low-resolution statements to talk about high-resolution matters.

I only ran the male settings. Under the female settings, yin/yang and sex reverse the forward/backward palace order, so the 10-Year Cycle runs the other way. I didn't check that separately this time, so every number above holds only for the male settings. I don't know whether the female side would differ.

One more thing: how the three levels are cut is my own choice. I pulled the Earthly Branch out on its own as level two and put the Four Transformations into level three. That split was for convenience of observation. Cut it another way, say by giving the Four Transformations their own level, and the middle number would change. The two endpoints, 39 and 137,636, are hard. The 132 in the middle has my subjectivity in it.

If the Spouse Palace only has 39 types, does that mean Zi Wei Dou Shu is crude? 39 is the ceiling of level one, not the ceiling of the whole system. What actually appears on a chart is 137,636 configurations. What's crude is the style of reading that speaks only from the main stars, not the system itself.

Why can the Spouse Palace hold at most two main stars? Because the distribution of the 14 main stars across the twelve palaces is locked by the star-placement rules, and the combinations that can share a palace are just those 24 pairs. In 260,000-plus birth times tested, it was 0, 1 or 2, with no fourth case.

Is an empty Spouse Palace bad? It's the largest of the 39 cells, around one sixth of people are in it, and the reading has to borrow from the Opposite Palace. It really does carry less information, but good or bad doesn't come into it.

Can I run it myself? Yes. The script path is above, and it finishes in 54 seconds. If you want female settings, a different year range or a different palace, change the parameters and rerun. The results are saved as json, so you can count for yourself.

Finally, here's a method you can actually use. Next time someone tells you something about your Spouse Palace, count how many variables that sentence uses. If it mentions only one main star, it's in the 39-cell level. If it brings in the Earthly Branch, 132 cells. Only when it uses the auxiliary, malefic and minor stars and the Four Transformations does it reach the level with a hundred-thousand-plus cells. This doesn't judge whether it's accurate. It only tells you which level the other person is speaking from.

That's all my work amounted to this time: 54 seconds, counting the cells once, and laying out the ceiling. For everything else, the cells can't help.

Read by question

⚠️ FateStar generates and interprets your chart based on the traditional Chinese discipline of Zi Wei Dou Shu (紫微斗数). All content is for informational and reflective purposes only.

Free chart, then ask the AI astrologer →

About the Author

Louis
Louis

Founder of FateStar. He began structured study of San He Zi Wei Dou Shu in 2020 and is responsible for product method, source organization, and content review. Personal experience is not presented as scientific proof.

More about Louis →