How To Calculate Ziwei Dou Shu Chart Step By Step: A Complete Manual Plotting Guide

How To Calculate Ziwei Dou Shu Chart Step By Step: A Complete Manual Plotting Guide

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

Manual calculation of a Ziwei Dou Shu (Purple Star Astrology) chart requires systematically converting a person's solar birth data into lunisolar coordinates to map fourteen primary stars across a twelve-palace natal grid. By determining the Life Palace position, establishing the Five Elements Bureau divisor, and applying specific modular arithmetic rules for star distribution, practitioners build an accurate, non-algorithmic astrological baseline. Mastering this technical step-by-step methodology ensures precise structural alignment and eliminates common digital charting discrepancies.


Astronomical Inputs and Prerequisites for Manual Chart Plotting

Plotting a Ziwei Dou Shu chart manually demands absolute mathematical precision before placing any stars on the twelve-branch grid. Because Ziwei Dou Shu relies on the Chinese Lunisolar Calendar rather than pure solar zodiac alignments, raw clock time must be mathematically adjusted to local True Solar Time (TST) to ensure the correct hour branch assignment. A single mistake in establishing the hour branch or lunar calendar conversion will cascade through the entire chart, rendering the positions of the Life Palace, the Five Elements Bureau, and all fourteen major stars completely inaccurate.



Essential Gear and Tool Checklist



  • Lunisolar Conversion Reference: A verified Ten-Thousand Year Calendar (Wan Nian Li) spanning the subject's birth year.
  • Calculation Template: A traditional twelve-palace paper grid formatted with the twelve Earthly Branches pre-assigned to fixed outer positions.
  • Local Solar Time Calculator: Standard geographical coordinate tables (or formula sheet) to calculate longitude offset and Equation of Time (EoT) corrections.


Prerequisite Knowledge Base



  • The Ten Heavenly Stems (Tian Gan): Jia, Yi, Bing, Ding, Wu, Ji, Geng, Xin, Ren, Gui.
  • The Twelve Earthly Branches (Di Zhi): Zi, Chou, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu, Hai.
  • The Five Elements (Wu Xing): Water (2), Wood (3), Metal (4), Earth (5), Fire (6).
  • The Five Tigers Rule (Wu Hu Dun Fa): The traditional formula used to assign Heavenly Stems to the monthly branches starting at the Yin branch.


Execution Benchmark Specs



  • Standard Manual Calculation Duration: 25 to 40 minutes for complete star distribution and transformation mapping.
  • Input Accuracy Tolerance: Zero margin of error allowed on the birth hour branch and lunar day index.

Step-by-Step Ziwei Dou Shu Chart Calculation Protocol



Step 1: Convert Solar Birth Time to Lunisolar Coordinates and Hour Branch

The initial step requires transforming the standard civilian birth timestamp into its corresponding Lunar Year, Lunar Month, Lunar Day, and Earthly Branch Hour (Shi Chen).



  1. Convert local standard birth time to True Solar Time by adjusting for the birth location's exact longitude relative to its standard time zone meridian, plus the Equation of Time variance for that calendar day.
  2. Map the calculated solar time into one of the twelve two-hour Earthly Branch windows:

    • Zi Hour: 23:00 – 00:59
    • Chou Hour: 01:00 – 02:59
    • Yin Hour: 03:00 – 04:59
    • Mao Hour: 05:00 – 06:59
    • Chen Hour: 07:00 – 08:59
    • Si Hour: 09:00 – 10:59
    • Wu Hour: 11:00 – 12:59
    • Wei Hour: 13:00 – 14:59
    • Shen Hour: 15:00 – 16:59
    • You Hour: 17:00 – 18:59
    • Xu Hour: 19:00 – 20:59
    • Hai Hour: 21:00 – 22:59
  3. Reference the Ten-Thousand Year Calendar to extract the exact Lunar Month (1 to 12) and Lunar Day (1 to 30), along with the Heavenly Stem and Earthly Branch pair for the Birth Year.

Warning: Births occurring within thirty minutes of an odd hour boundary (e.g., 22:45 or 01:15) must be vetted thoroughly using exact geographical coordinates. Assigning the incorrect Earthly Branch hour invalidates every subsequent palace coordinate.



Step 2: Plot the Twelve Palaces and Establish the Life and Body Axes

The twelve palaces are mapped sequentially across the fixed Earthly Branch positions on the physical grid grid, starting from the Yin branch baseline.

+-----------------------------------------------------------------+ | Si (6) | Wu (7) | Wei (8) | Shen (9) | | | | | | +---------------+---------------+---------------+---------------+ | Chen (5) | | You (10) | | | ZIWEI DOU SHU | | +---------------+ TWELVE PALACE +---------------+ | Mao (4) | FIXED GRID | Xu (11) | | | | | +---------------+---------------+---------------+---------------+ | Yin (3) | Chou (2) | Zi (1) | Hai (12) | | [Starting Pt] | | | | +-----------------------------------------------------------------+



  1. Locate the Life Palace (Ming Gong): Start at the Yin branch cell. Count clockwise along the branch grid up to the numerical value of the Lunar Birth Month. From that resulting branch cell, count counter-clockwise up to the numerical value of the Birth Hour Branch (where Zi = 1, Chou = 2, Yin = 3, up to Hai = 12). The cell where this count finishes is the designated Life Palace.
  2. Locate the Body Palace (Shen Gong): Start again at the Yin branch cell. Count clockwise along the grid up to the numerical value of the Lunar Birth Month. From that branch cell, count clockwise up to the numerical value of the Birth Hour Branch. The resulting cell is the designated Body Palace.
  3. Distribute the Remaining Eleven Palaces: Moving counter-clockwise from the newly established Life Palace, assign the remaining eleven life domains in strict traditional sequence:

    • 1st: Life Palace (Ming Gong)
    • 2nd: Siblings Palace (Xiong Di Gong)
    • 3rd: Spouse Palace (Qi Qiu Gong)
    • 4th: Children Palace (Zi Nv Gong)
    • 5th: Wealth Palace (Cai Bao Gong)
    • 6th: Health Palace (Ji E Gong)
    • 7th: Travel Palace (Qian Yi Gong)
    • 8th: Friends/Friends Palace (Nu Pu Gong)
    • 9th: Career Palace (Guan Lu Gong)
    • 10th: Property Palace (Tian Zhi Gong)
    • 11th: Mental/Karma Palace (Fu De Gong)
    • 12th: Parents Palace (Fu Mu Gong)


Step 3: Derive the Stem-Branch Overlay and the Five Elements Bureau

To calculate where the lead star (Zi Wei) resides, you must first calculate the elemental grid score of the Life Palace, known as the Five Elements Bureau (Wu Xing Ju).



  1. Apply the Five Tigers Rule (Wu Hu Dun) using the birth year's Heavenly Stem to derive the Heavenly Stem of the Yin branch:

    • Year Stem Jia or Ji: Yin branch starts with Bing (Bing Yin).
    • Year Stem Yi or Geng: Yin branch starts with Wu (Wu Yin).
    • Year Stem Bing or Xin: Yin branch starts with Geng (Geng Yin).
    • Year Stem Ding or Ren: Yin branch starts with Ren (Ren Yin).
    • Year Stem Wu or Gui: Yin branch starts with Jia (Jia Yin).
  2. Assign Heavenly Stems sequentially clockwise to all twelve palaces starting from the Yin branch stem.
  3. Identify the Heavenly Stem assigned to your specific Life Palace branch.
  4. Calculate the Sixty Jiazi Na Yin element for the Stem-Branch combination of the Life Palace cell to find its Five Elements Bureau:

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

Pro-Tip: The numerical value attached to your Bureau (2, 3, 4, 5, or 6) serves as the dynamic mathematical divisor in the next step for calculating the spatial coordinates of the Emperor Star.



Step 4: Locate Zi Wei (Emperor) and Tian Fu (Treasury) Stars

The position of the Zi Wei Star anchors the primary star group, while the Tian Fu Star anchors the secondary star group.



  1. Calculate Zi Wei Position: Divide the numerical Lunar Birth Day ($D$) by the Bureau Divisor ($B$).

    • Case A (No Remainder): If $D \div B = Q$ with zero remainder, count forward $Q$ branches starting from the Yin branch (where Yin = 1) clockwise to place Zi Wei.
    • Case B (With Remainder): If $D \div B$ produces a remainder, add a compensation integer ($R$) to $D$ to make the sum divisible by $B$, yielding an adjusted quotient ($Q = (D + R) \div B$).

      • If the added integer $R$ is even, count forward $Q$ branches from Yin, then step forward (clockwise) by $R$ positions.
      • If the added integer $R$ is odd, count forward $Q$ branches from Yin, then step backward (counter-clockwise) by $R$ positions.
  2. Calculate Tian Fu Position: Tian Fu is positioned symmetrically opposite Zi Wei along the Yin-Shen diagonal axis. Determine the branch index of Tian Fu using the sum-of-six branch complement formula:

    • If Zi Wei is at Yin (Branch 3) or Shen (Branch 9), Tian Fu is in the exact same cell.
    • For all other branches, calculate using the branch matrix rule where the sum of the numerical indices of Zi Wei and Tian Fu equals 6 (or 18 in extended 12-branch modular math):

      • Zi Wei at Mao (4) -> Tian Fu at Chou (2)
      • Zi Wei at Chen (5) -> Tian Fu at Zi (1)
      • Zi Wei at Si (6) -> Tian Fu at Hai (12)
      • Zi Wei at Wu (7) -> Tian Fu at Xu (11)
      • Zi Wei at You (10) -> Tian Fu at Wei (8)


Step 5: Distribute Primary Stars and Four Transformations (Si Hua)

Once Zi Wei and Tian Fu are locked onto the board, distribute the remaining twelve major stars according to their fixed relational offsets, followed by the four stem-derived transformation mutators.



  1. Distribute Zi Wei Star Group (6 Stars, Counter-Clockwise Order):

    • Cell 1: Zi Wei
    • Cell -1 (1 position counter-clockwise): Tian Ji
    • Cell -2: Skip cell (empty position)
    • Cell -3: Tai Yang (Sun)
    • Cell -4: Wu Qu
    • Cell -5: Tian Tong
    • Cell -6: Skip cell (empty position)
    • Cell -7: Skip cell (empty position)
    • Cell -8: Lian Zhen
  2. Distribute Tian Fu Star Group (8 Stars, Clockwise Order):

    • Cell 1: Tian Fu
    • Cell +1 (1 position clockwise): Tai Yin (Moon)
    • Cell +2: Tan Lang
    • Cell +3: Ju Men
    • Cell +4: Tian Xiang
    • Cell +5: Tian Liang
    • Cell +6: Qi Sha
    • Cell +7: Skip 3 consecutive cells
    • Cell +10: Po Jun
  3. Apply the Four Transformations (Si Hua): Map the four mutational catalysts—Lu (Prosperity), Quan (Authority), Ke (Fame), and Ji (Obstacle)—onto specific stars based entirely on the Heavenly Stem of the Birth Year:

    • Jia Year: Lu ->廉 Lian Zhen, Quan -> 破 Po Jun, Ke -> 武 Wu Qu, Ji -> 陽 Tai Yang
    • Yi Year: Lu -> 機 Tian Ji, Quan -> 梁 Tian Liang, Ke -> 紫 Zi Wei, Ji -> 月 Tai Yin
    • Bing Year: Lu -> 同 Tian Tong, Quan -> 機 Tian Ji, Ke -> 昌 Wen Chang, Ji -> 廉 Lian Zhen
    • Ding Year: Lu -> 月 Tai Yin, Quan -> 同 Tian Tong, Ke -> 機 Tian Ji, Ji -> 巨 Ju Men
    • Wu Year: Lu -> 貪 Tan Lang, Quan -> 太 Tai Yang, Ke -> 右 You Bi, Ji -> 機 Tian Ji
    • Ji Year: Lu -> 武 Wu Qu, Quan -> 貪 Tan Lang, Ke -> 梁 Tian Liang, Ji -> 文 Wen Qu
    • Geng Year: Lu -> 日 Tai Yang, Quan -> 武 Wu Qu, Ke -> 陰 Tai Yin, Ji -> 同 Tian Tong
    • Xin Year: Lu -> 巨 Ju Men, Quan -> 日 Tai Yang, Ke -> 曲 Wen Qu, Ji -> 昌 Wen Chang
    • Ren Year: Lu -> 梁 Tian Liang, Quan -> 紫 Zi Wei, Ke -> 府 Tian Fu, Ji -> 武 Wu Qu
    • Gui Year: Lu -> 破 Po Jun, Quan -> 巨 Ju Men, Ke -> 陰 Tai Yin, Ji -> 貪 Tan Lang

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 Matrix and Divisor Values

The table below outlines the structural specifications, element pairings, and division constants for each of the five potential Five Elements Bureaus used in Ziwei Dou Shu chart calculations.



Bureau Name Element Numeric Divisor Associated Stem-Branch Grid Pairs (Na Yin) Primary Positional Influence
Water 2nd Bureau (Shui Er Ju) Water 2 Bing Zi, Ding Chou, Jia Shen, Yi You, Ren Chen, Gui Si Accelerates star distribution; compressed positional arithmetic
Wood 3rd Bureau (Mu San Ju) Wood 3 Wu Chen, Ji Si, Ren Xu, Gui Hai, Bing Yan, Ding Mao Standard growth pattern; balanced offset values
Metal 4th Bureau (Jin Si Ju) Metal 4 Ren Shen, Gui You, Jia Zi, Yi Chou, Geng Xu, Xin Hai Rigid division framework; higher frequency of offset calculations
Earth 5th Bureau (Tu Wu Ju) Earth 5 Geng Wu, Xin Wei, Wu Yin, Ji Mao, Bing Xu, Ding Hai Anchored stability matrix; wide remainder dispersion
Fire 6th Bureau (Huo Liu Ju) Fire 6 Bing Yin, Ding Mao, Wu Wu, Ji Wei, Jia Chen, Yi Si Maximum mathematical divisor; expansive grid offsets

Common Manual Plotting Failures and Corrective Actions



Failure Scenario 1: Hour Branch Miscalculation from Standard Clock Time



  • Root Cause: Failing to convert civilian clock time to True Solar Time before picking the Earthly Branch, usually caused by ignoring daylight saving time or longitudinal distance from the standard time zone meridian.
  • Actionable Fix: Calculate the exact local solar shift using the formula: Local Solar Time = Standard Clock Time + 4 minutes per degree of longitude east of standard meridian (or minus 4 minutes per degree west) + Equation of Time (EoT) offset. Re-derive the hour branch using the adjusted solar timestamp.


Failure Scenario 2: Direct Divisional Remainder Miscount for Zi Wei



  • Root Cause: Incorrectly moving counter-clockwise when an even compensation number ($R$) is added during the Zi Wei location formula, or moving clockwise for odd compensation numbers.
  • Actionable Fix: Enforce the explicit calculation rule: when making the Lunar Day divisible by adding $R$, an EVEN value for $R$ requires moving FORWARD (Clockwise) by $R$ cells from the quotient position. An ODD value for $R$ requires moving BACKWARD (Counter-Clockwise) by $R$ cells.


Failure Scenario 3: Inverting the Counting Directions for Life and Body Palaces



  • Root Cause: Counting counter-clockwise for both month and hour steps, or misidentifying the starting cell (using Zi instead of Yin as the base index).
  • Actionable Fix: Always begin the Life/Body Palace count at the Yin branch cell. Count clockwise up to the Lunar Month index for both palaces. From that branch, count counter-clockwise for the Life Palace, but count clockwise for the Body Palace.


Failure Scenario 4: Misapplication of the Five Tigers Rule on Year Stems



  • Root Cause: Assigning the wrong starting Heavenly Stem to the Yin branch cell, which breaks the Na Yin calculation for the Five Elements Bureau.
  • Actionable Fix: Memorize the stem-pair anchors: Jia/Ji years always start with Bing Yin; Yi/Geng years start with Wu Yin; Bing/Xin years start with Geng Yin; Ding/Ren years start with Ren Yin; Wu/Gui years start with Jia Yin. Verify the sequence before deriving the Life Palace element.

Frequently Asked Questions



How are leap lunar months (Run Yue) handled in Ziwei Dou Shu chart calculation?

If a birth occurs during an intercalary (leap) lunar month, standard traditional convention dictates checking the birth day. If the birth occurs on or before the 15th day of the leap month, process the calculation using the current lunar month number. If the birth occurs on or after the 16th day, process the calculation using the subsequent lunar month number.



What is the exact mathematical relationship between the positions of Zi Wei and Tian Fu?

Zi Wei and Tian Fu maintain an inverted, symmetrical relationship across the vertical axis anchored by the Yin (3) and Shen (9) branches. On the twelve-branch numerical ring where Zi = 1 and Hai = 12, the branch coordinates of Zi Wei ($Z$) and Tian Fu ($T$) satisfy the modular equation: $(Z + T) \equiv 6 \pmod{12}$ (using 12 to replace 0).



Can the Life Palace and Body Palace occupy the exact same palace cell?

Yes, the Life Palace and Body Palace coincide whenever an individual is born during the Zi Hour (23:00–00:59) or Wu Hour (11:00–12:59). Because the month step and hour step travel equal distances in opposing directions for Zi hour, or complete a full circuit for Wu hour, both palace formulas land on the exact same branch cell.



Why is the Five Elements Bureau number necessary for star calculation?

The Five Elements Bureau number (2, 3, 4, 5, or 6) acts as a mathematical scale factor that adjusts the 30-day lunar calendar cycle to the 12 spatial cells of the Earthly Branch grid. It establishes the initial element density of the birth setup, dictating how many steps the Emperor Star must take to reach its natal position.

Professional Astrological Charting Resources

Applying these manual calculations sharpens your practical understanding of Ziwei Dou Shu mechanics and strengthens your structural interpretation skills. To eliminate human error and speed up your workflow on complex readings, cross-reference your manual calculations with standard lunisolar ephemeris charts.


How a Zi Wei Dou Shu Chart Interpretation enhances monthly wealth

How a Zi Wei Dou Shu Chart Interpretation enhances monthly wealth

Read also: Christiana Hospital Middletownerror 500