The sexagenary cycle of heavenly stems and earthly branches is known as 六十花甲 in Mandarin, pronounced as liu shi hua jia.

Among the 10 heavenly stems are 5 yin and 5 yang. And among the 12 earthly branches are 6 yin and 6 yang.

When paired with each other, each character must be of the same polarity. Which means that only yang stems can link up with yang branches and only yin stems can be paired with yin branches.

This implies that there can be 30 yin pairs and 30 yang pairs. Making up a total of 60 possible combinations.

At this point, do note that a bazi consist of 4 pairs which are individually known as pillars.

To put the couplets of characters in order for the sexagenary calendar system, we start the first year of the cycle with the first stem Jia and first branch Zi. Then follow the sequence of stems and branches for the second year, and so on.

The result is the below table of sexagenary cycle.

1-10 11-20 21-30 31-40 41-50 51-60
JiaZi
H1, E1
Metal
JiaXu
H1, E11
Fire
JiaShen
H1, E9
Water
JiaWu
H1, E7
Metal
JiaChen
H1, E5
Fire
JiaYin
H1, E3
Water
YiChou
H2, E2
Metal
YiHai
H1, E11
Fire
YiYou
H2, E10
Water
YiWei
H2, E8
Metal
YiSi
H2, E6
Fire
YiMao
H2, E4
Water
BingYin
H3, E3
Fire
BingZi
H3, E1
Water
BingXu
H3, E11
Earth
BingShen
H3, E9
Fire
BingWu
H3, E7
Water
BingChen
H3, E5
Earth
DingMao
H4 E4
Fire
DingChou
H4, E2
Water
DingHai
H4, E12
Earth
DingYou
H4, E10
Fire
DingWei
H4, E8
Water
DingSi
H4, E6
Earth
WuChen
H5, E5
Wood
WuYin
H5, E3
Earth
WuZi
H5, E1
Fire
WuXu
H5, E11
Wood
WuShen
H5, E9
Earth
WuWu
H5, E7
Fire
JiSi
H6, E6
Wood
JiMao
H6, E4
Earth
JiChou
H6, E2
Fire
JiHai
H6, E12
Wood
JiYou
H6, E10
Earth
JiWei
H6, E8
Fire
GengWu
H7, E7
Earth
GengChen
H7, E5
Metal
GengYin
H7, E3
Wood
GengZi
H7, E1
Earth
GengXu
H7, E11
Metal
GengShen
H7, E9
Wood
XinWei
H8, E8
Earth
XinSi
H8, E6
Metal
XinMao
H8, E4
Wood
XinChou
H8, E2
Earth
XinHai
H8, E12
Metal
XinYou
H8, E10
Wood
RenShen
H9, E9
Metal
RenWu
H9, E7
Wood
RenChen
H9, E5
Water
RenYin
H9, E3
Metal
RenZi
H9, E1
Wood
RenXu
H9, E11
Water
GuiYou
H10, E10
Metal
GuiWei
H10, E8
Wood
GuiSi
H10, E6
Water
GuiMao
H10, E4
Metal
GuiChou
H10, E2
Wood
GuiHai
H10, E12
Water

Legend can be found here.

The element described in each grid in the above table is the element the pair of characters becomes when combined according to the musical scale concept of 5 elements (納音五行).

In 2019, we are in the 36th year of the current cycle, which is the year of Ji Hai.

At the end of the 60th year, the cycle repeats itself.