Multifate
AskChartsExploreMy readingsPricing
  • EnglishEN
  • 中文中
  • 日本語日
  • 한국어한
English
  • English
  • 中文
  • 日本語
  • 한국어
Ask a question
AskChartsExploreMy readingsPricing
Back to Multifate

How Multifate calculates and checks your chart

A fixed calendar engine calculates the BaZi, Zi Wei Dou Shu and Da Liu Ren charts from the date and time you enter, and Meihua from the time or from three numbers you choose, in your browser or on our server. It is not AI, and the same input always gives the same chart. Tarot is the exception: the cards are drawn at random each time. AI writes a reading only when you ask a question about a chart, and it reads a chart that is already fixed.

Current calculation version: v13. The BaZi calculator prints it in the calculation receipt under every chart.

  • BaZi (Four Pillars)
  • Zi Wei Dou Shu
  • Da Liu Ren
  • Meihua
  • Tarot
  • How the calculations are checked
  • Calculation versions
  • If you find a calculation error
  • What a calculation cannot tell you
  • Questions about the calculations

BaZi (Four Pillars)

The BaZi calculator turns a birth date and time into four pillars, each made of a heavenly stem and an earthly branch. The calendar arithmetic comes from lunar-javascript, an open-source library under the MIT license. The rules below are the choices our engine applies on top of it.

  • The year pillar changes at the exact moment of Li Chun (立春, the Start of Spring), not on 1 January and not at Chinese New Year. In 2024 that moment was 16:27 on 4 February, China Standard Time.
  • The month pillar changes at the moment of each of the twelve solar terms that open a month (节), such as Li Chun and Jingzhe (惊蛰). Jingzhe in 2024 fell at 10:22 on 5 March, China Standard Time.
  • Both are compared as moments in time. The birth is converted to UTC+8, the zone the solar-term table is written in, and compared with the term to the minute. A fixed UTC+8 is used rather than the Asia/Shanghai time zone, because Asia/Shanghai observed daylight saving from 1986 to 1991.
  • The day pillar changes at midnight local time in the birthplace time zone you choose. A birth between 23:00 and 24:00 stays on its own date and falls in the Zi hour, whose hour stem is counted from the next day’s stem.
  • Your birth time is read as clock time in that zone, with the zone’s historical UTC offset and daylight saving. True solar time is applied only if you enter a latitude and longitude. It can move the hour pillar, and the day pillar if it crosses midnight (you confirm first), but it never moves the year or month pillar.
  • Each branch carries one to three hidden stems: main, middle and residual. In the element tally every visible stem counts 1, and the hidden stems count 0.5, 0.3 and 0.2 in that order.
  • If you do not know the birth time, the calculator gives three pillars and no hour pillar. It reads the date at noon in the chosen zone, so on the day of a solar term the year and month pillars can land on the wrong side of the term.
  • Luck pillars run in ten-year steps. Their direction follows the yin or yang of the year stem and the gender entered: forward for a yang-year man or a yin-year woman, backward otherwise. The start age counts from birth to the next solar term when going forward and to the previous one when going backward, with three days equal to one year.

Worked example: 8 March 1990, 09:30, Tokyo

Pillars: year 庚午 (Geng Wu), month 己卯 (Ji Mao), day 壬申 (Ren Shen), hour 乙巳 (Yi Si). The day master is 壬 (Ren, water).

Hidden stems: Wu holds 丁 and 己, Mao holds 乙, Shen holds 庚, 壬 and 戊, and Si holds 丙, 戊 and 庚.

Element tally: wood 1.5, fire 1.0, earth 1.8, metal 1.7, water 1.3.

The same date at 23:30 keeps the day 壬申 and gives the hour 壬子 (Ren Zi).

On 4 February 2024 in Tokyo, 17:00 gives the year 癸卯 and the month 乙丑, and 17:30 gives 甲辰 and 丙寅. With the time unknown, the date is read at noon and gives 癸卯 and 乙丑, even if the birth was in the evening.

The BaZi calculator page works through why two calculators can disagree on the same birth. Related pages: the guides to hidden stems, checking a chart and an unknown birth time, and the luck pillars and ten gods calculators.

Zi Wei Dou Shu

The chart is laid out by iztro, an open-source library under the MIT license, with its default placement of stars, the common version rather than the Zhongzhou variant. The calculator takes a Gregorian date and either a birth time or a two-hour period.

  • The Gregorian date is converted to the lunar calendar. The lunar year changes at Chinese New Year, not at Li Chun, so a birth between the two gets one year in Zi Wei Dou Shu and the next in BaZi. At noon on 5 February 2024 the Zi Wei year is 癸卯 (Gui Mao) and the BaZi year is 甲辰 (Jia Chen).
  • In a leap month, days 1 to 15 count as the month it repeats and day 16 onward counts as the next month. At noon on 5 April 2023 (day 15 of the leap second month) the Life palace is the You (酉) branch. At noon on 6 April 2023 (day 16) it is the Xu (戌) branch.
  • The day turns at midnight, so a birth between 23:00 and 24:00 stays on the date you entered and falls in the first period, Zi.
  • The clock time is used as entered. There is no true solar time, birthplace or daylight saving adjustment, so enter the time the clock showed at the birth.
  • To find the Life palace, start at the Yin (寅) palace as month 1 and count forward to the lunar birth month. From there count back by the number of the birth period, where Zi is 0, Chou is 1 and so on. Counting forward by the same number gives the Body palace. The stem and branch of the Life palace set the bureau.
  • Gender only sets the direction of the ten-year periods (大限): forward through the palaces for a yang-year man or a yin-year woman, backward otherwise. The stars and palaces are the same for both.
  • The Four Transformations follow the year stem, using the default table in iztro. Schools disagree on a few stems, so two calculators can differ here and each be consistent with its own table.

Worked example: 8 March 1990, 09:30 (lunar: year Geng Wu, 2nd month, day 12)

The Life palace is Xu (戌) with Tai Yang (太阳) as its major star, and the Body palace is Shen (申). The bureau is the Earth 5 bureau.

The year stem is 庚 (Geng), so Tai Yang takes Hua Lu, Wu Qu takes Hua Quan, Tai Yin takes Hua Ke and Tian Tong takes Hua Ji.

The first ten-year period, ages 5 to 14 by East Asian age, falls in the Life palace. For a man the next one is the Parents palace (亥). For a woman it is the Siblings palace (酉).

At 22:30 the Life palace is Chen (辰). At 23:30 it is Mao (卯), because 23:00 starts the Zi period.

See the Zi Wei Dou Shu calculator, the guide to the twelve palaces and the Zi Wei Dou Shu guides.

Da Liu Ren

A Da Liu Ren plate is cast for one minute. You enter the date and time, and the engine builds the heaven and earth plates, the four lessons, the three transmissions and the twelve generals for that minute. The location is not used.

  • The day and the hour come from the clock time you type, with no correction for place. The hour branch turns at 23:00, 01:00, 03:00 and so on. The day turns at midnight, so 23:30 belongs to the Zi hour of the same calendar day.
  • The month general (月将) changes at the exact moment of the zhongqi (中气, the term in the middle of each month), not at midnight of its date. The minute you type is read in your browser’s time zone and compared with that moment as one point in time. If no zone is sent, the typed clock is read as UTC+8.
  • The month general is laid on the hour branch of the earth plate, and the other branches of the heaven plate follow in order. The earth plate does not move.
  • The four lessons are read from the day stem, at the palace where it lodges (寄宫), and from the day branch. The first and third lessons take the heaven-plate spirit above the stem’s palace and above the day branch, and the second and fourth each take the spirit above the lesson before.
  • The first transmission is chosen by the nine traditional methods in a fixed order, beginning with a lesson in which one spirit overcomes another (贼克). The middle and last transmissions then follow along the heaven plate.
  • The nobleman is placed by the day stem and by whether the hour is day or night (the hours from Mao to Shen count as day), and the twelve generals run forward or backward from it.

Worked example: 21 March 2026, 12:00, no time zone (read as UTC+8)

The day is 甲午 (Jia Wu) and the hour branch is Wu (午). The last zhongqi before that moment was Chunfen (春分), at 22:45 on 20 March 2026 China Standard Time, so the month general is Xu (戌), He Kui (河魁).

The four lessons, upper over lower, are Wu over Jia, Xu over Wu, Xu over Wu and Yin over Xu. Only in the fourth does the upper overcome the lower (Yin, wood, over Xu, earth), so the first transmission is Yin (寅).

The three transmissions are Yin, Wu and Xu, riding the Heavenly Empress (天后), the White Tiger (白虎) and the Six Harmonies (六合). The lesson pattern is Yuan Shou (元首).

Yushui (雨水) in 2026 falls at 23:51:56 on 18 February China Standard Time. The typed minute 23:51 still has the Zi general, Shen Hou (神后), and 23:52 has the Hai general, Deng Ming (登明). The same moment is 00:51:56 on 19 February in Tokyo, where 00:51 and 00:52 give the same two generals.

See the Da Liu Ren calculator and the guides to the month general, the four lessons and the three transmissions.

Meihua

Meihua Yishu builds a hexagram either from three numbers you choose or from the time of the question.

  • By numbers: the first number gives the upper trigram and the second the lower, each divided by 8, with a remainder of 0 counted as 8. The third number gives the moving line, divided by 6, with a remainder of 0 counted as 6. The trigrams are numbered 1 Qian, 2 Dui, 3 Li, 4 Zhen, 5 Xun, 6 Kan, 7 Gen, 8 Kun.
  • By time: the number of the lunar year branch (Zi is 1, up to Hai as 12), the lunar month and the lunar day are added and divided by 8 for the upper trigram. Adding the number of the hour branch (Zi is 1) and dividing by 8 gives the lower trigram, and dividing the same total by 6 gives the moving line.
  • The time is the clock time you enter. The lunar year changes at Chinese New Year, the lunar day at midnight and the hour branch every two hours from 23:00, so only the two-hour period matters, not the minute. A leap month counts under the number of the month it repeats.
  • The trigram that holds the moving line is yong (the matter) and the other is ti (the asker). The reading compares their elements: yong generates ti, ti generates yong, they share an element, ti overcomes yong, or yong overcomes ti.
  • The mutual hexagram takes lines 2 to 4 and lines 3 to 5, and the changed hexagram flips the moving line.

Worked example: the numbers 3, 5, 2 and the time 12:00 on 21 March 2026

The numbers 3 and 5 give Li (fire) above and Xun (wind) below: the hexagram Huo Feng Ding (火风鼎, Ding, the Cauldron). The moving line is the second from the bottom, in the lower trigram, so Xun is yong and Li is ti.

Wood (Xun) generates fire (Li), so yong generates ti. The changed hexagram is Huo Shan Lu (火山旅, Lu, the Wanderer).

Cast by time, 21 March 2026 is the 3rd day of the 2nd lunar month of the Bing Wu year. Wu is 7, so 7 + 2 + 3 = 12, which leaves 4 after dividing by 8: Zhen above. Adding the Wu hour (7) makes 19, which leaves 3 after dividing by 8 (Li below) and 1 after dividing by 6 (the first line moves). The hexagram is Lei Huo Feng (雷火丰, Feng, Abundance).

See the Meihua calculator, the guide to casting with three numbers and the Meihua guides.

Tarot

Tarot is the one system here that is random, so there is no fixed chart to calculate. The engine draws the cards and records what was drawn.

  • The deck has 78 cards: 22 major arcana and 56 minor arcana in four suits. The images are the Rider-Waite-Smith deck of 1909, which is in the public domain.
  • A draw shuffles the deck with a Fisher-Yates shuffle driven by the platform’s cryptographic random number generator and takes cards from the top, so a card never appears twice in one spread.
  • Each card is turned upright or reversed by an independent coin flip.
  • A spread is one card, three cards (past, present, future) or five cards. The position of each card is recorded with it.
  • What a card means comes from a fixed table with an upright and a reversed meaning for every card, so the same card in the same orientation always carries the same words.
  • Asking again draws again. Unlike the four calculated systems, the same question does not give the same cards.

Worked example: how many different draws there are

One card has 156 possible results: 78 cards, each upright or reversed.

A three-card spread, with the order counted, has 3,651,648 possible results: 78 × 77 × 76 × 8.

A five-card spread has 81,066,585,600: 78 × 77 × 76 × 75 × 74 × 32.

See the Tarot reader and the guide to reading a three-card spread.

How the calculations are checked

The four calculated systems are deterministic, so a check compares the engine’s output with a recorded answer. The checks run on every change, and a release goes out only when all of them pass.

  • BaZi: tests compare the year and month pillars with solar-term moments across time zones (04:30 on 4 February 2026 is before Li Chun in Seoul and after it in Shanghai). A fixed 1984 chart is held as a reference, and charts on 182 dates from 1930 to 2007, covering all twelve hours, each for a man and a woman (364 charts), are built, and the rule readings made from them are fingerprinted, so a change that reaches a reading is noticed and reviewed.
  • Zi Wei Dou Shu: a fixed reference chart, and a grid of 81 charts: 69 dates from 1930 to 2005 covering all twelve hours, with men and women alternating, plus 12 births of 2026.
  • Da Liu Ren: a grid of 8,640 plates, one for every combination of the 60 day pillars, 12 hours and 12 month generals. Three-transmission test cases from an open-source table (liuren-ts-lib), worked examples from the classic Liu Ren Da Quan (六壬大全) and the nobleman placement from a patent description (CN1218923A) are compared with the engine. The month general switch at Yushui 2026 is tested to the minute in Beijing and Tokyo time.
  • Meihua: all 64 main hexagrams, with no line moving, each single line moving and several lines moving, read under each casting method, plus fixed number and time casts checked against the arithmetic.
  • Tarot: every card is checked to have its image and both meanings, every card is read upright and reversed on its own, and cards rotate through every position of the three- and five-card spreads with every mix of orientations.
  • Time zones: BaZi and Zi Wei Dou Shu charts are built again with the computer set to five different time zones, including zones that skip or repeat an hour for daylight saving, and each chart must equal the one made under UTC.

The solar-term moments come from the lunar-javascript tables and the star placement from iztro, so the accuracy of those two sources is part of ours. These checks show that the engine does what this page says and that it does not change by accident. They do not show that one school’s rules are the only correct ones.

Calculation versions

The current calculation version is v13. The version is saved with each chart, so a chart can be traced to the rules that made it.

  • 20 October 2026, v13: the Da Liu Ren month general now changes at the exact moment of the zhongqi, using the time zone of the reader, instead of by calendar date. A cast within hours of a zhongqi can have a different month general than before.
  • 18 October 2026, v12: the BaZi year and month pillars now compare the birth moment with the solar terms after converting it to UTC+8, and the luck pillar start follows the same frame. The day and hour pillars, true solar time and the Zi hour rule did not change.

If you find a calculation error

Write to support@multifate.com or use the contact page. Please include the birth date and time, the time zone, the page you used, the version shown in the receipt, the result you got, and the result you expected with its source (a book, an almanac or another calculator).

We run the same input through the engine and reply with the rule that explains the difference. If the rule is wrong, we correct it and record the change in the version history above.

What a calculation cannot tell you

A calculation answers one question: given this input and these rules, which chart follows. It does not say what the chart means or what will happen. Interpretation differs by school and by reader, and agreement between two readings is not independent proof of a prediction.

Schools also differ on the calculation itself: where the day turns, how the Zi hour at 23:00 is counted, whether the year turns at Li Chun or Chinese New Year, which table gives the Four Transformations, and how a Da Liu Ren plate chooses its first transmission. This page states the choice we make for each, so you can compare it with another calculator. We do not claim that one choice is the only correct one.

A birth time that is off by a few minutes can change a pillar or a palace, especially near midnight, near a solar term or at the edge of a two-hour period. AI readings interpret a chart and can be wrong. Multifate is for entertainment and reflection and gives no medical, legal or investment advice. See the Terms of Service.

Questions about the calculations

Why do two BaZi calculators give me different Four Pillars even though I entered the same birth date and time?

Because each one has to decide when the day changes, when the year changes and which clock your birth time is read on, and calculators decide differently. This calculator changes the year at the exact moment of Li Chun and the day at midnight, and it reads your time as clock time in the zone you choose, with no true solar time unless you enter coordinates. Compare those three settings first. The BaZi calculator page works through a birth for each.

Why does one BaZi calculator change my birth date to the previous day while another keeps the original date?

The usual cause is true solar time, or a calculator that starts the new day at 23:00. This calculator keeps your date: the day pillar changes at midnight, and a birth between 23:00 and 24:00 stays on its date with the hour stem counted from the next day’s stem. If you enter coordinates and the true solar correction would cross midnight, it asks you to confirm before it moves the date.

Does this BaZi calculator handle the change of solar terms correctly when it determines the year and month pillars?

Yes, it compares the birth moment with the solar-term moment to the minute. The year pillar turns at Li Chun, which was 16:27 on 4 February 2024 in China Standard Time, and each month pillar turns at the next term that opens a month. In Tokyo a birth at 17:00 on that day is 癸卯 and 乙丑, and one at 17:30 is 甲辰 and 丙寅. Tests check this in several time zones.

Are online Chinese astrology calculators reliable for people born near midnight or at the beginning of a solar term?

Only if the calculator states how it treats those moments, because that is where calculators differ most. Near midnight, check whether the day changes at 00:00 or 23:00 and how the hour stem of the 23:00 hour is taken. Near a solar term, check whether the exact moment is compared in one time zone. Here the day changes at 00:00 and the term is compared to the minute. If you do not know the birth time, the calculator gives three pillars instead of guessing an hour.

Does this Zi Wei Dou Shu calculator account for true solar time, time zones and daylight saving time correctly?

No, it uses the clock time you enter as written, with no true solar time, time zone or daylight saving adjustment. Enter the time the clock showed at the birth and the calculator picks the two-hour period from it. The day turns at midnight, so a birth between 23:00 and 24:00 stays on the date you entered. The BaZi calculator offers true solar time when you enter coordinates.

How can I check whether a Zi Wei Dou Shu calculator generates the correct natal chart?

Check the Life palace by hand, because it is the one step you can do with a pencil. Convert the birth to the lunar calendar, start at the Yin palace as month 1 and count forward to the lunar birth month, then count back one palace for each two-hour period after Zi. For 8 March 1990 at 09:30 the lunar month is 2 and the period is Si, five periods after Zi, which lands on Xu. Then check the year, the leap-month rule and the star placement version.

I entered my birth details into two Zi Wei Dou Shu calculators, but my main stars are in different palaces. Which result should I trust?

Trust the one whose rules you can read and confirm, and look for the difference in this order: the lunar date (especially a leap month), the two-hour period, the year used, and the star placement version. A different Life palace usually comes from the first two. Star positions that differ while the Life palace matches usually come from the lunar day or the placement version. This calculator uses the default placement in iztro, not the Zhongzhou variant.

If two Zi Wei Dou Shu calculators give different Four Transformations, how can I determine which one is correct?

Start with the year stem, because the Four Transformations come only from it. Check whether each calculator turns the year at Chinese New Year or at Li Chun, since a birth between the two gets different year stems. If the stem matches, the difference is the table, and schools disagree on a few stems. This calculator turns the year at Chinese New Year and uses the default table in iztro, which for a Geng (庚) year gives Hua Lu to Tai Yang, Hua Quan to Wu Qu, Hua Ke to Tai Yin and Hua Ji to Tian Tong.

Why do two Da Liu Ren calculators produce different charts when I use the same date, time and location?

The usual causes are the month general, the day change and the method for the first transmission. This calculator changes the month general at the exact moment of the zhongqi, in the time zone of the reader, where others change it at midnight of that date. It does not use the location at all. It turns the day at midnight and chooses the first transmission by the nine traditional methods in a fixed order. A cast within hours of a zhongqi is the most likely to differ.

Does this Da Liu Ren calculator follow a recognized traditional school, or might it be using a simplified calculation method?

It follows the standard procedure and does not simplify it: all nine methods for the first transmission are implemented, along with the four lessons, the twelve generals and the nobleman placement. The tests compare it with worked examples in the classic Liu Ren Da Quan (六壬大全) and with an open-source table of transmissions. Schools differ in some details, so this page states our choices, and we do not claim they are the only correct ones.

How can I independently verify the output of a BaZi calculator without relying on another website?

Use a printed perpetual calendar (万年历) and the rules on this page. Look up the day pillar for the date, take the hour stem from the day stem, and compare the birth moment with the solar-term moment for that year in the same time zone to find the year and month. The BaZi calculator shows the date, zone, offset and version it used in its receipt, so you know which inputs to check. The guide to checking a chart goes through the steps.

What settings should I check when two BaZi, Zi Wei Dou Shu or Da Liu Ren calculators disagree?

Check the time zone and daylight saving, whether true solar time is applied, where the day changes (00:00 or 23:00), whether the year changes at Li Chun or Chinese New Year, how a leap month is counted, which star placement is used, and when the Da Liu Ren month general changes. These are the choices listed on this page, and each calculator should state its own.

Multifate

One question. Then we read it.

Product

AskChartsExplorePricing

Systems

TarotMeihuaDa Liu RenBaZiZi Wei Dou ShuTarot and I Ching readingCareer tarot readingChinese astrology calculator

Account

My readingsSettings

About

PrivacyTermsHelpAbout usContact usHow we calculatellms.txtsupport@multifate.com
multifate.com© 2026 Multifate