Flying star calculator
Enter a building's sitting direction and the period it belongs to. This builds the mountain and facing charts — the two layers that do not change from year to year.
What the three numbers mean
Every square holds three stars. The period star (bottom right, grey) is the base chart of the era, the same nine numbers for every building on earth. The mountain star (top left) carries people and health, and the water star (top right) carries money.
The two squares that matter are the seat and the front — the ones this chart outlines. A mountain star equal to the period at the seat is what the tradition calls support for the people who live there; a water star equal to the period at the front is what it calls support for money. Everything else is read sector by sector, and a sector is only worth reading if something in the room actually sits in it.
How to read your sitting direction
The sitting direction is the one the back of the building faces — the opposite of the way it looks out. Take the bearing at the front door, looking outward, and add 180°. Stand in the middle of the room, away from metal, appliances and wiring, and hold the phone flat.
This calculator uses magnetic bearings, the same as a compass, and that is what the tradition assumes. If your phone reports true north instead, the difference is a few degrees in most places and can push you across a mountain boundary. Within about three degrees of a boundary the chart is a coin toss — measure twice, or be content that both readings are defensible.
Period 9 has no mountain-and-facing chart
The arrangement every practitioner wants — the period star reaching the back and the front at once — does not occur in period 9 at all. The classical text states it directly: 惟一九兩運,無旺星到山到向之局, only periods 1 and 9 have no such chart. All twenty-four directions in period 9 are either the star doubling at the seat or doubling at the front. If a calculator shows you a period 9 chart with the star at both ends, it is using a different rule from this one — see below.
All twenty-four directions, period 9
| Sitting | Facing | Both 9s land | Arrangement |
|---|---|---|---|
| Ren 壬 | Bing 丙 | South | Both stars at the facing |
| Zi 子 | Wu 午 | North | Both stars at the mountain |
| Gui 癸 | Ding 丁 | North | Both stars at the mountain |
| Chou 丑 | Wei 未 | South-west | Both stars at the facing |
| Gen 艮 | Kun 坤 | North-east | Both stars at the mountain |
| Yin 寅 | Shen 申 | North-east | Both stars at the mountain |
| Jia 甲 | Geng 庚 | West | Both stars at the facing |
| Mao 卯 | You 酉 | East | Both stars at the mountain |
| Yi 乙 | Xin 辛 | East | Both stars at the mountain |
| Chen 辰 | Xu 戌 | South-east | Both stars at the mountain |
| Xun 巽 | Qian 乾 | North-west | Both stars at the facing |
| Si 巳 | Hai 亥 | North-west | Both stars at the facing |
| Bing 丙 | Ren 壬 | South | Both stars at the mountain |
| Wu 午 | Zi 子 | North | Both stars at the facing |
| Ding 丁 | Gui 癸 | North | Both stars at the facing |
| Wei 未 | Chou 丑 | South-west | Both stars at the mountain |
| Kun 坤 | Gen 艮 | North-east | Both stars at the facing |
| Shen 申 | Yin 寅 | North-east | Both stars at the facing |
| Geng 庚 | Jia 甲 | West | Both stars at the mountain |
| You 酉 | Mao 卯 | East | Both stars at the facing |
| Xin 辛 | Yi 乙 | East | Both stars at the facing |
| Xu 戌 | Chen 辰 | South-east | Both stars at the facing |
| Qian 乾 | Xun 巽 | North-west | Both stars at the mountain |
| Hai 亥 | Si 巳 | North-west | Both stars at the mountain |
Why another calculator may show different numbers
Forward or backward flight is decided by yin and yang, and there are two readings of which yin and yang to use. The common shortcut takes the polarity of the sitting mountain itself. The method followed here — the one printed in Shen Shi Xuan Kong Xue and the one that reproduces the classical worked examples digit for digit — takes the polarity of the mountain that shares the same yuan (earth, heaven or human) in the home palace of the number entering the centre. When that number is 5 there is no home palace, and the sitting mountain's own polarity is used instead.
The two readings disagree for every direction in period 9, so a mismatch with another site is usually this and not an arithmetic error. This calculator is checked against the book's Python engine on all 216 combinations of period and mountain before every deploy.
This chart is not the annual chart
The annual flying star chart changes every February, when the year's star takes the centre. The chart on this page does not change at all: it belongs to the building and its construction period. The two are read together, and the guide to reading an annual chart explains how, while the 2027 chart has this year's sector-by-sector numbers.
The full table, on paper
The 92-page almanac prints all twenty-four period 9 charts as a table, plus the twenty-four mountains with their yuan and polarity, a worked example you can follow with a compass in your hand, and 365 days of lunar dates. Same method, same engine, checked against the classical text.
Where the method comes from
- Shen Shi Xuan Kong Xue (沈氏玄空學), volume 4 — the flight rules and the period 1 worked example this calculator reproduces.
- The 24 mountains, their palaces and their earth / heaven / human yuan, as tabulated in the book's The 24 mountains page.
- The period 1 and 9 exception, quoted above from the same text.
Traditional calculation, offered for study and design. It is not a measurement of anything physical, and it is not advice about property, health or money.