I-Ching 64 Hexagrams (易经六十四卦)
64 hexagrams · line patterns · trigrams · coin-cast simulation
I-Ching 64 Hexagrams (易经六十四卦)
Finding chart: all 64 by upper and lower trigram
Read the upper trigram down the side and the lower trigram across the top, then tap the cell.
I cast my own coins: enter the six lines
Count heads as 3 and tails as 2 (or your own convention) and add the three coins to get 6, 7, 8 or 9. Lines are built from the bottom up.
How to use
Lookup by number
Enter 1-64 to retrieve a specific hexagram. E.g. "1" = Creative, "63" = After Completion.
Lookup by name
Enter "乾", "qian", or "creative" — Chinese name, pinyin, or English all work.
Pinyin that fits two hexagrams
Without tone marks, some pinyin is two hexagrams: "qian" is 乾 and 谦, "kun" is 坤 and 困. Both are listed so you can switch.
Casting
Click "🪙 Cast coins" to simulate three coins tossed six times. You get the present hexagram, any changing lines, and the hexagram it becomes. Cast real coins? Enter the six lines under "I cast my own coins".
I-Ching: China's Oldest Wisdom Book
The I-Ching (《易经》, "Book of Changes", yìjīng) is one of China's oldest texts. Tradition credits its sixty-four hexagrams to King Wen of Zhou: the Shiji says that while imprisoned at Youli he “probably” doubled the eight trigrams into sixty-four. The philosophical commentaries known as the "Ten Wings" (《易传》) are traditionally credited to Confucius and his school, though most modern scholarship dates them to the Warring States and early Han rather than to Confucius himself. Originally a divination manual, it grew into the source of Chinese philosophy, influencing Confucianism, Daoism, the Yin-Yang school, traditional medicine, martial arts, and the arts.
The eight trigrams and 64 hexagrams
The core of the I-Ching is the "eight trigrams" (八卦, bāguà), representing eight elemental states: Heaven (乾), Earth (坤), Thunder (震), Wind (巽), Water (坎), Fire (离), Mountain (艮), Lake (兑). Combining the eight trigrams in pairs produces the 64 hexagrams. Each hexagram has 6 lines, each line being either yin (broken) or yang (solid). These 64 patterns are said to encompass all fundamental modes of human and natural change.
Divination methods
Two traditional divination methods: (1) Yarrow-stalk casting: a complex 50-stalk procedure described in the Great Commentary of the Zhou Yi. (2) Three-coin method: three coins tossed six times, each toss producing one line based on heads/tails. This tool's "Cast coins" button simulates the second method.
Each line comes out as 6, 7, 8 or 9. A 9 (old yang) or a 6 (old yin) is a changing line: it flips, and flipping those lines gives the second hexagram the first one "becomes" (之卦). The two methods do not give the same odds, so coins are not just a quicker yarrow cast:
| Line | Three coins | Yarrow stalks |
|---|---|---|
| 6 old yin (changing) | 2/16 | 1/16 |
| 7 young yang | 6/16 | 5/16 |
| 8 young yin | 6/16 | 7/16 |
| 9 old yang (changing) | 2/16 | 3/16 |
Modern significance
The Zhou Yi began as a divination manual; many modern readers use it as a framework for thinking about their present situation. Carl Jung wrote the foreword to the 1950 English translation, made by Cary F. Baynes from Richard Wilhelm’s German.
Hexagram names, numbers, figures and the original text follow the Zhou Yi on Chinese Wikisource, collated line by line against its Zhouyi Zhengyi. The original text is shown in Classical Chinese and is not translated here; the short readings are this site’s own paraphrases, not translations. Cultural and educational reference only.
Eight trigrams squared is sixty-four, and Jung wrote the foreword
The Analects mentions it twice. Confucius wishes for more years, so that at fifty he could study the Changes (五十以學易), and quotes the third line of the Heng hexagram: 不恆其德,或承之羞.
Leibniz read it as binary. Eight trigrams (2³) combined pairwise give 64 (2⁶). In 1701 the Jesuit Joachim Bouvet sent him Fuxi’s figure of the 64 hexagrams from Beijing, and his 1703 paper on binary arithmetic says the figures match his counting in 0 and 1.
The primary text is remarkably brief. A hexagram’s judgment is often under 30 characters (乾’s is four: 元亨利貞), plus six line statements. The later "Ten Wings" commentaries are far longer, over 15,000 characters.
The character 易 carries three meanings. The preface to the Zhouyi Zhengyi quotes the Qianzaodu: one name holding three senses, easy, changing and unchanging (易一名而含三義).
The I-Ching in the West: the Wilhelm/Baynes English translation (Cary F. Baynes from Richard Wilhelm’s German) was published in New York in 1950 as Bollingen Series XIX, with a foreword by Carl Jung.
Frequently Asked Questions
-
There is no evidence that it can. The Zhou Yi began as a divination manual, but a cast here is a random result of coin tosses. Many modern readers treat it as a prompt for thinking about the present, not as prophecy.
-
Entry level only. The original text here is the Zhou Yi itself, but the readings are simplified modern paraphrases, and the Tuan, Small Image and Wenyan commentaries are not included. A complete traditional reading would consult the Zhouyi Zhengyi, the Ten Wings, Cheng Yi's commentary, and Li Guangdi's synthesis. This tool is a starting point, not the destination.
-
This is the traditional method. Three coins tossed six times stand in for the yarrow stalks, with different odds of a changing line (see the table above): the Song scholar Xiang Anshi records “diviners today toss three coins”, and the Qing scholar Zhao Yi traced coin divination back to the Tang. Its "accuracy" concept lies not in statistics but in symbolic meaning — the goal of divination is reflection, not measurement. The tool’s coin simulation uses the browser’s cryptographic random-number generator.
-
Traditional advice: (1) Pose specific questions — not "Will this year be good?" but "Should I take this job offer?" (2) Cast with reverence. (3) Don't repeat the same question: the judgment of 蒙 says the first cast informs, and asking again and again is a discourtesy that gets no answer (初筮告,再三瀆,瀆則不告). (4) Treat the judgment as a starting point for reflection, not as an answer.
-
The eight trigrams are 3-line combinations of yin and yang. Each line is yin or yang, so 3 lines = 2³ = 8 combinations. E.g. Heaven (☰) = yang-yang-yang; Earth (☷) = yin-yin-yin; Thunder (☳) = yin-yin-yang (bottom line is yang).
-
The "King Wen sequence" is the most canonical ordering, starting with 乾 (1, Creative), 坤 (2, Receptive) and ending with 既济 (63, After Completion), 未济 (64, Before Completion). The Shiji says King Wen of Zhou, while imprisoned, doubled the eight trigrams into sixty-four. Other orderings exist, such as Shao Yong's diagram, which matches binary order; mnemonic verses like the 六十四卦總括歌 recite the same King Wen order rather than a different one. This tool uses the King Wen sequence.
-
Public domain. The 64 hexagrams' primary text comes from the Zhou Yi, long in the public domain; names, numbers, figures and text follow the Chinese Wikisource text, collated against its Zhouyi Zhengyi. The short readings are this site’s own paraphrases; for serious study, consult a full translation such as Legge’s or Wilhelm’s.
Method & sources
How it computes
Lookup by number, name or pinyin over the 64 hexagrams in King Wen order, returning every match where toneless pinyin is ambiguous. A cast tosses three coins per line with the browser's cryptographic generator, heads 3 and tails 2: 6 and 9 are changing lines, and flipping them gives the relating hexagram. Text is the Zhou Yi on Chinese Wikisource, collated against its Zhouyi Zhengyi; the short readings are this site's paraphrases.
What this tool implements
- The 卦辭, 大象 and 爻辭 shown are Wikisource's 周易, collated line by line against its 周易正義. Where the two differ the received reading stands: 考祥, 號咷, 甕敝, 井洌, 負塗, 闚, 享祀, 噬臘肉, and no 悔亡 in 渙 初六. 已日 (革) and 日閑 (大畜) keep Wikisource's form; both have other readings. The text stays in traditional characters for every language.
- Corrected 2026-11-02: toneless "qian", the page's own example, opened 謙 (#15), not 乾 (#1), because the index kept only the last entry for each spelling; 履 could not be reached by pinyin at all. Every match is now offered. 噬嗑 is shìhé (序卦: 嗑者,合也), not shìkè; 觀 as a hexagram is guàn (MOE dictionary). The old spellings still find them.
- Corrected 2026-11-02: the cast discarded its changing lines, so it never was the method it described. It now reports 6/7/8/9 per line, the changing lines' statements, 用九/用六 where all six change on 乾/坤, and the relating hexagram. The page no longer calls coins a yarrow approximation: coin odds are 2/16, 6/16, 6/16, 2/16 and yarrow odds 1/16, 5/16, 7/16, 3/16 for 6, 7, 8, 9, derived from the 繫辭上 procedure and pinned in the test suite.
- Corrected 2026-11-02: 五十以學易 is "at fifty", not "fifty years"; 卦序歌 recites the King Wen order and is not another ordering; 易 三義 is the 乾鑿度 as quoted in the 周易正義 preface. Cut as unsourced: the martial-arts and five-elements claims and the claim about how often Chinese communities consult it.
- Corrected 2026-10-25 (code): the figures are stored top to bottom, but the page drew them bottom to top and swapped the trigram labels, so 56 of the 64 hexagrams were shown upside down (泰 appeared as 否). The coin cast built its lines the same wrong way. Both fixed.
- Corrected 2026-10-25 in all three languages: Wilhelm/Baynes is 1950, not 1949, and Jung's foreword is to that translation; 'compiled 1000-700 BCE' is replaced by the Shiji's account of King Wen; judgment and Ten Wings lengths; the Analects cites the Changes twice, not Mencius; Leibniz is dated to his 1703 paper and Bouvet's 1701 letter; the three-coin method is traced to the Song (項安世) and, per 趙翼, the Tang. The short readings are labelled as this site's own paraphrases.
Sources
- Chinese Wikisource. 周易 (64 hexagram pages: 「X下Y上」, 爻題, 卦辭, 大象, 爻辭), 易傳·繫辭上 「大衍之數五十,其用四十有九」. https://zh.wikisource.org/wiki/周易
- Chinese Wikisource. 周易正義 (per-hexagram pages), used to collate the text. https://zh.wikisource.org/wiki/周易正義
- Chinese Wikisource. 周易注疏 (四庫全書本), 周易正義序: 「易緯乾鑿度云易一名而含三義,所謂易也,變易也,不易也」. https://zh.wikisource.org/wiki/周易注疏_(四庫全書本)/周易正義序
- Chinese Wikisource. 易傳·序卦: 「嗑者,合也」. https://zh.wikisource.org/wiki/易傳/序卦
- Ministry of Education (Taiwan), 重編國語辭典修訂本, via moedict: 觀 guàn 「《易經》卦名」; 嗑 hé 「閉、合」. https://www.moedict.tw/uni/觀
- Chinese Wikisource. 事林廣記 後集 卷七, 六十四卦緫栝歌 (recites the King Wen order). https://zh.wikisource.org/wiki/事林廣記/後集/卷07
- Sima Qian. 史記·周本紀: 「其囚羑里,蓋益易之八卦為六十四卦」 (Chinese Wikisource). https://zh.wikisource.org/wiki/史記/卷004
- 論語·述而 「加我數年,五十以學易」; 子路 「不恆其德,或承之羞」 (Chinese Wikisource). https://zh.wikisource.org/wiki/論語
Show 3 more
- Leibniz, G. W. Explication de l'arithmétique binaire. Mémoires de l'Académie royale des sciences 1703:85-89; p. 88 on Bouvet's letter of 14 November 1701 and Fuxi's figure of 64. https://www.uniba.it/it/docenti/petrocelli-carla/attivita-didatti…
- Internet Archive. The I Ching or Book of Changes, trans. Wilhelm and Baynes, foreword C. G. Jung; Bollingen Series XIX, Pantheon Books, 1950. https://archive.org/details/bwb_S0-DZJ-880
- 項安世. 項氏家說 卷二 「今占家以三錢擲之」; 趙翼. 陔餘叢考 卷三十 「則唐人已用之」 (Chinese Wikisource). https://zh.wikisource.org/wiki/陔餘叢考/30
What can make this go out of date
- None at runtime: the 64 hexagrams and their text ship with the page's own code on recatools.com.