UtilitiesTools

BaZi Calculator — Four Pillars of Destiny

Enter your birth date, exact time and birthplace and get your BaZi (Four Pillars of Destiny) chart — the four heavenly-stem-and-earthly-branch pillars, Five Element balance, Ten Gods and Na Yin — computed in your browser with proper true-solar-time correction. No sign-up, nothing uploaded.

Language

Use the Gregorian date from the birth record.

Exact minutes matter near a two-hour pillar boundary.

Birthplace

Can't find your birthplace? Use the map or enter longitude manually.

🔒 Computed in your browser. Your birth date, time and place are never uploaded. For cultural / entertainment interest — not professional advice.

BaZi (Four Pillars of Destiny) is presented here for cultural and entertainment interest only. We compute the chart; the interpretation is up to you or your AI, and this tool is not professional, medical, financial, legal or psychological advice.

What is the BaZi Calculator?

A BaZi calculator turns one precise moment — your birth date, the time on the clock, and the place you were born — into your Four Pillars of Destiny: four pairs of Chinese symbols describing the year, month, day and hour of your birth. Each pair stacks a heavenly stem over an earthly branch, eight characters in all, which is where the name BaZi (八字, "eight characters") comes from. This page computes those eight characters, the Five Element balance behind them, the Ten Gods relationships and the Na Yin, then hands the finished chart back to you. It does not tell your fortune — it builds the chart that fortune-tellers, books, or an AI would read.

How to use it

  1. Enter your birth date (year, month, day).
  2. Enter your exact birth time. The closer to the real minute, the safer the hour pillar — and if you are near a two-hour boundary, the day pillar too.
  3. Enter your birthplace (city or longitude). This lets the tool apply true-solar-time correction so the hour pillar is right, not just approximate.
  4. Read your chart: the four pillars, each pillar's stem, branch, hidden stems and element; the Five Element tally; the Ten Gods; and the Na Yin.
  5. Tap "Copy chart for AI / LLM" to put the full chart on your clipboard, then paste it into ChatGPT, Claude, or any reader for an interpretation.

You get the answer in one screen — no account, no waiting, nothing to install.

The method behind it

BaZi is unusual among "astrology" tools in that the chart itself is pure astronomy and arithmetic. Each pillar is a stem-and-branch pair drawn from the unbroken 60-term Sexagenary (Jiazi) cycle — ten stems times twelve branches, repeating every sixty.

From the eight characters the tool also tallies the Five Elements (Wood, Fire, Earth, Metal, Water) carried by each stem and branch, labels the Ten Gods (the relationship of each element to the Day Master, the day stem), and looks up each pillar's Na Yin element.

Because every one of these rules is fixed and deterministic, a calculator can reproduce them exactly — and that is the whole point: we only compute the deterministic part of a BaZi chart and never write the destiny reading for you.

Examples

(These illustrate why the method matters; the tool shows the corrected time it used so you can check it.)

Common use cases

Why use this one

Most free pillar tools are slow, ad-heavy, gate you behind a login, or — worse — skip true-solar-time and the Li Chun year boundary and hand you a subtly wrong chart. This one is fast, fully client-side, and private (your birth details never leave your browser, no sign-up, no upload), it gets the astronomically correct method right, it offers native-language UI for the cultures that actually use this system, and it stays an honest calculator rather than an auto-generated horoscope — you get the precise chart and decide for yourself, or with your AI, what it means.

It anchors a small cluster of birth-detail tools. For the Western natal chart from the same birth data, see the Birth Chart Calculator; to work out Life Path and other numbers, the Numerology Calculator; and for the exact date arithmetic behind any of these, the Age Calculator.

Frequently asked questions

What is BaZi (the Four Pillars of Destiny)?

BaZi, literally 'eight characters', is a traditional Chinese system that encodes a moment in time as four pairs of symbols — one pair each for the year, month, day and hour of birth. Each pair is a heavenly stem (one of ten) over an earthly branch (one of twelve, the familiar zodiac animals), giving eight characters in total, which is why it is also called the Four Pillars of Destiny (四柱命理) and, in Japan, 四柱推命, and in Korea, 사주. Each stem and branch carries one of the Five Elements (Wood, Fire, Earth, Metal, Water), and the balance and relationships among those elements form the chart that practitioners read. This tool computes the eight characters and their elemental make-up; it does not tell you what they mean for your life.

How are the four pillars actually calculated?

Each pillar combines a heavenly stem and an earthly branch drawn from the continuous 60-term Sexagenary (Jiazi) cycle. The day pillar is found by counting days in that unbroken 60-day cycle from a known reference date and taking the result modulo 60. The year pillar follows the solar year whose start is the solar term Li Chun (Start of Spring, around February 4) — not January 1 and not Lunar New Year — so someone born in late January often belongs to the previous year's pillar. The month pillar's branch is fixed by which of the 24 solar terms the birth falls in, and its stem is derived from the year stem by the Five Tigers rule (五虎遁). The hour pillar's branch comes from the two-hour time slot of birth, and its stem is derived from the day stem by the Five Rats rule (五鼠遁). These are fixed, deterministic astronomical and calendrical rules, which is exactly why a calculator can do them precisely.

Why does my birthplace matter, and what is true solar time?

Clock time is based on broad time zones and, often, daylight saving — but the pillars depend on the real position of the Sun where you were born. So the tool converts your civil birth time to true solar time using two corrections: a longitude offset (your meridian versus your time zone's standard meridian, four minutes of time per degree) and the equation of time (the up-to-roughly-16-minute seasonal difference between clock noon and actual solar noon). This adjusted time is what determines the hour pillar, and near a two-hour boundary it can also shift the hour or even the day pillar. Tools that ignore solar time can silently produce the wrong hour pillar — which is why we ask for your birthplace.

Why doesn't this tool tell me what my chart means? Is BaZi real, or is it superstition?

We treat BaZi as a cultural and calendrical system, not as proof of how your life will go. The calculation itself is exact and verifiable — it is astronomy and arithmetic — but the interpretation is a centuries-old divinatory tradition that is not scientifically established. We intentionally keep the two apart: the tool gives you a precise, neutral chart, and then you take it to an AI, a book, or a human reader to explore what the tradition says it means. That way the page stays an honest computational tool and you stay in control of how much meaning you read into it. Treat any interpretation as cultural insight or entertainment, not as advice or prediction.

Will my birth date, time and place be stored or uploaded?

No. Every step — the day, month, year and hour pillars, the true-solar-time correction, the Five Element tally, Ten Gods and Na Yin — runs entirely in your browser with JavaScript. Nothing you enter is sent to or saved on any server, there is no sign-up and no account, and when you use the 'Copy chart for AI / LLM' button the text is placed on your clipboard for you to paste wherever you choose. Your birth details stay on your device.