Skip to content

Main content

Heavenly Stem Phase and Polarity Lookup

Map zero-based Jia through Gui stems to the conventional five phases and alternating yang/yin labels; no personality or causal inference.

Loading tool…

Description

Assign successive pairs to wood, fire, earth, metal and water, with even indexes yang and odd indexes yin.

Gan-Zhi combines a ten-stem sequence with a twelve-branch sequence into a sixty-position traditional cycle. Cycle indexes, calendar dates and local clock labels are distinct inputs; the correct calendar assignment must be established separately.

Assign successive pairs to wood, fire, earth, metal and water, with even indexes yang and odd indexes yin.

When to use this tool

Use Heavenly Stem Phase and Polarity Lookup when you need an explicit traditional cycle-index mapping or step calculation.

How to use the tool and how it works

  1. Enter stemIndex. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read result. Expand result to inspect the returned fields.

Require zero-based stemIndex 0-9. Assign successive pairs to wood, fire, earth, metal and water, with even indexes yang and odd indexes yin.1

Input fieldMeaning and unitsAccepted input
stemIndexZero-based stem order: Jia, Yi, Bing, Ding, Wu, Ji, Geng, Xin, Ren, Gui.Required. Safe integer.
Output fieldInterpretationReturned shape
resultObject containing the calculated members; expand to inspect the fields below.Required. Object.
result.phasePhaseCalculated result member: string.
result.polarityPolarityCalculated result member: string.
json
{
  "input": {
    "stemIndex": 0
  },
  "output": {
    "result": {
      "phase": "wood",
      "polarity": "yang"
    }
  }
}

Limitations and assumptions

  • These are traditional symbolic labels under the declared index order, not scientific material properties or predictive evidence.
  • Outputs are nested inside result. Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Consult the intended calendrical convention when deriving labels from dates. Keep local time, day boundaries and solar-term rules explicit rather than treating an index calculator as a calendar or predictive model.

References

  1. Calculation and input contract: ganzhi/stem-phase-polarity — tool.io

Similar or alternative tools