The King Wen Sequence: Why the Hexagrams Are in That Order
Every hexagram in the I Ching has a number. Hexagram 1 is Qian (Creative Heaven), Hexagram 2 is Kun (Receptive Earth), and so on through 64. That numbering is not random. It follows what scholars call the King Wen sequence, and the order carries meaning that deepens every reading you do.
I did not pay much attention to the sequence when I first started using the I Ching. The order seemed arbitrary. But once I began studying why the hexagrams follow each other in a particular pattern, the whole system opened up. The sequence is far more than a simple list. It is a narrative of change.
The Origin: King Wen of Zhou
Tradition holds that King Wen of Zhou (周文王) arranged the hexagrams in this order while imprisoned by the Shang king Zhòu. Whether or not a single person created the sequence, the name has stuck since the Han dynasty, and the order itself has remained stable for over 2,000 years. It is one of the most studied sequences in all of Chinese intellectual history.
The sequence begins with pure yang (Hexagram 1, Qian) and pure yin (Hexagram 2, Kun), paired as the two fundamental forces. From there, it moves through increasingly complex combinations, tracing the dynamics of change through all 64 possible hexagram states.
The Two Halves of the Sequence
| Half | Hexagrams | Theme |
|---|---|---|
| Upper Scroll | 1 to 30 | From creation through complexity, ending with Hexagram 30 (Li, The Clinging Fire) |
| Lower Scroll | 31 to 64 | From union through to completion, ending with Hexagram 64 (Wei Ji, Before Completion) |
The Pairing Principle
The most obvious feature of the King Wen sequence is its pairing. Hexagrams are arranged in 32 pairs, and each pair relates in one of two ways: inversion (turning the hexagram upside down) or opposition (reversing every line).
Most pairs are inverses. Hexagram 3 (Zhūn, Difficulty at the Beginning) paired with Hexagram 4 (Méng, Youthful Folly) is a good example. Turn Hexagram 3 upside down and you get Hexagram 4. The pair describes two faces of the same situation: the challenge of starting something (Hexagram 3) and the challenge of being a beginner (Hexagram 4).
A minority of pairs are opposites. Hexagram 1 (Qian, pure yang) and Hexagram 2 (Kun, pure yin) are opposites because one is all solid lines and the other is all broken lines. Similarly, Hexagram 11 (Tai, Peace) and Hexagram 12 (Pi, Standstill) are opposites. These pairs describe situations that represent opposite poles of the same spectrum.
The pairing principle tells you that every situation has a companion, a counterpoint. No hexagram stands alone. If you understand one, its pair gives you the other half of the picture.
The Narrative Logic of the Sequence
Beyond pairing, the sequence follows a rough narrative logic. Each hexagram naturally gives rise to the next. Here are some key transitions to illustrate:
1 to 2: Pure creative and pure receptive. The two primordial forces.
3 to 4: Initial difficulty and youthful inexperience. The chaos of starting anything new.
11 to 12: Peace and standstill. The peak of harmony is always near the point of reversal.
23 to 24: Splitting apart and return. After complete collapse, the seed of renewal appears.
63 to 64: After completion and before completion. The cycle does not end. It begins again.
This narrative quality is what makes the I Ching feel alive rather than like a static lookup table. The hexagrams describe a living process of change, and the sequence traces the path of that process from beginning to beginning.
The Shao Yong Alternative: The Binary Order
Song dynasty philosopher Shao Yong (邵雍, 1011-1077) proposed a different arrangement. He ordered the hexagrams in a strict binary sequence, from pure yin (all broken lines) to pure yang (all solid lines). This arrangement is sometimes called the Earlier Heaven (Xiantian, 先天) order.
What is remarkable about Shao Yong’s order is that it anticipates the binary system by more than six centuries. Gottfried Wilhelm Leibniz, the mathematician who co-invented calculus, encountered Shao Yong’s binary hexagram sequence through Jesuit missionaries and was astonished. The eight trigrams guide covers the foundation that Shao Yong built upon. The correspondence between Shao Yong’s arrangement and Leibniz’s binary numerals (1703) is one of those moments where Chinese and Western intellectual history converge.
A quick note: The King Wen sequence is for reading and interpreting. Shao Yong’s binary sequence is for mathematical and cosmological study. The I Ching community uses both, but they serve different purposes.
Using the Sequence in Practice
When I sit with a reading, I sometimes look at where the primary and relating hexagrams fall in the King Wen sequence relative to each other. If the relating hexagram is numerically close to the primary, the change is small and incremental. If they are far apart in the sequence, the change is large and possibly disorienting.
For example, if your primary is Hexagram 24 (Fu, Return) and your relating hexagram is Hexagram 25 (Wu Wang, Innocence), the transition is very close in the sequence. The return naturally leads to a state of natural, spontaneous action. The transition is smooth and in logical sequence.
But if your primary is Hexagram 6 (Song, Conflict) and relating is Hexagram 47 (Kun, Oppression), you are jumping across much of the sequence. The transition from conflict to exhaustion is still logical, but the distance suggests the path between them is longer and more turbulent.
| Transition Type | Sequence Distance | Practical Reading |
|---|---|---|
| Adjacent hexagrams | 1-3 apart | Small, natural progression |
| Nearby hexagrams | 4-15 apart | Meaningful shift, manageable |
| Distant hexagrams | 16-40 apart | Major transformation, expect turbulence |
| Opposite ends | 40+ apart | Total reversal or new chapter |
The Last Hexagram: Before Completion (Wei Ji)
The King Wen sequence ends not with completion but with a hexagram called Wei Ji (未济), Before Completion. This is one of the most meaningful choices in the entire sequence. The obvious choice for the final hexagram would be Hexagram 63 (Ji Ji, After Completion), which represents things in their fulfilled state. Instead, the sequence places that near the end and leaves Before Completion as the 64th and final hexagram.
The message: the cycle of change never completes. There is always another beginning. Before Completion means the process is still open, still in motion. It is an oddly optimistic note to end on, and also deeply honest about the nature of lived experience.
If you want to explore hexagram-by-hexagram readings, the complete 64 hexagrams guide goes through each hexagram in turn. And for understanding how individual hexagrams connect through their changing lines, the changing lines article describes the method in detail.
The Eight Palaces and Later Arrangements
Beyond the King Wen and Shao Yong sequences, other arrangements have existed throughout Chinese history. The most influential alternative is the Eight Palaces (八宫) system attributed to Jing Fang (京房, 77-37 BCE). Jing Fang organized the 64 hexagrams into eight palaces of eight, each palace headed by one of the eight trigrams repeated twice (for example, Qian with Qian, Kun with Kun). Each palace then traces the progressive transformation of its hexagram by changing one line at a time from the bottom up, proceeding through six steps until the hexagram returns to a form that mirrors its starting state.
The Eight Palaces system is primarily used in Han dynasty image-and-number (xiangshu, 象数) scholarship and in some forms of predictive divination that correlate hexagrams with calendrical cycles, stems and branches, and the five elements. It is less commonly used for personal I Ching consultation, but it provides a powerful structural framework for understanding how hexagrams transform into one another.
What the Eight Palaces system makes clear is that every hexagram is connected to every other hexagram through a chain of single-line changes. The I Ching is a network, far more than a simple sequence. The King Wen sequence is one path through that network, the binary order is another, and the Eight Palaces is a third. Each path reveals different relationships and different layers of meaning within the same set of symbols.
The Trigrams as the Foundation of the Sequence
Every hexagram is built from two trigrams (lower and upper). The eight trigrams (bagua, 八卦) are the building blocks of the entire system. The King Wen sequence depends on how trigrams combine to create meaning. When you understand what each trigram represents, you can intuitively grasp hexagram relationships without memorizing all 64 combinations.
For example, Hexagram 24 (Fu, Return) is composed of Zhen (Thunder) below Kun (Earth). Thunder under the earth: the awakening energy hidden beneath the receptive ground. Knowing the trigram imagery deepens every hexagram reading.
The trigrams and bagua guide on this site covers all eight trigrams, their elemental associations, and how they interact. For the connection between trigrams and the five elements (wu xing, 五行), the five elements article explores that relationship in detail.
The Han dynasty scholars who studied the Eight Palaces system also correlated hexagrams with the 60-stem-branch (干支, gan zhi) cycle used in Chinese astrology and calendering. Each hexagram could be mapped to a specific time period, creating a complex system where hexagrams, trigrams, stems, branches, and elements all interlocked. This system influenced later developments in Chinese divination, including the roots of what would eventually inform systems like QMDJ.
I mention this because the King Wen sequence, while primarily a divination tool, sits within a larger cosmological framework. The sequence does not exist in isolation. It is one thread in a complex web of correspondences that Chinese scholars developed over centuries. You do not need to understand all of it to use the I Ching effectively, but knowing it exists gives you a sense of the depth available when you want to go further.
Frequently Asked Questions
Is the King Wen sequence historically confirmed?
The sequence is well-attested from the Han dynasty onward. Whether it was truly composed by King Wen of Zhou is debated by scholars. The earliest archaeological evidence for the order comes from the Mawangdui silk manuscript (168 BCE), which uses a different arrangement. But the King Wen sequence has been the dominant order since the Han period and is the one used in all standard editions.
What is the Mawangdui sequence?
The Mawangdui manuscript, discovered in 1973, arranges the hexagrams in a different order from King Wen. It groups hexagrams by their upper trigram rather than following the narrative pairing logic. Scholars see it as evidence that the hexagrams were ordered in different ways at different times before the King Wen sequence became standard.
Should I study Shao Yong’s order?
If you are interested in the mathematical and cosmological dimensions of the I Ching, Shao Yong’s binary order is worth studying. It gives insight into the underlying numerical structure of the hexagrams. For everyday divination practice, the King Wen sequence remains the standard reference.
Does the sequence number of a hexagram affect its meaning?
The sequence number itself does not carry meaning, but the position in the sequence does provide context about where a hexagram sits in the overall narrative of change. Two hexagrams that are numerically close tend to describe situations that naturally flow into each other. Two that are far apart describe discontinuous transitions.
Why does the sequence not end with completion?
The deliberate choice to end with Hexagram 64 (Before Completion) rather than Hexagram 63 (After Completion) is one of the most commented-on features of the King Wen sequence. It signals that the I Ching views reality as an ongoing, open-ended process rather than a journey with a final destination. The cycle always begins again.

Leave a Reply
You must be logged in to post a comment.