Methodology

दृश्य गणित पद्धति

How Chakra computes the panchang

Every date and timing on this site comes from astronomical models, not a printed table. This page sets out the choices behind those numbers — the ayanamsa, the ephemeris, the day boundary, the known edge cases — so you can judge how far to trust them.

Engineastronomy-engine (VSOP87 / ELP)
AyanamsaLahiri (Chitrapaksha)
Sunrise modelNOAA · zenith 90.833°
Coverage2020 – 2100
Client footprint0 KB ephemeris shipped

§1The Lahiri ayanamsa

Chakra converts tropical planetary positions to sidereal ones using the Lahiri (Chitrapaksha) ayanamsa — the reference adopted by India’s Calendar Reform Committee (1952–55) and used by most widely followed Indian panchangs, so our tithi and nakshatra boundaries stay in line with what people already expect to see.

The exact formula our code runs

ayanamsa(d) = 23.863782° + years_since_J2000 × (50.29380″ ÷ 3600)

A linear precession model, least-squares fit to drikpanchang.com’s own published Lahiri series (accurate to within 0.003″ across the fitted span — no quadratic term is needed across Chakra’s 2020–2100 range).

Where schools diverge

This anchor sits roughly 41.6″ from the Swiss-Ephemeris Lahiri value (23.85222° at J2000) — expected, since Chakra pins to drikpanchang’s published series rather than Swiss Ephemeris’s. Other lineages diverge further still: Krishnamurti (KP) by roughly 5′, B.V. Raman by roughly 1°27′. Chakra does not switch ayanamsa per tradition — it flags known temple variances as ayanamsa offsets rather than arithmetic error.

§2The astronomical engine

Planetary and lunar positions come from the VSOP87 / ELP series, as implemented by the astronomy-engine library (MIT). The full ephemeris for the covered years is evaluated once, at build time, and stored as ready-made data — nothing astronomical is computed when you load a page. Accuracy is on the order of one arc-minute for the Sun and Moon over this period, comfortably enough to place tithi and nakshatra transitions to the correct minute. Chakra does not use the Swiss Ephemeris.

§3Sunrise, sunset & moonrise

Sunrise and sunset use the NOAA solar-position algorithm, at the standard geometric zenith of 90.833° (90° + 34′ atmospheric refraction + 16′ solar semi-diameter) rather than the moment the Sun’s geometric centre crosses the horizon. Moonrise and moonset follow Meeus, Astronomical Algorithms, chapter 47, iterated for the Moon’s faster motion. Both are computed for the exact latitude, longitude and elevation of the city you pick — never a single national reference point.

§4Tithi at sunrise, kshaya & vriddhi

All five angas — tithi, nakshatra, yoga, karana and vaara — are reported as the value prevailing at local sunrise. This is the convention drikpanchang.com and most Indian almanacs use: the tithi “of the day” is whichever one is running when the Sun rises, even if it changes an hour later. Because a tithi’s true duration runs anywhere from 19 to 26 hours, it doesn’t always touch dawn cleanly:

Kshaya (omission)

A short tithi that begins after one sunrise and ends before the next never touches a dawn — so it is skipped entirely from the civil-day sequence, though it did occur in the sky.

Vriddhi (extension)

A long tithi present at two consecutive sunrises is observed on both calendar dates — the same tithi reported two days running.

§5Why dates differ by city

A tithi’s boundary is an absolute instant in the sky — but sunrise is local, set by latitude, longitude and elevation. So the tithi “at dawn” can differ by city on the very same calendar date. These aren’t invented numbers: it’s what Chakra actually computed for Tuesday, 1 December 2026, the date this page was last built.

CityLocal sunriseTithi at sunrise
New Delhi, Delhi · India6:56 am (UTC+5:30)Ashtami
Chennai, Tamil Nadu · India6:15 am (UTC+5:30)Ashtami
Dubai, Dubai · United Arab Emirates6:47 am (UTC+4)Ashtami
London, England · United Kingdom7:43 am (UTC+0)Ashtami

All four share the same tithi at dawn today — the difference shows up on days nearer a transition, which is why Chakra always computes per city rather than reusing one national result.

§6Masa & regional reconciliation

Adhika (intercalary) months are detected and flagged; monthly vrats still resolve inside an adhika masa, while other festivals fall in the corresponding nija (regular) month, matching common practice.

Amanta vs. purnimanta

The lunar month is indexed amanta (new-moon to new-moon) as Chakra’s primary scheme; the purnimanta name — full-moon to full-moon, the convention in much of the Hindi-speaking north — is shown as a relabel of the same underlying month, not a separate calculation.

Smarta vs. vaishnava ekadashi

Vrat dates default to the smarta / viddha rule — the day the required tithi is present at the relevant reference time, rather than simply the day it first touches sunrise. This matches the majority of vrat listings on drikpanchang. Where a tradition splits, Chakra follows the smarta list.

§7The five limbs, formalized पञ्चाङ्ग

Each limb is a continuous angle, cut into equal arcs by modular arithmetic. These are the classical definitions — the same ones that place a moment inside the lunisolar calendar.

01वार

Vaara

The solar day

Dawn to dawn
7-day cycle
02तिथि

Tithi

Lunar phase elongation

(moon° − sun°) ÷ 12°
30 per month
03नक्षत्र

Nakshatra

Lunar mansion

moon° ÷ 13°20′
27 mansions
04योग

Yoga

Sun + Moon angle

(sun° + moon°) ÷ 13°20′
27 yogas
05करण

Karana

Half-tithi

(moon° − sun°) ÷ 6°
60 per month
Vara · वारTithi · तिथिNakshatra · नक्षत्रYoga · योगKarana · करण
Vara वार
the weekday, one of seven
Tithi तिथि
the moon's day — 1 to 15 in each fortnight, waxing or waning
Nakshatra नक्षत्र
the lunar mansion the moon sits in, one of 27
Yoga योग
a sun-plus-moon angle, one of 27
Karana करण
half a tithi, one of eleven repeating

§8How accuracy is checked

A golden-fixture suite runs on every change: it rebuilds the full almanac, checks New Delhi’s panchang against drikpanchang.com, and sweeps festival dates across 2024–2030 against the same source. A wrong date fails the build — it never ships.

scripts/golden.sh
$ pnpm test:golden
[BUILD] astronomy-engine (VSOP87 / ELP) evaluated 2020 → 2100, once, at build time
[CHECK] New Delhi — tithi, nakshatra, yoga, karana vs drikpanchang.com … match
[CHECK] festival & vrat dates, 2024–2030 sweep vs drikpanchang.com … 16 festival-years differ by ≤ 1 day
[RESULT] golden fixtures green — dates compiled into ready-made data, no ephemeris computed at request time

§9Kundali, matching & rashifal कुण्डली

The kundali tool uses the same sidereal Lahiri ayanamsa as the panchang. Planet positions come from tables computed ahead of time with astronomy-engine and interpolated to the minute of birth, so no ephemeris runs on your device and nothing about your birth leaves it.

  • Houses: whole sign. The lagna sign is the first house.
  • Rahu and Ketu: the mean node, with Ketu opposite.
  • Dasha: Vimshottari from the Moon’s nakshatra, with years of 365.25 days. Some sites count 30-day months and land a few days apart.
  • Divisional charts: the sixteen Parashari vargas (D1 to D60).
  • Matching: Ashtakoot, 36 gunas, plus Mangal dosha from houses 1, 4, 7, 8 and 12 counted from the lagna.
  • Birth place: the place search uses Open-Meteo, and the time zone is the IANA zone for that place, which you can override.
  • Rashifal: the daily reading follows the Moon’s house from your sign (Chandra Bala). A written version is drafted by a language model from those facts, checked by code, and always reads as reflective guidance, not prediction.

We checked planet longitudes, lagna, dasha, divisional signs, the Ashtakoot score and Mangal dosha against AstroSage for sample births. Positions agree within about 75 arcseconds. Dasha end dates can differ by two to three days because of the year-length convention above.

§10Known limitations

We compare Chakra with drikpanchang.com (New Delhi, purnimanta) for about 18 of the most-kept festivals across 2024–2030. Of 114 festival-years, 101 match exactly. Of 75 Ekadashi dates, 72 match exactly. Every one of the 16 that differ is off by a single day, and they all come from a finer classical test that Chakra does not implement yet. We would rather list them here than have you find them.

Bhadra-aware shifts

Holika Dahan, and in some years Raksha Bandhan, move off any day whose relevant window falls in the Bhadra karana. Chakra does not yet implement a Bhadra-aware selector, so in those years it can land a day early.

Two-evening pradosh tiebreaks

When the deciding tithi covers the evening (pradosh) on two consecutive days, some years' Diwali and Dhanteras take the second evening; Chakra's current selector takes the first.

Holi

Read directly from the tithi at sunrise on Chaitra Krishna Pratipada, without coupling to the preceding Holika Dahan evening — off by a day in 2024, 2025 and 2027.

Nishita proxy

Janmashtami and Maha Shivratri properly depend on the tithi at true solar midnight (nishita). Chakra approximates that with the post-sunset window, off by a day where the two disagree.

Viddha edge cases

A few dates — some years of Karva Chauth, Ram Navami, Rath Yatra — sit on a near-even split between two candidate days.

Moonrise vrats in other cities

Sankashti Chaturthi follows local moonrise. Chakra's reference is New Delhi, and moonrise differences between cities (and the Angarki special case) can move it a day elsewhere.

Smarta and ISKCON Janmashtami

The two traditions sometimes keep Janmashtami on different days. Chakra shows one date and does not model that split.

Pitru Paksha

Not yet listed as its own entry. The resolver handles observances keyed to a single tithi moment or a fixed day-count; Pitru Paksha is a sixteen-day span between two tithis, which it doesn't yet model.

The 16 dates that differ

Festival, year, and which way Chakra’s date falls compared with drikpanchang.com. “Apart” means a day apart where the tradition itself is close to even.

FestivalYearChakraWhy
Holi2024, 2025, 20271 day laterHoli is the morning after Holika Dahan. When Purnima runs past that next sunrise, our rule lands a day late.
Diwali20241 day earlierAmavasya covers the evening on two days (31 Oct and 1 Nov). Drikpanchang takes the second; we take the first.
Dhanteras20291 day earlierTrayodashi covers the evening on two days. Drikpanchang takes the later one; we take the first.
Krishna Janmashtami2025, 20301 day apartDecided by the tithi at midnight, which we approximate with the evening. They disagree in these years.
Makara Sankranti20271 day apartThe Sun enters Makara after sunset, so the North observes the next civil day. We do not yet shift for that.
Akshaya Tritiya20271 day apartTritiya has the larger midday share on the earlier day, but drikpanchang keeps it on the day Tritiya also reaches the afternoon and evening.
Karva Chauth20271 day laterChaturthi is already running at the earlier sunrise. Our rule lands a day late.
Ram Navami20291 day apart2029 has an adhika Chaitra, and the midday share is nearly even between two days.
Raksha Bandhan20291 day apartPurnima reaches the next sunrise, but that morning is in Bhadra. Drikpanchang moves the day off Bhadra; we do not.
Jagannath Rath Yatra20301 day laterDwitiya is already running at the earlier sunrise. Our rule lands a day late.
Ekadashi (monthly)13 Oct 2024, 1 Nov 2025, 18 Jan 20271 day laterDrikpanchang's Smarta list avoids a day that is mixed with Dashami. We keep the plain sunrise Ekadashi. The ISKCON list is not affected.

Dates for 2026, the year most people are checking today, match drikpanchang.com for the festivals we test, with one caveat: Holika Dahan is right in 2026 but only by coincidence, because the Bhadra rule is not implemented.

These edges are tracked and corrected over time. For the authoritative, continuously updated dates — including per-city timings — use the Chakra app.

§11Coverage & corrections

Dates are available for 2020 through 2100. Time-zone conversions use the IANA time-zone database, so historical and future DST rules apply per city.

Found a date that looks wrong?

Tell us the festival, the year and the source

We check every report against the classical rule behind it and the golden fixtures above.

Keep Chakra in your pocket

Offline panchang for your exact location, vrat reminders at the parana window, and home-screen widgets. On Google Play now; iOS is arriving soon.