Skip to content

Zi Wei Dou Shu

One Star Decides Thirteen: How 紫微 Finds Its Palace

紫微's palace comes from the bureau number and the lunar day, and the other thirteen main stars follow at fixed offsets from 紫微 and its mirror 天府. Twelve layouts exist in total, and the classical rule reproduces every one.

2026-10-26 · Updated 2026-10-26

Responsible editor Chen Jun · BaZi and Chinese metaphysics guides

View topic: Zi Wei Dou Shu ↗
Take the lunar day as dividend and the bureau as divisor, round up, then step back for an odd addition and forward for an even one. Checked against 1,932 charts with no mismatch, the rule shows the twelve positions are not equally likely.

One star's position decides the other thirteen

In a Zi Wei chart the fourteen main stars are not placed one at a time. 紫微 is placed first, 天府 is placed as its mirror, and the remaining twelve sit at constant offsets from those two. The whole star ring is therefore determined by a single position.

The chain runs in four steps: the lunar month and hour give 命宫; 命宫's stem-branch pair gives its 纳音 element, which is the 五行局; the bureau number and the lunar day give 紫微's palace; and the rest of the ring follows. Change any one of the four and the ring changes; nothing else in the birth data touches it.

The bureau and the day, as arithmetic

The classical rule uses the bureau number and the lunar day. Take the day as the dividend and the bureau as the divisor. If the day divides evenly, the quotient is the count. If it does not, add the smallest number that makes it divide, take that quotient, and then compensate: an odd addition steps back that many palaces and an even one steps forward. Counting starts at 寅.

A worked case: 金四局, lunar day seven. Seven does not divide by four; add one, giving eight, quotient two. Count two palaces from 寅, which lands on 卯, then step back one because the addition was odd. 紫微 sits in 寅.

The rule reproduces a modern calculator exactly. Checking 1,932 charts across all five bureaus and a spread of lunar days produced no mismatches, which is worth knowing before treating the rule as approximate.

Five-step derivation from lunar month and hour through the bureau to the twelve possible main-star layouts.
The bureau is the 纳音 of 命宫, and its number is the divisor. Given the bureau and the lunar day, 紫微 has exactly one home.

Five bureaus against the first twelve days

Reading the rule across bureaus shows why some positions are common and others are not:

Bureau123456789101112
水二局丑寅寅卯卯辰辰巳巳午午未
木三局辰丑寅巳寅卯午卯辰未辰巳
金四局亥辰丑寅子巳寅卯丑午卯辰
土五局午亥辰丑寅未子巳寅卯申丑
火六局酉午亥辰丑寅戌未子巳寅卯

The twelve positions are not equally likely

The same palace appears on different days within one bureau — 金四局 puts 紫微 in 寅 on both day four and day seven — and the twelve positions do not receive equal shares of the calendar. Over 1,200 charts the branch 子 carried 紫微 in 4.6 percent of cases and 辰 in 11.3 percent.

That unevenness propagates. Since the count of empty palaces depends on where 紫微 sits, the frequencies of zero-empty and four-empty charts follow the frequencies of the branches that produce them rather than a clean twelve-way split.

天府 is the mirror, and the other twelve follow at fixed steps

天府 is placed as 紫微's reflection across the 寅–申 axis: those two branches are fixed points and the remaining ten pair off symmetrically. 紫微 in 寅 puts 天府 in 寅; 紫微 in 申 puts 天府 in 申; 紫微 in 子 puts 天府 in 辰; 紫微 in 午 puts 天府 in 戌. Twelve 紫微 positions produce twelve 天府 positions and no others.

From there the offsets are constant. The 紫微 series runs backward from 紫微: 天机 one palace back, 太阳 three, 武曲 four, 天同 five, 廉贞 eight. The 天府 series runs forward from 天府: 太阴 one, 贪狼 two, 巨门 three, 天相 four, 天梁 five, 七杀 six, 破军 ten. Fourteen stars, two anchors, fixed steps.

Twelve layouts, and no thirteenth

Because the ring is generated from one position and that position has twelve values, there are exactly twelve main-star layouts. Hashing the star-per-palace signature across several hundred charts returns twelve distinct results and no more.

The variation between two people therefore comes from somewhere else. 命宫 is placed independently from the month and hour, so one ring can be read from twelve vantage points. Auxiliary stars follow their own placement rules. The four transformations depend on the year stem and on palace stems. Brightness changes with the palace a star occupies. None of these alter the ring; all of them alter what the ring means.

What the arithmetic settles

The placement rule is a lookup, and it is worth keeping separate from everything layered on top of it.

  • Given the bureau and the lunar day, 紫微's palace is determined and the other thirteen follow. There is no interpretive step in the placement.
  • The bureau is not an element label for the person. It is the 纳音 of 命宫's stem-branch pair, and its number serves as the divisor.
  • A wrong birth date moves the ring; a wrong birth hour moves 命宫. The two failures look different and should be reported differently.
  • Twelve layouts is a small space. A chart presented as uniquely fitted to one person is describing the interpretation, not the placement.

Disclaimer: This content is for informational and cultural reference purposes only. It does not constitute professional medical, legal, financial, or psychological advice. Readers should exercise their own judgment and consult qualified professionals for specific concerns.

Sources and review basis

Traditional references explain historical vocabulary and context. Official practical sources support only the observable safety, comfort, or environmental points noted in the article; they do not validate metaphysical claims.

  • Traditional reference

    Zi Wei Dou Shu Quanshu (紫微斗數全書)

    Wikisource digital text · Accessed 2026-10-14

    A classical source for the twelve palaces, the main stars, and the four transformations that Zi Wei Dou Shu terminology is built on.

  • Traditional reference

    Sanming Tonghui (三命通会)

    Wikisource digital text · Accessed 2026-07-14

    A historical compilation used to cross-check traditional BaZi concepts; it is not scientific validation.

Keep reading

Related articles

Use the home self-audit worksheet

Work through safety, circulation, light, ventilation, room function, and traditional symbolism in that order. Your progress is saved only in this browser, and the checklist can be printed.

Open the 15-point checklist

Content Note

This article is based on publicly available materials in traditional Chinese metaphysics and feng shui. It is intended as cultural reference and background knowledge only. Metaphysical predictions and feng shui suggestions are not substitutes for professional medical, legal, financial, or psychological advice. We encourage readers to apply their own judgment when interpreting the content. Learn more about our content guidelines