Bazi Ten Gods Analyzer (八字十神)
4-pillar 十神 breakdown · 5-category distribution · interpretation
Bazi Ten Gods Analyzer (八字十神)
Your birth information
These dates come from the IANA tz database. Its asia file calls itself “by no means authoritative” and, unless it names another source, takes its data through 1990 from an atlas that “contains many errors and cites no sources”; the database's maintainers add that it does not record every clock change before 1970. If a birth record states the clock, go by the record.
How to use
Enter the birth time
Gregorian year, month and day, plus the clock hour and minute. Leave the hour blank if you do not know it and the tool casts the year, month and day pillars only.
Pick the clock offset and the 23:00 rule
Choose the UTC offset the clocks used where you were born; solar-term instants are converted to it. The list names the places and years each offset was used in. Summer time put clocks on UTC+9 in Hong Kong in 1941, in Hong Kong and Macau in the summers of 1946–1976 and 1979 (through the winter of 1973–74 as well), in Taiwan in the summers of 1946–1961, 1974–1975 and 1979, in the Philippines in 1936–37, 1954, 1977 and 1990, and in mainland China in some years from 1919 to 1949 and the summers of 1986–1991 (IANA tz database). For a birth between 23:00 and 24:00, choose whether the day pillar changes at midnight or at 23:00 — the two give different day pillars.
Read the pillars
Each heavenly stem is labelled with its Ten God relative to the day master; each branch with the Ten God of its principal hidden stem, and every hidden stem is listed.
Read the count
How many positions each of the five categories takes, and how bazi readings describe that spread. It describes the tradition; it does not predict.
Ten Gods: how each character stands to the day master
The Ten Gods (十神) name every character in a bazi chart by its relation to the day master, the heavenly stem of the birth day. The rule has two layers: in the five-element cycles the other character is the same element, one the day master produces, one it controls, one that controls it, or one that produces it; and its yin/yang polarity is either the same or the opposite. Five relations times two polarities gives ten names. The Yuanhai Ziping (淵海子平) opens by listing all ten for a 甲 and an 乙 day master, and this tool's rule is checked against both rows.
Five categories, one yin and one yang each
Peer (比肩/劫财, same element), Output (食神/伤官, produced by the day master), Wealth (偏财/正财, controlled by it), Authority (七杀/正官, controlling it) and Resource (偏印/正印, producing it). Within each, the same polarity is the "partial" god (比肩, 食神, 偏财, 七杀, 偏印) and the opposite polarity the "direct" one (劫财, 伤官, 正财, 正官, 正印). The book puts the resource pair this way: yang meeting yin or yin meeting yang is 正印; yang meeting yang or yin meeting yin is 偏印.
How the pillars are cast
The year pillar turns at the instant of 立春 (Start of Spring), not at Chinese New Year, and the month pillar turns at each of the twelve 节 (立春, 惊蛰, 清明 …), to the minute. Those instants come from the site's lunisolar engine, which computes them astronomically and is checked against the Hong Kong Observatory's published solar-term times. The day pillar is the unbroken sixty-day cycle. For a birth between 23:00 and 24:00, schools disagree about which day pillar applies; the tool lets you choose and shows what the other choice gives.
How this tool counts
It counts the stems other than the day master plus each branch read by its principal hidden stem: seven positions with an hour, five without. Nothing is weighted by season or by hidden-stem strength. A full reading also weighs the strength of the day master, the useful god and the luck cycles; this tool does none of that.
Seven Killings and Partial Officer are one relation under two names
The Yuanhai Ziping treats Seven Killings and Partial Officer as one relation — 「偏官即七杀」 — and says which name applies depends on the chart: restrained, it is 偏官; unrestrained, 七杀. This tool labels it 七杀 throughout, the usual modern form.
The same book credits the Tang-era Li Xuzhong with reading fate from the stems and branches of the birth year, month, day and hour, and dates to the Song the step of taking the day stem as the master (「取日干为主」). The Ten Gods are counted from that stem.
The book's names are not all today's: 正印 appears as 印綬, 偏印 as 倒食 or 梟神, 食神 also as 天厨 and 寿星, and 劫财 also as 败财 ("ruined wealth").
The hidden stems come from the book's verse on what each branch conceals: 子, 卯 and 酉 hold one stem each (癸, 乙, 辛), 午 and 亥 two (丁己, 壬甲), and the other seven branches three.
A bazi year turns at 立春, not at Chinese New Year. In 2024 立春 fell at 16:27 on 4 February (Hong Kong Observatory) and New Year on 10 February, so a child born on 5 February already has a 甲辰 year pillar.
On 4 February 2038, 立春 and Chinese New Year fall on the same day. 立春 comes just after 2 a.m.: Japan's National Astronomical Observatory lists it at 02:04 (UTC+8), and this tool computes 02:03. A child born before it is in the new lunar year but still has the old 丁巳 bazi year pillar; for a birth in the minute of 02:03 the tool says the year pillar cannot be settled.
For a birth between 23:00 and 24:00 the two day-change conventions agree on the hour pillar but give day pillars a day apart, and so different day masters: 23:30 on 10 February 2024 is a 甲辰 day under midnight change and 乙巳 under 23:00 change.
The day master is the stem of the birth day. 15 June 1990 is a 辛亥 day, so its day master is 辛, yin metal; the year pillar that day is 庚午 and the month pillar 壬午.
Any one day master meets each of the ten Gods exactly once across the ten stems: five relations times two polarities, no more and no fewer.
When a birth falls within two hours of a solar-term change, the tool says so: the year or month pillar then depends on the minute, and the term's clock time depends on the time zone of the birthplace.
Frequently Asked Questions
Bazi = 4 pillars × 2 characters (each pillar = a heavenly stem + an earthly branch). The Ten Gods name how those characters stand to your day master, the heavenly stem of your birth day. They are a layer of naming on top of the cast chart.
The two gods in a pair have the same element relation to the day master and differ only in polarity: the same polarity gives 偏财, 七杀, 偏印 and the like; the opposite gives 正财, 正官, 正印.
No. A full reading also weighs Major Luck cycles, annual luck, the useful god, day-master strength and climate balance. This tool does a static Ten Gods count and reports how the tradition describes that spread.
The Ten Gods rule matches the Yuanhai Ziping's table for a 甲 and an 乙 day master entry by entry, and all 100 stem pairs of the lunar-javascript library. The 立春 and 节 instants are checked against the Hong Kong Observatory's published solar-term times. What can change a result is convention, not arithmetic: the 23:00 day change, the time zone of the birthplace, and the minutes either side of a solar-term change.
The tool shows it. The birth day's stem maps to: 甲/乙 = wood, 丙/丁 = fire, 戊/己 = earth, 庚/辛 = metal, 壬/癸 = water; 甲丙戊庚壬 are yang and 乙丁己辛癸 yin. For example, 15 June 1990 is a 辛亥 day, so the day master is 辛, yin metal.
This tool makes no such claim. It casts and counts the Ten Gods by the traditional rule and reports what the tradition says; whether the tradition is right is not something a calculator can check.
They are built differently. Western astrology works with planets and signs; the Ten Gods work with stems, branches, five elements and yin/yang, and describe relations between characters.
The natal chart's Ten Gods are fixed. The tradition also names the stems of the luck cycles and of each year against the same day master; that is a separate layer this tool does not compute.
The four usual reasons: (1) a birth between 23:00 and 24:00, and the other tool changes the day at 23:00; (2) it changes the year at Chinese New Year instead of 立春; (3) the birth is close to a solar-term change and it uses a different time zone or term time; (4) it adjusts the hour to true solar time. This tool uses clock time and does not convert to solar time.
Yes. All RECATOOLS tools are free and ad-supported, with no signup and no paywall. The calculation runs in your browser; the birth details are not uploaded.
Method & sources
How it computes
Pillars from the site's lunisolar engine: year at the 立春 instant, month at each 节, to the minute, at the chosen UTC offset; the 23:00 day change is the reader's choice. Each stem is named against the day stem by element relation (same, produces, controls, controlled by, produced by) × yin/yang polarity; each branch by its principal hidden stem. Seven positions are counted (five with no hour), unweighted.
What this tool implements
- The Ten Gods rule is the one the 淵海子平 tabulates for a 甲 and an 乙 day master (見甲 比肩, 見乙 劫財 … 見癸 印綬), with its polarity rule — 「以陽見陰,以陰見陽,謂之正印;陽見陽,陰見陰,謂之偏印」. The tool derives the relation from element and polarity; its automated tests check it against both rows of that text and all 100 stem pairs of lunar-javascript 1.7.7.
- Hidden stems follow the same book's 地支藏遁歌 (子 癸; 丑 癸辛己; 寅 甲丙戊 …), listed principal stem (本氣) first. A branch is counted by its principal stem; every hidden stem is shown with its god.
- The year pillar turns at the instant of 立春, not at Chinese New Year, and the month pillar at each 节, both to the minute. Checked at ±2 minutes of all 156 节 in Hong Kong Observatory term times 2019–2028 and NAOJ 1984, 2000 and 2050. A birth within two hours of a 节, or on a 节 day with the hour unknown, is flagged on the page.
- The 23:00–24:00 hour is a convention and both are offered: the day pillar changes at midnight (23:00–24:00 keeps that day's pillar and takes the next day's 子-hour stem; lunar-javascript sect 2, the default) or at 23:00 (sect 1). The hour pillar is the same under both; the day pillar, and so the day master, is not, and the page shows the other convention's day pillar.
- Clock time at the UTC offset the reader picks, from a list of nineteen naming the places and years each was used (IANA tz database 2026f): the mean times kept before standard time (Bangkok +6:42:04, Singapore +6:55:25, Phù Liễn +7:06:30, Batavia +7:07:12, Pontianak +7:17:20, Kuching +7:21:20, Macau +7:34:10, Hong Kong +7:36:42, Makassar +7:57:36, Jayapura +9:22:48), +7, +7:20, +7:30, +8, Sabah and Sarawak's +8:20 summers of 1935-41, +8:30, +9, Maluku and Papua's +9:30 of 1944-63 and Macau's +10 of 1942-43, with the summer-time years of Hong Kong, Macau, Taiwan, the Philippines and mainland China set out on the page. Where the database's own comments call a date assumed or inferred, the list says so. No true-solar-time correction is applied, and the page says so.
- The page carries a cultural-reference notice. The tool names and counts relations by the traditional rule and reports how readings describe a spread; it does not forecast or grade a chart.
- Corrected 2026-11-22: the clock list named Peninsular Malaysia and Java and Sumatra but no other Malaysian or Indonesian zone, so a birth in Sabah or Sarawak, Kalimantan, Sulawesi, Bali and Nusa Tenggara, or Maluku and Papua found no option naming its clock, and Sabah and Sarawak's +8:20 summer time (14 Sep to 13 Dec, 1935-41) and Maluku and Papua's +9:30 (Sep 1944 to 1963) were in no row at all. Added from the IANA tz database (release 2026f) zones Asia/Kuching, Asia/Pontianak, Asia/Makassar and Asia/Jayapura, with their mean times and their +7, +7:30, +8 and +9 periods. Three dates the database's own comments call assumed or inferred are labelled so: Indonesia's Sep 1945 change outside Java and Madura, west Borneo's move from +8 to +7 in 1988, and the 1944 date its source gives for Jayapura alone.
Show 5 more
- Corrected 2026-10-19: the tally dropped every branch with two or three hidden stems while claiming "8 characters"; the FAQ gave 15 June 1990 as a 庚午 day (the day is 辛亥; 庚午 is the year); this record named the 23:00 schools the wrong way round ("早子時 (sect 2)"); a 同根/独立 label compared the day stem with the year stem, which no rule does; 30 February was accepted; unsourced claims removed — a bazi-consulting market size, SGD 200–800 consultation prices, three app names and a 朱元璋 七杀 chart; career statements reframed as the tradition's descriptions.
- A birth in the same minute as a 节 is cast as after it (the engine compares minutes, seconds dropped), and the page says the pillar that term moves cannot be settled. The page's example is 立春 2038, which NAOJ lists at 02:04 (UTC+8) and the engine computes at 02:03:24. The input boxes accept full-width digits and grouping commas; a blank hour means the hour is unknown.
- Corrected 2026-11-18: the clock list offered +7, +7:30, +8 and +9 with no years, so a Singapore birth of 1933-1941 (+7:20) or before June 1905 (+6:55:25) could not be entered at its own clock; a birth in a 节's own minute was reported as "born 0 min after"; a fact gave 立春 2038 as 02:04 while the tool computes 02:03; full-width digits were refused; ?lang=zh-HK served the page copy in English.
- Corrected 2026-11-20: UTC+8 was labelled Taiwan's standard time without exception and UTC+9 named no Taiwan years, though Taiwan kept Japan Standard Time from 1 Oct 1937 to 21 Sep 1945 (IANA Asia/Taipei); western Indonesia's +9 of Mar 1942 to Sep 1945 was missing too. The list is now shared with the Major Luck Cycle Calculator.
- Corrected 2026-11-21: the clock list gave Java and Sumatra no offset before 1942 except +7 from 1964, and Vietnam none but +7 from 1975, so a birth under Batavia mean time (+7:07:12, to 1923), +7:20 (1924 to Oct 1932), +7:30 (Nov 1932 to Mar 1942, Sep 1945 to Apr 1948, May 1950 to 1963) or +8 (May 1948 to Apr 1950) in Java and Sumatra, or under Phù Liễn mean time (+7:06:30, 1906-1911), +8 (1943 to Mar 1945; Apr 1947 to 1954, the south to Jun 1955; the south 1960 to Jun 1975) or +9 (Mar to Sep 1945) in Vietnam, found no option naming its clock. The same re-read of the IANA tz database (release 2026f) added Bangkok mean time (+6:42:04, to Mar 1920), Hong Kong and Macau local mean time (to Oct 1904), Macau's +10 summers of 1942-43 and the Philippines' +9 of Dec 1941 to Nov 1945, and the how-to now gives the summer-time years of Macau and the Philippines. The database's own caveat about its pre-1970 data is shown under the select.
Sources
- 淵海子平 (Wikisource, revision 2593607): 「基础」 Ten Gods table for 甲 and 乙, 地支藏遁歌 (hidden stems), 論偏官 (「偏官即七殺」), 論日為主: https://zh.wikisource.org/wiki/%E6%B7%B5%E6%B5%B7%E5%AD%90%E5%B9%B3
- Hong Kong Observatory. 24 Solar Terms — times at UTC+8; 2024 data file used for the 立春 example (4 Feb 2024 16:27): hko.gov.hk
- lunar-javascript 1.7.7 by 6tail (MIT), vendored at /assets/vendor/lunar-javascript/ — SHI_SHEN and ZHI_HIDE_GAN tables and EightChar sects, used as an independent cross-check: https://github.com/6tail/lunar-javascript
- IANA tz database release 2026f (27 Oct 2026), file "asia": zones Asia/Singapore (Asia/Kuala_Lumpur links to it), Asia/Kuching (Sabah and Sarawak, Rule NBorneo), Asia/Hong_Kong, Asia/Macau, Asia/Taipei, Asia/Shanghai, Asia/Manila, Asia/Bangkok, Asia/Jakarta (Java and Sumatra), Asia/Pontianak (west and central Borneo), Asia/Makassar (Sulawesi, the Lesser Sundas, east and south Borneo), Asia/Jayapura (Maluku and Papua) and Asia/Ho_Chi_Minh, with Rules HK, Macau, Taiwan, Shang, PRC and Phil; read raw 2026-11-21 and 2026-11-22 for the clock list this page shares with the Major Luck Cycle Calculator. The file calls itself "by no means authoritative", and unless it names another source its data through 1990 come from an atlas it says "contains many errors and cites no sources": https://data.iana.org/time-zones/tzdb-2026f/asia
- IANA tz database release 2026f, file "backzone", zone Asia/Hanoi (North Vietnam: +8 to Oct 1954, then +7), which the asia file names for north Vietnam before 1970; read raw 2026-11-21: https://data.iana.org/time-zones/tzdb-2026f/backzone
- National Astronomical Observatory of Japan, 暦計算室. 二十四節気・雑節 (long-term), standard time +08: 2038/02/04 02:04 立春; read raw 2026-11-18: https://eco.mtk.nao.ac.jp/cgi-bin/koyomi/cande/phenomena_sy.cgi