Skip to content

A living Chinese tradition · a Ming manual, attested from 1581

Zi Wei Dou Shu

紫微斗數, the twelve-palace chart of Chinese astrology

Twelve palaces and a cast of named stars, laid out by counting rules from the lunar date and hour of your birth.

Your Zi Wei Dou Shu reading, $4.99. Includes this system's raw data. Written for you by AI. Read a sample. Charts and the written text are free in every account.

Your Zi Wei Dou Shu chart is read from the Life Palace outward: born on 19 January 1989 at 19:17 in Ann Arbor, the twelfth day of the twelfth lunar month, the sample person has the Life Palace in 卯 and Zi Wei in 未, and each palace shows its major stars, the birth year's transformations and the decade it holds.

The method rests on the 紫微斗數全書, a Ming manual attributed to Chen Tuan and attested from 1581; every rule in it is arithmetic on calendar numbers.

The twelve palaces, from the Life Palace

  1. 命宮 Life

    武曲 利 七殺 旺

    卯 · 2–11

  2. 兄弟宮 Siblings

    天同 利 天梁 廟

    寅 · 112–121

  3. 夫妻宮 Spouse

    天相 廟

    丑 · 102–111

  4. 子女宮 Children

    巨門 旺

    子 · 92–101

  5. 財帛宮 Possessions, Body 身

    廉貞 陷 貪狼 陷 祿 右弼 科

    亥 · 82–91

  6. 疾厄宮 Health

    太陰 旺 權

    戌 · 72–81

  7. 遷移宮 Travel

    天府 旺

    酉 · 62–71

  8. 交友宮 Friends

    申 · 52–61

  9. 官祿宮 Career

    紫微 廟 破軍 旺

    未 · 42–51

  10. 田宅宮 Property

    天機 廟 忌

    午 · 32–41

  11. 福德宮 Wellbeing

    巳 · 22–31

  12. 父母宮 Parents

    太陽 旺

    辰 · 12–21

  13. 戊辰 year, month 12, day 12; 戌時 19:00-21:00

    Life Palace 乙卯; bureau 水二局, Water 2

    Body Palace in 亥; Zi Wei in 未

    Life Master 文曲, Body Master 文昌

The 戊 year's transformations: 貪狼化祿、太陰化權、右弼化科、天機化忌, the last character shown beside the star. Brightness: 廟 brilliant, 旺 strong, 得 gaining, 利 beneficial, 平 neutral, 不 weak, 陷 fallen. Ages are decades in nominal years, running forward.

The tradition's reading of this period, not a prediction of events, and not advice on health, money, legal matters or relationships.

Figure 1. The twelve palaces of a fictional person born on 19 January 1989 at 19:17 in Ann Arbor, Michigan, with a male chart. By the lunar calendar the birth falls on the twelfth day of the twelfth month of the 戊辰 year, in the 戌 double hour: the Life Palace (outlined) is 卯, the bureau Water 2, and Zi Wei stands in 未. Each palace shows its major stars with their brightness, the transformations of the 戊 year, and the ten-year decade it holds, in nominal years. Method: the 紫微斗數全書's placement rules. Lunar-new-year boundary; leap month split at the 15th; 23:00 counts as the next day; clock time with daylight saving removed and no solar-time correction; the common transformation table; decades from the Life Palace, forward for this chart.
On this page
  1. How it works
  2. Origins and history
  3. The fourteen major stars
  4. Variants and what we leave out
  5. Myths and disputed claims
  6. Stories and lore
  7. Evidence and criticism
  8. Terms
  9. Sample reading
  10. Sources

How it works

A Zi Wei Dou Shu chart is a square board of twelve cells around an empty centre, one cell for each of the twelve earthly branches, 子 to 亥, with 寅 at the bottom left as charts draw it (Figure 1). Everything on the board is found by counting from the birth date and hour on the Chinese lunar calendar; no position in the sky is looked up.

What you enter. The birth date and clock time, the time zone of the birthplace, and the chart gender, which sets the direction of the decades. Today's date gives the current layers.

The calendar. The date is converted to the lunar calendar, and the year and its stem and branch turn at the lunar new year (正月初一), not at the solar term 立春 that BaZi uses. A birth in a leap month counts as the month it repeats on days 1 to 15 and as the next month from the 16th, the modern majority rule, traced to 王裁珊's 斗數宣微. The 全書 itself counts the whole leap month as the next: 「又若閏月正月生者要在二月內起安身命,凡有閏月具要依此為例」, a birth in a leap first month is set up in the second month, and every leap month likewise.

The hour. The clock time is taken as civil time, with daylight saving removed by the time-zone history of the birthplace (China 1986 to 1991, Taiwan 1946 to 1979, Hong Kong to 1979, and every other country that used it); no correction for true solar time is made. The double hour runs from 子 (23:00 to 01:00) to 亥, and a birth from 23:00 to 23:59 counts as the 子 hour of the next day, with the whole lunar date moved on.

Without a time, no hour is assumed. The result then holds twelve candidate boards and the facts that do not depend on the hour: the year, its transformations and the stars placed by year and month. An assumed hour would give the right board for about one person in twelve.

The board. The Life Palace (命宮) is found by counting: from 寅 as the first month, forward to the birth month, then back by the hour. The Body Palace (身宮) counts forward by the hour instead, so it can only fall in the Life, Spouse, Possessions, Travel, Career or Wellbeing palace; it marks one of them and is not a thirteenth palace. From the Life Palace the twelve run counter-clockwise in the 全書's order, with our names, which are the chart's:

Palace Our name What the tradition reads there
命宮 Life the self: temperament, outlook, the chart's direction
兄弟 Siblings brothers, sisters and close peers
夫妻 Spouse partnership (the 全書 writes 妻妾)
子女 Children children, the young, what one makes or nurtures
財帛 Possessions possessions and how one handles them, read as attitudes
疾厄 Health the body, in the tradition; here energy, habits and strain
遷移 Travel life away from home, and the outer world
交友 Friends friends, colleagues and staff (the 全書's 奴僕, "servants")
官祿 Career work, vocation and standing
田宅 Property home, the family base and the places one keeps
福德 Wellbeing contentment, leisure and tastes (literally "blessings and virtue")
父母 Parents parents, mentors and elders

Each palace takes a stem by the 五虎遁 rule from the year stem, and the Life Palace's stem and branch, through their nayin element, give the bureau (五行局), from Water 2 to Fire 6: the number the placing of the stars turns on.

The fourteen major stars. 紫微 is placed by the borrowed-days rule: borrow the fewest days that make the lunar birth day a multiple of the bureau number, count the quotient from 寅, then step back by the borrowed days if they are odd and forward if they are even. The 全書 gives no formula, only a verse and a thirty-day diagram for each bureau; on 13 October 2026 we parsed the five diagrams, and the rule agrees with all 148 legible entries. 天府 mirrors 紫微 across the 寅–申 axis. The other twelve follow at fixed distances, as the 全書's verse 安南北斗諸星訣 gives them:

紫微天機逆行旁,隔一陽武天同當,又隔二位廉貞地,空三復見紫微郎。天府太陰與貪狼,巨門天相及天梁,七殺空三破軍位,八星順數細推詳。

In our translation: Zi Wei, and Tian Ji beside it, counted backward; skip one for the Sun, then Wu Qu and Tian Tong; skip two more for Lian Zhen; three empty, and Zi Wei comes round again. Tian Fu, the Moon and Tan Lang, Ju Men, Tian Xiang and Tian Liang, Qi Sha, three empty, then Po Jun: eight stars counted forward, worked out with care. (Juan 2 is transcribed in simplified characters on Wikisource; we quote it in traditional ones.)

The other stars. Six supportive stars are placed by month (左輔, 右弼), hour (文昌, 文曲) and year stem (天魁, 天鉞); six challenging stars by year stem (擎羊 and 陀羅, either side of 祿存), by the triad of the year branch counted on by the hour (火星, 鈴星), and by hour (地空, 地劫); 祿存 by year stem and 天馬 by year branch; 38 minor stars by the 全書's verses; and four cycles of twelve (長生, 博士, 將前, 歲前). How many stars a chart needs is a matter of school; the "108 stars" of popular books is a round figure.

Brightness. The fourteen major stars and six others take one of seven levels in each branch, from Brilliant (廟) through Strong (旺), Gaining (得), Beneficial (利), Neutral (平) and Weak (不) to Fallen (陷), by the 全書's table, which is identical cell for cell to iztro's.

The four transformations (四化). The stem of the birth year turns four stars: one takes 化祿 (Lù, shown on our chart as prosperity and read as flow and opportunity), one 化權 (Quán, authority), one 化科 (Kē, recognition) and one 化忌 (Jì, obstruction, read as a focus of attention rather than a warning). We use the common table of most software, which reads 戊 右弼化科, 庚 太陰化科 and 壬 左輔化科; schools differ at those stems. Each palace's own stem also sends a set of transformations into other palaces (飛化); we show these as a layer and say that the method is modern.

Masters. The Life Master (命主) is the star the 全書 keys to the Life Palace's branch, and the Body Master (身主) the one it keys to the birth year's branch. They do not depend on the bureau.

Decades and years. The decades (大限) begin in the Life Palace, the first at the bureau number in nominal years (虛歲), and run forward for a yang-year male or yin-year female chart and backward otherwise; for anyone not male or female the chart gives both directions, labelled, because no source has a rule. The minor limit (小限) moves one palace a year, and the current year's palace is the one of its branch, with the year stem's own transformations. The tradition's rule of thumb is that the natal chart sets the tone, the decade the direction and the year the events.

What we compute and what we leave out. The chart prints the lunar date, the Life and Body palaces, the bureau, the masters, the four transformations, every palace with its stars, brightness, cycles, decade and flying transformations, the decades, the current decade, minor limit and year, and a line naming every convention. It does not judge the classical patterns (格局) that the texts and modern catalogues list, and it repeats none of the text's pronouncements on rank, kin, the body or length of life.

Origins and history

The name is first dated 1581, and the book printed under Chen Tuan's name is a Ming manual; the star names and the lore of the Dipper are far older.

When Who What happened
Sui (581 to 618) 蕭吉, 五行大義 Quotes the 黃帝斗圖 for the names of the seven Dipper stars, 貪狼 to 破軍, each with the birth branches "belonging" to it: branch for branch the 全書's later Life Master table.
Early Tang (649 to 684) The Dunhuang star atlas The oldest complete star atlas known draws the 紫微 enclosure round the pole and the Northern Dipper below it (Figure 2).
Tang to Song Buddhist translators Indian divinatory systems reach China with Buddhism and, in one historian's words, greatly influence Chinese astrology, this method included.
Died 989 Chen Tuan 陳摶, 希夷先生 A Daoist recluse of Mount Wudang and Mount Hua, received by two emperors. The Song History names his works, and no star text among them.
By 1445 The Daoist canon The Northern Dipper scripture repeats the seven names; the Southern Dipper scripture names six lords, 天府, 天相, 天梁, 天同, 天樞 and 天機.
Dated 1550 A preface signed 羅洪先 The book's own story of a young Daoist on Mount Hua, eighteen generations from Chen Tuan. A 2021 study concludes that Luo did not write it.
1581 Unknown 紫微斗數捷覽: the earliest dated use of the name.
Wanli era (1573 to 1620) Printers in Jianyang and Nanjing Two commercial lines of the 紫微斗數全集; the Nanjing one signed 大宋華山希夷陳圖南著. No Song, Yuan or early-Ming catalogue mentions the system.
1607 Zhang Guoxiang, 50th Celestial Master The canon's Wanli supplement prints a 紫微斗數 in three juan: a different system that starts from the four pillars and lays eighteen flying stars on palaces named after the twelve zodiac signs.
Qing Commercial printers Woodblock reprints. The 全書 on Wikisource, which we quote, is labelled Qing there.
1910s to 1930s 王裁珊 斗數宣微 and 斗數觀測錄; the Shanghai lithograph 全書, ancestor of the modern Taiwanese reprints.
1971 to 1979 Publishers in Taiwan, Hong Kong and Japan Printed 全書 editions and new manuals; 張耀文 and 佐藤六龍 publish the 透派 methods in Japan.
1981 to 1987 慧心齋主, 鍾直霖, 了無居士, 紫雲 The Taiwanese publishing wave that made the system a mass practice.
1985 on 王亭之 (談錫永, 1935 to 2024); 蔡明宏; 梁若瑜 (2000) 王亭之 makes the Zhongzhou school (中州派) public in Hong Kong, with its own transformation table; the self-transformation and flying-star methods reach print, though neither is in the old texts.
2023 SylarLong and contributors; Stéphanie Homola iztro, the open-source engine behind most web charting tools; and an ethnography of fate calculation in Taipei, Beijing and Kaifeng, with this method one of the two commonest in Taiwan.
2026 EsoTerrier The engine rebuilt on the 全書 rules on 9 October, checked against iztro on 44,195 charts.
A hand-drawn Chinese star map on aged paper: stars as small black, red and outlined dots joined into groups, each named in ink; a ring of stars along two curved walls encloses the pole and the groups around it, the seven stars of the Northern Dipper lie in a curve below the walls, and further groups surround them.
Figure 2. The north polar map of the Dunhuang star atlas (Or.8210/S.3326), drawn in the early Tang, probably between 649 and 684: the oldest complete star atlas known from any civilisation. Round the pole office 北極 sit the stars of the Purple Palace, enclosed by the two curved walls of the 紫微 enclosure, and below them the Northern Dipper. The stars are coloured for the three old star catalogues. Zi Wei Dou Shu takes its name from this enclosure and several star names from the Dipper; it reads none of these stars. At the upper right, the last words of the preceding map's text. c. 649 to 684. British Library, Or.8210/S.3326 (International Dunhuang Project, via Wikimedia Commons), CC0 1.0.

The scholarly picture, in short, is a Ming manual printed commercially under a Song name, on a star lore with Indian elements that Buddhism carried into China. The name was loose enough in 1607 for the Daoist canon to use it for a different method.

The fourteen major stars

The fourteen major stars (主星) carry most of the weight in a reading. Each has its own page: its characters and names, how it is placed, the 全書's element, Dipper seat and epithet, its brightness in each palace, the year stems that transform it, the text's own lines on it, and the claims made about it. They are listed in the order of the placing verse, in their two series.

Ten of the names are Dipper names. 貪狼, 巨門, 廉貞, 武曲 and 破軍 are five of the seven Northern Dipper stars as the Sui 五行大義 already names them; 天府, 天相, 天梁, 天同 and 天機 are five of the six lords of the Daoist Southern Dipper scripture. 紫微 is the pole enclosure, 太陽 and 太陰 are the Sun and Moon, and 七殺 is in neither scripture. The 全書 seats the stars in the two Dippers by its own count, which does not follow the two series. On the star pages, a namesake star is always called symbolic: the chart reads none of them.

Variants and what we leave out

The rules are classical; the conventions are not agreed. We name ours on every chart and describe the others so you can recognise them.

  • Schools. The three-harmony school (三合派) reads the full star set through the triad and opposite and the classical patterns. The flying-star school (飛星派) reads palace-stem transformations on about eighteen stars. The self-transformation systems add 自化 and trim the star set. The Zhongzhou school (中州派) has its own transformation table, keys the Life Master by the year branch and adds stars of its own. The 透派, published in Japanese from 1971, has conventions we have not read. Chinese Wikipedia records that the flying-star and self-transformation methods are not in the old texts. We compute the three-harmony chart, with flying transformations as a layer.
  • Transformation tables. 化祿 and 化權 agree everywhere. The tables differ at 戊 (右弼 or 太陽 takes 化科), at 庚, where nine variants are on record, and at 壬 (左輔 or 天府). The Wikisource 全書 verse reads 庚日武陰同 and 壬梁紫府武, so it parts from the common table at 壬. We use the common table and name it.
  • Brightness. Seven levels (the 全書's, ours and iztro's), four levels in other tables, the Zhongzhou tables, and the 全書's own list of idle palaces, which contradicts its table in places. One teacher holds that brightness matters little except for the Sun and Moon.
  • The year at 立春. Some practitioners turn the year at 立春 as BaZi does. That changes the year, the Life Palace, the bureau and the transformations for births between the lunar new year and 立春. Documented, not our default.
  • The 23:00 hour as the same day or the next. Under the other rule, 91 percent of late-hour births get a different position for Zi Wei.
  • Leap months as the next month (the 全書), the same month, or split at the 15th (ours).
  • The time basis. True solar time is offered by a few apps and rejected by others; the Zhongzhou lecture notes convert every birthplace to Luoyang mean time; a minority leaves daylight saving in. For a birth in Ürümqi at 03:00 Beijing time, true solar time (about 00:44) gives a wholly different board. We use civil time without daylight saving and plan solar time as an option the chart flags.
  • Births abroad. Local civil time and the local date, mapped to the Chinese calendar, not Beijing time. Near a new moon the Japanese, Korean and Vietnamese calendars can give another day.
  • The first decade starts one palace from the Life Palace in the 全書's verse (陽男陰女從命前一宮起順行), and in the Life Palace in mainstream practice, the Zhongzhou notes and iztro, as in ours. Some count decades in actual years instead of nominal ones.
  • Smaller conventions. The Life Master by the year branch (Zhongzhou), which is how the Sui 五行大義 and the Northern Dipper scripture assign the same seven stars; one Void star or two; 天馬 by month; the Body Master for 子 and 午 years, which the 全書's verse writes 火玲 and we give as 火星.
  • Gender. Every tool offers male and female only, and no source gives a rule for anyone else. We compute both directions and label them.
  • Readings we do not take. Modern authors' pattern catalogues and star texts, which are in copyright; the readings of the cycle stars beyond their names; and the text's verdicts on rank, kin, the body and the length of life.

Myths and disputed claims

What is said about Zi Wei Dou Shu, who says it, and what the record shows. The label is ours.

  • Chen Tuan created Zi Wei Dou Shu in the Song.

    told as lore

    Who says it: The book's own preface and title page; most introductions; our earlier page.

    What the record shows: A transmission story the book tells of itself. The Song History lists his works and no star text; no Song, Yuan or early-Ming catalogue mentions the system; the name is first dated 1581. We say "attributed to Chen Tuan".

  • Luo Hongxian wrote the preface dated 1550.

    disputed

    Who says it: The preface, which is signed in his name; most histories.

    What the record shows: The one peer-reviewed study of the Daoist works under Luo's name concludes that none is his; a Daoist school's history finds the preface first in the late-Qing and Republican lithographs.

  • The system was a secret of the emperors, kept by the court astronomers for centuries.

    false

    Who says it: English marketing pages, and our own earlier page.

    What the record shows: Ming editions were printed by commercial printers, the 1550 preface wants the book shown "to all the world", and the Daoist canon printed a text under the name in 1607.

  • The system has been practised for ten centuries.

    disputed

    Who says it: Most popular introductions, by way of Chen Tuan.

    What the record shows: About 450 years are documented, from the 1581 title, on a star lore that is much older.

  • The chart is fixed on the star at the celestial pole, and Zi Wei is that star.

    false

    Who says it: Our earlier page; many English introductions.

    What the record shows: The name is borrowed from the 紫微 enclosure round the pole. The 全書 places the star by arithmetic on the lunar day and the bureau; nothing is observed.

  • The fourteen major stars are the stars of the two Dippers, read where they stand in the sky.

    disputed

    Who says it: Popular introductions, and our earlier page.

    What the record shows: Ten names are Dipper names, but every star is placed by counting. 紫微 is the enclosure, 太陽 and 太陰 the Sun and Moon in name only, and 七殺 is in no Dipper scripture.

  • The system needs, and our engine applies, a correction to true solar time.

    false

    Who says it: Our earlier page; some apps offer it.

    What the record shows: Neither the 全書 nor most practice uses solar time, and our engine takes clock time with daylight saving removed, as the chart says. Solar time is a minority option.

  • Our engine computed the chart without any error, to astronomical precision.

    false

    Who says it: Our own earlier page.

    What the record shows: Until 9 October 2026 the engine put ten of twelve palaces in the wrong cells. Agreement with iztro now shows that we apply a named convention, nothing more.

  • Zi Wei Dou Shu outdoes BaZi in detail and in esteem.

    unverified

    Who says it: Our own catalogue line until October 2026.

    What the record shows: A comparison with no measure. Practitioners in Taiwan treat the two as the commonest methods side by side.

  • The Health Palace foretells bodily harm, and the chart can warn of losses in given years.

    unverified

    Who says it: The 全書 itself, many practitioner sites, and our old page writer.

    What the record shows: The tradition says so. Here the palace is a life area.

Others we never repeat: an accuracy of 75 to 90 percent for timing events, which has no source; the four transformations as a Song innovation, which no Song text of the system exists to show; a Tang origin blending Chinese, Daoist and Hellenistic star lore, when nothing dates the system before the Ming; "108 stars", a round figure; and 福德 as a palace of earlier lives, when it means blessings and virtue.

Stories and lore

The stories below are told as the tradition tells them.

The meeting on Mount Hua. The preface at the head of the 全書 tells it in the first person. The writer gives up his post to seek the Way, climbs Mount Hua to the shrine of Master Xiyi, and on the way down meets a young Daoist, old in bearing, who brings out a book: 「希夷公紫微斗數集也」, "Master Xiyi's Zi Wei Dou Shu collection". He cannot at first follow how the stars are laid out, but tests the book on his own birth and finds it 「毫髮不爽」, not a hair off, and resolves to show it to all the world. The young man, he says, was eighteen generations from Chen Tuan and twenty-six years old. The preface is dated spring 1550 and signed by Luo Hongxian; its authorship is rejected by the one study of it.

Chen Tuan. The Song History's recluse: a prodigy who failed the examinations, lived in a cave on Mount Wudang and then on Mount Hua, gave up grain for more than twenty years, was received by two emperors and named 希夷先生, and announced the month of his own death in 989. Later tradition made him the source of this system.

Lü Dongbin's gift. "It is also said" that the immortal Lü taught the method to Chen Tuan. The Song History has a plainer story: a recluse from west of the passes, over a hundred years old with a child's face, whom the world took for an immortal, often came to Chen Tuan's studio. It says nothing of what they talked about.

The opening of the 太微賦. The 全書's first verse begins 「斗數至玄至微,理旨難明」: the numbers of the Dipper are most profound and most subtle, their principles hard to make plain. Its stars are 「分布一十二垣,數定乎三十六位」, spread over twelve enclosures and fixed in thirty-six positions, and 紫微 「司一天儀之象,率列宿而成垣」, governs the image of the whole celestial sphere and leads the ranks of stars into their enclosure. The court of the sky is the text's own image, and the reason the star is called the Emperor.

The general and the tiger. The 全書's verse on form and nature draws each star as a character, and borrows from the classics to do it: 七殺 is 「如子路暴虎馮河」, like Zilu, the disciple of Confucius, who would fight a tiger bare-handed and ford a river on foot, and 火星 and 鈴星 are like Yu Rang, the retainer who swallowed charcoal and feigned dumbness to take revenge.

The eighteen flying stars. The 1607 text in the Daoist canon is a different system under the same name, with its own star officials and the four pillars at its base. Practitioners call it the ancestor of the modern chart; the thesis that compared the two treats them as separate lines.

A secret of the emperors? The story that the system was kept for emperors and hidden by the court astronomers is a modern marketing tale; we found it in English web copy and in our own 2026 page, and in no older source.

王亭之. Tam Shek-wing took his pen name from the saying 姑妄言之,姑妄聽之, "speak it idly, hear it idly". A Buddhist scholar, painter and newspaper columnist, he made the Zhongzhou school public in Hong Kong from 1985, learned the system from 劉惠蒼, and died in Toronto on 26 October 2024.

Evidence and criticism

No study tests the system. We found no controlled study of Zi Wei Dou Shu's claims about character or events, and one would be hard to design: the chart is fixed by the lunar date, the double hour and the chart gender, so everyone born in the same double hour with the same gender shares it. The accuracy figures in marketing have no source.

The text's date. The Fo Guang thesis found no mention of the system in Song, Yuan or early-Ming bibliographies; the one peer-reviewed study of the preface rejects Luo's authorship; the earliest dated use of the name is 1581.

The text's quality. Reading the Wikisource edition, our research found a probable copying error in the 天魁 verse, a contradiction between the idle-palace list and the brightness table, and rules no modern implementation follows (天府 化科 in a 壬 year, decades starting one palace away, the whole leap month as the next). Our parse of the Zi Wei diagrams found one more slip: the Wood 3 diagram writes the ninth day in two palaces and leaves out the fifth. Wikisource has no juan 4 and names no source edition. Popular histories go further than the evidence: one charting site dates the 太微賦 to the Southern Song without a source.

The scholarship's stance. Homola studies fate calculation as a practice, a field of knowledge without academic standing, and learned the method herself to understand its practitioners; Ho Peng Yoke treats the older state systems and notes the Daoist canon's text. Neither evaluates whether the system is true.

The tradition's own debates are about conventions: the 23:00 hour, the leap month, the year boundary, solar time, the 庚 and 壬 transformations, how many brightness levels there are and whether brightness matters, where the first decade starts, and how many stars a chart needs. The commonest question on forums is why two tools give different charts, and the answer is always one of these.

What our checks show, and do not. Agreement with iztro and with an independent reference implementation on 44,195 charts shows that the engine applies the convention it names. Our first engine placed ten of the twelve palaces in the wrong cells, and our old page promised a precision nothing supported.

Names and marks. We found no trade-mark registration for the plain terms Zi Wei Dou Shu, Purple Star Astrology or 紫微斗數 in the US, international or Taiwanese registers. Some branded names used for charting tools and schools are registered marks, and we do not use them. Our catalogue line until October 2026 compared the system with BaZi in a way nothing measured; it has been replaced.

Terms

Palace (宮)
One of the twelve cells of the board, each tied to an earthly branch and named for a field of life. Never "house", which is a Western borrowing.
Life Palace (命宮)
The palace of the self, found by counting from 寅 forward to the birth month and back by the hour. The other eleven run counter-clockwise from it.
Body Palace (身宮)
A marker on one of six palaces, counted forward by the hour. The tradition reads it beside the Life Palace as what comes to the fore with maturity; no age is a rule.
Bureau (五行局)
Water 2, Wood 3, Metal 4, Earth 5 or Fire 6: the nayin element of the Life Palace's stem and branch, with the number the placing of Zi Wei turns on.
Major star (主星)
One of the fourteen stars placed from Zi Wei and Tian Fu, which carry most of a reading. Each has its own page.
Series (星系)
The two groups of major stars, counted backward from Zi Wei or forward from Tian Fu. A placement grouping, not a grouping by Dipper.
Brightness (廟旺)
A star's strength in a branch, on seven levels from Brilliant (廟) to Fallen (陷), by the 全書's table.
Four transformations (四化)
化祿, 化權, 化科 and 化忌, given to four stars by the stem of a year or a palace. Shown on our chart as prosperity, authority, recognition and obstruction, and read as emphases.
Flying transformations (飛化)
The transformations a palace's own stem sends into other palaces; a self-transformation (自化) when the star stands in that palace. A modern method, worded so as not to be confused with the Flying Stars of feng shui.
Life Master and Body Master (命主, 身主)
The stars keyed to the Life Palace's branch and to the birth year's branch by two short verses of the 全書.
Decade (大限)
One palace's ten years, from the Life Palace onward, the first starting at the bureau number in nominal years. Not BaZi's luck pillars, though the direction rule is the same.
Minor limit (小限)
A palace for each year of life, moving one palace a year from the start of the birth year's triad.
Triad and opposite (三方四正)
A palace read together with the two palaces four apart from it and the one facing it across the board.
Nominal age (虛歲)
Age counted from one at birth and raised at each lunar new year, the count the decades are given in. Actual age (實歲) is counted from the birthday.

Sample reading

Sample reading, AI-written for a fictional person.

Read the sample (1,312 words)

AI output can be wrong.

The General Who Counts the Cost

Jason, your Life Palace sits at 乙卯 and holds two stars together: 武曲 Wu Qu, the Warrior, literally "martial tune," standing at 利 Beneficial, and 七殺 Qi Sha, the Marshal, a star whose name speaks of the blade, at 旺 Strong, with 左輔 the Left Aide beside them. The opposite palace, 遷移宮 Travel at 辛酉, holds 天府 Tian Fu, the Treasury, also Strong, and your triad closes through 紫微 Zi Wei, the Emperor, Brilliant in the 官祿宮 Career palace, and through your Body Palace in 財帛宮 Possessions.

The tradition reads this as a temperament built for decisions. The 全書 calls Wu Qu the most exacting and tightly wound of operators, metal of a decisive heart, and it calls Qi Sha the Dipper's senior general, a lone star of success and failure, cool in manner and metal in spirit. Two metal natures in one palace do not deliberate for long. Your mind sorts a situation into what is worth holding and what can be cut, and it does so faster than the people around you would like.

You have likely sat in a meeting while someone circled the same three options for twenty minutes. You had chosen in the first two. What you felt was not boredom, exactly. It was a kind of physical restraint, the effort of keeping your face neutral while the decision you had already made waited for everyone else to arrive at it. Others feel this in you. They often find you reassuring in a crisis and slightly alarming in a calm.

The 全書 likens Qi Sha's temperament to Zilu, who would fight a tiger bare-handed and ford a river on foot: fierce eyes and a courage that does not stop to measure the water. The Left Aide softens the solitude of it. Help comes to you, and practitioners hold that this star brings the steady supporter who makes a general's plans actually happen.

The Appetite Under the Armour

Your Body Palace, the palace the tradition reads as what you grow into and live through, falls in 財帛宮 Possessions at 癸亥. It holds 廉貞 Lian Zhen, Integrity, literally "upright and chaste," and 貪狼 Tan Lang, the Wolf, a star named for hunger and appetite, both 陷 Fallen. Tan Lang carries 化祿, the emphasis of flow, and 右弼 the Right Aide carries 化科, the emphasis of recognition. 紅鸞 sits with them.

This is the second current running under the armour, and it is warm where the Life Palace is cold. The 全書 makes Tan Lang the star of peach blossom: desire, charm, appetite, a learner of unusual arts and a lover of song, drink and company. In the Body palace it treats Lian Zhen as another star of attraction standing beside Tan Lang, a hot and wilful fire that turns to confinement when it is not bright. Here both are fallen, which the text reads as appetite that drifts with the waves, loves and hates that are hard to fix.

So the decisive operator in your Life Palace lives inside a body that wants. It wants experience, beauty, the evening that runs late, the skill nobody else bothered to learn. With 化祿 on the Wolf, that wanting moves easily; doors open to it. With 化科 on the Right Aide, it is seen and remembered. People know you for your appetites as much as for your discipline, and some of them like the appetites better.

Because this sits in the palace of possessions, the tradition reads your relationship to what you hold as a matter of desire rather than arithmetic. You do not accumulate coldly. You acquire what has charged you, and what you keep tells the story of what you once burned for.

Where Discipline and Hunger Argue

The 全書 says plainly that Wu Qu likes Lu Cun as a partner and Tian Fu and Tian Xiang as deputies, and that it should not be paired with Tan Lang or Po Jun. Your chart places both of the stars it warns against in your Life Palace's own triad: Tan Lang in the Body Palace, and 破軍 Po Jun, the Pioneer, a star whose name speaks of scattering ranks, Strong beside the Emperor in the Career palace.

That is your central tension. The exacting metal of Wu Qu wants order, measure, a ledger that balances. Tan Lang wants more than the ledger allows. Po Jun wants to tear the ledger up and begin again. The tradition does not read this as a flaw to be corrected. It reads it as a mind that argues with itself in three voices: the one that conserves, the one that craves, and the one that clears.

The trap is the swing. A long stretch of iron discipline, then a release that overturns the whole structure, then guilt that hardens into a stricter discipline than before. Qi Sha, a star the text calls harsh rather than kind, makes the swings sharp. Lian Zhen fallen adds a fire that, in the text's words, is fond of anger and quarrel when it feels confined. The cost is that the people close to you may never be sure which of you will arrive.

The steadying force sits opposite you. Tian Fu, the Treasury and the commanding star, faces your Life Palace from the Travel palace at Strong, and it is one of the deputies Wu Qu prefers. The tradition reads this as a reserve you find out in the world, among strangers and in unfamiliar places, where your appetite settles into stewardship. Away from home ground, you are often at your most composed.

There is also Zi Wei, Brilliant, in your triad. The 全書 says Qi Sha becomes authority and blessing beside the emperor, and practitioners read the emperor's presence in the triad as the general meeting a sovereign worth serving. When you work for something larger than your own impulse, the harshness turns to command.

Ten Years of Tending the Home Ground

You are in the decade of ages 32 to 41, which falls in the 田宅宮 Property palace at 戊午. It holds 天機 Tian Ji, the Strategist, literally "heavenly mechanism," Brilliant, carrying 化忌, with 擎羊 the Ram at Fallen. This decade's stem is 戊, the same as your birth year, so its transformations repeat your natal ones exactly, and the 化忌 lands on the very palace the decade occupies.

The tradition reads this as a decade whose attention gathers on the home ground: the household, the base you return to, the inner rooms of your life. Tian Ji is the planner and adviser, and 化忌 is a focus of attention, the place your mind will not leave alone. With the Ram beside it, the planning can turn on itself. You may find you rehearse the arrangements of your own life far more than a Warrior and Marshal ever rehearsed anything else. The general who decides in two minutes elsewhere can spend months on the shape of his own house.

The present year, 丙午, runs until the next lunar new year, and its palace is again Property. Its 化權 falls on Tian Ji in that same palace, so the tradition reads authority arriving where the anxiety has been: the year asks you to stop advising yourself and govern. Its 化忌 falls on Lian Zhen in your Body Palace, so the fallen fire of wilfulness draws attention this year. The tradition would watch your temper, your pride, and the feeling of being confined. Its 化祿 brings flow to 天同 Tian Tong, Harmony, in your Siblings palace, the gentle star of blessing; the people beside you as equals are where ease is found.

Practitioners say the natal chart sets the tone, the decade the direction, the year the events. Your tone is decisive; your direction, for these ten years, is inward; and this year's weather presses on the heat in you.

Write down one plan for your home ground on a single page, set a review date a season away, and refuse to revise it before that date. Let the Strategist hold authority without the Ram turning every evening into another redraft.

Sources

Primary texts (9)
  1. 紫微斗數全書, juan 1 to 3, attributed to Chen Tuan; a Ming manual, the text labelled Qing on Wikisource, which names no source edition. Chinese Wikisource transcription; our translations. zh.wikisource.org/wiki/紫微斗數全書
  2. The preface dated 1550 (嘉靖庚戌) and signed 羅洪先, at the head of juan 1 of the 全書. Chinese Wikisource. zh.wikisource.org/wiki/紫微斗數全書/卷一
  3. 宋史 (Song History, 1345), juan 457, the biography of Chen Tuan. Chinese Wikisource, Siku Quanshu text. zh.wikisource.org/zh/%E5%AE%8B%E5%8F%B2_(%E5%9B%9B%E5%BA%AB%E5%85%A8%E6%9B%B8%E6%9C%AC)/%E5%8D%B7457
  4. 紫微斗數, three juan, in the Wanli supplement to the Daoist canon (1607). Chinese Wikisource. zh.wikisource.org/wiki/紫微斗數
  5. 太上說南斗六司延壽度人妙經, the Daoist Southern Dipper scripture. Chinese Wikisource. zh.wikisource.org/wiki/太上說南斗六司延壽度人妙經
  6. 太上玄靈北斗本命延生真經, the Daoist Northern Dipper scripture. Chinese Wikisource. zh.wikisource.org/wiki/太上玄靈北斗本命延生真經
  7. 蕭吉, 五行大義 (Sui, 581 to 618), juan 4 and 5, quoting the 黃帝斗圖 for the names of the seven Dipper stars. Chinese Wikisource. zh.wikisource.org/wiki/五行大義/4
  8. 論語 (the Analects), 述而, the passage on 暴虎馮河. Chinese Wikisource. zh.wikisource.org/wiki/論語/述而第七
  9. The Dunhuang star atlas, British Library Or.8210/S.3326, the north polar map; digitised by the International Dunhuang Project and released under CC0 (Wikimedia Commons). commons.wikimedia.org/wiki/File:Dunhuang_Star_Chart_BLX273_OR8210S3326R2_8.jpg
Studies and other sources (28)
  1. Jean-Marc Bonnet-Bidaud, Françoise Praderie and Susan Whitfield, "The Dunhuang Chinese sky: a comprehensive study of the oldest known star atlas", Journal of Astronomical History and Heritage 12 (2009): 39 to 59. arxiv.org/abs/0906.3034
  2. Stéphanie Homola, The Art of Fate Calculation: Practicing Divination in Taipei, Beijing, and Kaifeng. Berghahn, 2023 (the introduction, read in full). berghahnbooks.com/downloads/intros/HomolaArt_intro.pdf
  3. Ho Peng Yoke, Chinese Mathematical Astrology: Reaching Out to the Stars. Routledge, 2003 (known from its catalogue description). books.google.com/books/about/Chinese_Mathematical_Astrology.html?id=FHBCyHgKkMwC
  4. 廖維駿, a Fo Guang University MA thesis on the Buddhist, Daoist and Yijing sources of the 紫微斗數全書 (read at abstract level). ndltd.ncl.edu.tw/r/5eq57j
  5. 陳昭吟, "道經中署名羅洪先之著作考辨", 成大中文學報 75 (2021): 33 to 74 (read at abstract level). lawdata.com.tw/tw/detail.aspx?no=459393
  6. A Taiwanese Daoist school's essay on the history of Zi Wei Dou Shu, from the 全書 to the modern schools (lius.cc; facts only). lius.cc/n/custom/%E7%B4%AB%E5%BE%AE%E6%96%97%E6%95%B8%E6%BA%90%E6%B5%81%E8%80%83_%E5%BE%9E_%E7%B4%AB%E5%BE%AE%E6%96%97%E6%95%B8%E5%85%A8%E6%9B%B8_%E5%88%B0%E4%B8%AD%E5%B7%9E%E6%B4%BE_%E5%8D%97%E5%8C%97%E5%AE%97%E7%9A%84%E5%91%BD%E7%90%86%E8%A1%93%E6%95%B8%E5%8F%B2%E8%88%87%E7%95%B6%E4%BB%A3%E5%88%86%E6%94%AF%E7%94%9F%E6%85%8B
  7. "紫微斗數", the Taoist Culture and Information Centre database (道教文化中心資料庫). zh.daoinfo.org/wiki/%E7%B4%AB%E5%BE%AE%E6%96%97%E6%95%B8
  8. "紫微斗數", Chinese Wikipedia (orientation, dates and the history of the schools). zh.wikipedia.org/zh-tw/紫微斗數
  9. "Zi Wei Dou Shu", English Wikipedia (orientation and the English names). en.wikipedia.org/wiki/Zi_Wei_Dou_Shu
  10. "Chen Tuan", English Wikipedia (orientation; the traditional birth year). en.wikipedia.org/wiki/Chen_Tuan
  11. "Tam Shek-wing" (王亭之), English Wikipedia, with the Sing Tao obituary of October 2024. en.wikipedia.org/wiki/Tam_Shek-wing
  12. University of Pennsylvania Libraries catalogue: two books by 鍾直霖, Tainan, 1982. find.library.upenn.edu/catalog/997160423503681
  13. National Diet Library catalogue: books on 紫微斗數 from 1971 to 1979, and the works of 張耀文 and 佐藤六龍. ndlsearch.ndl.go.jp/api/opensearch?title=%E7%B4%AB%E5%BE%AE%E6%96%97%E6%95%B0&from=1960&until=1979
  14. A Taiwanese charting site's history page, cited only for a dating it gives without a source. starkami.com/articles/history-of-ziwei
  15. SylarLong and contributors, iztro 2.6.1, an open-source Zi Wei Dou Shu library (MIT licence), our test oracle; nothing of it ships. github.com/SylarLong/iztro
  16. Airic Yu, fortel-ziweidoushu 1.3.4 (MIT licence), an implementation of the Zhongzhou rules (facts only). github.com/airicyu/fortel-ziweidoushu
  17. Lecture notes of the Zhongzhou school's elementary course, on placing the stars and fixing the birth date and hour (facts only). vlee0610.pixnet.net/blog/posts/3036341986
  18. 王亭之 on the 庚 transformations and on why the Aides never take 化科, as reported on haozh.com (facts only). haozh.com/post/64.html
  19. click108.com.tw, a teaching page with the four-transformation table (facts only). click108.com.tw/teaching/teach011.php
  20. LifeDNA, notes on the year boundary, the leap month and the 子 hour in its charting tool (facts only). lifedna.com.tw/t/map/f
  21. senjutsu.jp, tables of the four transformations by school, and the calendar disputes (facts only). senjutsu.jp/labo/shibitosuu/shika-taishou
  22. zhiming.io, its help page on the theories of the 子 hour (facts only). zhiming.io/fanti/help/zi-hour-theory
  23. A practitioner's table of the five-phase and yin-yang attributes of the major stars, 2018 (facts only). hansyuan0715.pixnet.net/blog/posts/17238043287
  24. A practitioner's teaching page on the fourteen major stars, 2021 (facts only). 88say.com/default.aspx?uclId=doc%5Bpq%5Ddoc&id=4863
  25. IANA Time Zone Database, the "asia" file (tzdata 2026c), for the daylight-saving history of China and Taiwan. raw.githubusercontent.com/eggert/tz/main/asia
  26. Hong Kong Observatory, "Summer Time", the daylight-saving history of Hong Kong, 1941 to 1979. hko.gov.hk/en/gts/time/Summertime.htm
  27. Taiwan Intellectual Property Office, trade-mark search records, searched 9 October 2026. cloud.tipo.gov.tw/S282/S282WV1
  28. USPTO and WIPO Global Brand Database trade-mark searches, 9 October 2026. branddb.wipo.int
Our own research (4)
  1. EsoTerrier, Zi Wei Dou Shu research: the calculation, the schools, the conventions and the naming, 9 to 13 October 2026.
  2. EsoTerrier calculation engine, the Zi Wei Dou Shu service and its documentation.
  3. EsoTerrier web app: the calculation catalogue line and the placement-page records.
  4. EsoTerrier, the Zi Wei Dou Shu page as it stood until October 2026 and the retired page writer's notes (cited only as the source of the claims they made).

By EsoTerrier. Written with AI assistance from our research and checked against its sources; last revised 19 October 2026. How we write these pages.

First published ; last revised . Corrections: support@esoterrier.com.

Chinese quotations are from public-domain texts as transcribed on Chinese Wikisource (CC BY-SA 4.0); the translations and readings are EsoTerrier's own.