Skip to content
Cloud
Cloud

Writing about astrology

Astrology explained, from the HOROS perspective

Blog/I Ching/Article
I Ching11/17/2026

Yin and Yang Lines in the I Ching: The Basics of Reading Hexagrams

Yin and Yang Lines in the I Ching: The Basics of Reading Hexagrams

A Yang line is solid and a Yin line is broken. See how lines build hexagrams and why you read them from the bottom up.

Contents

Yin and Yang lines are the two most basic lines in the I Ching. A Yang line is one continuous horizontal line, and a Yin line is a horizontal line broken in the middle. Three lines stack into a trigram (one of the eight trigrams), six lines stack into a hexagram (one of the 64 hexagrams), and a hexagram is always read from the bottom up.

Say someone opens an I Ching app for the first time and sees a hexagram made of a few long and short lines, with no idea where to start reading. Once you understand these two kinds of lines, and how they stack and which way to read, you already hold the key to reading any hexagram.

What Are Yin and Yang Lines? Definition and Basic Principle

In short: A line is each single stroke that makes up a hexagram. A Yang line is solid and a Yin line is broken. They are the smallest units of the I Ching and the foundation of the whole system.

A "line" is each horizontal stroke you see when you look at a hexagram. Every hexagram is built by stacking these lines, with nothing else in it.

There are only two kinds of lines:

  • The Yang line: one continuous horizontal line. In the line texts it is called "nine."
  • The Yin line: a horizontal line broken in the middle into two short parts. In the line texts it is called "six."

Beginners often ask why there are only two. The reason lies in the most basic thinking of the I Ching: everything in the world has two opposite sides that complement each other, such as bright and dark, motion and stillness, day and night. The Yang line stands for being active, firm and expanding outward. The Yin line stands for being receptive, yielding and gathering inward.

With just these two kinds of lines, the I Ching builds a system rich enough to describe all kinds of situations. To dig into the roots of Yin and Yang, you can read about the Supreme Ultimate, the Two Modes and the Four Images.

How Lines Make a Hexagram: From Trigrams to Hexagrams

In short: Three lines stacked make a trigram (eight in all). Six lines stacked make a hexagram (64 in all). Every hexagram is read from the bottom up, not from the top down.

This is the part many people mix up most easily, so take it one step at a time.

Step 1: three lines make a trigram. Stack three lines on top of each other and you get a trigram. Each position can be Yin or Yang, so there are eight combinations in all. These are the eight trigrams: Qian, Kun, Zhen, Xun, Kan, Li, Gen and Dui.

Step 2: six lines make a hexagram. Stack two trigrams on top of each other (that is, six lines) and you get a hexagram. This is the complete hexagram used for reading, and there are 64 of them in total.

Step 3: read from the bottom up. The key rule: always count the lines from the bottom to the top. The bottom line is the beginning, and the top line is the end.

Concept Number of lines How many Role
Trigram 3 lines 8 The base unit, combined into hexagrams
Hexagram 6 lines 64 The complete figure used for reading

In a six-line hexagram, the bottom three lines are called the lower (inner) trigram and the top three lines the upper (outer) trigram. From the bottom up, the six line positions are called: first, second, third, fourth, fifth and top.

What Is a Moving Line? Why One Hexagram Can Turn Into Another

In short: A moving line is a line in the middle of changing, from Yin to Yang or the other way around. Flip the moving line and the main hexagram turns into a new one, the changed hexagram, which shows where things are heading.

Yin and Yang lines are not always standing still. In many casting methods, one line is in a "moving" state.

A moving line is a line that is switching: a moving Yang line leans toward Yin, and a moving Yin line leans toward Yang. It is the focus of the whole hexagram, because it shows where the change is happening.

When you flip the moving line in place (Yang becomes Yin, or Yin becomes Yang), the original hexagram turns into a new one. The original is called the main hexagram, and the new one is called the changed hexagram.

The two hexagrams say different things:

  • The main hexagram: the present situation, where you are now.
  • The changed hexagram: where things may head next, if the current trend continues.

The moving line also decides which line text to read. In the classical text, each line has its own sentence called the line text, and people usually take the line text of the moving line as the reminder for the question. With 64 hexagrams of six lines each, there are 384 line texts in all, matching 384 different situations.

One thing beginners often misread: a line text that says "unfavorable" does not mean something bad will surely happen. A line text is more like a reminder: "if you act this way, you may run into obstacles." Its purpose is to suggest an adjustment, not to pass sentence. That is how the I Ching speaks about trends rather than fixed fate.

In Practice: How to Use Yin and Yang Lines to Read a Hexagram

In short: Once you understand Yin and Yang lines, a hexagram no longer looks like a strange symbol. You know where it comes from, which direction to read it, and why one hexagram can turn into another.

When you cast on an app, the system follows the steps above: it builds the hexagram from lines, separates the lower and upper trigrams, finds the moving line, and then works out the changed hexagram. You do not need to draw the lines yourself, but understanding the principle makes you more confident reading the result.

A few things that few people notice but are well worth remembering:

  • Read in the right direction. Always from the bottom up. Reading it upside down misreads the whole hexagram.
  • The moving line is where to pay attention. It shows where the situation is shifting, and it is where the reminder comes from.
  • The changed hexagram is a hint about the trend. It shows the direction if things continue, not a fixed ending.

Another common mix-up is to see a quiet-looking hexagram and call it bad. No hexagram is purely good or purely bad. A quiet-looking one can suit you well when you need to step back and build up strength. The I Ching speaks about timing and fit with the situation, not one fixed verdict for every case.

Summary: A Few Points to Remember

  • A line is each stroke that makes up a hexagram. A Yang line is solid, and a Yin line is broken.
  • Three lines make a trigram (eight in all), six lines make a hexagram (64 in all), and you always read from the bottom up.
  • A moving line is a line that is changing. Flipping it gives the changed hexagram, which shows where things may head next.
  • No hexagram is purely good or bad. It depends on your situation and your question.

Once you have Yin and Yang lines down, reading a hexagram becomes much clearer and friendlier. The fastest way to get a feel for it is to cast one yourself and watch each line appear. You can cast a hexagram on HOROS to see how the system builds the hexagram and finds the moving line, learning by practice as you go.

Frequently asked questions

By HOROS Team

Share