Skip to main content
Foundations

How a Zi Wei Dou Shu Chart Is Built

A Zi Wei Dou Shu (ZWDS) chart is cast in a fixed order from five birth details: the lunar year's stem and branch, the lunar month, the day, the two-hour period of birth and your gender. The Life Palace comes first, then the other palaces, their stems and the five-element number, then the Emperor star and the other stars, and last the decade phases and the age phase.

By ·Last updated

What casting needs

Casting takes five details:

  • the lunar year's stem and branch;
  • the lunar month, 1 to 12;
  • the day of the lunar month, 1 to 30;
  • the hour's branch: the day divides into twelve two-hour periods, each named by a branch, beginning with Zi (子) from 11 pm to 1 am;
  • your gender.

A Four Pillars of Destiny (BaZi) chart is also cast from a year's stem and branch and an hour's branch. The month and the day enter a ZWDS chart as plain lunar numbers, not as pillars.

A birth in a leap month (闰月) is cast as the following month: a leap fourth month counts as the fifth.

The ten stems, in order, are Jia (甲), Yi (乙), Bing (丙), Ding (丁), Wu (戊), Ji (己), Geng (庚), Xin (辛), Ren (壬) and Gui (癸). The twelve branches, in forward order, are Zi, Chou (丑), Yin (寅), Mao (卯), Chen (辰), Si (巳), Wu (午), Wei (未), Shen (申), You (酉), Xu (戌) and Hai (亥). Each branch holds one palace on the chart; forward runs clockwise round the chart, backward the other way.

Example: a man born in a Jia Zi year, in the third lunar month, on day 15, in the Chen hour.

Finding the Life Palace and Body Palace

A chart has twelve palaces, one on each branch. The Life Palace (命宫, Ming Gong) is placed first, from the birth month and hour:

  1. Start at Yin as the first month and count forward one palace per month to your birth month.
  2. From that palace, count backward one palace per two-hour period, starting with the Zi hour, to your birth hour. That palace is the Life Palace.

The Body Palace (身宫, Shen Gong) is counted from the same month palace, forward instead of backward.

In the example, the third month lands on Chen. Counting backward from Chen, the Zi, Chou, Yin, Mao and Chen hours land on Chen, Mao, Yin, Chou and Zi, so the Life Palace is on Zi. Counted forward, the Body Palace is on Shen.

Laying out the twelve palaces

From the Life Palace, the other eleven palaces run backward, one per branch, in a fixed order: Siblings (兄弟宫, Xiong Di Gong), Marriage (夫妻宫, Fu Qi Gong), Children (子女宫, Zi Nu Gong), Wealth (财帛宫, Cai Bo Gong), Health (疾厄宫, Ji E Gong), Travel (迁移宫, Qian Yi Gong), Friends (交友宫, Jiao You Gong), Career (官禄宫, Guan Lu Gong), Property (田宅宫, Tian Zhai Gong), Fortune (福德宫, Fu De Gong) and Parents (父母宫, Fu Mu Gong). The order and the direction are the same for men and women, and the whole ring turns with the Life Palace.

In the example, with the Life Palace on Zi, Siblings falls on Hai, Wealth on Shen and Parents on Chou.

Setting the palace stems

Each palace also carries a stem. The year stem fixes the stem on the Yin palace; from there the stems run forward in their order, from Gui round to Jia again, through to the Chou palace.

In the example, a Jia year puts Bing on Yin, and counting forward, the Life Palace on Zi also carries Bing.

Year stemStem on 寅
甲 or 己丙
乙 or 庚戊
丙 or 辛庚
丁 or 壬壬
戊 or 癸甲

Finding the five-element number

The five-element number comes from the year stem and the Life Palace's branch. It is one of Water 2 (水二局), Wood 3 (木三局), Metal 4 (金四局), Earth 5 (土五局) and Fire 6 (火六局). It serves the casting only: several stars are placed from it, and it sets the age at which the first decade phase begins. It carries no meaning of its own.

In the example, a Jia year with the Life Palace on Zi gives Water 2.

Rows give the year stem; columns give the Life Palace's branch.

Year stem / Life Palace子, 丑寅, 卯辰, 巳午, 未申, 酉戌, 亥
甲 or 己Water 2Fire 6Wood 3Earth 5Metal 4Fire 6
乙 or 庚Fire 6Earth 5Metal 4Wood 3Water 2Earth 5
丙 or 辛Earth 5Wood 3Water 2Metal 4Fire 6Wood 3
丁 or 壬Wood 3Metal 4Fire 6Water 2Earth 5Metal 4
戊 or 癸Metal 4Water 2Earth 5Fire 6Wood 3Water 2

Placing the Emperor star

The Emperor (紫微, Zi Wei) is placed from the five-element number and the day of the month. The other thirteen main stars all follow from the Emperor's palace, so its twelve possible palaces give twelve basic layouts of the main stars.

In the example, Water 2 and day 15 put the Emperor on Shen.

DayWater 2Wood 3Metal 4Earth 5Fire 6
1丑辰亥午酉
2寅丑辰亥午
3寅寅丑辰亥
4卯巳寅丑辰
5卯寅子寅丑
6辰卯巳未寅
7辰午寅子戌
8巳卯卯巳未
9巳辰丑寅子
10午未午卯巳
11午辰卯申寅
12未巳辰丑卯
13未申寅午亥
14申巳未卯申
15申午辰辰丑
16酉酉巳酉午
17酉午卯寅卯
18戌未申未辰
19戌戌巳辰子
20亥未午巳酉
21亥申辰戌寅
22子亥酉卯未
23子申午申辰
24丑酉未巳巳
25丑子巳午丑
26寅酉戌亥戌
27寅戌未辰卯
28卯丑申酉申
29卯戌午午巳
30辰亥亥未午

Placing the Emperor series and the Duke

Six main stars are placed from the Emperor's palace: the Advisor (天机, Tian Ji), Sun (太阳, Tai Yang), Treasurer (武曲, Wu Qu), Prince (天同, Tian Tong), Envoy (廉贞, Lian Zhen) and Duke (天府, Tian Fu).

In the example, the Emperor on Shen puts the Duke on Shen as well, the Advisor on Wei and the Envoy on Zi.

EmperorAdvisorSunTreasurerPrinceEnvoyDuke
子亥酉申未辰辰
丑子戌酉申巳卯
寅丑亥戌酉午寅
卯寅子亥戌未丑
辰卯丑子亥申子
巳辰寅丑子酉亥
午巳卯寅丑戌戌
未午辰卯寅亥酉
申未巳辰卯子申
酉申午巳辰丑未
戌酉未午巳寅午
亥戌申未午卯巳

Placing the Duke series

The remaining seven main stars are placed from the Duke's palace: the Moon (太阴, Tai Yin), Patron (贪狼, Tan Lang), Courtier (巨门, Ju Men), Minister (天相, Tian Xiang), Elder (天梁, Tian Liang), Marshal (七杀, Qi Sha) and Army (破军, Po Jun).

DukeMoonPatronCourtierMinisterElderMarshalArmy
子丑寅卯辰巳午戌
丑寅卯辰巳午未亥
寅卯辰巳午未申子
卯辰巳午未申酉丑
辰巳午未申酉戌寅
巳午未申酉戌亥卯
午未申酉戌亥子辰
未申酉戌亥子丑巳
申酉戌亥子丑寅午
酉戌亥子丑寅卯未
戌亥子丑寅卯辰申
亥子丑寅卯辰巳酉

Placing the hour stars

Six of the supplementary stars are placed from the birth hour. The Scholar (文昌, Wen Chang), Artist (文曲, Wen Qu), Trickster (地空, Di Kong) and Usurper (地劫, Di Jie) depend on the hour alone.

HourScholarArtistTricksterUsurper
子戌辰亥亥
丑酉巳戌子
寅申午酉丑
卯未未申寅
辰午申未卯
巳巳酉午辰
午辰戌巳巳
未卯亥辰午
申寅子卯未
酉丑丑寅申
戌子寅丑酉
亥亥卯子戌

The Fiery (火星, Huo Xing) and Siren (铃星, Ling Xing) stars depend on the hour and on the year branch's group of three: Yin, Wu and Xu; Shen, Zi and Chen; Si, You and Chou; or Hai, Mao and Wei. In each cell, Fiery comes first and Siren second.

Hour / year branch寅午戌申子辰巳酉丑亥卯未
子丑 · 卯寅 · 戌卯 · 戌酉 · 戌
丑寅 · 辰卯 · 亥辰 · 亥戌 · 亥
寅卯 · 巳辰 · 子巳 · 子亥 · 子
卯辰 · 午巳 · 丑午 · 丑子 · 丑
辰巳 · 未午 · 寅未 · 寅丑 · 寅
巳午 · 申未 · 卯申 · 卯寅 · 卯
午未 · 酉申 · 辰酉 · 辰卯 · 辰
未申 · 戌酉 · 巳戌 · 巳辰 · 巳
申酉 · 亥戌 · 午亥 · 午巳 · 午
酉戌 · 子亥 · 未子 · 未午 · 未
戌亥 · 丑子 · 申丑 · 申未 · 申
亥子 · 寅丑 · 酉寅 · 酉申 · 酉

Placing the month stars

The Left Deputy (左辅, Zuo Fu), Right Deputy (右弼, You Bi) and Witch Star (阴煞, Yin Sha) are placed from the lunar month.

MonthLeft DeputyRight DeputyWitch Star
1辰戌寅
2巳酉子
3午申戌
4未未申
5申午午
6酉巳辰
7戌辰寅
8亥卯子
9子寅戌
10丑丑申
11寅子午
12卯亥辰

Placing the year-stem stars and the Four Transformations

The year stem places the Crown (禄存, Lu Cun), Assassin (擎羊, Qing Yang), Bureaucrat (陀罗, Tuo Luo), Knight (天魁, Tian Kui) and Dame (天钺, Tian Yue).

Year stemCrownAssassinBureaucratKnightDame
甲寅卯丑丑未
乙卯辰寅子申
丙巳午辰亥酉
丁午未巳亥酉
戊巳午辰丑未
己午未巳子申
庚申酉未丑未
辛酉戌申午寅
壬亥子戌卯巳
癸子丑亥卯巳

The same year stem turns four stars into Hua Lu (化禄), Hua Quan (化权), Hua Ke (化科) and Hua Ji (化忌): the chart's natal Four Transformations.

Placing the Stallion

The Stallion (天马, Tian Ma) is placed from the year branch.

Year branchStallion
寅, 午 or 戌申
申, 子 or 辰寅
巳, 酉 or 丑亥
亥, 卯 or 未巳

Other stars placed during casting

Casting places 56 further minor stars, grouped by what each is placed from:

  • the hour: 2;
  • the month: 4;
  • the day: 4, counted from the palaces of the Left Deputy, Right Deputy, Scholar and Artist, which is why the hour and month stars are placed first;
  • the year stem: 4 single stars, plus a series of 12 that starts in the Crown's palace;
  • the year branch: 14;
  • the five-element number: a series of 12 stages;
  • the Life Palace, the Body Palace with the year branch, or the year stem and branch together: 4.

Timing the decade phases

The first decade phase begins in the Life Palace at the age equal to the five-element number, from age 2 for Water 2 to age 6 for Fire 6, and each phase lasts ten years. Its direction depends on your gender and on the year stem's yin or yang: Jia, Bing, Wu, Geng and Ren are yang; Yi, Ding, Ji, Xin and Gui are yin.

  • A man born in a yang year, or a woman born in a yin year, moves forward: Life, Parents, Fortune and on round the chart.
  • A man born in a yin year, or a woman born in a yang year, moves backward: Life, Siblings, Marriage and on.

In the example, the man is born in a yang Jia year with Water 2, so his decade phases run Life Palace from 2 to 11, Parents from 12 to 21 and Fortune from 22 to 31. A woman born the same day moves backward: Siblings from 12 to 21, Marriage from 22 to 31.

Counting one palace per year of age

A single year is marked in two separate ways, each from its own palace. The annual phase (流年) follows the branch of the calendar year. The age phase (小限), cast at birth, follows your age: it moves one palace a year. Age here is the Chinese age (虚岁): the current year minus the birth year, plus one. Age 1 falls in a palace set by the year branch's group of three, the same for men and women. From there men move forward and women backward, one palace per year, so ages 1, 13, 25 and 37 share a palace.

In the example, a Zi year puts age 1 on Xu. The man reaches Hai at 2 and Zi at 3; a woman born that year reaches You at 2 and Shen at 3.

Year branchAge 1
寅, 午 or 戌辰
申, 子 or 辰戌
巳, 酉 or 丑未
亥, 卯 or 未丑

Sources: The Way of Heaven's Secrets (天机道) and Records of Heaven (天纪)

Try Our Four Pillars of Destiny (BaZi) Consultation

Get personalized, chart-grounded answers about your career, relationships, and timing.

Start Your Consultation