# BaZi Four Pillars Calculator

Calculate the year, month, day and hour pillars and ten-year Da Yun cycles from a birth date, time and time zone.

> Canonical page: https://elysiatools.com/en/tools/bazi-four-pillars-calculator

- **Category:** Utilities

- **Keywords:** BaZi Four Pillars Calculator, Ten-year Da Yun cycles, Day Master, BaZi, 八字

## Overview

Enter a Gregorian or Chinese lunar birth date, including a leap month if applicable. See the Four Pillars, Hidden Stems, Ten Gods and when the first Da Yun cycle begins. The chart shows which day-change rule and solar terms it used. Birth details stay in your browser. This is a traditional chart, not a prediction.

## Inputs

- **Calendar** (select)
- **Birth date** (text): YYYY-MM-DD
- **Leap month** (checkbox)
- **Birth time** (text): HH:MM\[:SS\]
- **Birth time zone** (text)
- **Day changes at** (select)
- **Cycle direction** (select)
- **Cycle start method** (select)
- **Repeated clock time** (select)

## When to use

- You have a Chinese lunar birthday and want the matching Gregorian date and chart.
- Two charts disagree and you want to check the time zone, solar-term boundary, or day-change rule.

## How it works

- Select “Gregorian” or “Chinese lunar.” Use the Gregorian date picker or enter the lunar year, month, and day separately. Tick “Leap month” only if it applies.
- Enter the recorded local “Birth time” and “Birth time zone.” If you don’t know the time, use “Birth time unknown.”
- Open “Chart rules” if you need a different day-change rule, cycle direction, or calculation for the first cycle. Choose “Calculate chart.”
- Check the Gregorian date on the chart and open “Date, time and rules used.” For a timed birth, compare the first Da Yun start date and cycle direction.

## Use cases

- Compare the day pillar for a birth just after 23:00 using the midnight and Zi hour rules.
- Load a leap-month birthday and verify the converted date before comparing charts.
- Keep the birth details fixed and compare the first Da Yun start date under the two start methods.

## Frequently asked questions

### Can I calculate without a birth time?

Yes. Only pillars unchanged across the local date are shown. The hour pillar and Da Yun cycles are omitted; the year or month can also be uncertain near a solar-term boundary.

### Which birth years can I enter?

1901 through 2099 in either calendar. The chart shows the corresponding Gregorian date for a lunar entry.

### Which clock and calendar rules are used?

Year and month pillars use the solar-term instant. Day and hour use local clock time, including any daylight saving time in effect. There is no true solar time correction.

### Do I submit my birth details?

No. On the tool page the chart is calculated in your browser.

### Do the Five Elements counts tell me which element is strongest?

No. The chart counts visible stems and branches, not hidden stems or the strength of an element.

## Related tools

- [Age Calculator](https://elysiatools.com/en/tools/age-calculator): Calculate age from birth date in years, months, days, and total time units
- [Date Adder](https://elysiatools.com/en/tools/date-adder): Add or subtract time periods from a date (years, months, days, hours, minutes, seconds)
- [Day of Year Converter](https://elysiatools.com/en/tools/day-of-year-converter): Convert any date to its day-of-year number (1-366) and back, with ISO week number, leap-year check, and days remaining in the year.
- [Fertilizer N-P-K Blend Calculator](https://elysiatools.com/en/tools/fertilizer-blend-calculator): Compute how to mix base fertilizers to hit a target N-P-K analysis like 10-10-10. Outputs per-fertilizer kg plus a parts ratio for any batch size.
- [ISO Week Number and Fiscal Quarter Anchor Finder](https://elysiatools.com/en/tools/iso-week-number-and-fiscal-quarter-anchor): Convert any date to ISO 8601 week number, day-of-year, Julian Day, and fiscal-quarter boundaries (4-4-5, 4-5-4, 13-week, or standard).
- [Nepali Bikram Sambat & Thai Solar Calendar Bridge](https://elysiatools.com/en/tools/nepali-bikram-sambat-and-thai-solar-calendar-bridge): Convert any date between Gregorian (AD), the Nepali Bikram Sambat (BS) calendar, and the Thai solar (Buddhist Era, BE) calendar. Shows the BS month-length table for the year and explains the algorithm.
- [UTM Zone Calculator](https://elysiatools.com/en/tools/utm-zone-calculator): Calculate UTM zone from latitude and longitude coordinates
- [Gregorian to Islamic Calendar](https://elysiatools.com/en/tools/gregorian-to-islamic): Convert Gregorian calendar dates to Islamic (Hijri) calendar dates

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
