How Is a Zi Wei Dou Shu Chart Calculated? The Five Steps, Step by Step

A step-by-step walkthrough of the chart-building process, worked through on one example chart — including the points where different systems legitimately disagree.

Every Zi Wei Dou Shu (紫微斗数) reading rests on a chart that is calculated, not invented. Before a single sentence of interpretation is possible, five mechanical steps have to happen: the birth data is converted, the Life Palace (命宫) is located, a Five Element Bureau (五行局) is fixed, the Zi Wei star (紫微) is placed, and the fourteen main stars are distributed around the twelve palaces.

This page walks through all five on one worked example. It also flags something most introductions leave out: several of these steps have more than one accepted convention, and different software and different lineages resolve them differently. That is the single most common reason two charts for the same birth data can come out looking different.

Step 1 — Convert the birth data, and decide about true solar time

A Zi Wei Dou Shu chart is built on the lunar calendar, not the Gregorian one. So the first step is converting the civil date to the Chinese lunar date, giving a lunar year, lunar month, lunar day, and the double-hour (时辰) in which the person was born.

The worked example

Gregorian 12 September 1992, 10:20, female → lunar 1992, month 8, day 16, the Si hour (巳时).
The year pillar is Ren-Shen (壬申).

Where conventions diverge

This step looks objective and is not entirely so:

None of these is a bug. They are different answers to genuinely ambiguous questions. The practical consequence is that you should be able to find out which convention a given chart used, rather than guessing.

Step 2 — Locate the Life Palace (命宫) and the Body Palace (身宫)

The twelve palaces are anchored by the Life Palace. The classical procedure counts forward through the birth month from the Yin (寅) palace, then counts backward through the birth hour from the palace reached.

The worked example

Birth month is lunar month 8; birth hour is the sixth double-hour (Si).

  1. Start at Yin (寅) as lunar month 1, and count forward to month 8: Yin, Mao, Chen, Si, Wu, Wei, Shen, You (酉).
  2. From You, set the Zi hour, and count backward to the Si hour (sixth): You (Zi), Shen (Chou), Wei (Yin), Wu (Mao), Si (Chen), Chen (辰).
  3. The Life Palace is therefore Chen (辰).

The Body Palace uses the same starting point but counts forward: You (Zi), Xu (Chou), Hai (Yin), Zi (Mao), Chou (Chen), Yin (寅) — so the Body Palace is Yin (寅).

Where conventions diverge

Step 3 — Fix the Five Element Bureau (五行局)

The Life Palace is not just a palace — it also takes a stem, assigned by the same stem-cycle rule that assigns stems to the year's months (the year stem anchors the Yin palace, and the cycle runs from there). Life Palace stem and branch together form a sexagenary pair, and the Five Element Bureau is read from that pair's associated element and number.

The worked example

The year stem is Ren (壬). Anchoring Yin palace with Ren, and counting the stems forward: Yin = Ren, Mao = Gui, Chen = Jia (甲). So the Life Palace is Jia-Chen (甲辰) — and that pair corresponds to the Fire Six Bureau (火六局).

ElementBureau nameNumber
WaterWater Two2
WoodWood Three3
MetalMetal Four4
EarthEarth Five5
FireFire Six6

That number is not decorative. In the next step it decides where a star goes.

Where conventions diverge

Nearly every Zi Wei Dou Shu implementation agrees on the bureau for a given Life Palace pair, because the mapping is a standard table. Divergence here is almost always inherited: if Step 2 produced a different Life Palace, Step 3 produces a different bureau, and everything downstream shifts with it.

Step 4 — Place the Zi Wei star (紫微)

The Zi Wei star is positioned by a two-input lookup: the Five Element Bureau number and the lunar day of birth. Given the bureau and the day, a fixed table returns the palace where Zi Wei sits. This star is the anchor for the largest group of the main stars.

The worked example

Bureau: Fire Six. Lunar day: 16. The table gives Zi Wei in the Wu palace (午).

Where conventions diverge

Because everything in Step 5 hangs off Zi Wei, a difference of one palace here propagates to a large portion of the chart.

Step 5 — Distribute the fourteen main stars

The fourteen main stars travel in two groups. The Zi Wei group is placed relative to Zi Wei, running stepwise in one direction. The Tian Fu group is anchored by Tian Fu (天府), which is positioned by a mirror relationship to Zi Wei, and then runs stepwise in the opposite direction.

The worked example

Zi Wei sits in Wu; Tian Fu sits in Xu (戌). Applying the two star sequences produces the following distribution:

PalaceMain star(s)
Life 命宫Qi Sha (七杀)
Siblings 兄弟Tai Yang, Tian Liang (太阳、天梁)
Spouse 夫妻Wu Qu, Tian Xiang (武曲、天相)
Children 子女Tian Tong, Ju Men (天同、巨门)
Wealth 财帛Tan Lang (贪狼)
Health 疾厄Tai Yin (太阴)
Travel 迁移Lian Zhen, Tian Fu (廉贞、天府)
Friends 交友—
Career 官禄Po Jun (破军)
Property 田宅—
Fortune 福德Zi Wei (紫微)
Parents 父母Tian Ji (天机)

Two palaces in this chart hold no main star at all, which is entirely normal — the twelve palaces outnumber the fourteen stars, and empty palaces are read through their opposite palace and the surrounding triangle rather than being treated as blank.

Where conventions diverge

Why two tools can disagree without either being wrong

Put the divergence points together and the picture is clear. Two Zi Wei Dou Shu charts for the same birth data can differ because of:

Notice that almost none of these are disagreements about interpretation. They are disagreements about input and mechanics, and they happen before interpretation begins. That is why a comparison that only looks at the final reading is so often confusing: the two readings may not be describing the same chart at all.

A more useful habit is to ask, of any chart: which conventions produced it? That question is answerable, and answering it is a great deal more productive than arguing about which reading "feels" more accurate.

How to check a calculator

  1. Feed it a birth you can verify by hand. Steps 1 to 3 are arithmetic you can reproduce on paper; if a tool's Life Palace or bureau disagrees with your own count, find out why before going further.
  2. Test a boundary case. Choose a birth a few minutes either side of a double-hour edge, and see whether the chart moves, and how. That tells you immediately whether solar-time correction is in play.
  3. Ask what is being shown. A chart that looks sparse may simply be filtered, not wrong.
  4. Prefer tools that state their conventions. A chart whose assumptions are visible can be reasoned about. One whose assumptions are hidden cannot.

What comes after the calculation

Everything above produces a chart. It does not produce a reading. Interpretation adds a separate layer: the relationships between palaces, the transformations carried by stars, the decade and year cycles that activate different parts of the chart over time, and the reading of the triangle formed by any palace and its opposite.

If you are new to that layer, the natural next read is how to read a Zi Wei Dou Shu chart. If you want the star-placement rules in more detail, see star placement formulas, and for the palace that anchors the whole structure, the Life Palace calculation. For what a calculator is doing under the hood — and why results differ between tools — see what a calculator actually does.

For reference only.

FAQ

How is a Zi Wei Dou Shu chart calculated? In five steps: convert the birth data and settle true solar time, locate the Life and Body palaces, fix the Five Element Bureau (五行局), place the 紫微 star, then distribute the fourteen main stars.

Why does true solar time matter? Because the chart is built on the sun's time, not the clock on the wall. Using standard time instead of true solar time can shift the birth hour and change the whole chart.

What is the Five Element Bureau? It is the numerical frame assigned from your birth data that tells the calculation where to place the 紫微 star and, from there, the rest of the main stars.

Why can two calculators disagree? Often because of choices made on the way in: true solar time, calendar handling, or convention. The steps themselves are fixed, so a difference usually traces back to an input decision.

Ready to see your own chart?

✦ Generate Your Chart — It's Free
Free chart · Readings pay per use