What are the Eight Mansions?
The part of feng shui you can compute for a person — and the part that needs someone standing in the room.
The idea
Feng shui (風水) is mostly about a place, and a place has to be measured. But one strand of it starts with the person instead: 팔택 (八宅, Eight Mansions) takes your birth year and sex and derives a single number, your 명괘 or Kua, which answers to one of the eight trigrams. Kua 1, 3, 4 and 9 make up the East group (동사명); 2, 6, 7 and 8 make up the West group (서사명). Each Kua has four directions that suit it, and each of the four has a job: 생기 (生氣) for what you want to grow, 천의 (天醫) for rest and recovery, 연년 (延年) for people, 복위 (伏位) for steadiness.
How Bokki calculates it
Reduce the last two digits of your solar year to a single digit — call it r. A man born before 2000 takes 10 − r, from 2000 onward 9 − r; a woman before 2000 takes r + 5, from 2000 onward r + 6; then reduce again. A result of 5 has no trigram of its own, so it becomes 2 (坤) for a man and 8 (艮) for a woman. East-group Kua draw their four directions from north, south, east and southeast; West-group Kua from west, northwest, northeast and southwest. We checked the formula against eight published anchors — 1963 male → 1, 1972 male → 1, 1980 male → 2, 1985 male → 6, 1994 male → 6, 1994 female → 9, 2000 male → 9, 2004 female → 1 — and all eight agree.
Why we ask for your birthday, not just your birth year
Because “year” is ambiguous here, and the ambiguity can invert your answer. The solar year turns at 立春 in early February, so a birth in January belongs to the previous year — and since the East and West groups alternate, being off by one year can flip your entire set of directions from one half of the compass to the other. The schools genuinely split on this: classical practice uses 立春, while most of the popular Kua tables you will find online use the plain calendar year. Bokki follows 立春, because the rest of our engine does and we would rather be consistent than popular — and when that choice changed your answer, the page tells you it did. One honest edge remains: 立春 falls at an exact hour and we read dates only, so if you were born on 立春 day itself, the hour decides and we cannot tell you which side of it you are on.
What Bokki does not calculate
The building. Real Eight Mansions work measures a house's sitting-and-facing with a 나경 (luopan) on the spot, and no browser can do that — so Bokki never tells you your home is an East-group or West-group house, and never assigns your rooms. We do not do 현공비성 (Flying Stars), which needs the construction period and a facing measured in degrees. And we publish only the four auspicious directions. The tradition names four inauspicious ones as well; we leave those out on purpose, for the same reason we leave out 方位殺 in Nine Star Ki. A direction is a grain to lean with when something matters — which way to set the desk, which way to face in a conversation that counts — and never a rule you are failing by breaking.
Where you meet it
Two places. The Kua page gives you your number, your group and all four directions with what each one is for. The direction page is the practical one — for moving house, or deciding which way the desk or the headboard should point. Your best direction also shows up as one line inside your daily reading, next to your Saju day-master and your Nine Star.
Closing note — eight anchors held, one boundary the calendar draws
In short: a Kua number is two reductions of your birth year deep — 10−r / 9−r for a man, r+5 / r+6 for a woman, split at the year 2000 — checked against eight published anchors and matching all eight. The one place the answer can flip is 立春: because East-group and West-group Kua alternate, a birth in late January that belongs to the previous solar year can send your four directions to the opposite half of the compass, and the page tells you when that happened. What the formula cannot reach is the room itself — no 나경 measurement, no 현공비성, and only the four auspicious directions published, never the four inauspicious ones.