Skip to main content

Methodology

Which BaZi conventions this engine follows

10 min read

Several BaZi rules are disputed across schools. The engine commits to one answer for each. This page documents the choices honestly so a practitioner trained in a different lineage can see exactly where their reading would diverge from this site’s.

Why this page exists

BaZi has been continuously practiced for over a thousand years across multiple regions, schools, and lineages. The result is a field where most rules are universally agreed (year and day pillars, the ten gods, the basic interactions) and a few are not (luck pillar direction edge cases, transformation conditions, symbolic star sets, day boundary).

A working calculator has to commit to specific rules. There is no way to be neutral. The honest move is to document the choices, explain the reasoning, and tell practitioners from other schools where this engine disagrees with theirs.

The engine’s default answers follow common modern practice.

The conventions

Each entry below documents one rule the engine commits to, the reasoning behind it, and the alternative view a practitioner from a different lineage may hold.

01

Year boundary

立春

Engine rule:BaZi years start at Lìchūn (立春), the solar term that falls around February 4 each year, when the sun crosses 315° ecliptic longitude. Births before Lìchūn belong to the previous year's pillar.

Reasoning:This is the standard modern convention across all major lineages: Hong Kong, Taiwan, Singapore, Malaysia, and the mainland. There is no serious dispute. The engine ships a precomputed table of all 24 solar terms for every year from 1849 to 2101 so the boundary resolves to the second.

Alternative view:A few entertainment-grade calculators use January 1 as the year boundary. This is wrong by classical and modern standards alike, and produces an incorrect year pillar for anyone born in January or early February.

02

Day boundary

子初 23:00

Engine rule:The day pillar advances at 23:00 true solar time, not at midnight: the 子 hour begins at 11 pm by the sun. A baby born at 23:30 sun time on Tuesday belongs to Wednesday's day pillar. On the clock that moment can come as early as about 10 pm or as late as about 3 am, depending on the birthplace and daylight saving.

Reasoning:A common modern convention. The 子 hour is the first hour of the new day in classical Chinese timekeeping; treating 23:00 sun time as the boundary keeps the hour pillar's relationship to the day pillar consistent for everyone born in the 子 hour, the two hours from 11 pm to 1 am by the sun.

Alternative view:Some classical sources and a minority of modern practitioners use midnight (00:00) as the day boundary, treating the 23:00–00:00 hour as 'late zǐ' belonging to the previous day. The engine does not support this convention; if you were trained in a school that uses midnight, the day pillar for births between 23:00 and 24:00 sun time differs here from your reading. On the clock that hour begins between about 10 pm and 3 am, depending on the birthplace and daylight saving.

03

True solar time

Engine rule:Every chart is computed against the user's birth longitude, with the Equation of Time correction applied. Local clock time is converted to actual sun position at the birth coordinates before the pillars are derived.

Reasoning:Universal standard. Any practitioner using BaZi seriously corrects for true solar time; the mathematical reasoning is the same whether you trained in Hong Kong, Taipei, or Kuala Lumpur. Latitude is informational only; longitude does the work.

Alternative view:Most online calculators skip this entirely and use local clock time as-is. This silently produces wrong charts for anyone born outside their timezone's central meridian, and is the single most common reason two charts of the same nominal birth time disagree on the hour pillar.

04

Luck pillar direction

大运顺逆

Engine rule:Direction is set by gender combined with the polarity of the year stem. Yang stem + male, or yin stem + female → forward through the 60-cycle. Yang stem + female, or yin stem + male → reverse.

Reasoning:This is common modern practice, and the rule in the mainland modern textbooks.

Alternative view:Some lineages adjust the rule with a month-stem modifier under specific conditions. The engine does not implement these modifiers: they are rare, lineage-specific, and not consistently documented. Practitioners from those schools see direction agree on most charts but diverge on the edge cases their tradition treats specially.

05

Luck pillar start age

起运

Engine rule:The first luck pillar's start age is computed from the actual distance between the birth datetime and the relevant solar term, using the classical conversion three days = one year.

Reasoning:The 3-day rule is the universal modern standard. The engine measures the distance precisely (in days, not weeks) and divides by three; siblings born a week apart can therefore have different start ages, which is the correct behavior. No rounding to common values like eight or ten.

Alternative view:A few pre-Republic sources use four days = one year. The engine does not implement this. Some lineages also apply small gender-specific offsets (e.g. females start six months earlier in certain traditions); the engine does not implement these either. Where they apply, those schools' start ages differ from this engine's by one to three months.

06

Hidden stem weighting

藏干

Engine rule:Each earthly branch contains one, two, or three hidden stems weighted by main qi (primary), secondary, and tertiary positions. The engine uses [0.7, 0.3, 0.15] for day master strength scoring and [0.5, 0.3, 0.15] for transformation detection.

Reasoning:The two weighting schemes serve different purposes. Strength scoring needs the main qi to dominate so the day master's elemental support is read clearly; the higher main weight (0.7) is closer to how practitioners weight 'rooting' qualitatively. Transformation detection needs a more conservative element balance to avoid false positives on charts where a marginal element dominance shouldn't trigger a 化气 reading; the 0.5 main weight produces fewer false transformations.

Alternative view:Several modern textbooks use a single weighting scheme, typically [0.6, 0.3, 0.1] or [1.0, 0.5, 0.2], applied uniformly across both calculations. The engine's split is documented honestly here so practitioners can compare. We are tracking the asymmetry as a candidate for unification once the trade-offs are better understood empirically.

07

Climate balance

调候

Engine rule:For balanced charts, the climate adjustment element is read from the classical 调候 table derived from 穷通宝鉴 (Qiongtong Baojian). The table specifies its own seasonal element for each of the ten Day Masters in each of the twelve months, 120 entries total.

Reasoning:穷通宝鉴 is the canonical source for 调候 across every major lineage. The engine encodes the table directly rather than deriving climate adjustment from a generic seasonal heuristic, which is what most online calculators do.

Alternative view:All 120 cells are filled from 穷通宝鉴; the five that earlier versions left to a generic seasonal rule were added from the same source. Lineages agree on most cells, but for a few another school names a different element: for 丁 in 申, for example, one modern school prefers Earth where this table gives Wood.

08

Transformation structures

化气格

Engine rule:The engine detects the five classical 化气 transformations (甲己→土, 乙庚→金, 丙辛→水, 丁壬→木, 戊癸→火) when the Day Master combines with the month or hour stem and four structural conditions hold: the month branch is of the transformed element, the element that controls the transformed element is at most 10% of the chart, the Day Master's own element is at most 25%, and the transformed element is at least 25%. For 甲 in 甲己→土 and 癸 in 戊癸→火, the controlling element is the Day Master's own, so the engine skips the 10% check and the 25% cap does that work. Separately, when it lists a chart's interactions, the engine marks a stem combination as transforming when the two stems sit in adjacent pillars and the combined element counts at least 3.0 in its element balance (each visible stem and each branch count 1.0, and hidden stems add 0.5, 0.3 and 0.15); this describes the pair, and on its own does not make the chart a 化气格.

Reasoning:The classical sources set qualitative conditions for 化气: the combining stems adjacent, the month branch supporting the transformed element, the controlling element absent or minimal, and the Day Master without strong roots. The engine checks the first two as they stand, turns the other two into numbers, and adds a floor for the transformed element's share. Those cutoffs are the authors' own choice: no classical text gives a number.

Alternative view:Strict classical lineages reject some charts the engine flags as 化气, and schools set the cutoffs for “minimal” and “rootless” differently. Since 2026-04-08 the engine has checked the structural conditions above, not percentage gates alone, and it has rejected 假从 (false follow) charts, which look like a 从格 but keep a root in a branch of the Day Master's own element.

09

Symbolic stars (15)

神煞

Engine rule:The engine computes 15 symbolic stars: Heavenly Noble (天乙贵人), Academic Star (文昌), Traveling Horse (驿马), Peach Blossom (桃花), Blade (羊刃), Prosperity Star (禄神), Canopy Star (华盖), General's Star (将星), Void (空亡), Tai Ji Noble (太极贵人), Moon Virtue Noble (月德贵人), Red Charm (红艳), National Seal (国印), Hall of Learning (学堂), and Kui Gang (魁罡).

Reasoning:These 15 are a standard set in common modern practice.

Alternative view:Several lineage-specific stars exist beyond this set: 童子煞 (Tóngzǐshā), regional folk stars, and Yin-stem variants of 羊刃. Lineages also disagree on whether yin stems carry 羊刃 at all. The engine does not include lineage-specific stars and treats yin-stem 羊刃 as weaker by detection rule. Practitioners using a wider star set find some markers absent here.

10

魁罡 (Kui Gang) day list

魁罡

Engine rule:Kui Gang is detected on four day pillars: 庚辰, 庚戌, 壬辰, 戊戌.

Reasoning:These four days are the most commonly cited 魁罡 set in modern textbooks. The engine follows this convention exactly.

Alternative view:Some lineages include additional days (notably 戊辰 and 庚午). The engine does not detect these. If your lineage uses the longer list, charts on those days do not get the 魁罡 marker here.

Where this engine sits in the field

The engine’s rule choices put it closest to the modern Hong Kong school, with some Singapore and Taiwan influences in the symbolic stars and structure detection. Practitioners trained in mainland Chinese textbooks tend to agree on most charts and disagree on the edges (day boundary, hidden stem weights, transformation conditions). Practitioners trained in Western pop-BaZi or entertainment-grade sites see this engine give a different year pillar for every birth between January 1 and 立春, and a different hour pillar for many births near an hour boundary, because most of those sites skip true solar time and use January 1 as the year boundary.

None of the disputed conventions affect the day master itself for the vast majority of births. The day master is read from the day stem, which only depends on the date (and the 23:00 true solar time day boundary for late-night births). Two practitioners using different schools almost always agree on the day master, the year pillar, and the month pillar. They sometimes disagree on the hour pillar (true solar time), the luck pillar direction (rare edge cases), and the structure detection (transformation thresholds).

If your reading from another source disagrees with this engine on a specific point, the methodology page above should tell you which rule is responsible. If it does not, that is a documentation gap.

Calculation vs. language-model prose

Everything documented above is deterministic TypeScript. The four pillars, the structure detection, the climate element, the luck pillars, the symbolic stars, and the strength scoring are all produced by code, not by a language model, and the same input always returns the same chart. No AI runs when you use the site: readings and name explanations are assembled from fixed templates and our character database. Some of that template and reference text was drafted with model assistance and reviewed before publication. Some editorial pages elsewhere on the site were drafted with model assistance and reviewed by the team. The full disclosure lives on the about page.

How errors are handled

An engine error is a chart that should resolve one way and resolves another, a day pillar that disagrees with verified historical data, or a luck pillar direction that breaks the documented rule. Engine errors are treated as bugs and fixed. The about page explains how validation works in practice and what the test suite checks.

Last updated: 2026-10-30