The yarrow stalk method: how the I Ching stalks are counted

The I Ching can be cast with stalks of yarrow as well as with coins. A short passage in the Xici (繫辭) gives the method in outline, and the twelfth-century scholar Zhu Xi worked it out step by step in his Shiyi (筮儀). This page follows both: how the stalks are divided and counted, what the counts come to, why stalks and coins give different odds, and how the yarrow cast on this site does it.

Open I Ching

What it is

Part One of the Xici, one of the commentaries traditionally counted among the Ten Wings, gives the method in its ninth chapter: "The number of the great expansion is fifty, and forty-nine are used. They are divided in two to stand for the two; one is hung up to stand for the three; they are counted by fours to stand for the four seasons; the remainder is put back between the fingers to stand for the intercalary month, and in five years there are two intercalary months, so there are two remainders and then the hanging begins again."

The same chapter counts the work: four operations make one change, and eighteen changes make a hexagram. The passage leaves much unsaid, and later readers filled it in. The fullest account we found is Zhu Xi's Shiyi, printed at the end of the Siku Quanshu (四庫全書) copy of his Zhouyi Benyi (周易本義), which this page follows.

How the stalks are counted

Zhu Xi begins with fifty stalks and returns one to its case, leaving forty-nine, then divides them with both hands onto the left and right of a rack. In that sentence the transcription prints 四中九 where 四十九, forty-nine, is meant. His note calls this the first operation, what is called "dividing them in two to stand for the two".

He picks up the left heap in his left hand, then takes one stalk from the right heap and hangs it at the little finger of his left hand. He counts the left heap off by fours with his right hand and sets the remainder, one, two, three or four, at the ring finger of his left hand. Then he puts the counted stalks back, picks up the right heap, counts it by fours with his left hand and sets its remainder at the middle finger. The hung stalk and the two remainders, laid together on the rack, make one change.

His note gives what the first change can leave: counting the hung stalk, either five or nine. The stalks left, forty-four or forty, are divided and counted again for the second change, and what is left after that for the third. On those two changes the hung stalk and remainders come to four or eight. The Mingshi (明筮), the verse Zhu Xi wrote on the same procedure, has the divider split the stalks evenly as the hand falls.

What the counts come to

After three changes, the stalks set aside come to thirteen, seventeen, twenty-one or twenty-five, and the stalks counted through by fours are thirty-six, thirty-two, twenty-eight or twenty-four. Divided by four, these give 9, 8, 7 and 6. The Shiyi counts a set-aside of five or four as odd and nine or eight as even, and says that three odd set-asides make thirteen stalks, thirty-six stalks are counted through, and the line is old yang. Twenty-four stalks counted through make old yin; thirty-two, young yin; and twenty-eight, young yang. A 9 or a 6 is a changing line.

Zhu Xi also counts the cases. On the first change the left remainder can be one, two, three or four, and the right remainder follows from it. Three of those four cases set aside five and one sets aside nine: in his words, the odd are three and the even one. On the second and third changes, odd and even each take two of the four. If each case is equally likely, a line is old yin once in sixteen casts, young yang five times, young yin seven times and old yang three times. These figures are our arithmetic from his cases, and the site's tests check them.

Three coins give a line that is yang half the time and a changing line once in four, as the stalks do, so either method makes each of the sixty-four first hexagrams equally likely. The difference is in which lines change. Coins make old yin and old yang equally likely, each once in eight. With stalks a yang line changes three times in eight and a yin line once in eight. So the two methods give different changing lines, and different second hexagrams, in the long run. Neither the Xici passage nor the Shiyi compares stalks with coins, and this site does not rank one above the other.

How this site counts them

The yarrow cast at /i-ching/yarrow follows the steps above: forty-nine stalks for each line, three changes, a stalk hung from the right heap, both heaps counted by fours. The division is made on our server with a random number. For each change the left heap takes one of twenty counts around half the stalks in hand, each equally likely, so the division falls near the middle. Because twenty is a multiple of four, every left remainder from one to four is equally likely, so each of the cases Zhu Xi counts is equally likely and the odds above come out exactly.

The page then shows each division and count as the server made it. Pressing the button sets the pace; it does not choose where the stalks divide. That keeps to this site's rule that every cast comes from the same random source, whoever is casting and whatever they have cast before. The result is read the same way as a coin cast, including the panel that follows Zhu Xi's rule for which text to read.

Where the record runs out

The Shiyi also sets out a room, a table, a rack, incense and a spoken charge to the stalks before the first change. The page leaves these out. The charge is spoken once, before the first line. His note on the first change of each line adds that from the second line on there is no charge, and only the forty-nine stalks are used, without starting again from fifty. He also names the four lines as they are marked on the board: old yang is 重 (doubled), young yin 拆 (split), young yang 單 (single) and old yin 交 (crossed). The site draws them as solid or broken lines, with a circle on a changing yang line and a cross on a changing yin line.

The odds above treat each of the cases Zhu Xi counts as equally likely. Whether stalks divided by hand fall that way is not something the passages quoted here address.

The Shiyi and the Mingshi are read from Siku Quanshu copies transcribed on Wikisource, without punctuation and with variant forms such as 䇿 for 策 (a stalk), as they are stored. The Xici passage is translated from the Project Gutenberg text in this site's library.

Sources