What Zi Wei Dou Shu is
The tradition attributes the method to the Song dynasty Daoist Chen Tuan (陈抟); its main texts, such as the 紫微斗数全书, date from the Ming. The chart is a square board of twelve palaces (十二宫), one on each earthly branch: the life palace (命宫), siblings (兄弟), spouse (夫妻), children (子女), wealth (财帛), health (疾厄), travel (迁移), friends (仆役, also 交友), career (官禄), property (田宅), fortune and spirit (福德) and parents (父母). A thirteenth marker, the body palace (身宫), falls on one of the twelve.
Into these palaces go the fourteen main stars (十四主星) led by 紫微 and 天府 — 天机, 太阳, 武曲, 天同, 廉贞, 太阴, 贪狼, 巨门, 天相, 天梁, 七杀 and 破军 — followed by the auxiliary and the inauspicious stars (文昌, 文曲, 左辅, 右弼, 擎羊, 陀罗, 火星, 铃星 and others). Four stars are marked by the stem of the birth year as the four transformations (四化): 化禄, 化权, 化科 and 化忌. Time enters through the decades (大限), each ten years long and each belonging to one palace, and the years (流年).
How the chart is cast
The engine behind this page (the open-source ziwei-doushu engine, MIT licence) casts the chart in these steps:
- Time. The clock time is turned into true solar time from the longitude of the birthplace and the equation of time, and the double-hour (时辰) is taken from that: 子 from 23:00 to 01:00, 丑 from 01:00 to 03:00, and so around to 亥. A true solar time between 23:00 and 23:59 is the late 子 hour (晚子时), and the chart is cast for the next day.
- Calendar. The Gregorian date is converted to the lunar date; the lunar month and day, the year's stem and branch and the double-hour are what the board is built from.
- The life and body palaces. Counting from 寅, the life palace moves forward by the lunar month and back by the double-hour; the body palace moves forward by both.
- The five-element bureau (五行局). The stem and branch of the life palace give it, by the 纳音 of the pair: 水二局, 木三局, 金四局, 土五局 or 火六局. The number is also the age at which the first decade begins.
- The stars. 紫微 is placed from the bureau and the lunar day, and the other main stars follow from it in fixed patterns; the auxiliary stars are placed from the year, month, day and hour; the four transformations are read off the year stem.
- The decades. From the life palace, the decades run forward for men born in a yang year and women born in a yin year, and backward otherwise, ten years a palace.
The brightness of each star (庙, 旺, 得, 利, 平, 不, 陷) follows one table throughout, the one the readings behind the AI were generated with. Without a birth time the chart is cast for the 午 hour and says so.
A worked example
Take a man born on 3 May 1992 at 14:30 clock time in Beijing (longitude 116.4° E). The engine behind this page gives:
- Charting time: true solar time 14:18, about 11 minutes before the clock, which is the 未 double-hour (未时, 13:00–15:00); lunar date: the 1st day of the 4th lunar month of 1992.
- Life palace (命宫): 戌
- Body palace (身宫): 子, which is also the 福德宫
- Five-element bureau (五行局): 金四局, so the first decade (大限) covers nominal ages 4 to 13
- Main stars in the life palace (命宫主星): 天机、天梁, with 天梁 carrying 化禄 of the 壬 birth year
- Zi Wei star (紫微星): 亥
- Four pillars by the solar terms (节气四柱): 壬申 甲辰 己卯 辛未, the same as the Ba Zi chart of this birth
What the form needs
- Date of birth, in the Gregorian calendar.
- Time of birth, if known, as clock time. Without it the chart is cast for the 午 hour (11:00–13:00), and the page says so.
- Birthplace: a province and city of mainland China, or a country and city elsewhere (the world list comes from GeoNames), or any other place by its longitude. It turns the clock time into true solar time, which decides the double-hour.
- The clock's time zone for a birth outside China: the offset the clock actually ran on, daylight saving time included (New York in July is UTC−04:00); the city list fills it in. For a birth in China in 1986–1991, the years of China's own daylight saving time, the page notes it and leaves the hour as entered.
- Gender, which with the year's polarity decides the direction of the decades.
Your birth details are sent to the AI provider that writes the reading; the privacy policy says how they are handled.
How to read the result
The board shows the twelve palaces around the square, each with its stem and branch, its name, its stars with their brightness and any transformation mark, and the ages of its decade; the life palace and the body palace are marked, and the decade you are in is highlighted. Above the board stand the charting day and double-hour, the lunar date, the five-element bureau, the life ruler (命主) and body ruler (身主), and the four pillars by the solar terms; below it the patterns (格局) the engine recognised in the chart, and the conventions it relied on, in words.
The AI reading that follows is given the board and the entries of an open data set of readings for your chart and for the palace you ask about. It is written for reflection, can be wrong, and is not medical, legal, financial or psychological advice. Pro members can also step the board through the decade, year, month, day and double-hour layers of any date, export the board as an image, and compare two charts.
Further reading
- Ba Zi chart: the Four Pillars of the same birth, read from the day master and the Five Elements.
- Zi Wei compatibility: two charts side by side, a Pro feature.
- Articles on Zi Wei Dou Shu, Ba Zi and Feng Shui.
- How the AI consultations work, and what happens to what you enter.