Five Elements Calculator — Count the Wu Xing in Your BaZi Chart

Every character in a BaZi chart belongs to one of the Five Elements (五行, Wu Xing): Wood, Fire, Earth, Metal or Water. This page counts them across your eight characters, shows what is hidden inside the branches, and works out which elements are favourable for your Day Master.

Count the Five Elements in your chart

No sign-up. Your birth details are not stored.

Want the full chart, luck pillars and true solar time correction?

Generate my full BaZi chart — free

What this tool does — and how it differs

This page counts Wood, Fire, Earth, Metal and Water across your eight characters, then counts them again with the hidden stems inside each branch, and names your day master’s element and favourable elements. Two counts are shown because they routinely disagree.

What it gives you

  • Two counts, side by side — One bar counts the eight visible characters, the other adds the middle and residual stems hidden in each branch.
  • Why the two disagree — The branch already carries its main element; hidden stems only add the remaining two, which is weaker than a visible character.
  • What is missing — Elements absent from both counts are listed, alongside the page’s argument that a missing element is not automatically a problem.
  • Generating and controlling cycles — Both cycles are explained, because “you need more Water” only means something once you know which element feeds or drains your day master.
  • Day master and favourable elements — The same result block names the day master’s element and the elements that help the chart, so a count turns into usable advice.

How it differs from most online tools

How it differs from most online tools
AspectMost online toolsBaZi Lab
Calendar boundaryElements counted from the birth year alone.All eight characters, year through hour, from the solar-term chart.
Birth time and placeDate enough for a count.Hour included; hidden stems added from the full chart.
What the result showsFive numbers.Two count sets, missing elements, generating and controlling cycles, favourable elements.
Account and priceCount free, advice paid.Free throughout, no account.
Where the reading comes fromLookup by year stem.Counted from the chart by the same engine that plots luck cycles.

Scroll sideways to see the full comparison

What it does not do

A count is not a weighting: hidden stems are weaker than visible characters and this page does not assign strength, so “3 Fire” does not mean three times a single Fire character. Favourable elements come from the day-master judgement, which has its own threshold.

How the Five Elements are counted

Each of the ten Heavenly Stems and twelve Earthly Branches maps to exactly one element, so the eight visible characters give you a count out of eight. That is the number most "five elements calculator" tools show, and it is the first row above.

Every Earthly Branch also stores one to three hidden stems, each with its own element. They carry less weight than the visible characters but they are not decorative — a branch can quietly supply the element a chart appears to be missing. The second row above includes them. Counting the elements in a chart is not the same as the element of your birth year; if that is what you are after, the zodiac year element guide covers it.

Missing elements are not automatically a problem

A chart with no Water is not a chart with something wrong with it. What matters is whether the elements your Day Master needs are present and reachable. A chart can be missing an element it never needed, and it can be full of an element that actively works against it.

This is why the favourable elements shown above are derived from the Day Master and its strength, not from which element has the lowest count. A strong Day Master wants the elements that spend it; a weak one wants the elements that feed it. The "useful god" (用神) in classical texts is exactly this: the element the chart most needs, not the one it has least of.

The generating and controlling cycles

The five elements relate to each other in two cycles. In the generating cycle, Wood feeds Fire, Fire makes Earth, Earth bears Metal, Metal carries Water, and Water grows Wood. In the controlling cycle, Wood parts Earth, Earth absorbs Water, Water quenches Fire, Fire melts Metal, and Metal cuts Wood.

Those two cycles are the whole mechanism. Whether a character in your chart supports you, drains you or restrains you is decided by where it sits relative to your Day Master in these two loops — and the Ten Gods are simply the names given to those five positions.

What to do with the result

Your favourable elements are the practical output of a BaZi reading. They inform which directions, seasons, colours and activities tend to go with the grain of your chart, and they are what makes some ten-year luck pillars feel supportive and others feel like wading upstream.

This page corrects to true solar time at 120°E because it only asks for five fields. A birthplace far from that meridian can shift the hour pillar, which changes both the element count and the strength verdict — use the full calculator for a chart you intend to act on.

The Five Elements generating cycle in BaZi: Wood, Fire, Earth, Metal, Water

Five Elements FAQ

What are the Five Elements in BaZi?
Wood, Fire, Earth, Metal and Water. Every Heavenly Stem and Earthly Branch belongs to one of them, so your eight characters distribute across the five. The distribution, together with your Day Master, is what a reading is built from.
How do I find out which element I am?
Your element is the element of your Day Master — the Heavenly Stem of your day pillar — not the element of your birth year. Enter your birth details above and it is shown alongside the count.
What does it mean if I am missing an element?
Only that none of your eight characters belongs to it. It becomes relevant if that element is one your Day Master needs; otherwise it usually is not worth acting on. Check the favourable elements rather than the gaps.
What is the useful god (用神)?
The element the chart most needs in order to balance — determined by whether the Day Master is strong or weak, not by which element is scarcest. It is shown above as the favourable elements.
Why do the two rows of numbers disagree?
The first row counts only the eight visible characters. The second also counts the hidden stems stored inside each Earthly Branch, which are weaker but still present. A chart can look short of an element on the first row and have plenty of it on the second.

Related reading