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.
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
- Enter your birth date (year, month, day).
- 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.
- Enter your birthplace (city or longitude). This lets the tool apply true-solar-time correction so the hour pillar is right, not just approximate.
- 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.
- 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.
- Day pillar. Days run through the 60-day cycle without interruption back through history. The tool counts days from a known reference date and takes the result modulo 60 to land on the right stem-branch pair. This is the anchor of the whole chart.
- Year pillar. The BaZi year does not begin on January 1, and it does not begin on Lunar New Year. It begins at the solar term Li Chun (立春, "Start of Spring", around February 4). Someone born in late January or very early February therefore often belongs to the previous year's pillar — a detail many tools get wrong.
- Month pillar. The month's branch is fixed by which of the 24 solar terms the birth falls in (the solar months, not the lunar calendar). The month's stem is then derived from the year stem by the Five Tigers rule (五虎遁).
- Hour pillar. The day is divided into twelve two-hour "double-hours". The branch comes from which double-hour the birth lands in; the stem is derived from the day stem by the Five Rats rule (五鼠遁).
- True solar time. Before fixing the hour, the tool converts clock time to true solar time using two corrections: a longitude offset (four minutes of time per degree between your meridian and your time zone's standard meridian) and the equation of time (the seasonal gap of up to about sixteen minutes between clock noon and real solar noon). This is why birthplace matters and why ignoring it can quietly produce the wrong hour pillar.
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
- Born February 2, late evening: falls before Li Chun, so the year pillar belongs to the prior solar year, not the calendar year — a result a naive "use the calendar year" tool would get wrong.
- Born at 11:50 pm in a city far west of its time-zone meridian: true-solar-time correction can pull the effective time across the double-hour boundary, changing the hour pillar — and, right at midnight, the day pillar.
- Born at noon in midsummer: the equation of time shifts solar noon away from clock noon, so the hour pillar is set by the corrected time, not the 12:00 on the clock.
(These illustrate why the method matters; the tool shows the corrected time it used so you can check it.)
Common use cases
- Curious about your own chart and want the exact pillars before asking an AI or a reader what they mean.
- Learning BaZi / 四柱推命 / 사주 and need a fast, correct reference to check practice charts.
- Diaspora readers reconnecting with a family tradition who want it in their own language.
- Comparing charts (yours and a partner's, parent's or child's) without typing birth details into a site that stores them.
- Feeding a clean, structured chart to a large language model for a written interpretation.
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.