Guide · Stems and branches

Heavenly stems and earthly branches: the 60-year cycle explained

A bronze calendar disc carved with the twelve zodiac animals, its pointer resting on the goat

Updated 22 November 2026

In short

The Chinese calendar counts time with two sets of characters: ten heavenly stems (天干) and twelve earthly branches (地支). A stem and a branch together make a pillar, and they pair in a fixed order that repeats every sixty steps, the sixty jiazi (六十甲子). The same cycle names years, months, days and hours, which is why a birth moment can be written as four pillars. 2027 is 丁未, the 44th pair of the cycle, and it begins at 立春 on 4 February 2027.

What are heavenly stems and earthly branches?

The heavenly stems (天干) and earthly branches (地支) are two very old counting systems. Records from the Shang dynasty, more than 3,000 years ago, already name days with stem and branch pairs. Over time the same pairs came to name years, months and hours as well, and they are still printed in every Chinese almanac (通书) today.

In BaZi they are the alphabet of the chart. Your eight characters are four stems and four branches, one pair for each of the year, month, day and hour of your birth. The stems carry one element each and sit on top; the branches carry the zodiac animals, the seasons and the hidden stems, and sit below. Knowing the twenty-two characters is the first step to reading any chart.

The ten heavenly stems (天干)

The ten stems run in pairs through the five elements, each element appearing first in its yang form and then in its yin form. In BaZi the stem of your day pillar is your Day Master, and each one has a traditional image.

StemPinyinElementPolarityImageDirection
甲jiǎWoodYangTall treeEast
乙yǐWoodYinVine and flowerEast
丙bǐngFireYangSunSouth
丁dīngFireYinCandleSouth
戊wùEarthYangMountainCentre
己jǐEarthYinGarden soilCentre
庚gēngMetalYangSwordWest
辛xīnMetalYinJewelWest
壬rénWaterYangOceanNorth
癸guǐWaterYinRainNorth

Stems also pair with each other. Five pairs combine (天干五合): 甲 with 己, 乙 with 庚, 丙 with 辛, 丁 with 壬, and 戊 with 癸. Four pairs clash (天干冲): 甲 with 庚, 乙 with 辛, 丙 with 壬, and 丁 with 癸. So the 2027 year stem 丁 combines with a 壬 stem in your chart and clashes with a 癸 stem.

See your four pairs

Your free BaZi chart turns your birth date, time and city into four stem and branch pillars, using true solar time.

See my free chart

The twelve earthly branches (地支)

The twelve branches are the characters behind the twelve zodiac animals. Each one also marks a solar month, a two-hour period of the day and a direction on the compass. The BaZi year starts with the 寅 month, so 寅 is the first month even though 子 is the first branch.

BranchAnimalElementPolarityMonth begins (around)Hours (solar time)Direction
子 zǐRatWaterYang11th: 大雪, 7 Dec23:00 to 01:00North
丑 chǒuOxEarthYin12th: 小寒, 6 Jan01:00 to 03:00North-north-east
寅 yínTigerWoodYang1st: 立春, 4 Feb03:00 to 05:00East-north-east
卯 mǎoRabbitWoodYin2nd: 惊蛰, 6 Mar05:00 to 07:00East
辰 chénDragonEarthYang3rd: 清明, 5 Apr07:00 to 09:00East-south-east
巳 sìSnakeFireYin4th: 立夏, 6 May09:00 to 11:00South-south-east
午 wǔHorseFireYang5th: 芒种, 6 Jun11:00 to 13:00South
未 wèiGoatEarthYin6th: 小暑, 7 Jul13:00 to 15:00South-south-west
申 shēnMonkeyMetalYang7th: 立秋, 8 Aug15:00 to 17:00West-south-west
酉 yǒuRoosterMetalYin8th: 白露, 8 Sep17:00 to 19:00West
戌 xūDogEarthYang9th: 寒露, 8 Oct19:00 to 21:00West-north-west
亥 hàiPigWaterYin10th: 立冬, 7 Nov21:00 to 23:00North-north-west

The month dates are the 节 solar terms as they fall in 2027 (the 丑 month’s 小寒 is from January 2028); they move by a day or so from year to year. The hours are by the sun at your birthplace, not by the clock. Polarity here follows each branch’s place in the cycle. Some schools swap it for 子, 午, 巳 and 亥 because of the stems hidden inside them, and our engine works out the ten gods from those hidden stems rather than from the branch itself.

How stems and branches pair into a 60-year cycle

Stems and branches advance together, one step at a time: 甲子, 乙丑, 丙寅, and so on. After ten steps the stems start again while the branches carry on, so the eleventh pair is 甲戌. Because yang stems always meet yang branches and yin stems meet yin branches, only sixty of the possible 120 pairs ever occur. The cycle runs from 甲子, number 1, to 癸亥, number 60, then begins again.

You can find any year’s pair with three small sums. The last digit of the year gives the stem: 0 is 庚, 1 辛, 2 壬, 3 癸, 4 甲, 5 乙, 6 丙, 7 丁, 8 戊 and 9 己. Subtract 4 from the year and take the remainder after dividing by 12 to get the branch, counting 子 as 0. Subtract 3 and take the remainder after dividing by 60 for its place in the cycle.

For 2027: the last digit 7 gives 丁; 2023 divided by 12 leaves 7, which is 未; and 2024 divided by 60 leaves 44. So 2027 is 丁未, the 44th pair. The last 丁未 year was 1967 and the next will be 2087. The most recent 甲子 year, the start of a cycle, was 1984, and the next is 2044.

Each neighbouring pair in the cycle also shares a 纳音 (nayin), a poetic “sound element” used alongside the plain elements. 丙午 and 丁未 share 天河水, Heavenly River Water, so 2026 and 2027 both carry it. Some compatibility methods, including ours, compare the 纳音 of two people’s year pillars.

How they mark years, months, days and hours

  • Years change at 立春, the start of spring, not on 1 January or at Lunar New Year. The 丁未 year runs from 09:46 on 4 February 2027 to 15:31 on 4 February 2028, Beijing time.
  • Months change at each 节 solar term. The month stem follows from the year stem, so every 丁 year starts with a 壬寅 month; 2027 runs from 壬寅 to 癸丑.
  • Days run through the sixty pairs without a break, whatever the month or year. 4 February 2027 is a 甲寅 day, and Lunar New Year on 6 February is a 丙辰 day.
  • Hours are twelve double hours by the sun. The hour stem follows from the day stem. Our engine changes the day at 23:00 true solar time by default, the start of the 子 hour, which some schools treat differently.
Year or day stemFirst month of the yearFirst hour (子) of the day
甲 or 己丙寅甲子
乙 or 庚戊寅丙子
丙 or 辛庚寅戊子
丁 or 壬壬寅庚子
戊 or 癸甲寅壬子

Because every step follows fixed rules, a chart can be calculated exactly once the true birth moment is known. That is what our free chart does: it converts your clock time to solar time for your birth city, then reads off the four pairs.

Questions

What is the difference between a heavenly stem and an earthly branch?

There are ten stems and twelve branches. Stems carry one element each; branches are linked to the zodiac animals, months, hours and directions, and hold hidden stems inside them.

Why is the cycle 60 and not 120?

Stems and branches move forward together, so a yang stem only ever meets a yang branch, and yin meets yin. That leaves sixty pairs.

What number is 2027 in the 60-year cycle?

丁未 is number 44. The cycle began again with 甲子 in 1984.

Does the Chinese zodiac year start at Lunar New Year?

In BaZi it starts at 立春, around 4 February. In 2027 立春 falls two days before Lunar New Year.

Why does the hour depend on the sun, not the clock?

The twelve hours were defined by the sun’s position. In places like Singapore the clock runs about an hour ahead of the sun, which can change your hour pillar.

For reflection and entertainment.