What Ziwei Doushu is
Ziwei Doushu (紫微斗数, "Purple Star Counting") is a Chinese destiny system that rose in the Song dynasty. Where the Four Pillars (Bazi) works from year, month, day, and hour stems-and-branches, Ziwei Doushu plots a far richer set of stars onto a chart of twelve palaces, derived from your exact birth minute.
It is often called the "Emperor's calendar" (帝王之术) because, historically, its detailed methods were closely held. Today it is one of the two great birth-chart traditions of Chinese metaphysics, sitting alongside the Four Pillars (Bazi) tool.
The twelve palaces
A Ziwei chart is a fixed wheel of twelve palaces (十二宫), each governing an area of life: self, siblings, spouse, children, wealth, health, travel, friends, career, property, blessings, and parents. The palaces do not move; what moves through them are the stars.
Reading the chart means reading which stars fall in which palace for you — a structure that rewards patient study far more than a one-line summary.
The main stars
At the centre sits the Emperor star, Ziwei (紫微), the "polar" star around which the others arrange themselves. Around it move a cast of major stars — Tianfu, the sun and moon, the seven killing stars, the scholar stars — each with a temperament and a set of meanings.
The ten gods of the Four Pillars are a different vocabulary, but the instinct is similar: a small set of archetypes combined across a chart to describe a life's texture.
How a chart is set up from your birth moment
The method begins with the "sheng xiao" and the precise birth time, then places the Ziwei star using a fixed reckoning of the heavenly stems and earthly branches. The remaining stars fall by rule. Because it depends on the birth minute, the tradition treats an accurate birth time as essential.
This is the practical difference from the Four Pillars: Bazi needs the birth hour; Ziwei Doushu wants the minute. Both are explored through the Four Pillars guide and the day master concept on this site.
Ziwei Doushu and the Four Pillars compared
Think of the two as different lenses on the same birth moment. The Four Pillars gives you a tight, element-and-god reading built on five elements and ten gods; Ziwei Doushu gives you a sprawling, star-and-palace map rich in nuance.
Many practitioners learn both. If you want to start with the tighter system, the Four Pillars tool will build your chart from just your birth date and hour, and the luck cycles guide explains how both traditions read timing across a life.
How to begin studying it
Begin with the twelve palaces and the nature of the six or seven major stars, then learn how the Ziwei star is located. Only later take on the secondary stars and the "transformation" (化) stars that shift with the heavenly stem.
As with all of these traditions, the reliable path is to read a chart slowly, against the classical descriptions, rather than to chase a single dramatic conclusion.
When you are ready to see a chart laid out, the Ziwei Doushu tool on this site builds your twelve palaces and major stars from your exact birth time.