Overview
BaZi (四柱八字), literally 'Eight Characters of Four Pillars', is one of the most sophisticated destiny-reading systems in Chinese metaphysics. Rooted in the ancient Chinese calendar system, it encodes a person's birth moment into four pairs of Heavenly Stems (天干) and Earthly Branches (地支) — one pair each for the birth year, month, day, and hour — creating a unique cosmic fingerprint of eight characters that reveals the person's innate character, life themes, and destiny trajectory.
Origin
BaZi traces its roots to the ancient Chinese sexagenary cycle (干支紀年), a 60-year calendar system combining ten Heavenly Stems and twelve Earthly Branches. The Year Pillar method was used as early as the Han Dynasty (206 BCE–220 CE). The Day Pillar method was developed during the Tang Dynasty, and the complete Four Pillars system — including the Hour Pillar — was systematised by the Song Dynasty scholar Xu Ziping (徐子平, 907–960 CE), which is why BaZi is also known as Ziping Method (子平命理).
History
Xu Ziping's innovation of making the Day Pillar the primary reference point (the Day Master) transformed BaZi from a simple year-based system into a nuanced personal destiny map. His work was compiled in 'Yuan Hai Zi Ping' (淵海子平). The Ming Dynasty saw the publication of 'San Ming Tong Hui' (三命通會), one of the most comprehensive BaZi encyclopaedias. The Qing Dynasty master Shen Xiaozhan (沈孝瞻) wrote 'Zi Ping Zhen Quan' (子平真詮), still considered the definitive classical text. In the 20th century, masters like Wei Qianli (韋千里) and Joey Yap brought BaZi to global audiences, making it one of the most widely practised destiny systems in the world.
How It Works
A BaZi chart is constructed by converting the birth date and time into four stem-branch pillars using the Chinese solar calendar and the solar terms (節氣) as month boundaries. The Day Pillar's Heavenly Stem is the Day Master (日主), representing the self. All other stems and branches are interpreted relative to the Day Master through the Ten Gods (十神) framework — a classification of elemental relationships that assigns each character one of ten archetypal roles. Hidden Stems (藏干) within each branch add additional elemental layers. The Twelve Life Stages (十二長生) track each stem's vitality cycle. Da Yun (大運) Major Luck Cycles of ten years each are derived from the birth month pillar, creating a life trajectory that unfolds from a calculated start age.
Good For
Use Cases
Natal Chart Reading
Generate a complete BaZi chart for any birth date between 1900 and 2100. The API returns all four pillars with stems, branches, Nayin sound, Hidden Stems, Ten Gods, and Twelve Life Stage for each pillar, plus element balance scores and an LLM-generated interpretation.
Da Yun Luck Cycle Planning
The API computes all eight ten-year Major Luck Cycles with their start ages, pillar characters, and Ten God relationships. Practitioners use this to identify which decades carry the most supportive or challenging energies for career, relationships, and health.
Element Balance Analysis
The response includes a five-element balance score across all four pillars and their hidden stems. This reveals dominant and lacking elements, which practitioners use to recommend remedies such as colours, directions, names, or lifestyle adjustments.
Compatibility Assessment
Compare two BaZi charts to assess elemental harmony between partners, business associates, or team members. The Day Master elements and Ten God relationships between two charts reveal the nature of the dynamic — supportive, competitive, or transformative.
Famous Examples
Alibaba FounderJack Ma's BaZi chart (born 10 September 1964) features a 戊辰 (Earth Dragon) year, 壬申 (Water Monkey) month, and 壬戌 (Water Dog) day. His Day Master is 壬 (Yang Water), which BaZi masters describe as the 'ocean' — vast, powerful, and capable of containing everything. His dominant Water element with strong Metal support is said to explain his relentless drive and ability to navigate complex business environments.
Martial Arts LegendBruce Lee (born 27 November 1940) has a 庚辰 (Metal Dragon) year and 壬子 (Water Rat) day, making him a Yang Water Day Master. The strong Metal in his chart (Metal generates Water) combined with the Dragon and Rat branches forming a Water frame is said to explain his explosive speed, philosophical depth, and the intensity that defined his short but legendary life.
Ancient Chinese PhilosopherConfucius (551–479 BCE) is one of the earliest historical figures whose BaZi has been reconstructed. His chart is studied in classical BaZi schools as an example of a 'scholar chart' — a configuration where the Direct Resource (正印) and Direct Officer (正官) gods are both strong, producing a person of great learning, moral authority, and lasting cultural influence.
Key Terms
Day Master (日主)The Heavenly Stem of the Day Pillar. It represents the self and is the reference point for all Ten God calculations.Ten Gods (十神)Ten archetypal forces derived from the elemental relationship between each stem/branch and the Day Master: Companion, Rob Wealth, Eating God, Hurting Officer, Indirect Wealth, Direct Wealth, Seven Killings, Direct Officer, Indirect Resource, and Direct Resource.Hidden Stems (藏干)The Heavenly Stems concealed within each Earthly Branch. Each branch contains a main stem and up to two additional stems, adding hidden elemental influences to the pillar.Twelve Life Stages (十二長生)A cycle of twelve phases (Birth, Bath, Coronation, Official Cap, Prosperity, Decline, Illness, Death, Tomb, Extinction, Conception, Nurturing) that tracks the vitality of each stem through the twelve branches.Da Yun (大運)Major Luck Cycles of ten years each, derived from the birth month pillar. The direction (forward or reverse) depends on gender and year polarity. Each cycle brings a new stem-branch influence that modifies the natal chart's energy for that decade.API Integration
The askTIAN BaZi API computes a complete Four Pillars natal chart for any birth date between 1900 and 2100, returning all four pillars with stems, branches, Nayin, Hidden Stems, Ten Gods, Twelve Life Stages, element balance, and eight Da Yun major luck cycles — plus an LLM-generated interpretation in English or Traditional Chinese.
/trpc/bazi.chart{"pillars": {"year": {"stem": "甲","branch": "辰","stemEn": "Jia (Wood+)","branchEn": "Chen (Dragon)","nayin": "佛灯火","nayinEn": "Buddhist Lamp Fire","element": "Wood","polarity": "Yang","tenGod": "偏印","tenGodEn": "Indirect Seal","lifeStage": "宾","lifeStageName": "Prosperity","hiddenStems": ["戊","乙","癸"]},"month": {"stem": "戊","branch": "申","stemEn": "Wu (Earth+)","branchEn": "Shen (Monkey)","nayin": "大驿土","nayinEn": "Great Station Earth","element": "Earth","polarity": "Yang","tenGod": "偏財","tenGodEn": "Indirect Wealth","lifeStage": "绞","lifeStageName": "Absolute","hiddenStems": ["庚","壬","戊"]},"day": {"stem": "庚","branch": "午","stemEn": "Geng (Metal+)","branchEn": "Wu (Horse)","nayin": "路傍土","nayinEn": "Roadside Earth","element": "Metal","polarity": "Yang","tenGod": null,"tenGodEn": "Day Master","lifeStage": "死","lifeStageName": "Death","hiddenStems": ["丁","己"]},"hour": {"stem": "戊","branch": "辰","stemEn": "Ji (Earth-)","branchEn": "Chen (Dragon)","nayin": "大林木","nayinEn": "Great Forest Wood","element": "Earth","polarity": "Yin","tenGod": "偏印","tenGodEn": "Indirect Seal","lifeStage": "宾","lifeStageName": "Prosperity","hiddenStems": ["戊","乙","癸"]}},"dayMaster": {"stem": "庚","stemEn": "Geng (Metal+)","element": "Metal","polarity": "Yang","strength": "Weak","strengthScore": 38,"favorableElements": ["Earth","Metal"],"unfavorableElements": ["Fire","Wood"]},"elementBalance": {"Wood": {"count": 1,"percentage": 12},"Fire": {"count": 2,"percentage": 25},"Earth": {"count": 3,"percentage": 38},"Metal": {"count": 1,"percentage": 12},"Water": {"count": 1,"percentage": 13}},"daYun": [{"index": 1,"startAge": 3,"endAge": 13,"stem": "己","branch": "未","stemEn": "Ji","branchEn": "Wei","element": "Earth","tenGodEn": "Direct Seal"},{"index": 2,"startAge": 13,"endAge": 23,"stem": "戊","branch": "午","stemEn": "Wu","branchEn": "Wu","element": "Earth","tenGodEn": "Indirect Wealth"},{"index": 3,"startAge": 23,"endAge": 33,"stem": "丁","branch": "巳","stemEn": "Ding","branchEn": "Si","element": "Fire","tenGodEn": "Direct Officer"},{"index": 4,"startAge": 33,"endAge": 43,"stem": "丙","branch": "辰","stemEn": "Bing","branchEn": "Chen","element": "Fire","tenGodEn": "Indirect Officer"},{"index": 5,"startAge": 43,"endAge": 53,"stem": "乙","branch": "卡","stemEn": "Yi","branchEn": "Mao","element": "Wood","tenGodEn": "Direct Wealth"},{"index": 6,"startAge": 53,"endAge": 63,"stem": "甲","branch": "寅","stemEn": "Jia","branchEn": "Yin","element": "Wood","tenGodEn": "Indirect Wealth"},{"index": 7,"startAge": 63,"endAge": 73,"stem": "癸","branch": "丑","stemEn": "Gui","branchEn": "Chou","element": "Water","tenGodEn": "Direct Seal"},{"index": 8,"startAge": 73,"endAge": 83,"stem": "壬","branch": "子","stemEn": "Ren","branchEn": "Zi","element": "Water","tenGodEn": "Indirect Seal"}],"interpretation": "**BaZi Four Pillars Reading — Jack Ma (Ma Yun), born 1964-09-10**\n\nYour Day Master is **Geng Metal (庚金)** — the archetype of the sword, the axe, the reformer. Geng Metal people are direct, decisive, and built for transformation.\n\n**Chart Overview:** Your chart is Metal-weak with Earth and Fire dominant. The Month Pillar (戊申 — Wu Shen) places you in the Absolute stage for your Day Master, a classical indicator of someone who must build their strength through adversity rather than inheriting it.\n\n**Ten Gods Profile:** The dominance of Indirect Seal (偏印) in your Year and Hour pillars reflects unconventional thinking and self-taught mastery. The Indirect Wealth (偏財) in your Month Pillar is the hallmark of the entrepreneur — wealth through risk and mass-market reach.\n\n**Da Yun Luck Cycles:** Your most transformative period ran from ages 33–43 (Bing Chen — Fire Dragon), aligning precisely with the founding of Alibaba (1999, age 35) and its explosive growth.\n\n**Guidance:** Geng Metal flourishes when it has Earth to stand on and Water to temper its edge. Surround yourself with grounded partners (Earth types) and strategic advisors (Water types).","creditsUsed": 15,"responseTimeMs": 3842}
* Sample response shown for illustration. Live responses may vary based on input parameters and real-time calculations.
