By Pt. Sanjeev Sharma
Ecliptic Geometry and Calculation of Five Limbs

The geometric motion of the Sun and Moon is the engine that drives Panchang calculations, with the five limbs of the almanac Tithi, Nakshatra, Yoga, Karanaand Vara all derived from the precise angular relationships between these two celestial bodies as viewed from Earth. The Panchang essentially translates the continuous celestial dance of the Sun and Moon into a structured system of timekeeping that governs daily life and religious observances in Hindu culture.
At the heart of Panchang calculations is the concept of longitude the position of a celestial body along the ecliptic, the apparent path of the Sun through the sky, measured in degrees. While the Panchang is a geocentric system, meaning it is based on observations from Earth, its calculations are rooted in the orbital mechanics of the solar system.
The two most critical data points are:
The Sun's Longitude: This determines the solar month and the seasons. As the Sun moves through the twelve zodiac signs, its entry into each new sign marks a Solar Transition, a key moment in the solar calendar.
The Moon's Longitude: The Moon's much faster movement against the backdrop of the stars is the basis for the lunar elements of the Panchang.
The Tithi is the most dynamic element of the Panchang and is a direct measure of the Moon's elongation from the Sun. It is defined as the time it takes for the longitudinal angle between the Moon and the Sun to increase by twelve degrees.
Formula: Tithi = (Moon's Longitude - Sun's Longitude) / 12
(If the result is negative, 360 degrees is added to the Moon's longitude)
A lunar month consists of thirty tithis, which correspond to the three-hundred-sixty-degree journey of the Moon around the Earth relative to the Sun. Because the Moon's orbit is elliptical, its speed varies, causing the duration of a tithi to range from about twenty to twenty-seven hours. This is why Hindu festival dates can seem to shift unpredictably to those accustomed to the fixed twenty-four-hour day of the Gregorian calendar.
The Nakshatra is determined by the Moon's absolute longitude, not its position relative to the Sun. The ecliptic is divided into twenty-seven nakshatras, each spanning thirteen degrees and twenty minutes of the zodiac. The Nakshatra is simply the segment of the zodiac that the Moon is currently transiting. It provides a finer-grained understanding of the Moon's position than the broader zodiac signs.
Yoga is another element derived from the combined positions of the Sun and Moon. It is calculated by adding their longitudes together and dividing the sum by thirteen degrees and twenty minutes (the span of a nakshatra). There are twenty-seven yogas in total, each with its own astrological significance, used to determine auspicious times for various activities.
Formula: Yoga = (Sun's Longitude + Moon's Longitude) / 13°20'
A Karana is simply half of a tithi, representing six degrees of angular separation between the Sun and Moon. There are eleven karanas in total, which repeat in a cycle throughout the lunar month. They are used in horary astrology and for determining auspicious moments for specific actions.
While the Varaor weekday, is not directly calculated from the geometric motion of the Sun and Moon in the same way as the other elements, it is an integral part of the Panchang. The seven-day week, with each day named after a celestial body (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn), was integrated into the Hindu calendar system and plays a role in determining the overall auspiciousness of a given day.
Vedic astrology uses a geocentric observation model where Earth is positioned at the center of the universe with all celestial bodies appearing to revolve around it. This is known as Pratyaksha Shastra, meaning apparent or visible movement of the planets. As Earth rotates from west to east on its axis, the Sun and other celestial bodies appear to move in the opposite direction from east to west. This geocentric approach, though different from modern heliocentric astronomy, provides the reference framework for all Panchang calculations in Vedic astrology.
The ecliptic is the apparent path the Sun traces through space as it appears to revolve around Earth over the course of a year. It is known as the Sun's Path in Sanskrit and represents the plane of Earth's actual orbit around the Sun. The ecliptic is inclined at approximately twenty-three degrees and twenty-six minutes to the celestial equator due to the obliquity of Earth's axis, an angle known as the obliquity of the ecliptic. This inclination is responsible for the formation of seasons on Earth.
The zodiac is a broad celestial band approximately eighteen degrees wide (extending nine degrees north and south of the ecliptic) within which all planets relevant to Vedic astrology remain. The zodiac is divided into twelve equal signs of thirty degrees each (zodiac sign) and twenty-seven equal asterisms of thirteen degrees and twenty minutes each (lunar mansion). The entire band contains three hundred sixty degrees representing the complete celestial circle.
To calculate any component of a Panchang, precise knowledge of the daily motions of the Sun and Moon is essential. Daily motion is determined by comparing the longitude positions of each body on consecutive days. The typical daily motion of the Sun is approximately one degree (about sixty minutes of arc) per twenty-four hours, while the Moon's average daily motion is approximately thirteen degrees per twenty-four hours due to its faster orbital velocity.
These daily motion values are derived from ephemerides (tables of astronomical calculations) such as the Swiss Ephemeris or Indian Astronomical Ephemeris, which provide precise heliocentric or geocentric longitude positions. The calculation requires comparing the Sun's and Moon's positions at the same time on consecutive days (typically at 5:30 AM Indian Standard Time, which corresponds to sunrise in many Indian locations).
The Tithi is calculated by determining the angular distance between the Moon and Sun measured from the Sun's longitude. When this separation increases by twelve degrees, one Tithi (lunar day) is completed. For example, if the Moon is positioned two hundred sixty-point-five degrees ahead of the Sun, this corresponds to the twenty-third Tithi (Krishna Ashtami), as the separation falls within the range of two hundred sixty-four to two hundred seventy-six degrees.
The calculation requires: (Moon's Longitude - Sun's Longitude) divided by 12 = Tithi Number, where the quotient indicates elapsed tithis and quotient plus one gives the current Tithi. The ending time of a Tithi is computed using the remaining angular distance and the relative daily motions: (Remaining Distance divided by (Moon's Daily Motion - Sun's Daily Motion)) multiplied by twenty-four hours = Time to Tithi completion.
Yoga represents the combined angular position of the Sun and Moon, calculated by adding their sidereal longitudes. There are twenty-seven yogas, each spanning thirteen degrees and twenty minutes of the zodiac. If the sum exceeds three hundred sixty degrees, three hundred sixty is subtracted to keep the value within one complete zodiacal circle.
The calculation: (Sun's Longitude + Moon's Longitude) divided by 13°20' = Yoga Number. The quotient indicates completed yogasand quotient plus one gives the prevailing yoga. For example, a combined angular position of eighty-two degrees twenty-one minutes twenty seconds falls within the seventh yoga (Sukarma yoga), which spans from eighty degrees to ninety-three degrees twenty minutes.
The Nakshatra is determined from the absolute longitude of the Moon measured from zero degrees Aries. This must be calculated using sidereal longitudes, which are obtained by subtracting the Ayanamsa correction from tropical longitudes. The twenty-seven nakshatras are evenly distributed across three hundred sixty degrees, with each occupying 13°20' of arc.
For example, if the Moon's sidereal longitude is three hundred fifty-three degrees forty-one minutes fifty-two seconds, this falls within Revathi nakshatra, which spans from three hundred forty-six degrees forty minutes to three hundred sixty degrees. The ending time of a nakshatra is calculated using: (Remaining degrees to end of nakshatra divided by Moon's daily motion) multiplied by twenty-four hours = Time to nakshatra completion.
Sayana (Tropical) Coordinates are measured from the moving vernal equinox (first point of Aries) and shift annually by approximately fifty-point-twenty-nine seconds due to the precession of the equinoxes. This precession occurs because Earth's axis wobbles, causing the equinox points to drift westward along the ecliptic over centuries (complete cycle: approximately 26,000 years).
Nirayana (Sidereal) Coordinates are measured from a fixed point in the zodiac aligned with specific stars (usually in the Revathi constellation). These coordinates remain constant regardless of Earth's precession. Vedic astrology exclusively uses sidereal longitudes; to obtain them from Swiss Ephemeris data (which provides tropical longitudes), the Ayanamsa (the current angular difference between equinox points and fixed zodiac reference) must be subtracted.
Each celestial body has a mean longitude (uniform model) and a true longitude (corrected for ellipticity and anomalies). Computing Panchang elements uses the true longitudes at the place and time, not just the mean values, which requires applying equations of center to account for variable speeds in their orbits.
Classical astronomical texts outline how to derive true longitude from mean longitude via anomaly and trigonometric corrections; modern Drik almanacs take true longitudes directly from precise ephemerides, then apply Hindu rules on top.
The modern Drik Ganita system employs rigorous mathematical equations and observational validation, making it superior to older mean-motion systems for determining precise Sun and Moon positions. For highly accurate Panchang calculations, ephemeris tables (such as the Indian Astronomical Ephemeris or Swiss Ephemeris corrected with Ayanamsa) provide essential data that accounts for the complex orbital mechanics of both bodies.
Panchang day starts at local sunrise; sunrise and sunset times are solved from solar altitude geometry at the observer's latitude and date (solar declination, equation of time), ensuring local horizons fix weekday and determine which tithi is present at sunrise.
The same geometry yields Rahu period, Yama period and other inauspicious period partitions as fractions of the diurnal arc anchored to sunrise/sunset (rule-based once the solar day length is geometric).
Are Panchang calculations accurate?
Modern Drik Ganita methods are very accurate, especially when precise ephemeris data is used. Traditional methods are less accurate but sufficient for cultural and spiritual purposes.
Is tithi length always twenty-four hours?
No, tithi can vary from twenty to twenty-seven hours because the Moon's motion is non-uniform due to its elliptical orbit.
What is Ayanamsa and why is it important?
Ayanamsa is the angular difference between the vernal equinox points and the fixed zodiac reference. It is critical in Hindu astrology because the Hindu system uses sidereal (fixed star) coordinates rather than tropical (seasonal) coordinates.
Do different Panchang makers produce different calculations?
Yes, they can vary if they use different ephemeris sources or calculation methods. Modern Drik methods produce more consistent results.
Why are yoga and nakshatra not the same?
Yoga represents the combined position of Sun and Moon, while nakshatra represents only the Moon's position. They reflect different geometric relationships.
How does local latitude affect Panchang calculations?
Local latitude affects sunrise and sunset times, which in turn determines which tithi is present at sunrise in your location. Different latitudes may have different observance times.
What does Nakshatra reveal about me?
My Nakshatra
Experience: 15
Consults About: Family Matters, Spirituality
Clients In: DL, MH, UP
Share this article with friends and family