Kua Number Calculator: Feng Shui Directions from Your Birth Date

The Kua number (命卦, Ming Gua) comes from your birth year and sex. This is the feng shui Kua number, not the Indonesian KUA (Kantor Urusan Agama, the Office of Religious Affairs). It gives you four favourable and four unfavourable directions in Ba Zhai, a Chinese feng shui tradition. Enter your birth date below. The Kua year turns at the moment of Li Chun, not on 1 January or a fixed 4 February, so the result can differ from other calculators if you were born in early February.

Written by Akhmad Erlangga, Founder of SPYLL. Updated

Sex

Only people born around 3 to 5 February need a birth time.

Before 1964 clocks in Indonesia varied. If you were born earlier and your date falls on 3 to 5 February, the result may be off.

How to work out your Kua number by hand

You can find your Kua number without a calculator. These six steps cover Kua years 1900 to 2099 and give the same answer as the calculator above.

  1. Find the Kua year. The Kua year turns at Li Chun, around 3 to 5 February. If you were born before Li Chun, use the previous year. Born on 20 January 1990 means Kua year 1989.
  2. Take the last two digits of the Kua year and add them until one digit is left. Year 1985 gives 8 + 5 = 13, then 1 + 3 = 4. Year 1990 gives 9 + 0 = 9. Years 1900 and 2000 give 0.
  3. Men: for Kua years 1900 to 1999, take 10 minus that digit. For Kua years 2000 to 2099, take 9 minus that digit.
  4. Women: for Kua years 1900 to 1999, add 5 to that digit. For Kua years 2000 to 2099, add 6.
  5. If the result is above 9, add its digits again. For example 14 becomes 1 + 4 = 5. If the result is 0, use 9.
  6. If the result is 5, men use Kua 2 and women use Kua 8. There is no Kua 5.

Two examples

  • Man, Kua year 1985: 8 + 5 = 13, then 1 + 3 = 4. Take 10 - 4 = 6. The result is Kua 6.
  • Woman, Kua year 1990: 9 + 0 = 9. Take 9 + 5 = 14, then 1 + 4 = 5. A woman who lands on 5 uses Kua 8. The result is Kua 8.

Kua 1 to 9 table: favourable and unfavourable directions

Each Kua number has four favourable and four unfavourable directions in Ba Zhai. The four favourable ones always fall on the four directions of the Kua's own group. This table is built from the same data as the calculator and is not typed by hand.

Ba Zhai directions for each Kua number
KuaGroupFour favourable directionsFour directions to avoid
1East groupSoutheast (Sheng Qi), East (Tian Yi), South (Yan Nian), North (Fu Wei)West (Huo Hai), Northeast (Wu Gui), Northwest (Liu Sha), Southwest (Jue Ming)
2West groupNortheast (Sheng Qi), West (Tian Yi), Northwest (Yan Nian), Southwest (Fu Wei)East (Huo Hai), Southeast (Wu Gui), South (Liu Sha), North (Jue Ming)
3East groupSouth (Sheng Qi), North (Tian Yi), Southeast (Yan Nian), East (Fu Wei)Southwest (Huo Hai), Northwest (Wu Gui), Northeast (Liu Sha), West (Jue Ming)
4East groupNorth (Sheng Qi), South (Tian Yi), East (Yan Nian), Southeast (Fu Wei)Northwest (Huo Hai), Southwest (Wu Gui), West (Liu Sha), Northeast (Jue Ming)
6West groupWest (Sheng Qi), Northeast (Tian Yi), Southwest (Yan Nian), Northwest (Fu Wei)Southeast (Huo Hai), East (Wu Gui), North (Liu Sha), South (Jue Ming)
7West groupNorthwest (Sheng Qi), Southwest (Tian Yi), Northeast (Yan Nian), West (Fu Wei)North (Huo Hai), South (Wu Gui), Southeast (Liu Sha), East (Jue Ming)
8West groupSouthwest (Sheng Qi), Northwest (Tian Yi), West (Yan Nian), Northeast (Fu Wei)South (Huo Hai), North (Wu Gui), East (Liu Sha), Southeast (Jue Ming)
9East groupEast (Sheng Qi), Southeast (Tian Yi), North (Yan Nian), South (Fu Wei)Northeast (Huo Hai), West (Wu Gui), Southwest (Liu Sha), Northwest (Jue Ming)
5There is no Kua 5. A man who works out 5 uses Kua 2, and a woman uses Kua 8.

Flying star boards for 2026 and 2027

Each year puts one star in the centre of the board, and the next stars fly forward in a fixed order: Northwest, West, Northeast, South, North, Southwest, East, Southeast. The centre star drops by one each year. North is at the top.

Northwest2二黑
North6 
Northeast4 
West3 
Centre1 
East8 
Southwest7 
South5五黃
Southeast9 

2026, centre star 1

The 2026 board starts at Li Chun, 4 February 2026 at 03:02 WIB.

Northwest1 
North5五黃
Northeast3 
West2二黑
Centre9 
East7 
Southwest6 
South4 
Southeast8 

2027, centre star 9

The 2027 board starts at Li Chun, 4 February 2027 at 08:46 WIB.

Annual positions 2026 to 2030

Tai Sui sits in the direction of the year's earthly branch. Sui Po sits opposite it. San Sha fills a whole side. Classical texts give special rules for these three directions when building or digging. The last two columns show where star 5 and star 2 land on that year's board.

YearCentre starTai Sui (太歲)Sui Po (歲破)San Sha (三煞)Star 5 (五黃)Star 2 (二黑)
20261SouthNorthNorth sideSouthNorthwest
20279SouthwestNortheastWest sideNorthWest
20288SouthwestNortheastSouth sideSouthwestNortheast
20297WestEastEast sideEastSouth
20306NorthwestSoutheastNorth sideSoutheastNorth

Monthly stars for 2026 and 2027

Solar months open at a jie (节), not on the 1st. The centre star drops by one each month. The starting number depends on the year's branch: 8 for Rat, Rabbit, Horse and Rooster years, 5 for Dragon, Dog, Ox and Goat years, 2 for Tiger, Monkey, Snake and Pig years.

Year 2026
Solar monthStarts (WIB)Centre star
1. 立春 (Li Chun)4 February 2026 at 03:028
2. 惊蛰 (Jing Zhe)5 March 2026 at 20:597
3. 清明 (Qing Ming)5 April 2026 at 01:406
4. 立夏 (Li Xia)5 May 2026 at 18:485
5. 芒种 (Mang Zhong)5 June 2026 at 22:484
6. 小暑 (Xiao Shu)7 July 2026 at 08:563
7. 立秋 (Li Qiu)7 August 2026 at 18:422
8. 白露 (Bai Lu)7 September 2026 at 21:411
9. 寒露 (Han Lu)8 October 2026 at 13:299
10. 立冬 (Li Dong)7 November 2026 at 16:528
11. 大雪 (Da Xue)7 December 2026 at 09:527
12. 小寒 (Xiao Han)5 January 2027 at 21:096
Year 2027
Solar monthStarts (WIB)Centre star
1. 立春 (Li Chun)4 February 2027 at 08:465
2. 惊蛰 (Jing Zhe)6 March 2027 at 02:394
3. 清明 (Qing Ming)5 April 2027 at 07:173
4. 立夏 (Li Xia)6 May 2027 at 00:252
5. 芒种 (Mang Zhong)6 June 2027 at 04:251
6. 小暑 (Xiao Shu)7 July 2027 at 14:379
7. 立秋 (Li Qiu)8 August 2027 at 00:268
8. 白露 (Bai Lu)8 September 2027 at 03:287
9. 寒露 (Han Lu)8 October 2027 at 19:176
10. 立冬 (Li Dong)7 November 2027 at 22:385
11. 大雪 (Da Xue)7 December 2027 at 15:374
12. 小寒 (Xiao Han)6 January 2028 at 02:543

Period 9 (2024 to 2043)

The 180-year cycle splits into three eras, and each era splits into three 20-year periods. Counting from 1864, period 7 runs 1984 to 2003, period 8 runs 2004 to 2023, and period 9 runs 2024 to 2043. This page takes Li Chun 2024 (4 February 2024) as the start of period 9, like most practitioners. Some practitioners argue for a different start date.

How we calculate

  • The Kua year turns at the moment of Li Chun (立春), when the sun reaches 315 degrees. Your birth time is placed on the same timeline as that moment, so the time zone does not change the result.
  • Men count down from 1864 on the Lo Shu, women count up from the number 5. The number 5 moves to Kua 2 for men and Kua 8 for women, as in the 八宅明镜.
  • The eight directions are derived from the trigram lines that change (大遊年). All 64 cells match the Ba Zhai table already used in the SPYLL BaZi calculator.
  • The month star starts from a number set by the year's branch, and the month turns on the exact minute of the jie.
  • Every board flies forward in a fixed order. The layout is checked against the 2005 board on Japanese Wikipedia.
  • Year and month boundaries are compared with the lunar-typescript calendar library at the test points listed under How we test.
Read the SPYLL BaZi methodology

Sources

  • Ba Zhai Ming Jing, the Bright Mirror of the Eight Houses八宅明鏡. A classical Chinese feng shui text on the Ba Zhai (Eight Houses) method. We take the Kua groups, the East and West split, and the rule that moves a centre 5 to Kua 2 or Kua 8 from it.
  • Xie Ji Bian Fang Shu, the Imperial Almanac協紀辨方書. A classical Chinese almanac and calendar work. We take the Lo Shu trigram order and the nine stars from volume 8, and the trigram line changes behind the eight directions (大遊年) from volume 2.
  • lunar-typescript 1.8.6. An open source Chinese calendar library. It supplies the Li Chun and the month-opening jie times that our year and month boundaries use.

How we test

  • The six steps above are written out again in a test that does not call the calculator. It compares them with the calculator for every Kua year from 1900 to 2099, for men and women. The two agree in every year.
  • 50 boundary cases cover births one minute either side of Li Chun, the three Indonesian time zones, and the edges of the supported range (1900 and 2100). Each case has a fixed expected Kua.
  • 12,537 comparison points against lunar-typescript between 1901 and 2099: 4,975 dates around Li Chun at five clock hours, 398 points one minute either side of Li Chun, 4,776 points one minute either side of the 12 month-opening jie, and 2,388 mid-month dates. The tests find 0 differences.
  • The 64 cells of the direction table match the Ba Zhai table already used in the SPYLL BaZi calculator.

One limit to know. The Li Chun times come from the same library the comparison uses. So these tests catch mistakes in our own logic, such as time zones, minute boundaries and month order. They do not check the library's solar term table against another astronomy source.

What we do not calculate

  • Day stars and hour stars. Three calendar methods disagree on hundreds to thousands of days, and no agreed rule exists.
  • House Kua from a building's facing direction. That needs a compass and a decision on true or magnetic north.
  • Remedies, lucky objects, and forecasts for health, wealth or marriage. SPYLL does not sell them, and the texts we read give no basis for them.

Kua and Ba Zhai are a Chinese cultural tradition, not science. The results on this page are for reference and entertainment and do not replace medical, legal or financial advice.

Frequently asked questions

What is a Kua number?
The Kua number (命卦, Ming Gua) is a number from 1 to 9, never 5, worked out from your birth year and sex. It points to one Ba Zhai trigram, and that trigram gives four favourable directions and four unfavourable ones. Ba Zhai is a Chinese feng shui tradition recorded in the 八宅明镜.
Why is my Kua number different on other calculators?
Mostly the year boundary. The Kua year turns at the moment of Li Chun (立春), when the sun reaches 315 degrees. That moment falls between 3 and 5 February and moves from year to year, down to the minute. Li Chun 2026 fell on 4 February 2026 at 03:02 WIB. Some calculators switch on 1 January, on a fixed 4 February, or on Chinese New Year, and many never ask for a birth time. This one compares your birth minute with the Li Chun minute.
Why is there no Kua 5?
In the Ba Zhai text the number 5 has no trigram. A man who works out to 5 moves to Kua 2 (坤), and a woman moves to Kua 8 (艮). The calculator shows the starting number and the moved result, so you can see when the rule applied.
What is the difference between the East and West groups?
Kua 1, 3, 4 and 9 belong to the East group. Kua 2, 6, 7 and 8 belong to the West group. In Ba Zhai your four favourable directions always fall on the four directions of your own group: North, East, Southeast and South for the East group, and Southwest, West, Northwest and Northeast for the West group.
How is Kua different from the Nine Star Ki birth star?
The Japanese birth star (本命星) is one number for everyone, with no split by sex. It equals the male Kua before the centre-5 rule. The Chinese Kua uses sex, so women often get a different number. A woman born in 1985 has Kua 9 and birth star 6.
Where do the formulas come from, and how accurate are they?
The Kua comes from the 180-year cycle in the 协纪辨方书 and the 八宅明镜. The eight directions are derived from the trigram line changes (大遊年), and all 64 cells match the Ba Zhai table already used in the SPYLL BaZi calculator. The year and month boundaries are compared with the lunar-typescript calendar library at 12,537 test points between 1901 and 2099, with 0 differences. The Li Chun times come from that same library, so the tests check our own logic and not the library's solar term table.