THE WENBU LIBRARY

Trigrams and hexagrams: read the structure first

Learn the eight trigrams, bottom-to-top line order and the difference between upper and lower trigrams with a simple worked example.

On this page

THE SHORT ANSWER

A trigram is one of eight possible patterns of three yin or yang lines. Two trigrams, one below the other, form a hexagram. Count upward from the bottom, identify each three-line group, then look up the pair. Traditional images such as Water or Fire help with recognition; they do not replace the text of a particular hexagram.

  • The same two trigrams can form different hexagrams when their positions are exchanged. Ji Ji and Wei Ji make a useful first comparison.
  • Line numbers run upward, while a name such as Water over Fire gives the upper image first. Keep the two conventions separate.
  • Earlier Heaven and Later Heaven diagrams arrange trigrams differently. You can learn the line patterns before studying directions; a learning diagram is not personal guidance about where to go.
ILLUSTRATED NOTE
Heaven111
Lake110
Fire101
Thunder100
Wind011
Water010
Mountain001
Earth000
Eight three-line patterns, with their names and images

Qian, Kun, Zhen, Xun, Kan, Li, Gen and Dui each have a distinct pattern. Read each pattern from bottom to top. The table uses that same order for its binary notation: 1 is solid and 0 is broken. This is a recognition chart, not a directional arrangement.

Three lines form a trigram; six form a hexagram

Each line has a yin or yang form, so three lines have eight possible combinations: the eight trigrams. Placing one trigram above another gives eight times eight, or 64 hexagrams.

Lines one to three form the lower trigram; lines four to six form the upper trigram. Count from the bottom. The first line is at the foot of the figure and the sixth is at the top.

Learn the names and their basic images

The Shuo Gua associates the trigrams with natural images. These help you recognize a figure; they are not rules for inferring a real event from a symbol.

  • Qian 乾 ☰: Heaven; Kun 坤 ☷: Earth.
  • Zhen 震 ☳: Thunder; Xun 巽 ☴: Wind.
  • Kan 坎 ☵: Water; Li 离 ☲: Fire.
  • Gen 艮 ☶: Mountain; Dui 兑 ☱: Lake.

Trigram reference: binary notation runs bottom to top

NamePatternTraditional imageRecognition cue
Qian 乾 ☰111HeavenThree solid lines
Kun 坤 ☷000EarthThree broken lines
Zhen 震 ☳100ThunderSolid line at the bottom
Xun 巽 ☴011WindBroken line at the bottom
Kan 坎 ☵010WaterSolid line in the middle
Li 离 ☲101FireBroken line in the middle
Gen 艮 ☶001MountainSolid line at the top
Dui 兑 ☱110LakeBroken line at the top

On a small screen, scroll the table sideways.

Changing the order changes the hexagram

Water above Fire is Ji Ji 既济, number 63 in the King Wen sequence, commonly translated as After Completion. Fire above Water is Wei Ji 未济, number 64, Before Completion. The same two trigrams in different positions produce different hexagrams.

In Chinese compound descriptions, the upper trigram is usually named first: 水火既济 means Water over Fire. King Wen numbers identify a sequence, not a ranking of good and bad outcomes. Read the name, hexagram text and individual line texts as distinct parts of the material.

Check the figure before interpreting it

After a cast, identify the lower and upper trigrams, then find the changing lines. Only those lines flip to create the resulting hexagram. That second figure follows a clear transformation rule; it is not a confirmed account of the future.

Try entering 7, 8, 7, 8, 7, 8 from bottom to top. The result is Fire below Water, Ji Ji, with no changing lines. Then change only the first 7 to 9 and observe the resulting hexagram. Wenbu’s short themes are original reflection prompts; ask for a named passage and source when you want to study the classical text.

WORKED EXAMPLE

Swap the trigrams: After Completion and Before Completion

Draw Li on one piece of paper and Kan on another. Use only stable lines for this exercise: write 7 for solid and 8 for broken. The task is to inspect the arrangement, not to make a cast.

  1. Place Li below Kan. From the bottom upward, the values are 7, 8, 7, 8, 7, 8. Fire is below Water: Ji Ji 既济, number 63, commonly called After Completion.

  2. Exchange the two groups without changing the order of the three lines inside either group. The values become 8, 7, 8, 7, 8, 7: Fire over Water, Wei Ji 未济, number 64, Before Completion.

  3. Check what you actually did. You exchanged two trigrams. You did not generate any 6s or 9s through a coin toss. These are two separate samples for a construction exercise.

  4. When reading a source, distinguish the hexagram’s name, its overall text and the texts for individual positions. Ask an Agent to identify Ji Ji’s lower and upper trigrams with a source before requesting an interpretation.

“It contains Water and Fire” leaves out decisive information. Keep the sequence and both positions in your record so a person or Agent can reconstruct the exact figure.

Key terms

Trigram / jing gua 经卦
One of the eight possible three-line patterns.
Hexagram / chong gua 重卦
A six-line figure made from an upper and lower trigram; there are 64 possible pairs.
Gua xiang 卦象
The figure’s structure or its associated imagery; a reader should specify which sense is intended.

Common questions

Do 63 and 64 rank the readings or measure completion?

No. They are positions in the King Wen sequence. The names invite discussion of completion, but the numbers are neither success probabilities nor a personal progress bar. Read the actual passage and keep the question’s context in view.

Why is 100 Thunder rather than Mountain?

The first digit here represents the bottom line. Therefore 100 is solid below two broken lines. A source that writes top to bottom will reverse that notation. Include “bottom-to-top” whenever you share a bare bit string.

Does the Water trigram mean rain is coming?

The association belongs to a traditional symbolic system, not a weather observation. A specific divination method may use images in its own way, but it must supply those additional rules. This recognition table alone makes no weather inference.

Sources and their scope

《易传》· 说卦 ↗

Primary text for natural-image associations; the recognition cues and exercise are editorial teaching aids.

《周易》· 六十四卦索引 ↗

Primary-text index for the names and passages of Ji Ji and Wei Ji.

Wenbu · src/data/hexagrams.ts ↗

Documents Wenbu’s bottom-to-top bit strings, trigram indexes and King Wen lookup table.

Wenbu · hexagram construction ↗

Further reading; not validation of real-world predictions.

Traditional interpretations are not established predictions. See the source notes for context.

Read this guide with your agent

Get the complete text, diagram descriptions and sources in an open format. These files contain public knowledge only.

Ready to put this into practice?

Try an I Ching cast ↗
WENBU · A NOTE TO US

Help shape what comes next.