How Is The Moon's Sidereal Longitude Determined?
The calculation begins with a precise moment expressed in Universal Time. The Moon's geocentric ecliptic longitude is estimated for that instant. An ayanamsa value is then subtracted from its tropical longitude to obtain a sidereal longitude, measured from the chosen sidereal zodiac origin.
For example, suppose a lunar calculation gives a tropical longitude of 150° and an ayanamsa of 24°. The resulting sidereal longitude is 126°. This is a mathematical illustration, not a live planetary position.
The tool uses a simplified lunar theory and an approximate Lahiri reference. Professional ephemerides include additional terms and more rigorous time-scale handling. For precise work, consult the NASA JPL Horizons ephemeris system, noting that sidereal conversion must still be handled appropriately.