Sixty-four names is a memory test. Sixty-four positions in one grid is a system — and the grid is what lets you read a hexagram you have never met before.
Search "64 hexagrams explained" and most results hand you the same thing: sixty-four headings, sixty-four short paragraphs, each one telling you what that particular name means. It reads well and teaches almost nothing, because it strips out the only part of the I Ching that behaves like a system — the relations between the hexagrams.
Nobody memorises sixty-four of anything with any reliability, and nobody needs to. The book is built from three lines' worth of choices repeated twice. Once you hold that structure, a hexagram stops being a name you either know or do not know and becomes a position you can locate: which trigrams it is made of, which hexagram it pairs with, what sits inside it, and what it turns into when a line moves.
This article is the map, not the list. By the end you will be able to take any six lines and place them without having memorised a single name.
卦 (guà) — hexagram. The character is built from 圭 (guī), a jade tablet held during ritual, and 卜 (bǔ), the crack a diviner read in bone or shell. The Han dictionary Shuo Wen Jie Zi glosses 卦 in a single word: 筮 (shì), divination by counting out stalks. The etymology is worth keeping in view — a hexagram is a record of a procedure carried out, not a report of a mood.
爻 (yáo) — line. Shuo Wen glosses it as 交 (jiāo), to intersect, describing the two crossing strokes the character is drawn from. Six lines, then, are not six items on a checklist. They are six intersections, and the point of interest is always where they cross.
That second gloss is the whole reason this article exists. If the lines were items, a hexagram would be a bag of six meanings and the order would not matter much. Because they are intersections, position matters enormously, and so does the question of which lines are actually moving.
Every hexagram is built from 八卦 (bā guà) — the Eight Trigrams. A trigram is three lines, each either solid (yang) or broken (yin), which gives two to the power of three: eight, and no more than eight. Classical convention reads them from the bottom up, and the 五行 (wǔ xíng) — Five Elements column below is the assignment our engine stores for each one.
| Lines (bottom → top) | Trigram | Image | Quality | Element |
|---|---|---|---|---|
| 111 | 乾 | heaven 天 | strength 健 | Metal 金 |
| 110 | 兑 | lake 泽 | joy 悦 | Metal 金 |
| 101 | 离 | fire 火 | clinging 丽 | Fire 火 |
| 100 | 震 | thunder 雷 | movement 动 | Wood 木 |
| 011 | 巽 | wind 风 | entering 入 | Wood 木 |
| 010 | 坎 | water 水 | the gorge 陷 | Water 水 |
| 001 | 艮 | mountain 山 | stilling 止 | Earth 土 |
| 000 | 坤 | earth 地 | yielding 顺 | Earth 土 |
The classical commentary on the trigrams, the Shuo Gua, casts these eight as a household rather than a periodic table: Qian as father, Kun as mother, and the remaining six as three sons and three daughters. It is a mnemonic with a real idea inside it — the eight are generated from two poles by the same operation, which is exactly what a three-bit structure looks like when you stop thinking in binary and start thinking in families.
Put one trigram above another and you have a hexagram: the lower three lines are the 下卦 (xià guà), the upper three the 上卦 (shàng guà). Eight choices below, eight above, 8 × 8 = 64 — the count is a consequence of the construction, not a number anyone decided on.
Everything about naming follows from that construction, and this is where implementations quietly diverge. The traditional name puts the upper trigram first: heaven over mountain is 天山遁 (Tiān Shān Dùn), hexagram 33; heaven over wind is 天风姤 (Tiān Fēng Gòu), hexagram 44. Binary notation, on the other hand, is normally written from the bottom line upwards, because the first line is written first. So the name reads top-down while the bit string reads bottom-up. Our engine stores hexagrams as a six-character string whose first character is the bottom line, and it composes names in the classical top-down order — two conventions in one file, which is precisely the sort of place where a bug can live for months without being noticed. More on that below, because one did.
The numbering you see on hexagrams is the King Wen sequence, the order of the received book. It is not a binary count: if you list the hexagrams by their bit value, the numbers and the classical order disagree almost everywhere. The King Wen order is instead arranged in pairs, and each pair is a single thought read forward and backward.
We checked the arithmetic of that claim against our own hexagram library rather than trusting a remembered summary, and the structure is exact:
That last group is why the received text is so insistent about pairs. Peace (Tai, earth over heaven) and Standstill (Pi, heaven over earth) are not two unrelated fortunes; they are one arrangement viewed from two sides, and the classical commentary treats the pair as a single argument about what happens when what belongs below is placed above. The same holds for Decrease and Increase, for Splitting Apart and Return, for After Completion and Before Completion. Reading one without its partner is reading half a sentence and calling it a verdict.
The third relation is the one most casual readers never meet. Take lines 2, 3 and 4 of a cast hexagram and they form a trigram; take lines 3, 4 and 5 and they form another. Stack those two and you have the 互卦 (hù guà) — Nuclear Hexagram: a hexagram built only from lines that already exist in the one you cast.
Two consequences follow immediately, and both are checkable. First, only 16 of the 64 can ever appear as a nuclear hexagram, because the middle lines are shared and the outer two are discarded. Second, only two hexagrams are their own nuclear hexagram: 乾 and 坤, where every line is identical so any three you pick give the same trigram.
The classical use of the nuclear hexagram is to describe the interior of a situation, the part not visible from outside. The traditional test cases are short and memorable: hexagram 63, 既济 (After Completion), must yield 64, 未济 (Before Completion) — completion contains the seed of what is not yet done. Hexagram 21, 噬嗑 (Biting Through), must yield 39, 蹇 (Obstruction) — the act of biting through has an obstruction inside it.
An honest note from the engine room. Our nuclear-hexagram calculation was wrong until 24 September 2026. The old code placed the lower nuclear trigram in the upper position, which inverted the result for 56 of the 64 hexagrams — 既济 returned itself instead of 未济, and 噬嗑 returned 蒙 instead of 蹇. Nothing crashed; the readings simply made less sense than they should have. What caught it was the pair of classical test cases above, applied as assertions rather than as prose. The computation now runs from the six line values at cast time, and the reason is written into the source next to the code so it cannot be "tidied" back.
We mention our own bug because it is the useful part of this section. Anyone can publish a list of 64 names; a list cannot be wrong in an interesting way. A structure can, and the only defence is a small number of checkable expectations — the kind a reader can apply to any I Ching product in about five minutes.
Six lines are cast as values, not as shapes. In the three-coin method each line is the sum of three tosses, giving 6, 7, 8 or 9: 6 is old yin, 9 is old yang, and both are moving; 7 and 8 are stable. With fair coins the four values fall at 1/8, 3/8, 3/8 and 1/8 — one moving line in four, on average. Casting 120,000 lines on our engine returned 0.124, 0.375, 0.376 and 0.125, which is what a correct implementation should produce.
Flip every moving line and the hexagram becomes a second one, the 变卦 (biàn guà) — Changed Hexagram. The first hexagram is the situation as it stands; the changed one is what it is turning into. This is the single strongest argument against pages that return one hexagram from a dropdown: they have discarded the moving lines, and the moving lines are where the movement is. The rules for which lines to read when several move deserve their own treatment; the structural point here is that a cast is a pair by construction.
Positions are counted from the bottom: 初 (first), 二, 三, 四, 五, 上 (top). Two rules do most of the work in practice.
The first is correspondence of polarity: odd positions are yang places, even positions are yin places. A yang line in a yang place is 当位 (dāng wèi) — in its correct position; a yang line in an even place is not. The second is centrality: positions 2 and 5 are the middle of the lower and upper trigram, and the tradition calls a line there 中 (zhōng) — centred. A line that is both correct and centred — yang in 5, yin in 2 — is the most stable seat in the hexagram, which is why so many of the book's calmest statements are attached to a fifth line. The ruler's seat is the fifth for the same structural reason, not because of any politics: it is the centre of the upper half, the position from which the whole figure is governed.
None of this requires the names. Given six values you can say, before looking anything up, which lines are moving, which are centred, which are correctly placed, what the two trigrams are, what the nuclear hexagram is and what the changed hexagram will be. The name is the last step, not the first.
Here the tradition genuinely divides, and any product that hides the division is hiding something a reader would want.
The image-and-number line (象数, xiàng shù) treats the figures as a technical apparatus: trigrams, line positions, and the relations between them carry the information, and the text is a caption for the diagram. The meaning-and-principle line (义理, yì lǐ) treats the same figures as moral philosophy. Wang Bi, in the third century, argued that the image is a pointer to a meaning and should be set aside once the meaning is grasped; Cheng Yi, in the Song, read each hexagram as a lesson in conduct; Zhu Xi treated the book as a divination manual whose original sense is recovered by asking a question, and titled his commentary the Original Meaning accordingly.
Three commentators, three legitimate readings of the same six lines. Our ruling is deliberately unglamorous: the engine does not pick a winner. The hexagram library stores the judgment and all 384 line statements with the Wang Bi, Cheng Yi and Zhu Xi commentary layers kept separately — 64 judgments and 384 lines, none of the three layers empty, which we verified by scanning every field rather than by sampling. The reading then applies those layers to the question asked, and the layers stay visible.
The reason for refusing to arbitrate is not neutrality for its own sake. Choosing one school would silently delete the other two and leave an output that cannot be audited: a reader could not tell whether a line of interpretation came from the classical text or from the summariser. Keeping the layers separate is the difference between quoting a source and paraphrasing a rumour.
Here is a worked example, six line values and nothing else. Read from the bottom up: 8, 6, 7, 7, 7, 7. Line 2 is a 6, so it is old yin and it moves; every other line is stable.
| Line | Value | Line | Moving | Lower / upper trigram |
|---|---|---|---|---|
| 6 (top) | 7 | yang | no | upper: 111 乾 Qián — heaven |
| 5 | 7 | yang | no | |
| 4 | 7 | yang | no | |
| 3 | 7 | yang | no | lower: 001 艮 Gèn — mountain |
| 2 | 6 | yin | yes | |
| 1 (bottom) | 8 | yin | no |
Binary, bottom line first: 001111. Mountain below, heaven above — 天山遁, hexagram 33, Retreat. Flip the moving second line and the string becomes 011111: wind below, heaven above — 天风姤, hexagram 44, Coming to Meet. The nuclear hexagram takes lines 2, 3, 4 (011, wind) as its lower trigram and lines 3, 4, 5 (111, heaven) as its upper, which also gives hexagram 44. So this cast reads as Retreat changing into Coming to Meet, with Coming to Meet sitting inside it — a withdrawal whose interior is an encounter, which is why the classical material on this configuration is about timing rather than escape.
Everything in that paragraph can be reproduced with a pencil, and the reading that follows is anchored on the second line of Retreat rather than on a general summary of "retreat". That is what a structure buys you: the specific line has a text, the text has three commentary layers, and all of it is about this cast and not about the hexagram in the abstract.
Want to see the six line values behind a reading instead of just a paragraph of advice? The cast is free in the browser, and the reading in chat shows the numbers it used.
Cast six lines in your browserThis is also the honest answer to "which hexagram means money" or "which one means love". The names do not carry those answers in isolation; the answer is a function of the trigrams, the moving lines and the question. Which is why a reading built on the cast can talk about your situation while a list of 64 meanings can only talk about itself.
The structure described here is what our engine actually computes: trigrams decomposed from the six line values, the changed hexagram derived by flipping the moving lines, and the nuclear hexagram derived from lines 2 through 5 with the two classical test cases in place as assertions. The reading bot runs the same cast and then writes the interpretation around the specific lines that moved, in Telegram, with no account to create. If you want to watch the machinery before you trust it, start with the browser cast and compare the numbers with the pencil version above.
There are eight trigrams, each made of three lines, and every hexagram is one trigram stacked on another, so 8 times 8 gives 64 and nothing is left over. Each hexagram has six lines, which is why the classical text contains 384 line statements on top of the 64 judgments.
No. Learn the eight trigrams, then learn three relations: the pair a hexagram sits in, the nuclear hexagram inside it, and the changed hexagram its moving lines produce. Those three relations will place any hexagram you have never seen before, and you can look up its text afterwards.
The nuclear hexagram is built from lines that are already inside the cast one: the lower nuclear trigram comes from lines 2, 3 and 4, the upper from lines 3, 4 and 5. It describes the interior of a situation rather than the situation as presented. Only 16 of the 64 can ever appear as a nuclear hexagram, and Qian and Kun are the only two that are their own.
Either the numbering order differs or no cast happened. The King Wen sequence used for numbering is not a binary count, so an engine that converts lines to a number by binary value will disagree with the classical number for most hexagrams. A page that simply returns one hexagram from a list has not cast anything at all.
The browser cast is free and unlimited, because drawing six lines costs a page nothing. A full written reading for your own question costs server compute each time, so the first three are free with no card and no sign-up, and optional packs exist after that. Nothing renews on its own.