Skip to content

Purple Star Astrology (紫微斗數)

See also: Da Liu Ren (大六壬) · Mystery Gates (奇門遁甲) · Seven Governors (七政四餘)

Chinese natal astrology system placing 14 major stars and numerous auxiliary stars into 12 life-domain palaces, based on lunar calendar birth data. Unlike 七政四餘 (which computes real planetary positions), 紫微斗數 uses purely mathematical placement rules — the "stars" are symbolic constructs, not astronomical bodies.


Overview

紫微斗數 (Zi Wei Dou Shu, hereafter ZWDS) is a horoscopic system that maps a person's fate across 12 palaces arranged in a 4x4 grid. Each palace governs a life domain (career, marriage, wealth, health, etc.), and the stars placed within each palace determine the native's fortunes in that domain.

Three features distinguish ZWDS from other Chinese mantic systems:

  1. Symbolic stars, not planets. The 14 major stars (十四主星) bear names like 紫微 (Purple Sovereign), 天機 (Celestial Mechanism), and 太陽 (Sun), but their positions are determined by arithmetic — not by astronomical observation or ephemeris computation. This stands in sharp contrast to 七政四餘, which requires actual planetary longitudes[1].

  2. Lunar calendar input. ZWDS takes the lunar (陰曆) date as its primary input, unlike 四柱八字 (BaZi / Four Pillars), which uses solar-term boundaries (節氣). Two people born on the same Gregorian date may receive different ZWDS charts if their births fall on different sides of a lunar month boundary.

  3. Visual chart output. The result is a 12-palace grid chart (命盤) with stars, transformations, and auxiliary markers placed in specific palaces — a format amenable to pattern recognition. BaZi, by contrast, produces a text-based arrangement of eight characters (四柱) that requires a different style of analysis.

The system is traditionally attributed to the Song dynasty Daoist sage Chen Tuan (陳摶, 872–989 CE)[2], though this attribution is almost certainly pseudepigraphical — no text on ZWDS can be dated earlier than the Ming dynasty (16th century). No dedicated monograph on ZWDS exists in any Western language; the system remains severely understudied in English-language sinological and history-of-science literature[3].


1. Historical Origins

The Chen Tuan Attribution

Chen Tuan (陳摶), styled Tunan (圖南), was a historical figure whose biography appears in the 《宋史》 (History of the Song Dynasty)[2:1]. He is credited with transmitting the Wuji Tu (無極圖) and other cosmological diagrams to later Song Neo-Confucians, and occupies a prominent position in the hagiographic tradition of Daoist internal alchemy.

The attribution of ZWDS to Chen Tuan follows a well-established pattern in Chinese mantic literature: prestigious systems are routinely assigned to ancient sages to confer authority. Ho Peng Yoke's 1993 article — the only known scholarly study specifically examining ZWDS origins — traces the system's lineage claims and finds them unsubstantiated by primary evidence[3:1]. The earliest datable editions of ZWDS texts are Ming dynasty printings:

TextContentEarliest known edition
《紫微斗數全集》 (Ziwei Doushu Quanji)Collected methods and star tablesMing dynasty
《紫微斗數全書》 (Ziwei Doushu Quanshu)Comprehensive reference (most widely circulated)Ming dynasty[4]
《紫微斗數捷覽》 (Ziwei Doushu Jielan)Abbreviated reference for practitionersMing dynasty

The pseudepigraphical pattern parallels 《果老星宗》 (Guolao Xingzong) in the 七政四餘 tradition, which was attributed to the mythical Tang Daoist Zhang Guolao but whose earliest printed edition dates to 1593.

Relationship to Horoscopic Traditions

The 12-palace structure of ZWDS invites comparison with Western astrological houses and Indian bhava divisions. Kotyk (2019) provides a direct comparison of Chinese and Western horoscopic frameworks, showing structural parallels in the use of twelve sectors to map life domains[5]. The question of whether ZWDS borrowed its palace framework from Indo-Iranian horoscopy — which entered China through Buddhist channels during the Tang dynasty[6] — or developed it independently from indigenous Chinese cosmological models remains unresolved.

Kotyk (2018) distinguishes between Dorothean (Hellenistic, via Sasanian Persia) and Ptolemaic character in the Chinese reception of foreign astrology, arguing that Chinese horoscopic practice selectively adapted foreign elements rather than importing a complete system[7]. ZWDS may represent one outcome of this synthesis: a fully sinicized horoscopic framework in which the original planetary referents have been replaced by symbolic stars, and the input calendar shifted from solar to lunar.

Smith (1991) situates fortune-telling practices including chart-based divination within the broader intellectual history of Chinese mantic arts[8], while Raphals (2013) provides comparative analysis of Chinese and Greek divinatory epistemologies[9]. Lackner's edited volumes (2018, 2022) provide the most current Western-language scholarship on Chinese divination in its full breadth[10][11].


2. Input Data

ZWDS requires four pieces of information:

InputFormatNotes
Birth yearSexagenary year (干支紀年)Determines the Four Transformations (四化)
Birth monthLunar month (1–12)Intercalary months (閏月) follow special rules
Birth dayLunar day (1–30)Controls 紫微 star placement — the most variable input
Birth hourEarthly Branch (地支, 12 two-hour periods)子 (23:00–01:00) through 亥 (21:00–23:00)

Gender (male/female) is additionally required to determine the direction of the 大限 (Major Limit) luck periods, which advance either clockwise or counter-clockwise through the palaces.

Lunar vs. Solar Calendar

This point deserves emphasis because it is a common source of confusion. BaZi (四柱八字) uses solar terms (節氣) to determine month boundaries — the "month" in BaZi changes at a solar term, not at the new moon. ZWDS uses the lunar calendar — the month changes at the new moon (朔日). The two systems can therefore assign different months to the same birth date, especially for births falling near the boundary between solar terms and lunar months.

Pankenier (2013) provides essential background on the calendrical foundations of Chinese astral science, including the relationship between lunar months, solar terms, and the sexagenary cycle[12].


3. The Computational Method

The ZWDS chart construction follows a fixed sequence of steps. Each step depends on the results of the previous one. The description below outlines the classical method as recorded in 《紫微斗數全書》[4:1].

Step 1 — Fate Palace (命宮) Determination

The Fate Palace is the anchor of the entire chart. Its position among the 12 Earthly Branches is determined by the intersection of birth month and birth hour:

  • Begin at the palace position 寅 (the third Earthly Branch).
  • Count forward (counter-clockwise) by the number of lunar months: month 1 stays at 寅, month 2 advances to 卯, month 3 to 辰, and so on.
  • From the month position, count backward (clockwise) by the number of hour-branches: 子時 stays in place, 丑時 steps back one palace, 寅時 steps back two, and so on.

The resulting Earthly Branch position is the Fate Palace (命宮).

The Body Palace (身宮) uses the same starting logic but counts forward by hour instead of backward, producing a second anchor point used in certain interpretive methods.

Step 2 — Five Element Pattern (五行局)

The Five Element Pattern determines the "局數" (pattern number), which controls how the eponymous star 紫微 is placed. It is derived as follows:

  1. Assign a Heavenly Stem to the Fate Palace's Earthly Branch using the 五虎遁月 (Five Tiger Escape) rule. This rule maps the birth year's Heavenly Stem to a starting stem at 寅, then counts forward through the stems to reach the Fate Palace's branch.

  2. Determine the 納音 (Cycle Element) from the resulting Stem-Branch pair. The 納音 system assigns one of five elements (and a material subtype) to each pair of consecutive sexagenary positions — this is the same 納音 used in traditional Chinese music theory and calendrics.

  3. Map the element to a number:

    Element局數
    水 (Water)2
    木 (Wood)3
    金 (Metal)4
    土 (Earth)5
    火 (Fire)6

This number — the 局數 — is the divisor in the next step.

Step 3 — 紫微星 Placement

This is the signature algorithm of the entire system. The birth day number and the 局數 together determine which palace receives 紫微 (the Purple Sovereign star):

  1. Divide the birth day number by the 局數.
  2. The quotient determines an initial palace position, counting forward from 寅.
  3. If there is a remainder, an alternating forward-backward stepping pattern is applied: the first remainder step goes forward, the second goes backward, the third forward again, and so on, until the remainder is exhausted.

The resulting palace is where 紫微 is placed. Because the birth day ranges from 1 to 30 and the 局數 ranges from 2 to 6, this algorithm produces a rich variety of placements — far more chart variation than BaZi's 60x12x60x12 combinations.

Step 4 — Fourteen Major Stars (十四主星)

Once 紫微 is placed, the remaining 13 major stars follow deterministically. They fall into two groups, each placed by fixed offsets from a reference star:

紫微系 (Purple Sovereign group) — 6 stars, placed counter-clockwise from 紫微:

StarOffset from 紫微
紫微 (Purple Sovereign)0 (reference position)
天機 (Celestial Mechanism)-1
太陽 (Sun)-3
武曲 (Military Melody)-4
天同 (Celestial Unity)-5
廉貞 (Chaste Virtue)-8

Note the gaps: positions -2, -6, and -7 receive no star from this group.

天府系 (Celestial Treasury group) — 8 stars, placed clockwise from 天府:

StarOffset from 天府
天府 (Celestial Treasury)0 (reference position)
太陰 (Moon)+1
貪狼 (Greedy Wolf)+2
巨門 (Giant Gate)+3
天相 (Celestial Minister)+4
天梁 (Celestial Beam)+5
七殺 (Seven Killings)+6
破軍 (Army Breaker)+10

The position of 天府 (Celestial Treasury) itself is determined by a classical axiom: 天府 mirrors 紫微 across the 寅–申 axis. If 紫微 is in 辰, 天府 is in 子; if 紫微 is in 午, 天府 is in 戌; and so on. This mirroring rule is one of the foundational structural principles of the system.

Step 5 — Four Transformations (四化)

The Four Transformations are determined solely by the birth year's Heavenly Stem (天干). Each of the ten stems maps to a fixed 4-tuple of star names, assigning four modifiers:

TransformationChineseEffect
化祿Hua LuProsperity — amplifies the star's positive qualities
化權Hua QuanAuthority — adds commanding, assertive energy
化科Hua KeFame — brings recognition and scholarly attainment
化忌Hua JiTrouble — introduces obstacles, obsession, or loss

For a given birth year stem, exactly four stars receive one transformation each. The transformation is then overlaid on whichever palace that star occupies in the native's chart. This mechanism is what makes charts with identical palace layouts (same month, day, and hour) distinct for different birth years — the 四化 reconfigure the interpretive landscape.

The 四化 system is widely considered the single most important interpretive layer in ZWDS practice, and is the focus of several sub-schools of chart reading.


4. The Twelve Palaces (十二宮)

The 12 palaces are arranged counter-clockwise from the Fate Palace, each governing a specific life domain:

PalaceChineseDomain
命宮Fate PalaceCore personality, life direction
兄弟宮Siblings PalaceSiblings, peers, close associates
夫妻宮Spouse PalaceMarriage, romantic partnerships
子女宮Children PalaceChildren, fertility, subordinates
財帛宮Wealth PalaceMoney, income, material resources
疾厄宮Health PalacePhysical health, illness, disasters
遷移宮Travel PalaceTravel, external environment, public image
交友宮Friends PalaceFriends, social networks, employees
事業宮Career PalaceCareer, profession, achievement
田宅宮Property PalaceReal estate, family inheritance
福德宮Fortune PalaceInner happiness, spiritual life, hobbies
父母宮Parents PalaceParents, authority figures, education

The chart uses the same 4x4 grid layout as 七政四餘 charts, with the four corner cells left empty (or used for summary information) and the 12 perimeter cells representing the palaces. South is at top, following Chinese cartographic convention.

Each palace's Earthly Branch is fixed by its position in the grid. The stars placed within a palace, together with any 四化 transformations, dignity ratings, and auxiliary star influences, form the basis of interpretation.


5. Comparison with BaZi (四柱八字)

ZWDS and BaZi are the two dominant Chinese natal fate-calculation systems. Both use birth time as their primary input, but they differ in almost every other respect:

Dimension紫微斗數 (ZWDS)四柱八字 (BaZi)
Calendar basisLunar (陰曆)Solar terms (節氣)
Output format12-palace visual chart (命盤)Four text-based pillars (四柱)
Core unitsSymbolic stars in palacesHeavenly Stems and Earthly Branches
Day's roleDay number directly controls star placementDay pillar determines the Day Master (日主)
Chart varietyVery high — 30 possible days x 5 局數 values create many distinct placements~518,400 stem-branch combinations (60x12x60x12)
Timing system大限 (decade luck) and 流年 (annual) palace rotation大運 (decade luck) and 流年 (annual) pillar interaction

The "same chart problem" — the fact that people born at the same time and place receive identical charts — affects both systems. In ZWDS, practitioners traditionally invoke the Body Palace (身宮) and minor star variations to differentiate twins; in BaZi, the Day Master's interaction with the current luck period is said to produce divergent outcomes. Neither system has a theoretically satisfying resolution to this issue. Homola (2023) discusses the sociological dimensions of this problem in contemporary Taiwanese practice[13].


6. Contemporary Practice

Taiwan

Taiwan is the primary center of ZWDS scholarship and practice in the contemporary world. The system's popularity surged after the lifting of martial law in 1987, as part of a broader revival of traditional mantic arts. Chu Hai-Yuan has documented the popularity of occultism and fate calculation in Taiwanese society, situating it within the context of rapid modernization and social change[14]. Homola (2023) provides the most detailed ethnographic study of Taiwanese fate-calculation practitioners, covering both ZWDS and BaZi masters, their training, their clientele, and their strategies for professional legitimation[13:1].

Hong Kong and Southeast Asia

Active practitioner communities exist in Hong Kong, Singapore, and Malaysia, where ZWDS is practiced alongside 風水 (fengshui), BaZi, and other Chinese mantic arts. These communities have produced a substantial body of practitioner literature in Chinese, though very little has been translated into English or subjected to academic study.

Mainland China

ZWDS practice was suppressed during the Cultural Revolution (1966–1976) along with other forms of traditional divination. Since the reform era, it has undergone a gradual revival, though it remains less prominent on the mainland than BaZi. Geng Li (2023) provides an ethnographic study of fate-calculation experts in contemporary China, examining how diviners navigate the tension between traditional authority claims and modern demands for social legitimation[15].

Academic Study

Zhang Zhejia's case studies in Chinese xingming (星命, astral fate-calculation) represent one of the few sustained academic engagements with Chinese horoscopic practice from within the sinological tradition[16]. The broader intellectual history of Chinese divination is covered in the Brill Handbook of Divination and Prognostication in China[11:1] and the earlier Coping with the Future volume[10:1].

Despite its enormous popularity among Chinese-speaking practitioners — ZWDS is arguably the most widely practiced form of Chinese horoscopic astrology today — the system has attracted remarkably little attention from Western-language scholars. Ho Peng Yoke's 1993 article remains the only known scholarly study specifically focused on ZWDS's origins and its relationship to astral science[3:2].


7. Open Questions

The following areas require further research and sourcing:

TopicCurrent statusImpact
Pre-Ming textual evidence for ZWDSNo primary sources identified before 16th centuryWould resolve the dating question and Chen Tuan attribution
Auxiliary star placement rules (~100+ stars)Classical texts provide tables; modern sources sometimes disagreeAffects chart accuracy for minor stars
Intercalary month handlingMultiple competing conventions exist among practitionersCharts cast for intercalary month births may differ between schools
天府 mirroring axiom derivationStated as axiomatic in all sources; no derivation offeredUnderstanding the cosmological rationale would illuminate ZWDS's design logic
Indo-Iranian horoscopic influence on the 12-palace structureStructural parallels noted by Kotyk (2019)[5:1] but no direct textual link establishedWould connect ZWDS to the broader Eurasian history of horoscopy
Complete 四化 table verification across all ten stemsPractitioner sources show minor variations for certain stemsDifferent 四化 assignments produce different chart interpretations
Relationship between ZWDS 命宮 and 七政四餘 命宮Both systems use a "Fate Palace" but determine it differentlyComparative study could reveal shared or divergent cosmological assumptions
Song dynasty manuscript evidenceNo Song-era ZWDS manuscripts are known to surviveDiscovery would be transformative for the field


  1. Ho Peng Yoke (何丙郁), Chinese Mathematical Astrology: Reaching Out to the Stars (RoutledgeCurzon, 2003; Needham Research Institute Series). Covers the three cosmic-board divination systems (三式: 太乙, 奇門遁甲, 六壬) and their mathematical structures; provides general background on Chinese astrology but does not treat ZWDS specifically. Routledge. ↩︎

  2. Chen Tuan (陳摶, 872–989 CE), biography in 《宋史》 (History of the Song Dynasty), "陳摶傳." Song dynasty Daoist sage credited with transmitting the Wuji Tu (無極圖) and other cosmological diagrams. The traditional attribution of 紫微斗數 to Chen Tuan is widely repeated in practitioner literature but lacks primary textual support. Wikipedia. ↩︎ ↩︎

  3. Ho Peng Yoke (何丙郁), "「紫微斗數」與星占學的淵源" (The Origins of Ziwei Doushu and Astrology), 《歷史月刊》 (Historical Monthly) 68, 1993. The only known scholarly article specifically examining the origins of 紫微斗數 and its relationship to the broader Chinese astral science tradition. Ho traces the lineage claims and assesses the historical evidence for the Chen Tuan attribution. ↩︎ ↩︎ ↩︎

  4. 《紫微斗數全書》 (Complete Book of Purple Star Astrology) — The most widely circulated classical ZWDS reference. Attributed to Chen Tuan but earliest datable editions are Ming dynasty. Contains the core computational methods, star placement tables, and interpretive guidelines. Chinese Text Project; Archive.org. ↩︎ ↩︎

  5. Jeffrey Kotyk, "Chinese and English Horoscopy in the Sixteenth and Seventeenth Centuries," International Journal of Divination and Prognostication 1(1), 2019. Provides direct comparison of Chinese 12-palace and Western 12-house frameworks, noting structural parallels in the mapping of life domains to chart sectors. Archive.org. ↩︎ ↩︎

  6. Jeffrey Kotyk, Buddhist Astrology and Astral Magic in the Tang Dynasty, PhD dissertation, Leiden University, 2017. Documents the channels through which Indian horoscopic concepts entered China during the Tang dynasty, primarily through Buddhist monastic networks. Archive.org. ↩︎

  7. Jeffrey Kotyk, "The Sinicization of Indo-Iranian Astrology in Medieval China," Sino-Platonic Papers 282, 2018, pp. 1–95. Distinguishes Dorothean (Hellenistic, via Persia) from Ptolemaic character in the Chinese reception of foreign astrology; argues that Chinese horoscopic practice selectively adapted foreign elements. Free PDF. ↩︎

  8. Richard J. Smith, Fortune-tellers and Philosophers: Divination in Traditional Chinese Society, Westview Press, 1991. Comprehensive survey of Chinese mantic arts in their social and intellectual context, including chart-based divination systems. DOI: 10.4324/9780429039799. ↩︎

  9. Lisa Raphals, Divination and Prediction in Early China and Ancient Greece, Cambridge University Press, 2013. Comparative study of divinatory epistemologies in the Chinese and Greek traditions, providing conceptual frameworks for understanding how fate-calculation systems claim knowledge. DOI: 10.1017/CBO9781139507745. ↩︎

  10. Michael Lackner (ed.), Coping with the Future: Theories and Practices of Divination in East Asia, Brill (Sinica Leidensia 138), 2018. Multi-author volume covering divination practices across East Asia, including Chinese horoscopic traditions. Brill. ↩︎ ↩︎

  11. Michael Lackner & Zhao Lu (eds.), Handbook of Divination and Prognostication in China, Brill, 2022. The most comprehensive Western-language reference on Chinese divination, covering historical, textual, and ethnographic perspectives. DOI: 10.1163/9789004514263. ↩︎ ↩︎

  12. David W. Pankenier, Astrology and Cosmology in Early China: Conforming Earth to Heaven, Cambridge University Press, 2013. Essential background on the calendrical and cosmological foundations of Chinese astral science, including the relationship between lunar months, solar terms, and the sexagenary cycle. DOI: 10.1017/CBO9781139017466. ↩︎

  13. Stéphanie Homola, The Art of Fate Calculation in Taiwan: Divination and Society in a Postmodern Country, Berghahn Books, 2023. Ethnographic study of fate-calculation practitioners in contemporary Taiwan, covering both ZWDS and BaZi masters, their professional strategies, client relationships, and the sociological dimensions of the "same chart problem." DOI: 10.1515/9781800738133. ↩︎ ↩︎

  14. Chu Hai-Yuan (瞿海源), "The Popularity of Occultism and Social Change in Taiwan" (台灣的民間信仰與社會變遷), Academia Sinica, Institute of Sociology. Documents the rise of fate-calculation practices in Taiwanese society during the period of rapid modernization and democratization. PDF. ↩︎

  15. Geng Li (耿力), Fate Calculation Experts: Diviners Seeking Social Legitimation in Contemporary China, Berghahn Books, 2023. Ethnographic study of how fate-calculation practitioners in mainland China navigate the tension between traditional authority claims and modern demands for professional credibility. Introduction PDF. ↩︎

  16. Zhang Zhejia (張哲嘉), case studies in Chinese xingming (星命, astral fate-calculation), Academia Sinica, Institute of History and Philology. One of the few sustained academic engagements with Chinese horoscopic practice from within the sinological and history-of-medicine tradition. PDF. ↩︎