
TL;DR: Cung phi (mệnh quái) in Bát Trạch is calculated by lunar birth year, distinguishing male and female and the three yuan. For people born 1930-1959 and 2006-2030, you can use the digit-sum formula on the birth year and then look up the table, or consult the Hợp Nhà table directly. Books such as Bát trạch minh kính and Dương trạch tam yếu differ on the starting point and on handling the number 5, so cross-check when using.
How to calculate cung phi for people born 1930-1959 and 2006-2030: formula, examples and the Tet or Lập Xuân year boundary
What is cung phi (mệnh quái) and which year is it calculated by?
Cung phi is one of the eight trigrams Càn, Khảm, Cấn, Chấn, Tốn, Ly, Khôn, Đoài that the Bát trạch books assign to each person according to birth year and gender. Each trigram corresponds to a number from 1 to 9 on the Lạc thư. The four trigrams Khảm, Ly, Chấn, Tốn are the Đông tứ mệnh (eastern four destinies), and the four trigrams Càn, Khôn, Cấn, Đoài are the Tây tứ mệnh (western four destinies)[1].
The preface of Bát trạch minh kính, in the edition with a preface dated the 55th year of Càn Long (1790), states plainly: "东四命宜居东四宅,西四命宜居西四宅" (those of the Đông tứ mệnh should live in Đông tứ trạch houses, those of the Tây tứ mệnh should live in Tây tứ trạch houses)[1]. The book bears the name Dương Quân Tùng; tradition attributes it to him, modern scholarship has not proved it.
By what rule do the books calculate cung phi?
Both Bát trạch minh kính and Dương trạch tam yếu (Triệu Cửu Phong) divide 180 years into three nguyên, each nguyên 60 years following the Giáp Tý cycle. Within each nguyên, each year one trigram enters the central palace of the Lạc thư: males go counter-clockwise, females go clockwise. The usual explanation is that the qi of the trigrams runs through the Cửu cung year by year, and since males belong to yang they go counter-clockwise, while females belong to yin and go clockwise.
Bát trạch minh kính records this in a verse, including the passage:
> "上元甲子一宫连,中元起巽下兑间;上五中二下八女,男逆女顺起根源。"[3]
That is: the thượng nguyên Giáp Tý starts at palace 1 (Khảm), the trung nguyên starts at Tốn, the hạ nguyên starts at Đoài (this is for males); females start at 5, 2, 8 according to each nguyên. Another verse in the same book concerns the number 5: "男五寄坤女寄艮" (for males the number 5 is lodged in Khôn, for females the number 5 is lodged in Cấn)[2]. Dương trạch tam yếu copies the same convention in its section Tam nguyên mệnh quyết[4].
According to the Giáp Tý cycle, Giáp Tý 1924 opens the trung nguyên and Giáp Tý 1984 opens the hạ nguyên. Therefore people born 1930-1959 belong to the trung nguyên, and people born 2006-2030 belong to the hạ nguyên.
How does the digit-sum formula work?
The digit-sum formula is a later simplification of the counter-clockwise and clockwise rule above, not the wording of the books. The method: add the last two digits of the birth year, keep adding until a single digit remains, call it X (if the last two digits are 00 then X = 0). Each following year X increases by 1, so the male number decreases by 1 and the female number increases by 1, exactly matching the counter-clockwise and clockwise rule.
The last two digits return to 00 in the year 2000, so the formula shifts by one unit:
| Person born | Male | Female |
|---|---|---|
| 1930-1959 (trung nguyên) | 10 - X | X + 5 |
| 2006-2030 (hạ nguyên) | 9 - X | X + 6 |
If the result is greater than 9, add its digits; if it is 0 or less, add 9. If the result is the number 5, then according to the books males go to Khôn (2) and females to Cấn (8)[2]. Numbers are looked up on the Lạc thư: 1 Khảm, 2 Khôn, 3 Chấn, 4 Tốn, 6 Càn, 7 Đoài, 8 Cấn, 9 Ly.
Four examples
- Male born 1985: last two digits 85, 8 + 5 = 13, 1 + 3 = 4, so X = 4. Male takes 10 - 4 = 6, Càn, Tây tứ mệnh.
- Female born 1955: 5 + 5 = 10, 1 + 0 = 1, so X = 1. Female takes 1 + 5 = 6, Càn, Tây tứ mệnh.
- Male born 2010: last two digits 10, X = 1. Male takes 9 - 1 = 8, Cấn, Tây tứ mệnh.
- Female born 2024: 2 + 4 = 6, so X = 6. Female takes 6 + 6 = 12, 1 + 2 = 3, Chấn, Đông tứ mệnh.
Table of cung phi for some representative birth years
The table below is the output of the Nhat Nguyet calculation core, computed by the year given in the first column. Years not in the table are calculated with the formula above.
| Year used for cung phi | Male | Female |
|---|---|---|
| 1930 (Canh Ngọ) | Đoài (7) | Cấn (8) |
| 1935 (Ất Hợi) | Khôn (2) | Tốn (4) |
| 1940 (Canh Thìn) | Càn (6) | Ly (9) |
| 1945 (Ất Dậu) | Khảm (1) | Cấn (8) |
| 1950 (Canh Dần) | Khôn (2) | Khảm (1) |
| 1955 (Ất Mùi) | Ly (9) | Càn (6) |
| 1959 (Kỷ Hợi) | Khôn (2) | Khảm (1) |
| 2006 (Bính Tuất) | Chấn (3) | Chấn (3) |
| 2010 (Canh Dần) | Cấn (8) | Đoài (7) |
| 2015 (Ất Mùi) | Chấn (3) | Chấn (3) |
| 2020 (Canh Tý) | Đoài (7) | Cấn (8) |
| 2024 (Giáp Thìn) | Chấn (3) | Chấn (3) |
| 2030 (Canh Tuất) | Càn (6) | Ly (9) |
If born in January or February of the solar calendar, which year is used?
The most common point of divergence is the year boundary. The widespread way in Vietnam is to take the lunar year, changing the year at the first day of Tet. Many feng shui masters instead take Lập Xuân (around 4 February) as the boundary, because feng shui orders the year by solar terms. Bát trạch minh kính does not state this boundary clearly, so this is a place where practices differ, not a place where the books contradict each other.
For a person born before Tet, both ways give the previous year. For a person born from Tet to Lập Xuân, the two ways can give two different trigrams. For example, a male born 28/1/1990: by Tet the year is 1990, Khảm (1); by Lập Xuân the year is 1989, Khôn (2). Hợp Nhà calculates cung phi by Lập Xuân.
Where else do the books differ?
The two books Bát trạch minh kính and Dương trạch tam yếu share the three nguyên and share the convention for the number 5, so on cung phi they do not contradict each other. The difference lies in presentation: Bát trạch minh kính records it in verses counted on the fingers, while Dương trạch tam yếu records it in the "Tam nguyên mệnh quyết" table listing the can and chi of each year[4].
A larger difference lies in how cung phi is used. Bát trạch minh kính matches cung phi against the house direction to read the eight du niên: Sinh Khí, Thiên Y, Diên Niên, Phục Vị (the four auspicious) and Họa Hại, Lục Sát, Ngũ Quỷ, Tuyệt Mệnh (the four inauspicious)[5]. Dương trạch tam yếu treats the door, the master (main chamber) and the kitchen as three elements that must be considered together, and only then matches them against the Đông and Tây tứ trạch groups[6].
What should be kept in mind when using the result?
- Ask clearly which year boundary (Tet or Lập Xuân) applies if the person was born in January or February of the solar calendar.
- Cung phi is only one part of Bát trạch. The shape of the land, light, ventilation and the actual way of living in the house matter no less.
- This is the view of one feng shui school, and no research has shown that cung phi determines wealth or health. It is best treated as a cultural reference point when choosing a house, not as a substitute for practical decisions about housing.
