How To Calculate A Zi Wei Dou Shu Chart Step By Step: A Complete Manual

How To Calculate A Zi Wei Dou Shu Chart Step By Step: A Complete Manual

How a Zi Wei Dou Shu Chart Interpretation enhances monthly wealth

Calculating a Zi Wei Dou Shu chart requires converting a solar birth timestamp into local solar time and mapping it to the traditional Chinese lunar calendar. By establishing the 12 Earthly Branch palaces from the birth month and double-hour, determining the Five Elements Bureau, and using precise modulo arithmetic, you plot the major star series around the grid. This manual detail-driven algorithm establishes an accurate foundational chart without reliance on automated software defaults.

Prerequisite Astronomical Parameters & Calculation Requirements

Before performing manual calculations for a Zi Wei Dou Shu (Purple Star Astrology) chart, assemble exact astronomical reference material and mathematical lookup tables. Inaccuracy in primary time adjustments shifts the Life Palace (Ming Gong) and corrupts all subsequent star positions.



  • Essential Equipment & Tools:

    • Traditional Chinese Lunar Calendar (Wannianli) covering the target birth year.
    • Local Solar Time correction table or longitudinal offset calculator (adjusting for standard meridian variations and Daylight Saving Time).
    • Standard 12-Grid Earthly Branch chart template (fixed layout featuring Yin at the bottom-left corner through Hai at the top-left-adjacent corner).
    • Mathematical scratchpad for modulo division and stem-branch indexing.
  • Mandatory Prerequisite Knowledge & Standards:

    • The 10 Heavenly Stems (Tian Gan): Jia (1), Yi (2), Bing (3), Ding (4), Wu (5), Ji (6), Geng (7), Xin (8), Ren (9), Gui (10).
    • The 12 Earthly Branches (Di Zhi): Zi (Rat), Chou (Ox), Yin (Tiger), Mao (Rabbit), Chen (Dragon), Si (Snake), Wu (Horse), Wei (Goat), Shen (Monkey), You (Rooster), Xu (Dog), Hai (Pig).
    • The 12 Double-Hour divisions (Shi Chen), where Zi hour spans 23:00 to 01:00, Chou spans 01:00 to 03:00, continuing in 2-hour increments.
    • Sexagenary (60-Jiazi) calendar conversion mechanics.
  • Estimated Execution Benchmarks:

    • Calculated manually by an expert practitioner: 25 to 40 minutes.
    • Target Precision Standard: Time accuracy within ±2 minutes of true local solar time; zero error tolerance on lunar date conversions.

Step-by-Step Protocol for Zi Wei Dou Shu Chart Construction



Step 1: Convert Solar Birth Details to Local Solar Time and Lunar Calendar

Determine the precise local solar time of birth before mapping to the Chinese Lunar Calendar. Standard clock time represents an artificially averaged time zone meridian; true solar time reflects the Sun's actual position relative to the local longitude.



  1. Identify the local clock time of birth, the standard meridian for the birth location's time zone, and the exact longitudinal coordinate of the birth location.
  2. Calculate the spatial time deviation: Multiply the difference between local longitude and standard meridian longitude by 4 minutes per degree. Add this value if local longitude is east of the standard meridian; subtract if west.
  3. Apply Daylight Saving Time (DST) correction by subtracting 1 hour if DST was active at the moment of birth.
  4. Apply the Equation of Time adjustment factor for the specific day of the year to derive Local Solar Time.
  5. Match the final Local Solar Time to its corresponding Earthly Branch double-hour (Shi Chen):

    • 23:00 – 00:59 = Zi (1st Branch)
    • 01:00 – 02:59 = Chou (2nd Branch)
    • 03:00 – 04:59 = Yin (3rd Branch)
    • 05:00 – 06:59 = Mao (4th Branch)
    • 07:00 – 08:59 = Chen (5th Branch)
    • 09:00 – 10:59 = Si (6th Branch)
    • 11:00 – 12:59 = Wu (7th Branch)
    • 13:00 – 14:59 = Wei (8th Branch)
    • 15:00 – 16:59 = Shen (9th Branch)
    • 17:00 – 18:59 = You (10th Branch)
    • 19:00 – 20:59 = Xu (11th Branch)
    • 21:00 – 22:59 = Hai (12th Branch)
  6. Cross-reference the solar birth date with a reliable Wannianli to extract the Lunar Birth Year (and its Heavenly Stem), the Lunar Birth Month (1 through 12), and the Lunar Birth Day (1 through 30).

Warning: Using standard administrative clock time instead of adjusted Local Solar Time near double-hour boundaries (e.g., 00:58 or 14:59) causes a full shift in the hour branch, resulting in an entirely incorrect chart plot.



Step 2: Establish Year Stems and Anchor the 12 Earthly Branch Palaces

The base grid of a Zi Wei Dou Shu chart consists of 12 static positions named after the Earthly Branches. The physical arrangement is fixed on paper, running clockwise from the bottom-left corner: Yin, Mao, Chen, Si (left to top-left), Wu, Wei (top), Shen, You, Xu, Hai (top-right to bottom-right), Zi, Chou (bottom).

+---------------+---------------+---------------+---------------+ | Si (Snake) | Wu (Horse) | Wei (Goat) | Shen (Monkey) | +---------------+---------------+---------------+---------------+ | Mao (Rabbit) | | You (Rooster) | +---------------+ 12 EARTHLY BRANCH +---------------+ | Yin (Tiger) | STATIC PALACES | Xu (Dog) | +---------------+---------------+---------------+---------------+ | Chou (Ox) | Zi (Rat) | Hai (Pig) | [Layout Grid] | +---------------+---------------+---------------+---------------+



  1. Identify the Heavenly Stem of the birth year (e.g., Jia for 1984, Yi for 1985).
  2. Apply the Five Tigers Rule (Wu Yin Dun) to assign Heavenly Stems to all 12 Earthly Branch positions, starting at the Yin palace:

    • If Year Stem is Jia or Ji, the Yin palace Stem is Bing.
    • If Year Stem is Yi or Geng, the Yin palace Stem is Wu.
    • If Year Stem is Bing or Xin, the Yin palace Stem is Geng.
    • If Year Stem is Ding or Ren, the Yin palace Stem is Ren.
    • If Year Stem is Wu or Gui, the Yin palace Stem is Jia.
  3. Advance sequentially through the 10 Heavenly Stems clockwise from the Yin palace to fill all 12 grid boxes (restarting the stem sequence after reaching Gui). Every palace now contains both an Earthly Branch and an assigned Heavenly Stem.


Step 3: Calculate and Plot the Life Palace (Ming Gong) and Body Palace (Shen Gong)

The Life Palace serves as the structural anchor for all personal dynamics, while the Body Palace dictates late-life development and physical focus.



  1. Locate the Life Palace (Ming Gong):

    • Begin at the static Yin palace box on your template. Treat Yin as Month 1.
    • Count clockwise along the grid up to the number of the birth Lunar Month. Note this target palace.
    • From this month target palace, treat it as the Zi hour.
    • Count counter-clockwise along the grid until you reach the actual birth Double-Hour Branch.
    • The resulting grid square is the Life Palace (Ming Gong).
  2. Locate the Body Palace (Shen Gong):

    • Begin at the static Yin palace box on your template. Treat Yin as Month 1.
    • Count clockwise along the grid up to the number of the birth Lunar Month.
    • From this month target palace, treat it as the Zi hour.
    • Count clockwise along the grid until you reach the actual birth Double-Hour Branch.
    • The resulting grid square is the Body Palace (Shen Gong).
  3. Distribute the Remaining 11 Life Palaces:

    • Starting from the designated Life Palace, label the remaining palaces in strict counter-clockwise sequence:

      1. Life Palace (Ming Gong)
      2. Siblings Palace (Xiong Di Gong)
      3. Spouse Palace (Qi Qie Gong)
      4. Children Palace (Zi Nv Gong)
      5. Wealth Palace (Cai Bo Gong)
      6. Health Palace (Ji E Gong)
      7. Travel Palace (Qian Yi Gong)
      8. Friends / Servants Palace (Jiao You Gong)
      9. Career Palace (Guan Lu Gong)
      10. Property Palace (Tian Zhai Gong)
      11. Karma / Mental Palace (Fu De Gong)
      12. Parents Palace (Fu Mu Gong)

Pro-Tip: The Life Palace and Body Palace will always overlap in the exact same grid box if the individual was born during a Zi hour or Wu hour.



Step 4: Determine the Five Elements Bureau (Wu Xing Ju)

The Five Elements Bureau defines the foundational energetic frequency of the chart and establishes the numerical divisor required to place the major star series.



  1. Identify the Heavenly Stem and Earthly Branch assigned to the square housing the Life Palace (calculated in Step 2 and Step 3).
  2. Group the Heavenly Stems into numerical pairs:

    • Jia / Yi = 1
    • Bing / Ding = 2
    • Wu / Ji = 3
    • Geng / Xin = 4
    • Ren / Gui = 5
  3. Group the Earthly Branches into structural pairs:

    • Zi / Chou / Yin / Mao = 1
    • Chen / Si / Shen / You = 2
    • Wu / Wei / Xu / Hai = 3
  4. Calculate the combined element index: Add the Stem numerical value to the Branch numerical value. If the sum exceeds 5, subtract 5.
  5. Map the resulting number (1 through 5) to determine the Five Elements Bureau:

    • 1 = Wood 3rd Bureau (Mu San Ju)
    • 2 = Metal 4th Bureau (Jin Si Ju)
    • 3 = Water 2nd Bureau (Shui Er Ju)
    • 4 = Fire 6th Bureau (Huo Liu Ju)
    • 5 = Earth 5th Bureau (Tu Wu Ju)

Pro-Tip: The named number of each bureau (Water=2, Wood=3, Metal=4, Earth=5, Fire=6) acts as a mandatory mathematical constant used in the next step to place the Zi Wei Star.



Step 5: Determine Zi Wei Star Position and Plot the Emperor Star Group

The location of the primary Emperor Star (Zi Wei) dictates the layout of the first major star group.



  1. Take the Lunar Birth Day (integer value 1 through 30).

  2. Divide the Lunar Birth Day by the assigned Bureau Number (Water=2, Wood=3, Metal=4, Earth=5, Fire=6).

  3. Scenario A (No Remainder): If the birth day divides evenly by the bureau number:



    • The quotient $Q$ dictates the exact steps to move clockwise, starting from the static Yin palace box (where Yin = Step 1).
    • Place the Zi Wei Star in the resulting palace.
  4. Scenario B (Remainder Exists): If the birth day does not divide evenly:



    • Determine the remainder $R$. Calculate the missing offset value: $A = \text{Bureau Number} - R$.
    • Add this offset $A$ to the original Lunar Birth Day to produce an adjusted dividend ($D' = \text{Day} + A$).
    • Divide $D'$ by the Bureau Number to get quotient $Q'$.
    • Count $Q'$ steps clockwise starting from the static Yin palace.
    • Adjust for offset $A$: If $A$ is an odd number, move back (counter-clockwise) $A$ steps. If $A$ is an even number, advance forward (clockwise) $A$ steps.
    • Place the Zi Wei Star in the final target palace.
  5. Plot the 5 Accompanying Major Stars in the Zi Wei Group:



    • Moving counter-clockwise relative to Zi Wei:

      • Palace 1: Zi Wei
      • Palace 2 (1 step counter-clockwise): Tian Ji (Heavenly Machine)
      • Palace 3 (2 steps counter-clockwise): Skip / Blank
      • Palace 4 (3 steps counter-clockwise): Tai Yang (Sun)
      • Palace 5 (4 steps counter-clockwise): Wu Qu (Finance)
      • Palace 6 (5 steps counter-clockwise): Tian Tong (Pleasure)
      • Palace 7 & 8 (6 & 7 steps counter-clockwise): Skip / Blank
      • Palace 9 (8 steps counter-clockwise): Lian Zhen (Virtue/Passion)


Step 6: Anchor the Tian Fu Star and Plot the Heavenly Treasury Group

The Tian Fu (Heavenly Treasury) Star operates as the mirror counter-balance to Zi Wei. Its position is determined geometrically along a fixed diagonal axis.



  1. Locate Tian Fu using the static Earthly Branch axis formula relative to Zi Wei:



    • If Zi Wei is at Yin, Tian Fu is at Yin.
    • If Zi Wei is at Mao, Tian Fu is at Chou.
    • If Zi Wei is at Chen, Tian Fu is at Zi.
    • If Zi Wei is at Si, Tian Fu is at Hai.
    • If Zi Wei is at Wu, Tian Fu is at Xu.
    • If Zi Wei is at Wei, Tian Fu is at You.
    • If Zi Wei is at Shen, Tian Fu is at Shen.
    • If Zi Wei is at You, Tian Fu is at Wei.
    • If Zi Wei is at Xu, Tian Fu is at Wu.
    • If Zi Wei is at Hai, Tian Fu is at Si.
    • If Zi Wei is at Zi, Tian Fu is at Chen.
    • If Zi Wei is at Chou, Tian Fu is at Mao. (Mathematical Axis Rule: The branch index sum of Zi Wei and Tian Fu across the Yin-Shen diagonal always equals 14 in standard 1-to-12 indexing, where Yin=1 and Chou=12).
  2. Plot the 7 Accompanying Major Stars in the Tian Fu Group:



    • Moving clockwise relative to Tian Fu:

      • Palace 1: Tian Fu
      • Palace 2 (1 step clockwise): Tai Yin (Moon)
      • Palace 3 (2 steps clockwise): Tan Lang (Greedy Wolf)
      • Palace 4 (3 steps clockwise): Ju Men (Giant Gate)
      • Palace 5 (4 steps clockwise): Tian Xiang (Minister)
      • Palace 6 (5 steps clockwise): Tian Liang (Heavenly Beam)
      • Palace 7 (6 steps clockwise): Qi Shuai (Seven Slayers)
      • Palaces 8, 9, 10 (7, 8, 9 steps clockwise): Skip / Blank
      • Palace 11 (10 steps clockwise): Po Jun (Broken Army)


Step 7: Plot Auxiliary Stars and Calculate Year-Stem Transformations (Si Hua)

With all 14 Major Stars established, auxiliary stars and dynamic energy catalysts (Si Hua) are overlaid to complete the primary grid.



  1. Plot Lu Cun (Prosperity Star):

    • Locate based on the Year Stem: Jia at Yin, Yi at Mao, Bing/Wu at Si, Ding/Ji at Wu, Geng at Shen, Xin at You, Ren at Hai, Gui at Zi.
  2. Plot Qing Yang (Lancelot) and Tu Luo (Armor):

    • Place Qing Yang exactly one palace clockwise from Lu Cun.
    • Place Tu Luo exactly one palace counter-clockwise from Lu Cun.
  3. Plot Wen Chang and Wen Qu (Intellectual Stars):

    • Starting at Chen, count counter-clockwise up to the birth hour branch to place Wen Chang.
    • Starting at Chen, count clockwise up to the birth hour branch to place Wen Qu.
  4. Plot Zuo Fu and You Bi (Helper Stars):

    • Starting at Chen, count clockwise up to the birth Lunar Month to place Zuo Fu.
    • Starting at Xu, count counter-clockwise up to the birth Lunar Month to place You Bi.
  5. Apply the Four Catalyst Transformations (Si Hua):

    • Assign Hua Lu (Prosperity), Hua Quan (Authority), Hua Ke (Fame), and Hua Ji (Obstacle) to specific major or minor stars based on the birth Year Stem:

      • Jia Stem: Lian Zhen (Lu), Po Jun (Quan), Wu Qu (Ke), Tai Yang (Ji).
      • Yi Stem: Tian Ji (Lu), Tian Liang (Quan), Zi Wei (Ke), Tai Yin (Ji).
      • Bing Stem: Tong (Lu), Ji (Quan), Chang (Ke), Lian Zhen (Ji).
      • Ding Stem: Tai Yin (Lu), Tian Tong (Quan), Ji (Ke), Ju Men (Ji).
      • Wu Stem: Tan Lang (Lu), Tai Yin (Quan), You Bi (Ke), Tian Ji (Ji).
      • Ji Stem: Wu Qu (Lu), Tan Lang (Quan), Liang (Ke), Wen Qu (Ji).
      • Geng Stem: Tai Yang (Lu), Wu Qu (Quan), Tai Yin (Ke), Tian Tong (Ji).
      • Xin Stem: Ju Men (Lu), Tai Yang (Quan), Qu (Ke), Wen Chang (Ji).
      • Ren Stem: Tian Liang (Lu), Zi Wei (Quan), Zuo Fu (Ke), Wu Qu (Ji).
      • Gui Stem: Po Jun (Lu), Ju Men (Quan), Tai Yin (Ke), Tan Lang (Ji).

The many steps to reading relationships in Zi Wei Dou Shu ...

The many steps to reading relationships in Zi Wei Dou Shu ...

Five Elements Bureau Derivation & Star Distribution Framework

The table below outlines the relationship between the Life Palace's Stem-Branch combination, the resulting Five Elements Bureau, the mandatory division constant, and the physical placement axes for both primary star groups.



Life Palace Stem-Branch Element Mapping Resulting Bureau Name Bureau Numerical Divisor Zi Wei Group Movement Vector Tian Fu Group Movement Vector
Jia/Yi Stems on Zi/Chou/Yin/Mao Water 2nd Bureau 2 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Bing/Ding Stems on Zi/Chou/Yin/Mao Wood 3rd Bureau 3 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Wu/Ji Stems on Zi/Chou/Yin/Mao Metal 4th Bureau 4 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Geng/Xin Stems on Zi/Chou/Yin/Mao Earth 5th Bureau 5 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Ren/Gui Stems on Zi/Chou/Yin/Mao Fire 6th Bureau 6 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Jia/Yi Stems on Chen/Si/Shen/You Metal 4th Bureau 4 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Bing/Ding Stems on Chen/Si/Shen/You Earth 5th Bureau 5 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Wu/Ji Stems on Chen/Si/Shen/You Fire 6th Bureau 6 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Geng/Xin Stems on Chen/Si/Shen/You Water 2nd Bureau 2 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Ren/Gui Stems on Chen/Si/Shen/You Wood 3rd Bureau 3 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Jia/Yi Stems on Wu/Wei/Xu/Hai Fire 6th Bureau 6 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Bing/Ding Stems on Wu/Wei/Xu/Hai Water 2nd Bureau 2 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Wu/Ji Stems on Wu/Wei/Xu/Hai Wood 3rd Bureau 3 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Geng/Xin Stems on Wu/Wei/Xu/Hai Metal 4th Bureau 4 Counter-Clockwise from Zi Wei Clockwise from Tian Fu
Ren/Gui Stems on Wu/Wei/Xu/Hai Earth 5th Bureau 5 Counter-Clockwise from Zi Wei Clockwise from Tian Fu

Manual Calculation Anomalies & Diagnostic Remedies



Scenario 1: Miscalculation Near the Midnight Boundary (Zi Hour Boundary Dispute)



  • Root Cause: Birth occurred between 23:00 and 01:00, but standard administrative clock time was used without applying longitudinal adjustment, or Early Zi (Zi Chu, 23:00–00:00) was confused with Late Zi (Zi Ye, 00:00–01:00).
  • Actionable Fix: Convert clock time using exact longitude degrees (+4 minutes per degree east of standard meridian, -4 minutes per degree west). If the birth falls into Early Zi (23:00–23:59), use the current calendar day for the birth date, but use the Zi Hour branch. If it falls into Late Zi (00:00–00:59), advance to the next calendar day's stem while retaining the Zi Hour branch.


Scenario 2: Division Remainder Errors During Zi Wei Placement



  • Root Cause: Misapplying the remainder adjustment formula when the Lunar Birth Day is smaller than the Five Elements Bureau divisor (e.g., Day 3 in Earth 5th Bureau).
  • Actionable Fix: When Birth Day ($D$) is smaller than Bureau ($B$), the remainder $R$ is equal to $D$. Calculate $A = B - D$. Add $A$ to $D$ to equal $B$, giving a primary quotient $Q = 1$ (landing on Yin). Next, evaluate $A$: if $A$ is odd, step counter-clockwise $A$ units from Yin; if $A$ is even, step clockwise $A$ units from Yin.


Scenario 3: Reversed Sequence in Palace Labeling



  • Root Cause: Accidental application of clockwise stepping during the distribution of the 12 Palaces following Life Palace identification.
  • Actionable Fix: Remember that while identifying the Life Palace requires a clockwise count for Month followed by a counter-clockwise count for Hour, the actual assignment of the 11 subsequent physical palaces (Siblings through Parents) must always proceed counter-clockwise across the grid regardless of gender or birth year stem polarity.


Scenario 4: Five Tigers Rule Mismatch via Incorrect Lunar New Year Boundary



  • Root Cause: Applying the Year Stem of the newly arrived solar year before the official Chinese Lunar New Year date has occurred, or incorrectly using Lichun (Solar Spring) as the boundary.
  • Actionable Fix: Zi Wei Dou Shu relies exclusively on the Lunisolar Calendar month/year transitions for structural chart mapping, not the pure solar Jie Qi system used in Four Pillars of Destiny (BaZi). Confirm that the birth year stem matches the exact lunar year defined by the Wannianli.

Frequently Asked Questions



How does Daylight Saving Time affect chart calculation?

Daylight Saving Time artificially advances standard clocks by 60 minutes. You must subtract 1 hour from standard clock time before applying longitude corrections to prevent an artificial shift into the next double-hour branch (Shi Chen).



What is the difference between Early Zi and Late Zi hours?

Early Zi (Zi Chu) runs from 23:00 to 23:59 and belongs to the end of the current day. Late Zi (Zi Ye) runs from 00:00 to 00:59 and belongs to the start of the next day. Both use the Zi Hour branch, but Late Zi requires changing the Day Stem/Number to the following date.



Why do some palaces contain two major stars while others are empty?

The mathematical distribution paths of the Zi Wei group (moving counter-clockwise) and Tian Fu group (moving clockwise) cause their orbital paths to overlap in certain grid squares while bypassing others entirely. Palaces without major stars are called "borrowed" or "empty" palaces, requiring the practitioner to project stars from the directly opposite Travel or Career axis for reading.



Does Southern Hemisphere birth affect Zi Wei Dou Shu calculation?

No adjustment to the palace positions or star mapping formulas is required for Southern Hemisphere births. Zi Wei Dou Shu operates as an integrated, self-contained spatial-temporal mathematical model keyed to true local solar time rather than seasonal axial tilting.

Professional Consultation & Technical Verification

If you require precise calculation auditing for complex boundary birth times or wish to verify advanced star transformations, consult a certified practitioner of traditional imperial Chinese astrology. Ensure your consultant validates local solar time corrections down to exact longitudinal coordinates prior to chart analysis.


How to Recognize Patterns in Your Zi Wei Dou Shu Chart - Zi Wei Dou Shu ...

How to Recognize Patterns in Your Zi Wei Dou Shu Chart - Zi Wei Dou Shu ...

Read also: Exploring the Jailbirds Inmates Phenomenon: A Complete Guide to the Rising Social Trend
close