
TL;DR: **Cung phi (mệnh quái) is found by matching birth year and sex to the Lạc Thư table: men count backward, women forward, one palace per year, starting from the first Giáp Tý year of each cycle.** Bát trạch minh kính records: in the upper cycle men start at Khảm 1 and women at the centre 5; in the middle cycle men at Tốn 4 and women at Khôn 2; in the lower cycle men at Đoài 7 and women at Cấn 8. A result of 5 is sent to Khôn for men and Cấn for women. Hiệp kỷ biện phương thư (1741) explains the direction through stars entering the centre; popular books usually print only the table. It is a convention of the Bát Trạch system and has not been verified.
Why do men count backwards and women count forwards when calculating cung phi? The Lạc Thư basis and where the books disagree
What cung phi is, and where Đông tứ mệnh and Tây tứ mệnh come from
Cung phi (mệnh quái) is the trigram among the eight trigrams into which a person is placed according to birth year and gender. The eight trigrams divide into two groups: Khảm, Ly, Chấn and Tốn are the Đông tứ mệnh (East Four); Càn, Khôn, Cấn and Đoài are the Tây tứ mệnh (West Four). The upper volume of Bát trạch minh kính opens with exactly that division: "坎离震巽为东四命,乾坤艮兑为西四命"[1].
The book names Dương Quân Tùng of the Tang dynasty as its author, and was compiled by the Daoist Nhược Quán. The preface is dated the 55th year of Càn Long (1790), so the attribution to Dương Quân Tùng is traditional, not proof that the book dates from the Tang. The preface writer says he did not believe in feng shui, was given two books and a ruler by a Daoist wearing a conical hat woven from sedge, and then compared them with the houses of acquaintances, finding that those whose fate matched flourished and those whose fate clashed declined[1]. That is one man's account, not a statistic.
How cung phi is calculated
Men count backwards, women count forwards, one trigram per year, starting from the Giáp Tý year that opens each nguyên (a nguyên is 60 years). Bát trạch minh kính records: "男之上元甲子起坎,中元甲子起巽,下元甲子起兑……女之上元甲子起中宫,中元起坤,下元起艮"[1]. Hiệp kỷ biện phương thư (1741) records the same starting table[2]. The numbers are the Lạc Thư numbers: 1 Khảm, 2 Khôn, 3 Chấn, 4 Tốn, 5 centre, 6 Càn, 7 Đoài, 8 Cấn, 9 Ly[3].
| Nguyên | Years | Men start at Giáp Tý, counting backwards | Women start at Giáp Tý, counting forwards |
|---|---|---|---|
| Thượng nguyên | 1864 to 1923 | 1 (Khảm) | 5 (centre, sent to Cấn) |
| Trung nguyên | 1924 to 1983 | 4 (Tốn) | 2 (Khôn) |
| Hạ nguyên | 1984 to 2043 | 7 (Đoài) | 8 (Cấn) |
For example, the year Canh Ngọ 1990 is the seventh year of the hạ nguyên (six years after Giáp Tý 1984). Men start at 7, and six steps backwards gives 1 (Khảm, Đông tứ mệnh). Women start at 8, and six steps forwards gives 14, minus 9 leaves 5, which falls in the centre and is therefore sent to Cấn: 8 (Cấn, Tây tứ mệnh). Two people born in the same year, of different sexes, land in two different groups.
There is a shortcut for years from 1900 to 2099 (outside that range you must count with the table above):
- Men born 1900 to 1999: take 100 minus the last two digits, then add the digits until one digit remains. Men born 2000 to 2099: take 9 minus the reduced sum of the last two digits (if it comes out as 0, treat it as 9).
- Women born 1900 to 1999: the last two digits plus 5. Women born 2000 to 2099: plus 6. Then add the digits until one digit remains.
- If the result is 5, men take 2 (Khôn) and women take 8 (Cấn).
Why men count backwards and women count forwards
The books explain it through the movement of the stars into the central palace, not through an independent proof. Hiệp kỷ biện phương thư says that the sequence of stars entering the centre year by year does not itself distinguish men from women; the distinction comes from which star is chosen as the starting point. Place Càn (star 6, the image of the male) at Khảm 1 and you get the men's table. Place Khôn (star 2, the image of the female) at Khôn 2, so that star 5 enters the centre, and you get the women's table[2].
The book's closing line is "年逆者星實順,故男逆行;年順者星實逆,故女順行"[2]. Put plainly: count backwards by year and the stars in the nine palaces are in fact running forwards, hence men "count backwards"; count forwards by year and the stars run backwards, hence women "count forwards". The argument holds within the Lạc Thư system, with the convention that the male is attached to Càn and the female to Khôn.
Nguyễn Vũ Tuấn Anh offers a different explanation: the cung phi table of Bát Trạch is in fact a consequence of the forward and reverse flying star method in Huyền Không, "men fly in reverse, women fly forwards"[4]. This is one author's opinion, not a settled conclusion.
The number 5 sent to Khôn for men and Cấn for women: what the books say
The Lạc Thư has nine numbers but only eight trigrams, so the 5 in the centre must be sent to one trigram. Bát trạch minh kính records that when men counting backwards reach the centre they "寄坤" (send it to Khôn), and when women counting forwards reach the centre they "寄艮" (send it to Cấn)[1]. The book also lists in advance the years that fall on the number 5 in each sixty-year cycle; for men in the thượng nguyên these are Kỷ Tỵ, Mậu Dần, Đinh Hợi, Bính Thân, Ất Tỵ, Giáp Dần and Quý Hợi[1]. These seven years match the counting method above.
The portion of the book that has been checked only records the convention of sending to Khôn or Cấn, and gives no reason. So the explanation often seen in popular books, "to balance Âm and Dương", is a later writer's interpretation and has not been found in the editions checked.
Where the books and lookup tables differ
There are three places that often make two tables give two different results for the same person.
- The year boundary. Many lookup tables cut the year at Tết. Tứ trụ (Four Pillars) changes the year at Lập Xuân (the start of spring); Thiên Lý mệnh cảo (Vi Thiên Lý, 1935) assigns a person born before the hour of Lập Xuân to the previous year[5]. The section of Bát trạch minh kính that has been checked only says to count by Giáp Tý years, and gives no boundary. Nhat Nguyet calculates cung phi from Lập Xuân, and the nominal age (tuổi mụ) from Tết.
- The nguyên boundary. Hiệp kỷ biện phương thư records that later generations had a table off by one nguyên (thượng nguyên starting at Đoài 7, trung nguyên at Khảm 1, hạ nguyên at Tốn 4), and notes that in the 56th year of the Kangxi reign (1717) an edict corrected it and restored the table[2]. Any table that starts from different points than the three in the table above should be treated with suspicion.
- The explanation. Hiệp kỷ explains it by stars entering the central palace[2], Nguyễn Vũ Tuấn Anh by Huyền Không flying stars[4], while many practical books simply print lookup tables with no explanation.
Table of the eight cung phi
| Lạc Thư number | Trigram | Direction | Element of the trigram | Group |
|---|---|---|---|---|
| 1 | Khảm | Due North | Water | Đông tứ mệnh |
| 2 | Khôn | Southwest | Earth | Tây tứ mệnh |
| 3 | Chấn | Due East | Wood | Đông tứ mệnh |
| 4 | Tốn | Southeast | Wood | Đông tứ mệnh |
| 5 | Centre | Central palace | Earth | No trigram: men send it to Khôn, women to Cấn |
| 6 | Càn | Northwest | Metal | Tây tứ mệnh |
| 7 | Đoài | Due West | Metal | Tây tứ mệnh |
| 8 | Cấn | Northeast | Earth | Tây tứ mệnh |
| 9 | Ly | Due South | Fire | Đông tứ mệnh |
How far cung phi can be used
In Bát Trạch, cung phi is used to compare with the direction of the house, the direction of the door and the position of the kitchen according to the eight du niên. That is the convention of one feng shui system; no research has verified that cung phi determines wealth or health. It is best treated as cultural material for reference, and weighed together with light, ventilation, transport and the family's budget.
