I Ching

How to Cast the I Ching: Coins and Yarrow Stalks

Four plain bronze discs in dark tones, for casting the I Ching with coins and yarrow stalks

To ask the I Ching (易经 Yì Jīng), the Book of Changes, a question, you build a hexagram (卦 guà) one line at a time. Each line is decided by a small act of chance — coins tossed or stalks counted — and the six results stack into a figure the oracle can be read from. Learning how to cast the I Ching is really learning two things: the physical procedure, and the number each throw produces. There are two classical methods. The three-coin method is quick and is what most people use today. The yarrow-stalk method is older, slower, and ritual. Both arrive at the same four values — 6, 7, 8, or 9 — and those values are the whole game.

A note before the procedure: the casting is mechanical. Once you have the six line values, deriving the hexagram, its number, and any second hexagram is fixed lookup, not intuition. A tool does that computing. What follows explains the mechanics so the result means something to you, not so you have to arithmetic in your head.

The line values: 6, 7, 8, 9

Every line in a hexagram is either yang (阳 yáng), a solid line, or yin (阴 yīn), a broken line. But the I Ching distinguishes two grades of each — young and old — and that distinction is what makes the oracle move rather than sit still. The four possible outcomes of a single throw are:

Value Name Line Changing?
6 Old yin (老阴 lǎo yīn) Broken (yin) Yes — changes to yang
7 Young yang (少阳 shào yáng) Solid (yang) No — stable
8 Young yin (少阴 shào yīn) Broken (yin) No — stable
9 Old yang (老阳 lǎo yáng) Solid (yang) Yes — changes to yin

Read the logic this way. Odd numbers are yang, even numbers are yin — that sets the line you draw. The “old” values, 6 and 9, are at the extreme of their nature, and in the I Ching anything at its extreme is about to turn into its opposite. So 9, old yang, is yang so full it tips into yin; 6, old yin, is yin so full it tips into yang. The “young” values, 7 and 8, are yang and yin at rest — they hold. This is the beating heart of the whole book: nothing at the top stays at the top. A line that is 6 or 9 is a changing line, and it turns the situation into a second hexagram. We treat that in depth in the piece on I Ching changing lines and the second hexagram.

易经 · Book of Changes

Cast your own hexagram. Six throws build your hexagram and any changing lines, each linked to a plain reading. Free, in your browser.

Cast the I Ching →

The three-coin method

This is the fast, common way, and the easiest to learn. Take three coins — traditionally round bronze coins with a square hole, but any three identical coins work. Assign each face a number: heads (or the inscribed side) counts as 3, tails as 2. Toss all three at once. Add the three faces. The sum can only be 6, 7, 8, or 9 — exactly the line values above.

  • Three tails: 2 + 2 + 2 = 6 (old yin, changing)
  • Two tails, one head: 2 + 2 + 3 = 7 (young yang)
  • One tail, two heads: 2 + 3 + 3 = 8 (young yin)
  • Three heads: 3 + 3 + 3 = 9 (old yang, changing)

Do this six times. The first toss is the bottom line; you build upward, because hexagrams are read from the ground up. Record each value as you go. Six throws give you six values, and from those the hexagram is fully determined — its King Wen number, name, and the pair of trigrams (八卦 bā guà) that compose it. If you want a refresher on those building blocks, see the eight trigrams of the I Ching.

One thing worth knowing when you cast the I Ching with coins: the three-coin method makes 6, 7, 8, and 9 come up in the ratios 1 : 3 : 3 : 1. Old yin and old yang are each fairly rare, but equally rare. That symmetry is not how the older method behaves.

The yarrow-stalk method

The traditional method uses 50 dried yarrow stalks (or bamboo sticks, in practice). One stalk is set aside and never used again, leaving 49 in play. From those 49 you perform a counting ritual — dividing the bundle into two heaps, removing stalks in a fixed sequence of remainders — three full rounds of division per line. The remainder totals from those three rounds resolve to one of the same four values, 6, 7, 8, or 9. Six lines therefore take eighteen rounds of counting: unhurried, deliberate, and by design a meditative act rather than a quick answer.

The procedure is intricate, and this is exactly why a tool earns its place — the arithmetic of the divisions is fixed and easy to get wrong by hand. What matters conceptually is that the yarrow method does not produce the four values in equal-old proportions. Its ratios come out closer to 1 : 5 : 7 : 3 for 6 : 7 : 8 : 9. Old yang (9) is meaningfully more likely than old yin (6), and young yin (8) is the most common line of all. So changing lines fall differently than with coins, and a purist will tell you the two methods are not interchangeable. In practice, most modern readers use coins and accept the simpler odds; the choice is yours, and neither is “wrong.” For what to look for in software that casts for you, see the best I Ching online tools.

Frequently asked questions

How do you cast the I Ching?

You cast the I Ching by building a hexagram one line at a time, from the bottom up, using either three coins or yarrow stalks. Six throws give six line values of 6, 7, 8 or 9, and those values fully determine the hexagram.

How does the three-coin method work?

In the three-coin method, heads counts as 3 and tails as 2, and you add the three faces after each toss. Three tails make 6 (old yin), two tails and one head make 7 (young yang), one tail and two heads make 8 (young yin), and three heads make 9 (old yang).

How many yarrow stalks do you need for the I Ching?

The yarrow-stalk method uses 50 dried stalks, with one set aside and never used, leaving 49 in play. Each line takes three rounds of division, so six lines take eighteen rounds of counting.

Are coins and yarrow stalks equally accurate?

Neither method is wrong, but the odds differ. Coins produce 6, 7, 8 and 9 in the ratio 1 : 3 : 3 : 1, while yarrow stalks come out closer to 1 : 5 : 7 : 3, making old yang more likely than old yin. Most modern readers use coins and accept the simpler odds.

What do the numbers 6, 7, 8 and 9 mean in the I Ching?

In the I Ching, odd numbers are yang (solid lines) and even numbers are yin (broken lines). The old values, 6 and 9, are at the extreme of their nature and change into their opposite, while the young values, 7 and 8, are stable. See I Ching changing lines and the second hexagram.

Which line do you cast first?

The first toss gives the bottom line, and you build upward because hexagrams are read from the ground up. Record each value as you go.

From cast to reading

Whichever method you use, the output is the same shape: six line values, bottom to top, some of them possibly changing. The primary hexagram is what you draw from the six lines as they stand. If any line is a 6 or a 9, flip it to its opposite and read the resulting figure — the second hexagram, where the situation is tending. Looking up which of the 64 figures you have landed on is pure reference, covered in the 64 hexagrams of the I Ching, and turning that figure into counsel is the subject of how to read the I Ching. For the wider frame — what the oracle is and is not — start at the I Ching hub.

The I Ching sits at the root of the Chinese metaphysical arts, and its yin-yang and trigram logic is the same machinery underneath Ba Zi (八字 bāzì), the Four Pillars. The difference is that Ba Zi is not cast at a moment — it is fixed from your birth data. If you want to see that deterministic version of the same elemental language, plot your own chart free with the Ba Zi calculator, and read the two systems side by side. Temple fortune sticks are a related folk way of putting a question, explained in our guide to how Chinese fortune sticks work.

Schedule a consult