Toolzent

Chinese Zodiac Calculator

Free Chinese zodiac calculator: enter a birth year to get your animal sign, element and yin or yang, with the exact formula and a full 12-animal year chart.

Updated 2026-06-09 · Free · No sign-up · Runs privately in your browser

The Chinese year begins at Chinese New Year (late Jan to mid-Feb). If you were born before it, tick the box above (or it is suggested for Jan/Feb births).

What is a Chinese zodiac calculator?

A Chinese zodiac calculator turns a birth year into three things at once: your animal sign, your element, and whether the year is yin or yang. The animal comes from a repeating cycle of twelve — Rat, Ox, Tiger, Rabbit, Dragon, Snake, Horse, Goat, Monkey, Rooster, Dog, Pig — while the element (Metal, Water, Wood, Fire or Earth) and the yin/yang polarity are layered on top, giving each year a full label such as “Metal Rat (Yang).”

This tool needs only one input: the year you were born. It then returns the animal, the matching element, and the polarity, so you can read your complete sign at a glance. Nothing about the calculation requires personal data beyond the year itself.

How does the Chinese zodiac calculator work?

The calculator combines three small rules, each driven by the year. The core formula is:

animal = (year − 4) mod 12; element from the year’s last digit

Here is what each part means:

  1. Animal. Subtract 4 from the year and take the remainder when divided by 12. That remainder is an index from 0 to 11 into the fixed list Rat (0), Ox (1), Tiger (2), Rabbit (3), Dragon (4), Snake (5), Horse (6), Goat (7), Monkey (8), Rooster (9), Dog (10), Pig (11). The cycle starts at Rat because the reference year used for the offset lands on a Rat year.
  2. Element. Read the last digit of the year and map it: 0-1 is Metal, 2-3 is Water, 4-5 is Wood, 6-7 is Fire, 8-9 is Earth. Because there are five elements and ten digits, each element covers two consecutive years.
  3. Yin or yang. Even years are Yang; odd years are Yin. The polarity flips every year and always lines up with the element pairs above (the first year of each element pair is Yang, the second is Yin).

“mod 12” simply means the remainder after dividing by 12 — the operation that wraps the year back to the start of the twelve-animal cycle. The element and polarity are read directly off the digits, so no further math is needed.

Examples

Every example below follows the formula exactly. Try reproducing each one in the calculator above.

Example 1 — 2020. (2020 − 4) mod 12 = 2016 mod 12 = 0, so the animal is the Rat. The last digit is 0, giving Metal, and 2020 is even, so it is Yang. The full sign is a Metal Rat (Yang).

Example 2 — 2024. (2024 − 4) mod 12 = 2020 mod 12 = 4, which is the Dragon. The last digit 4 gives Wood, and the even year gives Yang, so 2024 is a Wood Dragon (Yang).

Example 3 — 1995. (1995 − 4) mod 12 = 1991 mod 12 = 11, the Pig. The last digit 5 gives Wood, and the odd year gives Yin, so 1995 is a Wood Pig (Yin).

Example 4 — 2000. (2000 − 4) mod 12 = 1996 mod 12 = 4, the Dragon again. The last digit 0 gives Metal, and the even year gives Yang, so 2000 is a Metal Dragon (Yang) — same animal as 2024 but a different element, 24 years apart.

Example 5 — 1987. (1987 − 4) mod 12 = 1983 mod 12 = 3, the Rabbit. The last digit 7 gives Fire, and the odd year gives Yin, so 1987 is a Fire Rabbit (Yin).

Animal, element and polarity by year

This reference table applies the same three rules to a recent run of years so you can read off any sign quickly. Remember the Chinese New Year caveat: a birthday in early January or February may belong to the previous row.

YearAnimalElementYin / Yang
2020RatMetalYang
2021OxMetalYin
2022TigerWaterYang
2023RabbitWaterYin
2024DragonWoodYang
2025SnakeWoodYin
2026HorseFireYang
2027GoatFireYin
2028MonkeyEarthYang
2029RoosterEarthYin
2030DogMetalYang
2031PigMetalYin

Because the animal cycle is 12 years long and the element cycle is 10 years long, the two only realign after 60 years — which is why a full element-and-animal combination such as “Metal Rat” repeats just once a lifetime.

Common uses

People reach for a Chinese zodiac calculator for a handful of reasons:

  • Finding your own sign quickly from a birth year, including the element and polarity most online lists leave out.
  • Checking family and friends, comparing animals across generations for fun at gatherings or around Chinese New Year.
  • Compatibility curiosity, since many traditions pair or oppose certain animals — the calculator gives you the animals to look up.
  • Naming a year, such as labelling a child’s birth year or a project launch as the “Year of the Dragon.”

Tips and common mistakes

  • Mind the Chinese New Year boundary. The Chinese year does not start on 1 January; it starts at Chinese New Year, which falls between late January and mid-February. A baby born in late January 2024 may still belong to the 2023 Rabbit year, not the Dragon.
  • Use the full four-digit year. The formula relies on both the remainder and the last digit, so a two-digit year can give the wrong element.
  • Don’t confuse element with animal. The same animal recurs every 12 years but with a different element each time, as Examples 2 and 4 show.
  • Even versus odd is the whole polarity rule. If the year is even it is Yang, if odd it is Yin — there is nothing more to compute.
  • Negative remainders aren’t an issue here. Since (year − 4) is positive for any modern year, the index always lands cleanly between 0 and 11.

Limitations and notes

This calculator is exact in the arithmetic sense: the same year always produces the same animal, element and polarity, and the working above lets you check every step by hand. It runs entirely in your browser, so the year you enter is never uploaded or stored.

The one real caveat is the calendar boundary. The tool keys off the Gregorian year, but the traditional Chinese (lunisolar) year begins at Chinese New Year, so births in the first weeks of January or early February belong to the previous animal — adjust by one row if that applies to you. Beyond that, Chinese astrology is a cultural and belief tradition, not a science: the personality and compatibility meanings attached to each animal and element are interpretive, and different sources describe them differently. Treat the output as a fun, accurate read of your sign rather than a prediction or advice for any real-life decision.

For more birth-date and astrology fun, try the life path number calculator, the zodiac sign calculator and the full numerology calculator — or work out an exact age with the chronological age calculator, and browse everything in the astrology category.

Frequently asked questions

How do you calculate your Chinese zodiac sign?+

Take your birth year, subtract 4, and find the remainder when divided by 12; that remainder picks one of the twelve animals starting from Rat at 0.

What is the Chinese zodiac sign for 2020?+

2020 gives (2020 − 4) mod 12 = 0, which is the Rat; the last digit 0 makes it Metal and the even year makes it Yang, so it is a Metal Rat (Yang).

What animal is 1995 in the Chinese zodiac?+

1995 gives (1995 − 4) mod 12 = 11, the Pig; last digit 5 is Wood and the odd year is Yin, so 1995 is a Wood Pig (Yin).

How is the element of a Chinese zodiac sign decided?+

The element comes from the year's last digit: 0-1 Metal, 2-3 Water, 4-5 Wood, 6-7 Fire, 8-9 Earth, so each animal cycles through all five over 60 years.

What does yin or yang mean for a zodiac year?+

Even-numbered years are Yang and odd-numbered years are Yin; the polarity alternates every year and always matches the element pairing above.

Why might my sign be the previous animal if I was born in January or February?+

The Chinese year begins at Chinese New Year (late January to mid-February), so anyone born before that date belongs to the previous year's animal, not the calendar-year animal.

Does this calculator send my birth year anywhere?+

No. The whole calculation runs locally in your browser, so the year you enter is never uploaded or stored.