Tool Tutorial

BaZi Chart: How to Use and Calculation Rules

This tool uses lunar-javascript for calendar and pillar computation. Every result follows fixed rules.

Inputs

Enter Gregorian birth date, birth hour and gender. If the hour is unknown, choose three pillars — no hour pillar or luck cycles are produced. Longitude (east positive) drives true solar time correction.

Two switches

Late-Zi boundary: whether 23:00–24:00 counts as the next day differs by school; switch to compare. True solar time: longitude correction at 4 minutes per degree; the precise equation of time is not included, so take care near boundaries.

Output

Four pillars with na-yin, day master element, ten gods of stems, hidden stems, voids, stem element tally and ten-year luck cycles starting by solar terms.

Algorithm source

Calendar and pillars by lunar-javascript (MIT, ShouXing astronomical calendar); year bounded by Li Chun, month by solar terms. The interpretation area is a placeholder and never alters the raw chart.

For cultural study and entertainment only. Not medical, legal, financial or other professional advice.