Cast an I Ching hexagram
Toss three coins six times, or use the current date and hour. You get the primary hexagram, any moving lines and the relating hexagram. No sign-up.
Your lines, bottom up
Line 1 of 6
Each toss of three coins gives one line.
Plain side 3, inscribed side 2. Coins are tossed in your browser with crypto.getRandomValues. Nothing is sent.
How this was worked out
- Line 1 (bottom)
- —
- Line 2
- —
- Line 3
- —
- Line 4
- —
- Line 5
- —
- Line 6 (top)
- —
Your lines, bottom up
Date and double hour
No coins. The lunar year’s branch number, the lunar month and the lunar day add up to S, which gives the upper trigram. Adding the double hour gives T, which gives the lower trigram and the moving line. The date and hour come from your device clock.
How this was worked out
- S = year + month + day
- —
- Upper trigram
- —
- T = S + hour
- —
- Lower trigram
- —
- Moving line
- —
- Result
- —
+Worked example: 11 October 2026, 20:10 (Xū hour), lunar 9th month, 2nd day
- S = year + month + day
- 午 7 + 9 + 2 = 18
- Upper trigram
- (18 − 1) mod 8 + 1 = 2 · 兌 Lake
- T = S + hour
- 18 + 戌 11 = 29
- Lower trigram
- (29 − 1) mod 8 + 1 = 5 · 巽 Wind
- Moving line
- (29 − 1) mod 6 + 1 = 5
- Result
- Hexagram 28 大過, line 5 moving → Hexagram 32 恆
Your hexagram
How the coins are read
| Sum | Coins | Line | Moving | Chance |
|---|---|---|---|---|
| 6 | 2 + 2 + 2 | old yin 老陰 | yes, becomes yang | 1/8 |
| 7 | 3 + 2 + 2 | young yang 少陽 | no | 3/8 |
| 8 | 3 + 3 + 2 | young yin 少陰 | no | 3/8 |
| 9 | 3 + 3 + 3 | old yang 老陽 | yes, becomes yin | 1/8 |