Methodology & Accuracy
How the Panchang is computed
The Panchang is computed by the drik (drikganita / actual astronomical) method — the same method used by modern almanacs such as DrikPanchang — using the open-source astronomy-engine ephemeris (pure JavaScript, MIT licence, accurate to within about one arc-minute for the Sun and Moon). Every value is a function of the Sun's and Moon's positions:
- Tithi — the Moon−Sun elongation in 12° steps (30 per lunar month).
- Nakshatra — the Moon's sidereal position across 27 mansions (13°20′ each).
- Yoga — a function of the sum of the solar and lunar longitudes (27 yogas).
- Karana — half a tithi (6° of elongation).
- Vara — the weekday, measured sunrise-to-sunrise.
- Rahu Kaal, Yamaganda, Gulika, Abhijit — fixed fractions of the sunrise-to-sunset span.
Ayanamsa (and what it does not affect)
We use the Lahiri (Chitrapaksha) ayanamsa — the Indian-government standard — implemented as a precession offset (base 23.85297° at J2000, ≈ 50.27″/year). Importantly, the ayanamsa affects only nakshatra, yoga and sidereal month-naming. Tithi and karana do not depend on it at all, because they are a difference of two longitudes, so the sidereal offset cancels — which makes them the most robust elements on the page.
Sunrise convention
Almanacs differ on whether sunrise means the upper limb of the Sun touching the horizon (with atmospheric refraction) or the geometric disc centre. We use the upper-limb + refraction convention, which we settled empirically by testing both against the reference almanac: upper-limb matched to within about half a minute, while disc-centre was off by several minutes. Sunrise/sunset are within ~1 minute of the reference.
Validation
Before every release, a committed validation harness compares our tithi, nakshatra, yoga, karana sunrise/sunset, Rahu Kaal, Yamaganda, Gulika and Abhijit against an independent fixture set captured from the live DrikPanchang website (69 fixtures across New Delhi, US and UK cities — including spring and autumn DST changes — plus kshaya-tithi, vriddhi-tithi, an adhika (leap) month, and Ashtami/Chaturdashi/Trayodashi boundary dates). The build fails if any element misses its locked threshold (transitions within a few minutes; the element running at sunrise must match by name). We never publish a Panchang element that fails validation — e.g. Abhijit Muhurta is omitted on Wednesdays, matching the almanac.
Timezones & your privacy
Timings use proper IANA timezone names (never fixed offsets), so daylight-saving transitions are handled correctly. When you pick a city or use your location, the Panchang is computed entirely in your browser — your coordinates never leave your device.
Regional variation & limits
Hindu timekeeping genuinely varies by region and tradition: the Amanta (month ends at the new moon; west/south India) and Purnimanta (ends at the full moon; north India) schemes name the same month differently, and festival observance differs by region and sampradaya. Phase 1 shows the five limbs and the daily windows; it does not yet display the lunar month name or festivals. An older tabular method (Vakya, Surya-Siddhanta) is why some traditional South-Indian almanacs differ slightly. For ritual-critical timing, confirm with your local panchang or priest.