Meng Xi, Jing Fang, and the Hexagram Calendar

Shortly after the Taichu reform standardized the solar terms, two scholars mapped all 64 hexagrams onto the calendar year. The system they built—卦氣六日七分—is still in use.

Part 3 of The Court Historian's Art — a series on how astronomy, record-keeping, and divination became one tradition.

Circular stone calendar carved with hexagram lines on a mountainside, with a scholar tracing the patterns — Chinese ink painting

The Setup

Here's the situation. It's the first century BC, a few decades after the Taichu reform locked in the conventions that still govern the Chinese calendar: twenty-four solar terms, formally spaced at 15° intervals along the ecliptic, anchored to the solstices and equinoxes. The calendar is no longer drifting. For the first time, you have a stable, standardized coordinate system for time.

And two I-Ching scholars look at that coordinate system and think: we can plot hexagrams onto it.

Meng Xi (孟喜) was a classicist in the Western Han court who studied the I-Ching not as poetry or philosophy but as a pattern language. His student Jing Fang (京房, 77–37 BC) took Meng Xi's framework and built it out into something rigorous, systematic, and—this is the part that matters—calculable. The system they developed is called 卦氣六日七分: "hexagram qi, six days and seven parts." It maps every hexagram in the I-Ching onto a specific window of the solar year.

This wasn't mystical improvisation. It was engineering. And it was only possible because the Taichu reform had given them the infrastructure.

The Four Cardinal Hexagrams

The architecture starts with four hexagrams pulled out of the main sequence and assigned to structural duty. These are the 四正卦 (Four Cardinal Hexagrams):

  • 坎 (Kǎn, Water) — anchors the winter solstice
  • 震 (Zhèn, Thunder) — anchors the spring equinox
  • 離 (Lí, Fire) — anchors the summer solstice
  • 兌 (Duì, Lake) — anchors the autumn equinox

Each of these hexagrams is a doubled trigram—Kan is Water over Water, Li is Fire over Fire, and so on. Six lines each, four hexagrams: twenty-four lines total. Those twenty-four lines correspond, one-to-one, to the twenty-four solar terms.

Read that again. The system doesn't merely associate the four hexagrams with the four seasons. It maps their individual lines onto the individual solar terms. The first line of Kan governs 冬至 (Winter Solstice). The second line governs 小寒 (Minor Cold). And so on, through all twenty-four terms across all four hexagrams. The solar term framework that the Taichu reform formalized becomes the skeleton; the hexagram lines become the flesh.

Six Days and Seven Parts

That accounts for four hexagrams. Sixty remain. And here's where the arithmetic gets elegant.

The solar year is 365.25 days. Divide by 60 hexagrams: each hexagram governs 6.0875 days. The integer part is clean—six days. The fractional remainder is 0.0875, which equals 7/80 of a day, or approximately 2 hours and 6 minutes.

That fraction is the 七分—the "seven parts." The "parts" are eightieths of a day. Each of the sixty hexagrams governs exactly six days and seven-eightieths of a day. Over the course of the full sixty-hexagram cycle, those fractional remainders accumulate back to whole days, and the cycle closes cleanly on 365.25 days.

This is not approximate. It's not "roughly six days." The system accounts for every hour. The 漢上易傳 (Hanshang Yizhuan) records the calculation explicitly. You're looking at a division of the solar year that is both astronomically precise and symbolically complete: every day of the year belongs to a hexagram, and no hexagram overflows its boundary.

The Sequence: Starting from Inner Truth

The cycle begins at the winter solstice with 中孚 (Zhōngfú, Inner Truth, Hexagram 61). Not Hexagram 1. Not Qian. This is a detail that surprises people who expect the sequence to follow the received King Wen order.

The ordering principle comes from the 卦氣序 (hexagram qi sequence), which follows the 五爵 (five ranks) system documented in the 易緯稀覽圖 (Yiwei Xilan Tu). It interleaves the sixty hexagrams based on their structural relationships to the twelve 消息卦 (sovereign hexagrams)—the twelve hexagrams that represent the monthly progression from pure yin (坤, Hexagram 2) through increasing yang lines to pure yang (乾, Hexagram 1) and back. The sovereign hexagrams mark the months; the remaining hexagrams fill the spaces between them, organized by rank and relationship.

The system also aligns with the 72 候 (pentads)—five-day micro-seasons within each solar term, each associated with a natural phenomenon (a particular bird arrives, a specific insect stirs, ice begins to form). The hexagram qi sequence threads through these pentads, connecting the most abstract symbolic system in Chinese thought to the most concrete observations of seasonal change.

Here's what people miss about this: the sequence isn't arbitrary or mystical. It's a scheduling algorithm. The inputs are astronomical (solar terms, solstices), structural (hexagram relationships, sovereign hexagram positions), and observational (pentad phenomena). The output is a complete, non-overlapping assignment of hexagrams to calendar days.

Jing Fang's Other Innovation: Najia

The hexagram calendar wasn't Jing Fang's only contribution. He also developed the 納甲 (nàjiǎ) system—a method of assigning Heavenly Stems (天干) and Earthly Branches (地支) to each line of a hexagram. Where the hexagram qi system maps hexagrams onto time, najia maps time's own coordinate system—the stem-branch cycle—back onto the hexagram's internal structure.

The implications were enormous. Once each line carries a branch, it also carries an elemental association (Wood, Fire, Earth, Metal, Water). Lines can now interact through the Five Element generating and controlling cycles. You can assess which lines are strong on a given day based on the day's branch. The hexagram stops being a static image and becomes a dynamic diagram of forces.

This is the foundation of Liu Yao structural divination—the formalized six-line analytical system that professional Chinese practitioners have used for nearly two thousand years. Every Liu Yao reading you encounter today—every branch assignment, every Six Relatives mapping, every assessment of line strength against the day's stem and branch—traces back to Jing Fang's framework. The 漢書·京房傳 (Book of Han, Biography of Jing Fang) records his work and its political context: Jing Fang used hexagram analysis to advise the emperor on policy, a practice that eventually got him executed when his readings became politically inconvenient.

Infrastructure Enables Innovation

The deeper point—and this is the thread that connects across the Taichu reform, the Grand Historian's dual role, and the hexagram calendar—is that calendar infrastructure enabled divinatory innovation. Meng Xi and Jing Fang didn't invent the hexagrams or the solar terms. They connected them. But that connection was only possible because the Taichu reform had turned the solar terms from loose agricultural markers into a precise, formalized coordinate system.

Without a standardized winter solstice, there's no anchor point for the cycle. Without solar terms spaced at exact intervals, there's no grid to divide into six-day-and-seven-parts segments. Without the reform's intercalary month logic ensuring that the lunisolar calendar stayed aligned with the solar year, the whole mapping would drift out of phase within a generation.

The Taichu reform gave them the coordinate system. They plotted hexagram patterns onto it. This is how traditions actually develop: not through isolated flashes of mystical insight, but through systematic builders working with the infrastructure that prior builders established.

What Six Lines Uses

Six Lines displays a daily hexagram. The method behind that assignment is the 卦氣六日七分 system—Meng Xi and Jing Fang's hexagram calendar, not Plum Blossom numerology (梅花易數) or any other casting method. The hexagram you see on any given day is the hexagram that governs that day's position in the solar year, calculated from the winter solstice using the classical sequence and the six-days-seven-parts division.

This matters because it means the daily hexagram is deterministic and calendar-derived. It's not random. It's not based on the time you open the app or the digits of the date. It's the hexagram that has governed that window of the solar year for over two thousand years, assigned by a system that a Western Han scholar built on top of a calendar that a Sichuan astronomer designed.

You can read more about how to read the hexagram once you know which one governs the day. The reading method and the calendar method are separate layers—one tells you which hexagram, the other tells you what it means. Both layers have traceable sources, established conventions, and centuries of accumulated practice behind them.

References

Primary Sources

漢上易傳·卷十三. Classical source for the 四正卦 (Four Cardinal Hexagrams) and 六日七分 calculation. Chinese Text Project

易緯稀覽圖 (Yiwei Xilan Tu). Primary source for the 卦氣序 (hexagram qi sequence) and the 五爵 (five ranks) ordering system.

漢書·京房傳 (Book of Han, Biography of Jing Fang). Court biography recording Jing Fang's hexagram analysis, political counsel, and execution. Chinese Text Project

漢書·儒林傳 (Book of Han, Biographies of Confucian Scholars). Discusses Meng Xi's role in I-Ching transmission and the teacher–student lineage through which the hexagram qi system developed.

Secondary Scholarship

淺談漢易卦氣:六日七分說 (Introduction to Han Dynasty Hexagram Qi: The Six Days Seven Parts Theory). Modern Chinese analysis of the 卦氣 system and its mathematical foundations. eee-learning.com

政大中文學報, academic paper on 卦氣起中孚 (The Hexagram Qi Cycle Beginning with Zhongfu). Analysis of why the cycle starts with Hexagram 61 rather than Hexagram 1. chinese.nccu.edu.tw

蔡伯勵 on 通勝 (Tongshu) calculation principles. Discussion of how hexagram qi and almanac calculation intersect in practical calendar-making. master-insight.com