Chinese traditions / Structure reference
I Ching Hexagrams: Names, Lines and Trigrams
Explore the 64 I Ching hexagrams in King Wen or Fu Xi binary order. Click six lines to look up a hexagram and see its structural relationships.
I Ching Hexagrams: Names, Lines and Trigrams: Maps all six-line yin/yang patterns to King Wen numbers and Unicode characters. Nuclear hexagrams use lines 2–3–4 below 3–4–5; opposite flips every line; inverse reverses line order. This is a cultural structure reference, without divination, random casting or predictions. Runs 100% locally in your browser with zero server file uploads.
- Category
- Time & calendar tools
- Runs
- In your browser
- Cost
- Free · no sign-up
- Availability
- Ready to use
Runs entirely in your browser
A cultural reference to names and structure; no divination, random casting or predictions.
Click each 爻 yáo (line) to switch 陰 yīn (broken) and 陽 yáng (solid). Line 1 is at the bottom; line 6 is at the top.
1. ䷀ 乾 (qián) · Heaven
Upper: ☰ 乾 (qián) · Heaven
Lower: ☰ 乾 (qián) · Heaven
Bottom → top: 111111 (yang = 1, yin = 0)
Unicode: U+4DC0
文王 Wén Wáng · King Wen order, numbers 1–64.
| King Wen | Character and lines | Name | Upper trigram | Lower trigram | Bottom → top |
|---|---|---|---|---|---|
| 1 | ䷀ | ☰ 乾 (qián) · Heaven | ☰ 乾 (qián) · Heaven | 111111 | |
| 2 | ䷁ | ☷ 坤 (kūn) · Earth | ☷ 坤 (kūn) · Earth | 000000 | |
| 3 | ䷂ | ☵ 坎 (kǎn) · Water | ☳ 震 (zhèn) · Thunder | 100010 | |
| 4 | ䷃ | ☶ 艮 (gèn) · Mountain | ☵ 坎 (kǎn) · Water | 010001 | |
| 5 | ䷄ | ☵ 坎 (kǎn) · Water | ☰ 乾 (qián) · Heaven | 111010 | |
| 6 | ䷅ | ☰ 乾 (qián) · Heaven | ☵ 坎 (kǎn) · Water | 010111 | |
| 7 | ䷆ | ☷ 坤 (kūn) · Earth | ☵ 坎 (kǎn) · Water | 010000 | |
| 8 | ䷇ | ☵ 坎 (kǎn) · Water | ☷ 坤 (kūn) · Earth | 000010 | |
| 9 | ䷈ | ☴ 巽 (xùn) · Wind | ☰ 乾 (qián) · Heaven | 111011 | |
| 10 | ䷉ | ☰ 乾 (qián) · Heaven | ☱ 兌 (duì) · Lake | 110111 | |
| 11 | ䷊ | ☷ 坤 (kūn) · Earth | ☰ 乾 (qián) · Heaven | 111000 | |
| 12 | ䷋ | ☰ 乾 (qián) · Heaven | ☷ 坤 (kūn) · Earth | 000111 | |
| 13 | ䷌ | ☰ 乾 (qián) · Heaven | ☲ 離 (lí) · Fire | 101111 | |
| 14 | ䷍ | ☲ 離 (lí) · Fire | ☰ 乾 (qián) · Heaven | 111101 | |
| 15 | ䷎ | ☷ 坤 (kūn) · Earth | ☶ 艮 (gèn) · Mountain | 001000 | |
| 16 | ䷏ | ☳ 震 (zhèn) · Thunder | ☷ 坤 (kūn) · Earth | 000100 | |
| 17 | ䷐ | ☱ 兌 (duì) · Lake | ☳ 震 (zhèn) · Thunder | 100110 | |
| 18 | ䷑ | ☶ 艮 (gèn) · Mountain | ☴ 巽 (xùn) · Wind | 011001 | |
| 19 | ䷒ | ☷ 坤 (kūn) · Earth | ☱ 兌 (duì) · Lake | 110000 | |
| 20 | ䷓ | ☴ 巽 (xùn) · Wind | ☷ 坤 (kūn) · Earth | 000011 | |
| 21 | ䷔ | ☲ 離 (lí) · Fire | ☳ 震 (zhèn) · Thunder | 100101 | |
| 22 | ䷕ | ☶ 艮 (gèn) · Mountain | ☲ 離 (lí) · Fire | 101001 | |
| 23 | ䷖ | ☶ 艮 (gèn) · Mountain | ☷ 坤 (kūn) · Earth | 000001 | |
| 24 | ䷗ | ☷ 坤 (kūn) · Earth | ☳ 震 (zhèn) · Thunder | 100000 | |
| 25 | ䷘ | ☰ 乾 (qián) · Heaven | ☳ 震 (zhèn) · Thunder | 100111 | |
| 26 | ䷙ | ☶ 艮 (gèn) · Mountain | ☰ 乾 (qián) · Heaven | 111001 | |
| 27 | ䷚ | ☶ 艮 (gèn) · Mountain | ☳ 震 (zhèn) · Thunder | 100001 | |
| 28 | ䷛ | ☱ 兌 (duì) · Lake | ☴ 巽 (xùn) · Wind | 011110 | |
| 29 | ䷜ | ☵ 坎 (kǎn) · Water | ☵ 坎 (kǎn) · Water | 010010 | |
| 30 | ䷝ | ☲ 離 (lí) · Fire | ☲ 離 (lí) · Fire | 101101 | |
| 31 | ䷞ | ☱ 兌 (duì) · Lake | ☶ 艮 (gèn) · Mountain | 001110 | |
| 32 | ䷟ | ☳ 震 (zhèn) · Thunder | ☴ 巽 (xùn) · Wind | 011100 | |
| 33 | ䷠ | ☰ 乾 (qián) · Heaven | ☶ 艮 (gèn) · Mountain | 001111 | |
| 34 | ䷡ | ☳ 震 (zhèn) · Thunder | ☰ 乾 (qián) · Heaven | 111100 | |
| 35 | ䷢ | ☲ 離 (lí) · Fire | ☷ 坤 (kūn) · Earth | 000101 | |
| 36 | ䷣ | ☷ 坤 (kūn) · Earth | ☲ 離 (lí) · Fire | 101000 | |
| 37 | ䷤ | ☴ 巽 (xùn) · Wind | ☲ 離 (lí) · Fire | 101011 | |
| 38 | ䷥ | ☲ 離 (lí) · Fire | ☱ 兌 (duì) · Lake | 110101 | |
| 39 | ䷦ | ☵ 坎 (kǎn) · Water | ☶ 艮 (gèn) · Mountain | 001010 | |
| 40 | ䷧ | ☳ 震 (zhèn) · Thunder | ☵ 坎 (kǎn) · Water | 010100 | |
| 41 | ䷨ | ☶ 艮 (gèn) · Mountain | ☱ 兌 (duì) · Lake | 110001 | |
| 42 | ䷩ | ☴ 巽 (xùn) · Wind | ☳ 震 (zhèn) · Thunder | 100011 | |
| 43 | ䷪ | ☱ 兌 (duì) · Lake | ☰ 乾 (qián) · Heaven | 111110 | |
| 44 | ䷫ | ☰ 乾 (qián) · Heaven | ☴ 巽 (xùn) · Wind | 011111 | |
| 45 | ䷬ | ☱ 兌 (duì) · Lake | ☷ 坤 (kūn) · Earth | 000110 | |
| 46 | ䷭ | ☷ 坤 (kūn) · Earth | ☴ 巽 (xùn) · Wind | 011000 | |
| 47 | ䷮ | ☱ 兌 (duì) · Lake | ☵ 坎 (kǎn) · Water | 010110 | |
| 48 | ䷯ | ☵ 坎 (kǎn) · Water | ☴ 巽 (xùn) · Wind | 011010 | |
| 49 | ䷰ | ☱ 兌 (duì) · Lake | ☲ 離 (lí) · Fire | 101110 | |
| 50 | ䷱ | ☲ 離 (lí) · Fire | ☴ 巽 (xùn) · Wind | 011101 | |
| 51 | ䷲ | ☳ 震 (zhèn) · Thunder | ☳ 震 (zhèn) · Thunder | 100100 | |
| 52 | ䷳ | ☶ 艮 (gèn) · Mountain | ☶ 艮 (gèn) · Mountain | 001001 | |
| 53 | ䷴ | ☴ 巽 (xùn) · Wind | ☶ 艮 (gèn) · Mountain | 001011 | |
| 54 | ䷵ | ☳ 震 (zhèn) · Thunder | ☱ 兌 (duì) · Lake | 110100 | |
| 55 | ䷶ | ☳ 震 (zhèn) · Thunder | ☲ 離 (lí) · Fire | 101100 | |
| 56 | ䷷ | ☲ 離 (lí) · Fire | ☶ 艮 (gèn) · Mountain | 001101 | |
| 57 | ䷸ | ☴ 巽 (xùn) · Wind | ☴ 巽 (xùn) · Wind | 011011 | |
| 58 | ䷹ | ☱ 兌 (duì) · Lake | ☱ 兌 (duì) · Lake | 110110 | |
| 59 | ䷺ | ☴ 巽 (xùn) · Wind | ☵ 坎 (kǎn) · Water | 010011 | |
| 60 | ䷻ | ☵ 坎 (kǎn) · Water | ☱ 兌 (duì) · Lake | 110010 | |
| 61 | ䷼ | ☴ 巽 (xùn) · Wind | ☱ 兌 (duì) · Lake | 110011 | |
| 62 | ䷽ | ☳ 震 (zhèn) · Thunder | ☶ 艮 (gèn) · Mountain | 001100 | |
| 63 | ䷾ | ☵ 坎 (kǎn) · Water | ☲ 離 (lí) · Fire | 101010 | |
| 64 | ䷿ | ☲ 離 (lí) · Fire | ☵ 坎 (kǎn) · Water | 010101 |
Structural rules and sources
Nuclear: lines 2–3–4 form the lower trigram and lines 3–4–5 the upper. Opposite: change every yin line to yang and every yang line to yin. Inverse: turn the six-line sequence upside down. Names are short factual glosses; no judgements or line readings are reproduced.
Sources: Chinese Text Project, Zhouyi, https://ctext.org/book-of-changes/yi-jing ; Unicode hexagram chart, https://www.unicode.org/charts/PDF/U4DC0.pdf ; structure table, https://iching.sourceforge.net/Documentation/design/design-one/index.html
Names, order and Unicode
The received Zhouyi sequence is available at the Chinese Text Project: https://ctext.org/book-of-changes/yi-jing . Unicode assigns U+4DC0 through U+4DFF consecutively in King Wen order: https://www.unicode.org/charts/PDF/U4DC0.pdf . Only short name glosses appear here, not modern translated judgements or line texts.
Composition and structural relationships
Jean Pierre Charalambos and Hilary Barrett's 2004 design document publishes the complete lower/upper trigram composition table and opposite and nuclear tables: https://iching.sourceforge.net/Documentation/design/design-one/index.html . All sixty-four pairs are used as fixed test fixtures. Yin is represented by a broken line and yang by a continuous line.
How to use it
- Select a King Wen number or switch the six lines from bottom to top.
- Read the Chinese name, pinyin, short gloss and upper and lower trigrams.
- Inspect nuclear, opposite and inverse hexagrams, or switch the full table to Fu Xi binary order.
Privacy & limitations
All lookups and line changes stay in your browser. Nothing is uploaded.
Related tools
Frequently asked questions
Which line is first?
The bottom line is line 1. Binary strings are also shown bottom to top, with 1 for a solid yang line and 0 for a broken yin line.
Which Fu Xi ordering is used?
The linear, Heaven-first order, ending with Earth. The top line varies fastest. Bottom-to-top binary strings descend from 111111 to 000000; King Wen numbers do not change.
What are the three related hexagrams?
The nuclear hexagram uses the middle four lines twice: 2–3–4 for its lower trigram, 3–4–5 for its upper. The opposite changes every line's polarity. The inverse reverses the six lines. These are structural operations only.
Does this include readings or translated passages?
No. It shows names, short factual name glosses, symbols and structure. There is no random casting, divination, judgement text or modern translation of the line texts.
Free tool · runs in your browser · no account required