English
This page is available in English
The whole page — instructions, buttons and results.
Switch to English八宅命卦
使用方法
輸入出生年
填陽曆(公曆)出生年。若生在 1 月或 2 月初,再填月、日:本工具以節氣立春(每年 2 月 3-5 日)為年份分界,立春前出生計入前一年,並在輸入框下方寫明你在立春的哪一邊。
選擇性別
命卦公式分男女:男 = 11-(年份數字和單數化);女 = 4+(年份數字和單數化)。5 自動替換:男變 2,女變 8。
查看命卦
結果是 1-9 之間的數字(無 5)。同時顯示所屬集群——東四命(1/3/4/9)或西四命(2/6/7/8)。
對照吉凶方位
四吉方(生氣、天乙、延年、伏位)和四凶方(禍害、五鬼、六煞、絕命),各附書中的星名,並列出書中為你的卦定的門和竈。要評一間具體的房子,請用房屋朝向分析。
八宅命卦:中國家居風水的核心概念
「八宅命卦」(又名「東西四命」)是中國傳統風水流派之一——「八宅派」的核心概念。它根據每個人的出生年份和性別,推算出 1-9 之間的命卦數(無 5),並將每個命卦對應到 8 個方位(北、東北、東、東南、南、西南、西、西北),分為「四吉」和「四凶」兩組。家居布置、臥床朝向、辦公桌位置、大門方向等都可參考此系統。
東四命與西四命
命卦 1、3、4、9 屬東四命(對應東、東南、南、北吉方);命卦 2、6、7、8 屬西四命(對應西、西北、西南、東北吉方)。命卦中沒有 5——若公式算出 5,男變 2、女變 8。明代《陽宅十書》(收入清《古今圖書集成》)寫作「男五寄坤宮」「女五寄艮宮」。
四吉方
生氣、天乙(亦作天醫)、延年、伏位是四吉方,書中各配一星:貪狼、巨門、武曲、輔弼。現代書籍常把它們說成財運、健康、長壽、穩定;本工具不用這些說法,只列書中的名稱和定門評語,也不承諾任何結果。
「震巽坎離福德為東四位生人,乾坤艮兌福德為西四位生人」——《陽宅十書》
免責聲明
八宅命卦是中國傳統文化的組成部分,本工具僅按公開算法計算結果,不構成任何居住、裝修、風水決策的專業建議。我們尊重讀者的文化選擇,但建議在實際決策中以居住舒適度、家庭成員實際需求、物理空間限制為首要考慮。如需專業意見,請諮詢當地風水師。東南亞華人地區(尤其馬來西亞、新加坡、印尼)對八宅有較強傳統,本工具可作為文化對照參考。
沒有五卦,因為中宮不占方位
《陽宅十書》開篇先論地形,不是卦位:「若大形不善,總內形得法,終不全吉」。命卦只是書中的一部分,不是全部。
命卦從不出現 5——5 是洛書九宮的中宮,沒有方位;《陽宅十書》讓男 5 寄坤宮(2,西南),女 5 寄艮宮(8,東北)。
東四命與西四命並不各佔一半:算出的 5 都歸入西四命(男 2、女 8),所以無論男女,每 9 個出生年份中有 5 個是西四命,約佔 56%。
《陽宅十書》按甲子紀年,卷675、676 並未寫明年份從哪一天算起。本工具取節氣立春(每年 2 月 3-5 日),與八字年柱相同,不取農曆新年。
夫妻命卦不同時,《陽宅十書》的規矩是以丈夫為準:「大抵夫婦福德不同,則當以夫為主耳」。
四吉方的高下因卦而異。《陽宅十書》定門:坎宮以東南生氣門為上上吉,離宮卻以東南天乙門為上上吉,生氣門(東)只列第三。
凶方並非一律迴避:《陽宅十書》建議把竈和碾磨放在凶方,如「一定廚竈,宜在宅東北,甲寅字五鬼方,大吉」。
每個命卦的八個方位,都從《陽宅十書》的遊年歌訣推出,如坎宮「坎五天生延,絕禍六」;本工具的方位表就是沿這些歌訣走出來的。
常見問題
-
本工具用前一年。《陽宅十書》按甲子紀年,卷675、676 沒有寫明年份分界;我們取節氣立春(每年 2 月 3-5 日),與八字年柱相同,不取在 1 月下旬至 2 月中旬之間浮動的農曆新年。填入出生月、日,工具自動判斷;生在立春當天的,再勾選是否早於立春時刻(北京時間)。
-
1=坎(水)、2=坤(地)、3=震(雷)、4=巽(風)、6=乾(天)、7=兌(澤)、8=艮(山)、9=離(火)。各對應一個易經卦象。
-
來自明代《陽宅十書》:它把每 60 年分為上、中、下三元,男從固定的宮位起逆數,女順數(上元甲子男起坎 1、女起 5),5 則男寄坤、女寄艮。現代計算器常用的「男 11 減、女 4 加」只是簡便算法;本工具用的就是它,並已對照該書規則核對 1504 至 2099 年每一年,結果一致。
-
結果僅為按公開算法的輸出,不構成專業建議。RECATOOLS 不為基於本工具做出的房地產、裝修、個人決策承擔責任。請結合常識、家庭需求、專業意見判斷。
-
常見情況:假如兩人出生年份互不相關,約 49% 的夫妻會一東一西(2 × 4/9 × 5/9)。《陽宅十書》給出同住一房時夫妻各居哪一間,並以丈夫為準:「大抵夫婦福德不同,則當以夫為主耳」;分院而居的家人則「各隨生年定居」。
-
完全不記錄。所有計算都在瀏覽器本地完成,你輸入的內容只留在瀏覽器中,不會傳送到我們的伺服器。
-
兩個差異源:(1) 年份分界。有的計算器直接用陽曆年,有的用農曆新年,本工具用立春,一二月出生的人可能因此差一年;(2) 本工具按《陽宅十書》的「男五寄坤、女五寄艮」,其他計算器若另有規則,結果會不同。若有家族傳承的做法,以其為準。
方法與來源
計算方式
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.
本工具採用的標準
- 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.
展開其餘 1 項
- 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.
資料來源
- 陽宅十書 (Yangzhai Shishu), Ming. 欽定古今圖書集成, 博物彙編, 藝術典, 卷675 (論宅外形第一, 論福元第二, 起男女上中下元訣, 東四位 and 西四位 用例, 定門): https://zh.wikisource.org/wiki/%E6%AC%BD%E5%AE%9A%E5%8F%A4%E4%BB%…
- 陽宅十書, 欽定古今圖書集成, 藝術典, 卷676 (論大遊年第三, 吉星三, 凶星五): https://zh.wikisource.org/wiki/%E6%AC%BD%E5%AE%9A%E5%8F%A4%E4%BB%…
可能使本頁過時的因素
- 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.