BaZi Calculator: Your Four Pillars of Destiny

Chinese Astrology · Four Pillars · 八字 Bāzì

BaZi Calculator: Your Chinese Astrology Birth Chart

BaZi (八字) is the Chinese astrology birth chart. Where a Western birth chart maps the planets at a moment of birth, a BaZi chart turns that same moment into eight Chinese characters — a Heavenly Stem and an Earthly Branch for the year, month, day and hour. Those four stem-and-branch pairs are the Four Pillars of Destiny. The chart uses astronomical solar terms for the year and month boundaries, then derives the day and hour pillars from the sexagenary cycle rules. This page shows its working, including the places where the answer is sensitive to the exact minute you were born.

Work out your four pillars

Enter the time as it was written down where you were born. The offset defaults to your browser’s current setting — change it if the birthplace or the date calls for a different one.

Each pillar is one Heavenly Stem paired with one Earthly Branch. The ten stems carry the five elements in a yang and yin form — Yang Wood, Yin Wood, Yang Fire, and so on. The twelve branches are the same twelve signs that carry the zodiac animals, which is why the year branch of the sample 15 June 1990 chart is Wǔ, the Horse. The stem and branch advance together in a repeating sixty-step cycle, so a full stem-and-branch pair returns only once every sixty years. That cycle is set out in more detail on our page about the 60-year Chinese zodiac cycle, and the naming logic behind the pairs is covered under Heavenly Stems and Earthly Branches.

Under the Lìchūn convention, the year turns before Chinese New Year

This is where most online charts and most casual assumptions part company. Two different conventions for starting a new year are both in use. Ordinary zodiac-year lookup — the kind that tells you which animal a given year belongs to — changes on the first day of the lunar year. Many BaZi systems, including this calculator, change at Lìchūn, the solar term called Start of Spring, which falls when the sun reaches an apparent ecliptic longitude of 315°. In practice that lands on 3, 4 or 5 February.

The gap matters more than it sounds, because Chinese New Year can fall anywhere from late January to late February. In 2026, Lìchūn arrives on 4 February and Chinese New Year not until 17 February — leaving a stretch of thirteen days where the two disagree. Someone born on 10 February 2026 is still in the lunar Year of the Snake, but under the Lìchūn convention used here their BaZi year pillar has already turned to the Fire Horse year. Our wider discussion of that trap is on the page for January and February zodiac birthdays.

If you were born in the first week of February, the calculator above will tell you how close you are to the boundary. Within a day of Lìchūn, the year pillar depends on the recorded hour, and an error of one hour in your birth record can move it.

The month pillar follows the solar terms, not the lunar months

A second assumption worth dropping: the BaZi month is not the lunar month. The traditional calendar divides the solar year into twenty-four solar terms, and those alternate between twelve jié (節, the “nodes”) and twelve zhōngqì (中氣, the “middle breaths”). Only the twelve jié start a BaZi month. The twelve middle breaths — including familiar ones like the equinoxes and solstices — play no part in setting the month pillar at all.

Node (jié)Sun’s longitudeStarts monthUsual date
立春 Lìchūn315°Yín 寅 (Tiger)3–5 Feb
惊蛰 Jīngzhé345°Mǎo 卯 (Rabbit)5–6 Mar
清明 Qīngmíng15°Chén 辰 (Dragon)4–6 Apr
立夏 Lìxià45°Sì 巳 (Snake)5–6 May
芒种 Mángzhòng75°Wǔ 午 (Horse)5–6 Jun
小暑 Xiǎoshǔ105°Wèi 未 (Goat)6–8 Jul
立秋 Lìqiū135°Shēn 申 (Monkey)7–8 Aug
白露 Báilù165°Yǒu 酉 (Rooster)7–8 Sep
寒露 Hánlù195°Xū 戌 (Dog)8–9 Oct
立冬 Lìdōng225°Hài 亥 (Pig)7–8 Nov
大雪 Dàxuě255°Zǐ 子 (Rat)6–8 Dec
小寒 Xiǎohán285°Chǒu 丑 (Ox)5–6 Jan

The stem of the month is then derived from the stem of the year by a fixed rule traditionally memorised as the wǔ hǔ dùn, the Five Tigers method: a Jiǎ or Jǐ year opens its Tiger month with Bǐng, an Yǐ or Gēng year with Wù, a Bǐng or Xīn year with Gēng, a Dīng or Rén year with Rén, and a Wù or Guǐ year with Jiǎ. From there the stems simply run on in order. The hour stem is produced the same way from the day stem, under the parallel wǔ shǔ dùn or Five Rats method.

The 23:00 problem, and why we show you two answers

The Zǐ hour runs from 23:00 to 01:00, which means it straddles midnight. Traditions disagree about what that does to the day pillar, and the disagreement is old rather than modern — it is already visible in Ming-dynasty compendia.

Day changes at 23:00

The whole Zǐ hour belongs to the incoming day, on the reasoning that Zǐ is the start of a day and should not be split. This calculator defaults to this convention.

Day changes at midnight

The stretch from 23:00 to 23:59 still belongs to the outgoing day, which keeps the chart aligned with the civil calendar. Charts built this way will differ in both the day pillar and the hour pillar.

Only births between 23:00 and 23:59 are affected — roughly one hour in twenty-four. For those births the calculator prints both readings side by side rather than picking one silently, because the difference is a difference of school, not a calculation error, and no amount of arithmetic will settle it.

Two separate questions about time

Charts differ between sites more often over time handling than over anything else, and the confusion usually comes from running two distinct questions together.

The first is when the birth actually happened. That is a single moment, and it is the same moment whichever clock records it. Because the year and month pillars are set by comparing that moment against solar term instants, they need your birth converted to a common reference before anything is compared. This is why the form asks for the UTC offset in force at your birthplace: a birth recorded as 20:00 in New York on 3 February 2026 is already past Lìchūn, even though Lìchūn falls on 4 February in the reference the table uses. Daylight saving belongs here, as part of the offset — a birth written as 03:30 daylight time and one written as 02:30 standard time are the same instant described twice, so switching between the two descriptions does not move the birth relative to Lìchūn.

The second is which local clock the hour pillar should follow. That is a question of school rather than of astronomy. This calculator reads the hour from the local clock time you enter. Some BaZi schools instead adjust that time toward true solar time at the birthplace, which introduces two further differences:

DifferenceSizeWhat it is
Longitude within the civil time zone4 minutes per degree from the zone’s reference meridian; the total can exceed 30 minutes in unusually wide zonesCivil time zones are political, not solar. Western China sits more than thirty degrees from the meridian its clocks follow.
Equation of timeup to about 16 minutesThe sun runs ahead of or behind mean clock time across the year.

Neither is applied here, and that is a stated choice rather than an oversight — the true-solar-time adjustment is one tradition among several, and applying it silently would hide a decision the reader ought to be making. Where the recorded time sits close enough to a boundary for any of this to matter, the result panel says so.

Birth records are written to the minute, while solar terms fall on a particular second. When a birth and a boundary land inside the same recorded minute, neither assignment can be settled from the record, and the result panel will say so instead of choosing one.

Where the dates come from

Solar term instants on this page are computed from the VSOP87 planetary theory, taking the sun’s apparent geocentric longitude — that is, including aberration and nutation — and solving for the moment it crosses each multiple of 15°. The instants are stored to the second, expressed in UTC+8, and frozen into a fixed table rather than recomputed in your browser, so the same birth data always returns the same chart. Your birth moment is converted into that same reference before the two are compared, which is what the UTC offset field is for.

The table was checked term by term against the Hong Kong Observatory’s published Gregorian–Lunar calendar for 1901 to 2100. Of 4,800 solar term dates, 4,794 match. The six that differ were re-checked against JPL Horizons, whose DE441 ephemeris supports the dates used here; those six are retained as fixed regression cases rather than adjusted to force agreement. Our general approach to calculation and sourcing is described under how we calculate.

Day pillars run as an unbroken sixty-day cycle that ignores the calendar entirely — no leap years, no lunar months, no solar terms. The anchor used here is 7 January 2000 as a Jiǎ-Zǐ day, cross-checked against independent almanac sources.

Dates entered into the calculator are read as Gregorian. That matters for older records: if a birth was written down under the Julian or Old Style calendar — Russia kept it until February 1918, Greece until 1923 — or given as a traditional lunar date, it needs converting first, or the chart comes out roughly a fortnight adrift. The offset field has a similar caveat. It asks for the offset actually in force at the birthplace on that date rather than the one in force there now, and for births much before 1970 the historical offset can itself be uncertain; where that uncertainty could change the result, the panel above says so.

Questions people ask

Is BaZi the same as my Chinese zodiac sign?

Not quite. In a BaZi chart the year pillar carries an animal branch, and it usually matches the familiar zodiac animal — but around the January to February boundary the two can differ, because this calculator turns the BaZi year at Lìchūn while ordinary zodiac-year lookup turns it at Chinese New Year. Beyond that, a BaZi chart adds month, day and hour pillars and pairs every branch with a stem, so two people born in the same animal year can have entirely different charts. If you only want the animal, our Chinese zodiac element calculator is the simpler tool.

What if I do not know my birth time?

Tick the box and the hour pillar is reported as unknown rather than guessed. On an ordinary date the year and month pillars can usually still be determined. The day pillar is a different matter: because this calculator changes the day at 23:00 by default, a birth anywhere in the 23:00 to 23:59 window would carry the following day’s pillar, so without a time the day pillar has two possible values. On a date that also carries a solar term, the year or month pillar can be undetermined for the same reason. In every one of those cases the result table lists both possibilities instead of picking one.

Why does my chart differ from another site’s?

Usually one of four reasons: the other site changes the day at midnight rather than at 23:00; it applies a true-solar-time correction that this page deliberately leaves out; it turns the year at Chinese New Year rather than at Lìchūn; or one of you has the wrong UTC offset for the birthplace. Comparing the two charts against the notes shown with your result will normally identify which.

Which pillar is the most important one?

In most modern readings the day stem is treated as the reference point for the rest of the chart. That is a convention of interpretation rather than a fact about the calendar, and different schools weight the pillars differently.

What is the range of this calculator?

Birth dates from 1900 to 2100. Outside that range the frozen solar term table has no entries and the calculator will tell you so rather than extrapolate.

Keep reading

Got your pillars — want them read, not just calculated?

This tool produces calendar arithmetic: the exact stem-branch names for a moment in time. Turning those names into a written interpretation, or comparing two charts, is a separate step:

BaZi is a traditional interpretive system, and the material on this page is presented as cultural background rather than as a description of character, health, finances or the future. What the calculator itself produces is calendar arithmetic: the stem-and-branch names attached to a moment in time. Those names are verifiable and we have documented how they were derived; what anyone reads into them is a separate matter, and one this site leaves to the reader.