I Ching Online — Free Hexagram Casting & Reading
Cast three coins six times to build your hexagram — the Book of Changes, 周易, answered in plain English.
Optional. Requesting an AI reading sends this question and your cast for interpretation. Leave blank for a general reading.
Three coins, six throws — the hexagram builds from the bottom up.
- Line 1 · 初爻
- Line 2 · 二爻
- Line 3 · 三爻
- Line 4 · 四爻
- Line 5 · 五爻
- Line 6 · 上爻
How I Ching casting works
From question to hexagram in six throws
A consultation starts with a question — not necessarily spoken aloud, just held clearly. Then three coins are thrown. Each throw yields one line of the hexagram, counted by faces: the character side of a Chinese cash coin is worth 2, the plain side 3, so three coins always sum to 6, 7, 8, or 9. Six throws stack six lines from the bottom up — the bottom line is cast first — and the finished figure is one of 64 possible hexagrams. Each hexagram decomposes into two three-line trigrams, the eight figures of Heaven, Lake, Fire, Thunder, Wind, Water, Mountain, and Earth.
Old lines and young lines — why some lines change
The four possible sums split into four line kinds. A sum of 7 is young yang (少阳): a solid line that holds. A sum of 8 is young yin (少阴): a broken line that holds. A sum of 9 is old yang (老阳) and a sum of 6 is old yin (老阴) — the moving lines. The old lines mark where a situation has ripened to the point of turning: an old yang line flips to yin, an old yin line flips to yang. That is why three heads or three tails matter — they appear only about one throw in eight each (probability 1/8, versus 3/8 each for the young lines), so moving lines stay rare and meaningful.
Your hexagram and your changing hexagram
The figure you build first is the primary hexagram (本卦) — the present shape of the situation. Flip every moving line and you get the transformed hexagram (变卦) — where the situation is tending. The classical reading order is: the Judgment (卦辞) of the primary hexagram for the situation as a whole, the Image (象传) for the posture it counsels, then the text of each moving line for the turning points, and finally the transformed hexagram as the direction of travel. A cast with no moving lines is read whole — a situation whose shape is settled for now.
A short history of the Book of Changes
The I Ching began as a manual of omens in the early Zhou dynasty — by tradition, the sixty-four hexagrams were named by King Wen around three thousand years ago, and the line texts attributed to his son, the Duke of Zhou, soon after. For most of its life it was a court diviner’s working book; only in the Han dynasty did it become a classic of philosophy, studied as much for its picture of change as for fortune-telling. The ten “Wings” — commentaries appended across the Warring States and Han periods — reframed the oracle as a meditation on how situations form, ripen, and turn. That double identity, oracle and philosophy, is why the book outlived every dynasty that consulted it: you can read it as a mirror for a decision, or as the oldest sustained essay in Chinese thought on impermanence. Either way, the mechanics are the same six lines you just cast.
About the English text you are reading
The judgments and line texts on this page are from James Legge’s translation of the Yi King (Sacred Books of the East, 1882), the first complete scholarly English rendering. Legge, a Scottish sinologist working in Hong Kong and Oxford, translated with the Chinese commentaries open beside him, and his sober Victorian prose remains the benchmark public-domain text. It is in the public domain, which is why we can show it to you unedited and uncensored, free of paywalls and “premium interpretations.” Hexagram numbering follows the received King Wen (文王) sequence, the order used by virtually every edition of the classic since the Han dynasty. Our casting engine uses a King Wen lookup table for the 64 six-line figures. Automated checks cover the complete set of figures and all 384 single-line transformations.
Where BaZi fits alongside
The I Ching answers a question; BaZi describes the person asking it. If the hexagram is a weather report for this moment, the Four Pillars chart is the climate you were born into — your Day Master, your elemental balance, your ten-year luck cycles. Many users keep both habits: a chart reading once a season, a cast when a specific decision is on the table. And if you are here about a relationship rather than a question, the zodiac compatibility tool reads two birth years against the classical harmony and clash tables.
Privacy by design
Coin casting and hexagram lookup run in your browser. Shared cast links use a URL hash that contains the six lines, not your question. If you choose “Get my reading”, your cast and any question entered are sent to our reading service and AI provider; if AI is unavailable, the tool uses a local template. Read our Privacy Policy for processing details and our I Ching casting method for the line probabilities and transformation rules.
A last word on what a cast is for. The classical consultants treated the hexagram as a way to slow a decision down long enough to see it whole — to name what is moving, what is settled, and what posture the moment rewards. Used that way, the oracle is a discipline of attention more than a window on the future. HeavenStem is entertainment and self-reflection software — it is not professional, medical, financial, or legal advice, and no hexagram makes decisions for you.
Questions, answered.
Yes — coin casting, manual line entry and the classic texts are free, with no signup. AI readings are optional and subject to availability and request limits; a local template is used when AI is unavailable. HeavenStem also offers an optional paid Deep Life Report for BaZi charts.
The simulation uses the same line probabilities as three fair coins: young yang 3/8, young yin 3/8, old yang 1/8 and old yin 1/8. A King Wen lookup table maps the six lines to a hexagram; automated checks cover all 64 figures and 384 single-line transformations. A reading offers reflection, not certainty.
When all three coins land on the same face, the line is “old” — yin or yang at its limit — and it flips polarity. These moving lines carry their own classical texts, and flipping them turns your primary hexagram into a transformed one: the situation’s direction of travel. About one throw in four produces a moving line, so most casts have zero to three.
The English texts are adapted from James Legge’s 1882 translation of the Yi King, with attribution. The optional AI interpretation is a separate modern reading, not part of the classical translation.
Casting does not send the question. If you choose “Get my reading”, the cast and any question entered are sent to our reading service and AI provider for interpretation. Shared links encode the six lines, not the question. A local template is used if the AI request is unavailable. See our Privacy Policy.
You can, but the tradition advises against it — Hexagram 4 (Youthful Folly) addresses exactly this: “If he asks a second and third time, that is importunity.” The practical reading: a second cast on the same question usually says more about restlessness than about the situation. Sit with the first answer; cast again when the situation has actually moved.
Use “Enter lines manually” — pick each of your six lines from the bottom up (young yang, young yin, old yang, old yin), and the tool builds the same hexagram, moving lines, and transformed figure as a live cast. Yarrow stalk results enter the same way.
Curious what the year you were born already wrote?
The I Ching answers a question; your BaZi chart describes the instrument asking it. Different instruments for different questions.
Plot your BaZi chart