Kua Number Calculator (Eight Mansions)

Share:
Chinese Culture & Almanac

Kua Number Calculator (Eight Mansions)

八宅命卦 + 8 directions

By Checked against sources by Last reviewed CHINESE METAPHYSICS FENG SHUI
Your browser is too old for this tool’s interactive features. Please update to Safari 13.1, Chrome or Edge 80, Firefox 74 or newer.

Kua Number Calculator (Eight Mansions)

⚠️ This tool is for cultural reference only. Not feng-shui, lifestyle, or real-estate advice. Combine with practical considerations + professional opinion.

📅 Research current as of 03 Nov 2026 · Sources: Formula, the no-5 rule, every direction and the door grades read from the Ming Yangzhai Shishu (陽宅十書) as printed in the Qing Gujin Tushu Jicheng, 卷675-676, on Chinese Wikisource. The book names no year boundary; 立春 is this tool's cut, dated by the site's lunisolar calendar calculation.
Standards, published formulas, and reference data are revised over time — check against a current authoritative source before relying on these figures.
Advertisement
After results · AD-W1 Responsive

How to use

Enter birth year

Use the Gregorian year. If you were born in January or early February, add the month and day: this tool turns the year at 立春 Lìchūn (about 3 to 5 February), counts a birth before it in the previous year, and says under the fields which side you fall on.

Pick gender

Kua formula differs: male = 11 − (digit-sum); female = 4 + (digit-sum). If the result is 5, it becomes 2 (male) or 8 (female).

Read your kua

Output is a 1-9 number (never 5). Also shows your group — East Four (1/3/4/9) or West Four (2/6/7/8).

Read the sectors

Four good sectors (Sheng Qi, Tian Yi, Yan Nian, Fu Wei) and four bad ones (Huo Hai, Wu Gui, Liu Sha, Jue Ming), each with the star the book gives it, then the doors and stove the book names for your trigram. To grade a particular house, use the House Direction Analyzer.

Kua Number / Eight Mansions: Chinese Home Feng Shui

The Kua Number system (命卦, also "Eight Mansions" / 八宅) is a core concept in one major Chinese feng-shui school. From a person's birth year + gender, it derives a number from 1-9 (skipping 5), then maps each kua to the 8 compass directions, dividing them into 4 auspicious + 4 inauspicious groups. The system informs bedroom orientation, desk-facing, front-door direction, and similar interior-design choices.

East Four vs West Four groups

Kuas 1, 3, 4, 9 are East-Four (东四命) — auspicious directions are East, Southeast, South, North. Kuas 2, 6, 7, 8 are West-Four (西四命) — auspicious are West, Northwest, Southwest, Northeast. There is no kua 5 — when the formula yields 5, males become 2 and females become 8. The Ming-era Yangzhai Shishu (陽宅十書, reprinted in the Qing encyclopedia Gujin Tushu Jicheng) says a man’s 5 lodges in 坤 and a woman’s in 艮.

The four auspicious directions

Sheng Qi (生氣), Tian Yi (天乙, also written 天醫), Yan Nian (延年) and Fu Wei (伏位) are the four good sectors, and the book pairs each with a star: 貪狼, 巨門, 武曲 and 輔弼. Modern books often gloss them as wealth, health, longevity and stability. This tool leaves those glosses out: it lists the book’s names and door grades, and it promises no outcome.

"Those whose kua is 震, 巽, 坎 or 離 are East-Four; those whose kua is 乾, 坤, 艮 or 兌 are West-Four." — Yangzhai Shishu (陽宅十書)

Disclaimer

The Kua Number system is part of Chinese cultural tradition. This tool computes results from the public algorithm only — it is not professional feng-shui, lifestyle, or real-estate advice. We respect readers' cultural choices but recommend prioritising practical comfort, household needs, and physical space constraints in real decisions. For professional guidance, consult a local feng-shui practitioner. The system has strong traditional uptake in ASEAN Chinese communities (especially Malaysia, Singapore, Indonesia); use this tool as a cultural reference, not a binding instruction.

Advertisement
After how-to · AD-W2 Responsive

There is no Kua 5, because the centre has no direction

01

The Yangzhai Shishu opens with the lie of the land, not with trigrams: 若大形不善,總內形得法,終不全吉, if the large form is poor, even a well-ordered interior is not wholly good. The kua is one part of the book, not all of it.

02

Kua 5 never appears — 5 is the centre of the Luoshu nine-palace square, which has no compass direction. The Yangzhai Shishu lodges a man’s 5 in 坤 (2, southwest) and a woman’s in 艮 (8, northeast).

03

East-Four and West-Four are not an even split: a computed 5 always lands in West-Four (2 for men, 8 for women), so for either sex 5 of every 9 birth years are West-Four, about 56%.

04

The Yangzhai Shishu counts by the 甲子 year, and 卷675-676 do not say which day a year starts. This tool turns it at 立春 Lìchūn (about 3 to 5 February), the same cut as the bazi year pillar, not at lunar new year.

05

When husband and wife have different kuas, the Yangzhai Shishu settles it by the husband’s: 大抵夫婦福德不同,則當以夫為主耳.

06

The four good sectors do not rank the same for everyone. In the Yangzhai Shishu’s door lists, 坎 rates its southeast Sheng Qi door 上上吉, while 離 gives that grade to its southeast Tian Yi door and lists its Sheng Qi door (east) third.

07

The inauspicious directions are not simply avoided: the Yangzhai Shishu puts the kitchen stove and the grain mill in them, for one house placing the stove in the northeast Wu Gui (五鬼) sector and calling it 大吉.

08

Each kua’s eight sectors come from the Yangzhai Shishu’s mnemonic rhymes, such as 坎五天生延,絕禍六 for 坎. This tool fills its table by walking those rhymes round the compass.

Frequently Asked Questions

  • This tool does. The Yangzhai Shishu counts by the 甲子 year and 卷675-676 name no boundary, so we use 立春 (about 3 to 5 February), the bazi year-pillar cut, rather than lunar new year, which moves between late January and mid-February. Enter your month and day and the tool decides. If you were born on the day itself, tick whether it was before the moment of 立春, Beijing time.

  • 1=坎 (Water), 2=坤 (Earth), 3=震 (Thunder), 4=巽 (Wind), 6=乾 (Heaven), 7=兑 (Lake), 8=艮 (Mountain), 9=离 (Fire) — each kua is a trigram from the I-Ching.

  • From the Ming-era Yangzhai Shishu: it divides time into 60-year eras (上元, 中元, 下元) and counts each birth year from a fixed palace, backwards for men and forwards for women (in an 上元 甲子 year a man starts at 坎 1, a woman at 5), lodging a 5 in 坤 for men and 艮 for women. The familiar "11 minus for men, 4 plus for women" is a modern shortcut; this tool uses it, and we checked it against the book’s rule for every year from 1504 to 2099 with no differences.

  • Results are pure algorithmic output, not professional advice. RECATOOLS does not accept responsibility for real-estate, renovation, or personal decisions based on this tool. Combine with common sense, household needs, and professional consultation.

  • Common: if partners’ birth years were unrelated, about 49% of couples would be one East-Four and one West-Four (2 × 4/9 × 5/9). The Yangzhai Shishu says which bay each takes and settles it by the husband’s kua (大抵夫婦福德不同,則當以夫為主耳); relatives in separate courtyards each go by their own year (各隨生年定居).

  • No. All computation happens in your browser. What you enter stays there and is not sent to our servers.

  • Two sources of variance: (1) the year boundary. Some calculators use the Gregorian year and some the lunar new year; this tool uses 立春, so a January or early-February birth can differ by a year. (2) This tool follows the book’s rule that a man’s 5 lodges in 坤 and a woman’s in 艮; a calculator using another rule will differ. If your family follows its own practice, defer to it.

Method & sources

How it computes

Year: a birth before 立春 (Beijing time, from the site's lunisolar calendar) counts in the previous year. Digit-sum the year to one digit r; men 11 - r, women 4 + r, less 9 if above 9; a man's 5 becomes 2 (坤), a woman's 8 (艮). Agrees with the Yangzhai Shishu's own 三元 counting rule for every year 1504-2099. Sectors are walked from its 大遊年 verses; stars, door grades and stove are its 卷675-676 lists. Computed in your browser.

What this tool implements

  • This states a tradition, it does not forecast anything. "Accurate" here means faithful to the Yangzhai Shishu (陽宅十書) as printed in the Gujin Tushu Jicheng, and the page promises no outcome.
  • The Yangzhai Shishu counts by the 甲子 year; a search of 卷675-676 finds no statement of which day the year turns and no mention of 立春. This tool turns it at 立春, the bazi year-pillar cut, and the page says that this is our choice. Tested against the engine's year pillar for dates in every year 1902-2099.
  • Corrected 2026-11-03: the page told a reader born before 立春 to subtract a year by hand; the month and day are now optional inputs, the page states which side of 立春 the birth falls on, and a birth on the day itself asks whether it was before the moment.
  • Corrected 2026-11-03: a fact card said the book rates a door in the Sheng Qi direction 上吉, "the top grade". In the 定門 lists the grade varies by trigram: 坎 gives its Sheng Qi door 上上吉, 離 gives that grade to its Tian Yi door and lists Sheng Qi third.
  • Corrected 2026-11-03: a fact card said the 八宅 school reads no terrain. The book opens with 論宅外形第一, on landform. The card now quotes that chapter.
  • Cut 2026-11-03: a claim that Malaysian and Singapore property ads flag East-Four and West-Four houses (no source found, and the book says a house has no trigram); the Xuan Kong answer, which said that school needs an exact birth time (not checked); one-word sector glosses such as Wealth and Betrayal, replaced by the book's sector and star names; an unsourced claim about how families use the system; and a roadmap note.
Show 1 more
  • The 2026-10-25 corrections stand: two unlocatable studies and an invented census split were removed, and the 5 lodges in 坤 for men and 艮 for women as the book says.

Sources

What can make this go out of date

  • None at runtime; everything is computed in the browser and nothing the reader enters leaves the page or enters the URL.
  • 立春 instants come from the site's own lunisolar calendar calculation, in Beijing time, for 1901-2099.
Advertisement
Pre-footer · AD-W3 728 × 90