The calculation, step by step
- Resolve the actual UTC instant from your date, local time and the city’s IANA historical time zone.
- Calculate solar-term year and month pillars using lunar-javascript. Its solar-term tables use China time, so we compare the actual instant in fixed UTC+8 (China standard time).
- If enabled, convert local clock time to apparent solar time: clock minutes + 4 × longitude − UTC offset in minutes + equation of time. The actual date-specific offset includes daylight saving.
- Calculate day and hour pillars from the selected local solar wall time. Choose a 23:00 or midnight day boundary.
- Count the eight visible surface elements. These counts do not measure chart strength, hidden stems or favorable elements.
Precision and boundaries
The equation of time uses the NOAA fractional-year approximation. Allow about a minute of uncertainty. Births very close to an hour, day or solar-term boundary should be checked independently with a higher-precision astronomical model. City-center longitude is approximate; you can enter your own.
Dates from 1900 to 2100 are supported. Historical time-zone data varies by browser and may be incomplete. Nonexistent daylight-saving times are rejected. For repeated times, select first or second occurrence in Calculation settings. Unknown birth times produce a provisional noon-based three-pillar chart.
What the reading means
The brief reading uses the Day Master, month branch, day branch and a traditional wealth-element relationship. Each section identifies its chart basis. Surface counts do not assess hidden stems, seasonal strength or luck cycles. These are written cultural reflections, not AI predictions or a paid expert report. BaZi has not been scientifically established as a way to predict events or personal outcomes.
Sources and software
- lunar-javascript (MIT) for solar terms and stem-branch calculation.
- Luxon (MIT) and browser IANA time-zone data.
- NOAA solar equations for the equation-of-time approximation.
Check a fictional calculation
Reproduce seven fictional cases and inspect their JSON output, including solar time, summer time, day boundaries, unknown birth time and Lichun. The page also explains how to check local calculation in your browser’s Network panel.
Free tools, accounts and reports
BaziPanda’s individual Four Pillars calculator, optional true solar time, four brief written reflections and JSON download are free. You can use them without an account. Google sign-in is optional; signing in alone does not upload your birth chart. Calculations run in your browser.
An optional US$4.90 one-time action plan is being prepared; live checkout is not open. Read its complete fictional sample. There are no subscriptions or automated two-person compatibility reports. The compatibility page is an educational guide. See the free fictional reading, check our calculation method, or try the free calculator.