ZiweiMap
Menu

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.

Date of birth
Time of birth
Sex and the yin or yang of the birth-year stem determine the direction of the Ten-Year Cycles. Annual Cycles advance clockwise for males and counterclockwise for females.
The name appears in the center so you can tell charts apart. The calculation uses only the birth details and chart settings.
Birthplace

Adjust clock time using the birthplace longitude and the equation of time before selecting a two-hour period. The adjustment matters most near the boundary between periods.

Births from 23:00 to midnight are in the Zi hour. Schools differ on which lunar day to use. Shifting the date by one day can change the position of Zi Wei.

Enter your birth date and birth hour to see your chart here.

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.

GeoNames (CC BY 4.0) ·

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.