The Five-Element Bureau
The Five-Element Bureau (五行局) is a placement key on a Zi Wei Dou Shu (紫微斗数) chart. On Sibyl it is read from the Ming Palace's stem–branch pair, and it is then used with the lunar day to place the Zi Wei star (紫微). This page is that derivation and that placement rule. It does not interpret the bureau as a character, an element score, or a forecast. How the Ming Palace pair itself is found is on How the Ming Palace Is Found. The two star series that follow from Zi Wei's position are on The Fourteen Major Stars.
Sibyl's Zi Wei calculator uses this method.
The live calculator's English short labels for the five bureaus are Water · 2, Wood · 3, Metal · 4, Earth · 5, and Fire · 6, each displayed with the Chinese bureau name (for example Wood · 3 · 木三局). The table's “Water Two Bureau” wording is a traditional explainer form, not a claim that the UI label is unofficial or unofficially wrong.
The bureau is a placement key, not a score
Once the Ming Palace has a Heavenly Stem and an Earthly Branch, that pair is looked up in the traditional NaYin (纳音) layer. The element of that NaYin name selects one of five bureaus, each with a fixed number. The number is the divisor used to place Zi Wei. It is not a ranking of the chart, and it is not a favourable-element assessment. Sibyl shows it as a structural label.
From the Ming Palace pair to a NaYin element
NaYin groups the sixty valid stem–branch pairs into thirty traditional names, two pairs at a time. Each name carries one of the five elements. The complete thirty-name table is on BaZi NaYin; this page does not copy that list. It only uses the element of the Ming Palace pair.
The Ming Palace pair is a sexagenary coordinate, the same kind of pair described on The Sixty-Pair Sexagenary Cycle. The year stem that fed the palace stem is the Lunar New Year stem, which can differ from a BaZi Year Pillar; see Zi Wei Birth Hour: The Zi Hour Rollover.
*Fictional example chart, not a personal record:* a Ming Palace of 壬午 (Ren-Wu). On the NaYin table, 壬午 is paired with 癸未 and named 杨柳木 (Willow Wood). The element is Wood.
The five bureaus
The element maps to a bureau and a number as follows. The numbers are traditional and fixed: Water 2, Wood 3, Metal 4, Earth 5, Fire 6 (水二、木三、金四、土五、火六).
| NaYin element | Bureau | Number |
|---|---|---|
| Water | Water Two Bureau (水二局) | 2 |
| Wood | Wood Three Bureau (木三局) | 3 |
| Metal | Metal Four Bureau (金四局) | 4 |
| Earth | Earth Five Bureau (土五局) | 5 |
| Fire | Fire Six Bureau (火六局) | 6 |
In the 壬午 example, Wood gives Wood Three Bureau, number 3.
How the bureau and the lunar day place Zi Wei
Sibyl places Zi Wei from the bureau number and the lunar day (after late-Zi rollover and any other date convention described on Zi Wei Birth Hour: The Zi Hour Rollover). The traditional mnemonic is "divide the day by the bureau number; count the quotient from Yin" (局数除日数,商数从寅起). The complete rule, including a remainder, is:
Let D be the lunar day number and B the bureau number (2, 3, 4, 5, or 6).
- Divide D by B. If D divides evenly (remainder 0), start at the Yin (寅) palace and count the quotient palaces forward along 寅, 卯, 辰, …, treating Yin as 1. Zi Wei sits in that palace. If the quotient is larger than 12, wrap around (subtract 12 until the count is between 1 and 12).
- If there is a remainder R, form a complement K = B − R. Add K to D so the sum divides evenly by B. The new quotient is (D + K) / B. From Yin, count that new quotient palaces forward, again treating Yin as 1. Call the palace you land on the base.
- Then move from the base by K palaces: backward if K is odd, forward if K is even. That palace is Zi Wei's position.
The lunar day used here is the day after Sibyl's late-Zi and leap conventions have been applied. A school that does not roll late Zi can produce a different day number and a different Zi Wei position, even when the Ming Palace and the bureau stay the same; Zi Wei Birth Hour: The Zi Hour Rollover has that contrast.
Worked examples
All three are fictional example charts, not personal records. Each was hand-counted with the rule above.
Even division. Lunar day 26, Water Two Bureau (B = 2). 26 ÷ 2 = 13, remainder 0. Count 13 from Yin: 13 wraps to 1, which is Yin. Zi Wei is in 寅. (This is the 16 April 2023, Wu-hour chart on the Zi hour page, after the leap-month cut.)
Odd complement. Lunar day 17, Wood Three Bureau (B = 3), from a Ming Palace of 壬午 as above. 17 ÷ 3 = 5 remainder 2. The complement K is 1, which is odd. The completed quotient is 18 ÷ 3 = 6. The 6th palace from Yin is 未 Wei. K is odd, so count 1 backward: 午 Wu. Zi Wei is in 午. (16 August 2000, Yin hour, 17th day of the seventh month.)
Even complement. Lunar day 1, Wood Three Bureau. 1 ÷ 3 = 0 remainder 1. K = 2, even. The completed quotient is 3 ÷ 3 = 1. The 1st palace from Yin is 寅. K is even, so count 2 forward: 卯, then 辰. Zi Wei is in 辰 Chen. (22 January 2023, Wu hour, the first day of the first lunar month.)
A further odd-complement case, with K = 3, follows the same backward-by-K step: lunar day 17, Earth Five Bureau gives K = 3, a base at 巳, and Zi Wei three palaces back, in 寅. The direction is always the full complement, not a single step.
Once Zi Wei is placed, Tian Fu (天府) is mirrored across the Yin–Shen axis, and the two star series are filled. That is the next page: The Fourteen Major Stars.
What the bureau is not
The bureau is not a personality type, an element-strength score, or a forecast of health, wealth, or events. A Wood Three Bureau does not mean that a person "is Wood," and it is not a luck rating. It is the number used to place Zi Wei, not the BaZi Five Elements relationship cycle; that is a different question, on Five Elements in BaZi. Sibyl shows structure and does not interpret.
Frequently asked questions
How is the Five-Element Bureau determined?
Take the Ming Palace's stem–branch pair, read its NaYin element from the NaYin table, and map that element to the bureau number: Water 2, Wood 3, Metal 4, Earth 5, Fire 6.
What does "divide the day by the bureau" mean when the day does not divide evenly?
Complete the day to the next multiple of the bureau. Count that new quotient from Yin. Then move by the complement: backward if the complement is odd, forward if it is even. The 17th-day Wood Three example above is a complement of 1; the 1st-day Wood Three example is a complement of 2.
Is the bureau a judgement of the chart?
No. It is a placement key. Sibyl does not treat it as a score or a verdict.