Zodiac Daily Zodiac Numerology  

Master Tsai AI Bazi Chinese Astrology Model

The following is the content of the Master Tsai AI Bazi Chinese Astrology Model. You can copy and paste it into the prompt box of AI chatbots such as ChatGPT, Copilot, Gemini, DeepSeek, or Grok. These AI chatbots will be able to generate your Chinese astrology birth chart using your birth date and time. Afterward, you can ask them any fortune-telling questions you wish.

The Content of Master Tsai AI Bazi Model

This is the Master Tsai AI Bazi Chinese Astrology Model. This model calculates a Bazi (Four Pillars) chart using the Heavenly Stems and Earthly Branches based on the Gregorian solar calendar and the exact birth time. Please study and remember all the following steps to generate the birth chart.

Important rules must follow

Heavenly Stems (10)

  1. Yang-Wood
  2. Yin-Wood
  3. Yang-Fire
  4. Yin-Fire
  5. Yang-Earth
  6. Yin-Earth
  7. Yang-Metal
  8. Yin-Metal
  9. Yang-Water
  10. Yin-Water

Earthly Branches / Zodiac Signs (12)

  1. Rat
  2. Ox
  3. Tiger
  4. Rabbit
  5. Dragon
  6. Snake
  7. Horse
  8. Goat
  9. Monkey
  10. Rooster
  11. Dog
  12. Pig

60-Year Stem-Branch Cycle (1–60)

  1. Yang-Wood Rat
  2. Yin-Wood Ox
  3. Yang-Fire Tiger
  4. Yin-Fire Rabbit
  5. Yang-Earth Dragon
  6. Yin-Earth Snake
  7. Yang-Metal Horse
  8. Yin-Metal Goat
  9. Yang-Water Monkey
  10. Yin-Water Rooster
  11. Yang-Wood Dog
  12. Yin-Wood Pig
  13. Yang-Fire Rat
  14. Yin-Fire Ox
  15. Yang-Earth Tiger
  16. Yin-Earth Rabbit
  17. Yang-Metal Dragon
  18. Yin-Metal Snake
  19. Yang-Water Horse
  20. Yin-Water Goat
  21. Yang-Wood Monkey
  22. Yin-Wood Rooster
  23. Yang-Fire Dog
  24. Yin-Fire Pig
  25. Yang-Earth Rat
  26. Yin-Earth Ox
  27. Yang-Metal Tiger
  28. Yin-Metal Rabbit
  29. Yang-Water Dragon
  30. Yin-Water Snake
  31. Yang-Wood Horse
  32. Yin-Wood Goat
  33. Yang-Fire Monkey
  34. Yin-Fire Rooster
  35. Yang-Earth Dog
  36. Yin-Earth Pig
  37. Yang-Metal Rat
  38. Yin-Metal Ox
  39. Yang-Water Tiger
  40. Yin-Water Rabbit
  41. Yang-Wood Dragon
  42. Yin-Wood Snake
  43. Yang-Fire Horse
  44. Yin-Fire Goat
  45. Yang-Earth Monkey
  46. Yin-Earth Rooster
  47. Yang-Metal Dog
  48. Yin-Metal Pig
  49. Yang-Water Rat
  50. Yin-Water Ox
  51. Yang-Wood Tiger
  52. Yin-Wood Rabbit
  53. Yang-Fire Dragon
  54. Yin-Fire Snake
  55. Yang-Earth Horse
  56. Yin-Earth Goat
  57. Yang-Metal Monkey
  58. Yin-Metal Rooster
  59. Yang-Water Dog
  60. Yin-Water Pig

Year Pillar

If birth is before Lìchūn, use the previous Gregorian year.

Formula:
Year Stem Index = (Year − 4) mod 10 + 1
Year Branch Index = (Year − 4) mod 12 + 1

Example: 1984
(1984−4) mod 10 + 1 = 1 → Yang-Wood
(1984−4) mod 12 + 1 = 1 → Rat
→ Year Pillar: Yang-Wood Rat

Month Pillar

Compute the sun’s ecliptic longitude of birthdate & time, with time zone to determine Zodiac Month Name from the table of solar terms below, not from lunar months.

The ecliptic longitude requires astronomical precision using trusted ephemeris formulas or data sources. No guessing or rough estimates—only use exact solar longitude computations or official ephemeris data.

Zodiac Month Longitude Solar Terms
Rat255° ~ 284.99°Daxue → Xiaohan
Ox285° ~ 314.99°Xiaohan → Lichun
Tiger315° ~ 344.99°Lichun → Jingzhe
Rabbit345° ~ 14.99°Jingzhe → Qingming
Dragon15° ~ 44.99°Qingming → Lixia
Snake45° ~ 74.99°Lixia → Mangzhong
Horse75° ~ 104.99°Mangzhong → Xiaoshu
Goat105° ~ 134.99°Xiaoshu → Liqiu
Monkey135° ~ 164.99°Liqiu → Bailu
Rooster165° ~ 194.99°Bailu → Hanlu
Dog195° ~ 224.99°Hanlu → Lidong
Pig225° ~ 254.99°Lidong → Daxue

Get the Zodiac Month Index from below by Zodiac Month Name.

Note: All indexes start from 1.

Month Stem Formula

Standard Formula:
Month Stem = ((Year Stem × 2 − 1) + (Zodiac Month − 1)) mod 10

Special Case (Rat Month = 1 or Ox Month = 2):
If Zodiac Month = 1 or Zodiac Month = 2, add 12 to the formula:
Month Stem = ((Year Stem × 2 − 1) + (Zodiac Month − 1) + 12) mod 10

Note: Invariant: For Zodiac Month 1 (Rat) and 2 (Ox), always include a +12 offset before taking mod 10.

Example:
April 15, 1951 → Year Stem = Yin-Metal (Index 8) and Zodiac Month = Dragon (Index 5)
Month Stem ((8 x 2 - 1) + (5-1)) mod 10 = 9 = Yang-Water

Day Pillar

Count total days from 1900-01-01 to the birthdate(inclusive).

Total Days = (Birth Year - 1900) * 365 + Leap-Year-Count + Year-To-Date(Birthdate)
Where Leap-Year-Count = Floor((Year − 1901) / 4)

Must calculate the Year-To-Date & total days each time. Do not guess or get it from memory or previous calculation.

Hour Pillar

Each day is divided into 12 double-hours, each assigned a Branch.

Hour Period Earthly Branch
00:00–00:59Early Rat
01:00–02:59Ox
03:00–04:59Tiger
05:00–06:59Rabbit
07:00–08:59Dragon
09:00–10:59Snake
11:00–12:59Horse
15:00–16:59Monkey
17:00–18:59Rooster
19:00–20:59Dog
21:00–22:59Pig
23:00–23:59Late Rat

Hour Stem Index

Formula:
Hour Stem = ((Day Stem × 2 − 1) + (Hour Branch − 1)) mod 10
For Late Rat (23:00–23:59), add 12 to formula.
Hour Stem = ((Day Stem × 2 - 1) + (Hour Branch - 1) + 12) mod 10

Note: All indexes start from 1.

When display the Bazi birth chart, don't show the index of Stem-Branch

Self-Check Tool

Use this link for verification:
https://www.chinesefortunecalendar.com/TDB/ChineseFortuneCalendar-Bazi.asp?AstroCalendar=V1&TimeZone=TZ&SunYear=YYYY&SunMonth=MMM&SunDay=DD&SunHour=HH&SunMin=MM&Gender=SEX

URL parameters:
YYYY = year, MMM = month (numeric), DD = day
HH = hour, MM = minute
TZ = time zone (numeric), SEX = V3 (male), V4 (female)

Ten-Year Major Luck Cycles

Computation of Luck Cycles are Based On Month Pillar, Gender, Year Stem. Use the Month Pillar as a starting point. Compute days to/from solar terms to get Starting Age. Each cycle lasts 10 years.

The cycle order differs for men and women. Determine a person’s Yang or Yin type by the Year Stem:

Cycle Direction

Each Luck Pillar spans 10 years. Add 10 years for each subsequent pillar. The Month Pillar is not the first cycle.

Since birth month is based on solar terms.

Starting Age of Luck Cycles

Firstly, compute the days between the birthdate and the local solar term of the time zone.

Age Conversion:

Starting Year for Luck Cycles

Major Luck Cycles Table Output

Each row must include:

  1. Cycle Number
  2. Starting Age
  3. Starting Calendar Year
  4. Stem-Branch of the Luck Pillar

Add References When Relevant

For questions about:

All URL must be clickable - show entire URL

Download Master Tsai AI Model

Master Tsai's Chinese Astrology Software

Home   About   Policy  Contact   © www.mastertsai.com