Zi Wei Dou Shu (Purple Star Astrology) Chart Calculator
Enter your birth date, birth hour, and sex to generate a twelve-palace chart and see what each star and palace represents.
Enter your birth date and birth hour to see your chart here.
Zi Wei Dou Shu chart
Select any palace to highlight it, its opposite, and the two trine palaces four positions away in either direction. Select it again to clear the highlight.
An empty palace has no major stars. Traditional readings refer to the major stars in the opposite palace.
Each of the Four Transformations has a color and a text label: Lu, Quan, Ke, or Ji.
The small labels beside the major stars show brightness, from strongest to weakest: Miao, Wang, De, Li, Ping, Bu, Xian.
Traditional age starts at 1 in the year of birth and increases by 1 each Lunar New Year.
Time conversion
Saved charts
Calculations run in your browser. Your birth details stay on your device.
How the chart is calculated
The calculator first converts your birth time to a Chinese lunar year, month, and day and a two-hour period. If you enable true solar time, it adjusts the clock time using the birthplace longitude and the equation of time before choosing the period. In Zi Wei Dou Shu, the year starts on the first day of the first lunar month, and months follow the lunar calendar. BaZi uses solar terms for its year and month boundaries.
The lunar birth month and two-hour period determine the Life Palace and Body Palace. Start with month 1 at Yin and count forward to the birth month. From that palace, start at the Zi hour and count backward to the birth hour for the Life Palace or forward for the Body Palace. The Five Tigers rule uses the birth-year stem to assign a Heavenly Stem to each palace. The Na Yin of the Life Palace's stem and branch determines the Five Elements Bureau, which, together with the lunar birth day, determines the position of Zi Wei.
Once Zi Wei is in place, traditional rules position the six major stars of the Zi Wei group and the eight of the Tian Fu group. Auxiliary stars such as Zuo Fu, You Bi, Wen Chang, and Wen Qu are placed by birth year, month, or hour. The birth-year Heavenly Stem determines the Four Transformations using the ten-stem table. The rules follow the San He school common in Taiwan and the tradition of the Complete Book of Zi Wei Dou Shu. We checked the results field by field against an independent open-source calculator using 2,000 randomly generated charts.
Frequently asked questions
Which month should I use if I was born in a lunar leap month?
Schools handle leap months differently. ZiweiMap assigns days 1–15 to the preceding month and days 16 onward to the following month by default. You can also use the preceding or following month for the entire leap month. The month affects the Life Palace, Body Palace, and stars placed by month, including Zuo Fu and You Bi. If you were born in a leap month, you can compare the charts under all three options.
Can I calculate a chart without knowing my birth hour?
A complete chart requires a two-hour birth period. It determines the Life Palace, Body Palace, and stars such as Wen Chang and Wen Qu, so a different period changes the chart. If you know the approximate time, generate a chart for each possible period and compare them.
What are Trines and Oppositions?
In a traditional reading, four palaces are considered together: the selected palace, the one directly opposite it, and the two trine palaces four positions away in either direction. For the Life Palace, those are the Life, Travel, Wealth, and Career Palaces. Select any palace in the chart to highlight its group of four.
Why does my chart differ from one on another site?
Four common reasons are the leap month rule, which day the calculator uses for births after 23:00, whether it corrects for true solar time, and the version of the Four Transformations table. For example, schools assign Hua Ke and Hua Ji differently for Geng years. ZiweiMap uses a table common in Taiwan and explains the birth-time options next to their controls.
Does ZiweiMap tell fortunes?
ZiweiMap calculates charts and explains what each star and palace represents in the tradition. People of the same sex born on the same lunar date and in the same two-hour period have identical charts. Zi Wei Dou Shu cannot predict an individual's future and should not guide important decisions.