How We Calculate the Panchang
Here is exactly how our numbers are produced, so you can judge how far to rely on them.
Astronomy
Positions of the Sun and Moon come from the open-source Astronomy Engine library, which implements standard models (VSOP87 for the Sun, a full lunar theory for the Moon) accurate to well under an arc-minute. Sunrise and sunset are the moments the upper edge of the Sun touches the horizon, including normal atmospheric refraction, the same convention used by most modern panchangs.
Sidereal zodiac
Nakshatra, yoga and rashi use the sidereal zodiac with the Lahiri (Chitrapaksha) ayanamsa, the Indian national standard. Tithi and karana depend only on the angle between the Moon and Sun, so they do not depend on ayanamsa.
Traditional rules
- The day’s tithi and nakshatra are those running at local sunrise; end times are shown for each.
- Rahu Kaal, Yamaganda and Gulika are fixed eighths of local daytime by weekday; Choghadiya divides day and night into eight parts each.
- Lunar months follow the amanta system (new moon to new moon). Purnimanta names are shown too. A month with no solar ingress (sankranti) is Adhika.
- Ekadashi follows the Smarta rule: the fast is on the day Ekadashi tithi prevails at sunrise, with the standard exceptions when it touches two sunrises or none. Parana is after sunrise, within Dwadashi, after Hari Vasara, preferring Pratahkal.
How we check
Before publishing, we compared our results with published panchangs for New Delhi. All 24 Ekadashi dates of 2026 matched, tithi start and end times agreed within about one minute, and daily tithi, nakshatra, yoga, karana, sunrise, sunset and Rahu Kaal agreed within one to two minutes. We repeat these checks when we update the engine.
Limits
Different traditions use different rules (for example, Vaishnava Ekadashi or regional month names), and local printed panchangs may use other conventions. Our results are for general guidance only; please see the disclaimer.
Last reviewed 12 November 2026 · How we calculate