Pañcāṅga yoga calculation
How the normalized sum of sidereal Sun and Moon longitudes becomes one of 27 equal yoga divisions.
Calculation contract · released 2026-08-18
Definition
The Pañcāṅga yoga limb divides normalized sidereal Sun-plus-Moon longitude into 27 sectors of 13⅓°.
Calculation procedure
Convert both longitudes with the same named ayanāṁśa, add and normalize them, divide by 360/27, and retain fraction and boundary distance.
Required inputs
- Sun and Moon tropical longitudes
- Named ayanāṁśa
- Normalization and boundary policy
Maha convention
Maha uses Lahiri sidereal longitudes; because the values are added, the ayanāṁśa enters twice rather than cancelling.
Uncertainty and edge cases
Changing ayanāṁśa can move yoga boundaries materially; a label without its zero-point convention is not reproducible.
What this does not establish
The yoga limb is not the same thing as an interpretive planetary yoga and does not certify auspiciousness.
Authoritative references
These sources establish the calculation vocabulary, data product, or transformation convention. They do not establish astrological interpretation.
- Astronomy Engine
Don Cross (cosinekitty) · 2.1.19
Locally computed Sun and Moon positions derived from the VSOP87 and JPL-derived lunar theories, together with rise and set times, at the accuracy stated in the library documentation.
Boundary: Positions are computed in process rather than fetched from an authority, so a fact citing this source carries a digest over the computed values and not over a provider response body. Its accuracy is adequate for calendrical work and is not a substitute for a Horizons query where sub-arcsecond agreement matters.
- Swiss Ephemeris general documentation
Astrodienst AG · 2.10 documentation, checked 2026-08-18
An independent ephemeris implementation, supported reference choices, house calculations, and its dual-license boundary.
Boundary: Maha does not bundle or call Swiss Ephemeris in production. Frozen conformance results are validation evidence, not permission to redistribute its software or data.