I Ching64 hexagrams that answer a question
A divination from ancient China that became the Confucian classic Yijing. Its 64 hexagrams, each made of six yin or yang lines, are read for answers to a question.
ChinaZhou dynasty (1st millennium BCE) onwardDrawing cards or lotsArticle only
An interactive reading is available on the Japanese page (in Japanese).
Overview
The I Ching (Yijing) is a divination born in ancient China. It produces a gua, a figure made by stacking six lines that stand for yang and yin, and reads an answer to a question from the words attached to that figure. The book that collects these divinatory texts is the Yijing (Book of Changes). It is also called the Zhouyi, meaning “the changes of Zhou”.
The Yijing later came to be counted among the Five Classics, the core scriptures of Confucianism. It has long been read both as a book of divination and as a work of philosophy about how to meet change in the world. It has been studied in Japan since early times, and is familiar enough there to have produced the proverb ataru mo hakke, ataranu mo hakke (“the eight trigrams may hit, and they may miss”).
History
From turtle shells to plant stalks
In China’s Yin (Shang) dynasty, a divination that judged good and bad fortune from the cracks formed by heating turtle shells and animal bones (oracle bones) was widely practiced. In the following Zhou dynasty, divination by counting plant stalks to obtain a figure, called shi, is thought to have become common. The I Ching took shape within this development.
Tradition and scholarship
According to long-standing tradition, the legendary ruler Fuxi created the eight trigrams. It was further said that King Wen of Zhou arranged the texts for each hexagram, that his son the Duke of Zhou arranged the texts for each line, and that Confucius wrote commentaries and completed the work.
These are traditions, however. Today it is thought that the main text, the jing, came together during the Zhou dynasty, and the commentaries, the zhuan, gradually from the end of the Zhou to the beginning of the Han.
The classic and the Ten Wings
The Yijing has two main parts. One is the jing, made up of the 64 hexagrams, the text for each hexagram (guaci) and the text for each line (yaoci). The jing is divided into an upper part of 30 hexagrams and a lower part of 34. The other part is the Ten Wings, ten commentaries that explain the jing.
The Ten Wings are the Tuan, Xiang and Xici commentaries (each in an upper and lower part), plus the Wenyan, Shuogua, Xugua and Zagua, making ten in all. Confucian scholars of the past believed Confucius wrote them, but Ouyang Xiu of the Song dynasty had already rejected this view. Today, because the ideas differ from one commentary to another, the dominant view is that they were not written by one person but in stages from the Warring States period to the early Han.
Through the Ten Wings, especially the Xici, ideas about the philosophy of yin and yang and the formation of the universe were added to the I Ching. In this way it broadened from a book of divination into a book of thought.
Arrival in Japan
The Nihon Shoki records that in the mid-6th century, in the reign of Emperor Kinmei, Japan asked the Korean kingdom of Baekje to send masters of the Yi and others. Dictionaries differ on when the I Ching arrived, giving the 5th century, the 6th century or the Nara period, but it was certainly known from ancient times.
Under the ritsuryo legal system, a Bureau of Onmyo (Onmyoryo) was established, with officials in charge of divination. In the Muromachi period, the I Ching was studied intensively at the Ashikaga Gakko in Shimotsuke Province (today’s Tochigi Prefecture). In the Edo period, study of the I Ching advanced with the spread of Confucian learning, and the number of people in towns who made a living from I Ching divination is said to have grown.
How it works
Yin and yang lines
The basic elements of the I Ching are the unbroken yang line (⚊) and the yin line broken in the middle (⚋). These lines are called yao. They are stacked from bottom to top; the lowest is called the first line and the highest the top line.
The eight trigrams
Stacking three lines gives 2 × 2 × 2 = 8 possible shapes. These are the eight trigrams (bagua), and each is likened to an aspect of nature.
| Trigram | Name | Image |
|---|---|---|
| 乾 | Qian | Heaven |
| 兌 | Dui | Lake |
| 離 | Li | Fire |
| 震 | Zhen | Thunder |
| 巽 | Xun | Wind |
| 坎 | Kan | Water |
| 艮 | Gen | Mountain |
| 坤 | Kun | Earth |
The 64 hexagrams
Placing two trigrams one above the other gives 8 × 8 = 64 hexagrams. The lower trigram is called the inner trigram and the upper one the outer trigram. Some hexagram names combine the upper and lower trigrams, such as 乾為天 (Heaven doubled) or 火水未済 (Fire over Water, “Before Completion”).
In the order of the Yijing, the first hexagram is Qian, the second is Kun, and the 64th and last is Weiji. It is often explained that ending the whole sequence with a hexagram meaning “not yet complete” expresses the I Ching’s idea that change never ends.
Casting a hexagram
The traditional stalk method
The Xici commentary of the Ten Wings says, “The number of the great expansion is fifty; forty-nine are used.” Following this, one of 50 divining sticks is set aside and the remaining 49 are used. In early times, the stalks of a plant (called medohagi in Japanese) were used rather than bamboo. The 49 sticks are repeatedly divided into two and counted, fixing the lines one at a time.
The full formal method requires 18 operations to obtain six lines and takes a great deal of time. For this reason a simplified method is often used. To display the resulting hexagram, six square counting rods called sangi are laid out.
The three-coin method
A method that can be tried with everyday objects uses three coins. In China, too, the method of casting a hexagram by tossing copper coins is said to have been practiced since early times. One example of the procedure:
- The question is narrowed to a single matter and put into clear words.
- Three coins are tossed together; heads count as 3 and tails as 2, and the total is added up.
- Whether the total is 6, 7, 8 or 9 decides one line.
- This is repeated six times, stacking the lines from the bottom up.
| Total | Name | Line |
|---|---|---|
| 6 | Old yin | Yin (changing to yang) |
| 7 | Young yang | Yang |
| 8 | Young yin | Yin |
| 9 | Old yang | Yang (changing to yin) |
Some books reverse the values of heads and tails. What matters is that the rule decided at the start is kept until the end.
Primary and resulting hexagrams
The hexagram first formed by the six lines is called the primary hexagram. Old yin and old yang lines are called changing lines, and are seen as lines about to turn into their opposites. The hexagram formed by switching all the changing lines is the resulting hexagram.
When interpreting, the overall situation is first grasped from the text of the primary hexagram. A well-known way of reading gives weight to the line texts of any changing lines and treats the resulting hexagram as “where things are heading”. Which texts to emphasize, however, differs from school to school.
Common misconceptions and trivia
Words that came from the I Ching
Several words used in Japanese, such as kakumei (revolution), kanko (sightseeing) and the idiom kunshi hyohen (“the gentleman changes like a leopard”), are said to come from the Yijing. Kunshi hyohen now tends to be used in a negative sense, but it originally praised a person of virtue for decisively correcting their mistakes.
Coins and stalks compared
With coins and with stalks, the chances of getting a changing line differ slightly. With three coins, old yin and old yang each come up once in 8 times. With the full stalk method, old yin comes up once in 16 times and old yang three times in 16, so yin and yang differ in how readily they change.
The trigrams around the world
The German philosopher Leibniz (17th–18th centuries) is known for seeing in a diagram of the 64 hexagrams, which he learned of through missionaries, parallels with the binary system he had devised. The national flag of South Korea, the Taegukgi, also shows four of the trigrams: Qian, Kun, Kan and Li (geon, gon, gam and ri in Korean).
Not a tool that is always right
The I Ching is often imagined as a tool that predicts the future exactly. The texts of the Yijing, however, are short and symbolic, leaving wide room for interpretation. A hexagram that comes up is best taken as a prompt to look at a situation from another angle, and it is not a basis for important decisions about health, money or the law, which belong with professionals.
Try it on this site
An interactive version is available on the Japanese page.
References
- コトバンク「易経」[Kotobank, “Yijing”] https://kotobank.jp/word/%E6%98%93%E7%B5%8C-36170
- コトバンク「易」[Kotobank, “Yi”] https://kotobank.jp/word/%E6%98%93-36156
- コトバンク「十翼」[Kotobank, “The Ten Wings”] https://kotobank.jp/word/%E5%8D%81%E7%BF%BC-77466
- Encyclopaedia Britannica, “Yijing” https://www.britannica.com/topic/Yijing
- 三浦國雄 (Miura Kunio)『易経』[The Yijing] 角川ソフィア文庫(ビギナーズ・クラシックス 中国の古典)[Kadokawa Sophia Bunko, Beginner’s Classics: Chinese Classics], 2010
Last updated: 2026-10-26
This page introduces a divination tradition as history and culture. It does not claim that divination predicts anything. Please do not make medical, legal, financial or life-and-death decisions based on divination; consult a qualified professional.