juno.date · Research

Pambu Panchangam and the Vākya Tradition

How Sanskrit mnemonic verses — an algorithm you can chant — have computed Tamil time for centuries, and where their minutes drift today.

Abstract. Ask a Tamil family which almanac hangs by their kitchen door and there is a fair chance the answer involves a snake: the Pambu Panchangam, the most recognisable of Tamil Nadu's traditional vākya almanacs. What makes a vākya panchangam extraordinary is not its predictions but its method: its positions descend not from telescopes or ephemeris files but from mnemonic Sanskrit sentences — vākyas — that encode lunar and planetary positions as chantable syllables, using the katapayadi letter-to-number code. The core lunar tables, the 248 chandravākyas attributed to Vararuci and later refined by Madhava of the Kerala school, compress the Moon's wandering into sentences a priest can carry in memory; the 13th-century Vākya-karana built a complete almanac engine on top of them. It is one of the great algorithmic achievements of the medieval world — and because its constants froze centuries ago, its computed moments now drift from modern drik (observation-grade) computation by amounts that matter for tithi and nakshatra endings: typically minutes, at times approaching a couple of nazhigai. This article explains the vākya machine from the inside — the katapayadi code, the 248-day lunar cycle it exploits, what a vākya panchangam computes each year — and why Tamil Nadu's temples still, deliberately, keep vākya time. We are measuring the drift precisely against JPL DE440 in a companion study; here we lay the foundation and state our own position: juno.date computes both traditions side by side, because a family's almanac loyalty is heritage, not error.

1. The almanac with the snake

In Tamil Nadu the word "panchangam" conjures a specific object: a soft-covered annual book, its cover art little changed across generations, bought before Tamil New Year and consulted for everything from a baby's first rice to the auspicious hour for signing a property deed. Among these annuals, the vākya almanacs — of which the snake-emblemed Pambu Panchangam is the household name — hold a special seniority. Families describe their almanac the way they describe their family deity: inherited, not chosen.

What very few of the millions who consult a vākya panchangam realise is what the word vākya — "sentence" — actually signifies. The book's tithis and nakshatra timings are the output of a computation whose source code is poetry: sequences of Sanskrit syllables composed to be memorised, whose letters are numbers. The priest who learned his tables as verses in a patasala and the programmer who ships a lookup table in a binary are doing the same thing; the vākya tradition simply invented it several centuries earlier, for a world where the only reliable storage medium was the trained human memory.

2. Katapayadi: the code that turns letters into numbers

The enabling technology is the katapayadi system, the classical Indian convention that assigns digits to consonants: ka=1, kha=2, ga=3 … through the alphabet in four overlapping series (ka-, ta-, pa-, ya-, hence the name). Vowels carry no value; only the consonant before each vowel counts; and the resulting digits are read right to left (aṅkānāṁ vāmato gatiḥ — "numbers run leftward"). Any number can thus be dressed as a pronounceable, metrical, memorable word — and, in the hands of a skilled composer, as a word that also means something, giving the memory two hooks instead of one.

The showpiece example. The Kerala-school text Sadratnamala encodes the digits of π in a single katapayadi verse — bhadrāmbudhisiddhajanmagaṇitaśraddhāsmayad bhūpagīḥ — which decodes to 314159265358979324 (π×1017, with the last digit rounded), centuries before such precision had any practical use. The same machinery that could store π to seventeen places is what stores the Moon's daily positions in the panchangam-maker's verses.

A vākya, then, is a number wearing a sentence. A table of vākyas is a numerical array you can chant. And a complete almanac system built from such arrays is — in the exact modern sense — a memorised database with an algorithm for interpolating it.

3. The 248-day secret of the chandravākyas

The heart of the system is the Moon, the fastest and most irregular of the classical grahas. The vākya solution exploits a beautiful astronomical coincidence: nine anomalistic months — nine cycles of the Moon's varying speed — come to almost exactly 248 days. After 248 days, the Moon's pattern of fast and slow motion very nearly repeats. So instead of modelling the Moon's physics, the tradition tabulated its daily positions across one 248-day cycle — the celebrated 248 chandravākyas attributed to the ancient astronomer Vararuci, composed as katapayadi sentences. To find the Moon on any date: locate where the date falls in the 248-day cycle (plus longer correction cycles the karana texts supply), recite the day's vākya, decode it, interpolate. No trigonometry at the point of use; the trigonometry was done once, centuries ago, and frozen into verse.

Around the 14th century, Madhava of Sangamagrama — founder of the Kerala mathematical school and one of the great mathematicians of any civilisation — recomputed the tables to higher precision (the Veṇvāroha tradition), tightening the vākyas from minute-level to second-level statements. The system's almanac-grade formalisation, the Vākya-karana (c. 13th century), assembled lunar, solar and planetary vākya machinery into the complete engine from which the Tamil vākya panchangams descend. When a Pambu Panchangam states that a tithi ends at such-and-such nazhigai, you are reading the far end of that lineage: Vararuci's cycle, Madhava's refinement, the karana's bookkeeping — inked annually onto newsprint.

248 days ≈ 9 anomalistic months 248 chandravākyas — one sentence per day day 1 → vākya 1 → Moon's position (katapayadi-decoded) day 2 → vākya 2 → … day 248 → vākya 248 — then the cycle repeats Longer correction cycles re-anchor the repetition drift.

Figure 1 — The vākya Moon: tabulate one 248-day cycle as verse, then reuse it forever (with periodic corrections).

4. What a vākya panchangam computes

From those engines, the annual almanac derives everything a Tamil household expects of it — the same five angas our Vākya-vs-Thirukanitha explainer describes, plus the muhurta layer:

OutputVākya sourceSensitivity to the frozen constants
Tithi endingsSun & Moon longitudes (chandravākyas + solar tables)High — depends on the fast Moon
Nakshatra endingsMoon longitudeHigh
Yoga, KaranaDerived from the same two bodiesHigh
Solar months, sankranti momentsSolar vākya tablesModerate
Graha positions & gochara datesPlanetary vākya cyclesModerate
Rahu Kalam, Gowri, muhurta gridsWeekday/sunrise frameworksLow — structural, not positional

Table 1 — What the verses feed. The Moon-driven rows are where vākya and drik part company.

5. Why the minutes drift — and how much

Freeze any physical model's constants for several centuries and reality will slowly walk away from it. The vākya system's mean motions are astonishingly good; its weaknesses are the slow secular drifts — the gradual evolution of the lunar orbit's apogee and node, higher-order perturbations the karana era could not model, and the accumulated remainder of the 248-day cycle's "very nearly repeats". The practical consequence, well known to every panchangam-literate family that has compared almanacs: vākya tithi and nakshatra end-times differ from drik (modern-computed) end-times — commonly by some tens of minutes, in unfavourable alignments by an hour or more; the boundary cases can even move an observance to the adjacent day. This is precisely the split behind Tamil Nadu's two almanac camps — vākya versus thirukanitha (drik) — and behind the occasional years in which two neighbouring temples celebrate the same festival a day apart.

How large is the drift, exactly, element by element, decade by decade? That question deserves measurement rather than folklore, and it is the subject of our companion study How accurate were the vākya verses? — measured against JPL DE440, where we run the vākya computation against the same NASA-grade ephemeris our engine uses and publish the deviation curves. The headline preview honours the tradition: for a system whose newest constants predate the telescope, remaining within an hour of a space-agency ephemeris is not an embarrassment but a monument.

6. Why temples keep vākya time on purpose

It is tempting — especially for the technically minded — to read "drifts from modern computation" as "obsolete". Tamil Nadu's religious culture has largely made the opposite judgment, and its reasons deserve a fair statement. Continuity: a festival fixed by vākya reckoning today falls on the day it would have fallen for one's ancestors; switching engines would silently relocate hereditary observances. Liturgical identity: many temple traditions specify their almanac the way they specify their agama — the almanac is part of the rite's definition, not an approximation of it. Community synchrony: a village that follows one book fasts, feasts and marries together; accuracy-to-the-ephemeris is simply not the value being optimised. The vākya almanac, in other words, is not a failed attempt at drik astronomy; it is a different contract — with the past, kept punctiliously.

Meanwhile the drik camp's case is equally honest: the shastras themselves repeatedly enjoin computation that matches observation (dṛk-tulya — "agreeing with the seen"); if the sky is the referee, the almanac should track the sky. Both camps are arguing from within the tradition. That is why our house style refuses to declare a winner — and why our tools compute both.

7. Where juno.date stands

Our marriage-matching engine offers the Tamil tradition in both reckonings — the Vākya tables and the Thirukanitha (drik) method — side by side with the other regional systems, and our nakshatra ranking tool publishes both methods' verdicts with their disagreements visible, because we think the split itself is information a family deserves to see. Our jātakam engine is drik by construction — JPL DE440, Lahiri ayanamsa, arc-second display — and our planned daily panchangam will carry a vākya-vs-drik comparison strip for exactly the transparency this article argues for. Loyalty to an almanac is heritage; knowing what your almanac is doing under the hood is power. We aim to serve both.

8. Reading a vākya panchangam page (a user's field guide)

For readers who own the book but have never decoded a full row, here is the anatomy of a typical day-entry, translated into modern terms. The date line stacks the plural calendars — Tamil solar month and day, the Sarvari-Plava-style 60-year cycle name, the Saka and Kali eras, the Gregorian date. Then the angas, each with an ending moment expressed in nazhigai-vinadi after sunrise (1 nazhigai = 24 minutes; 1 vinadi = 24 seconds): "தி³ 42-15" against a tithi means it ends 42 nazhigai 15 vinadi after sunrise — about 4:54 PM clock time on an equinox day, but the conversion shifts with the season because sunrise itself moves; this is the single most common error when families compare the book against an app showing clock times. Then the day's quality furniture: Rahu kalam and Yamagandam by the weekday grid, Gowri windows, muhurta stars, and the month's marriage/travel prescriptions. Everything in the row except the weekday grid descends from the vākya computations described above — which is why two vākya almanacs agree with each other to the vinadi while both stand minutes-to-an-hour from a drik app. The book is not "less precise" than the app; it is exactly as precise as its verses, about a different model of the Moon.

9. Why the 248-day cycle needs correcting at all

A last piece of machinery, for the mathematically curious — and because it explains where the drift lives. Nine anomalistic months come to 247.995 days: the celebrated cycle misses 248 by about 7 minutes. Each pass through the vākya table therefore starts from a position very slightly wrong, and the error grows by those minutes every 248 days — which is why the karana texts wrap the daily vākyas in longer super-cycles and periodic re-anchoring rules (and why Madhava's generation recomputed the tables rather than merely reciting them). The system, in other words, knew it was an approximation and carried its own correction schedule — a genuinely modern piece of numerical thinking. What the tradition could not correct for was knowledge it did not have: the slow secular evolution of the lunar orbit, relativistic and tidal refinements, the higher-order perturbation series that modern ephemerides integrate numerically. Those unmodelled terms — not sloppiness, not decay — are the entire gap between the chanted Moon and the JPL Moon. The vākya system is a fixed-order model running centuries past its epoch, still landing within an hour of a numerically integrated space-agency solution. Very little software written today will age half as well.

10. Quick answers

Why did memory-encoded astronomy arise in India particularly?

Because the tradition's transmission medium was the trained reciter, not the manuscript: palm-leaf texts decayed in the tropical climate within decades, while a verse fixed in a lineage's memory survived centuries uncorrupted — provided it scanned. Metrical constraints acted, in modern terms, as error-correcting encoding: a mis-remembered syllable usually breaks the metre and announces itself. The katapayadi system turned that robust channel into a numerical one, and the vākya corpus is its masterpiece — scientific data engineered for a storage medium of chanting humans, with checksums built from poetics.

Is "Pambu Panchangam" the same thing as "vākya panchangam"?

Pambu Panchangam is the most famous member of the vākya family — a specific, long-running published almanac (the snake emblem is its trademark identity). "Vākya panchangam" is the genre: any almanac computed by the vākya method. Several other respected vākya titles serve different districts and lineages.

Do the vākya and drik camps at least agree on the muhurta furniture?

Largely, yes — and the reason is instructive. Rahu kalam, Yamagandam, Gowri windows and the hora sequence are structural constructions: fixed fractions of the sunrise-to-sunset span keyed to the weekday, not to the Moon's computed position. Both camps derive them from the same rules over (nearly) the same sunrise, so a family can follow a vākya book's tithi and a drik app's Rahu kalam without contradiction — indeed most households already do exactly this without noticing. The camps divide precisely where the fast Moon enters: tithi, nakshatra, yoga and karana endings. Knowing which rows of the almanac are contested and which are common ground defuses most kitchen-table almanac arguments before they begin.

What is a nazhigai?

The traditional Tamil time unit: 1 nazhigai = 24 minutes (60 nazhigai per day), the same unit as the Sanskrit ghatika. Vākya almanacs state anga endings in nazhigai after sunrise — one reason casual comparisons with clock-time apps go wrong before any astronomy is involved.

Is the vākya system related to the "vākya" in our match engine's name?

Directly: the Tamil marriage-porutham tables our Vākya method computes descend from the vākya almanac tradition's matching conventions — grade orderings, rajju priorities and dina reckonings as the vākya-culture references publish them — while our Thirukanitha method carries the drik camp's tables. The two names on our tradition selector are these two camps, made computable side by side. This article is, in that sense, the biography of half our match engine.

My family follows vākya; my app is drik. Which should I use for a muhurtham?

For a family/temple observance, the answer is cultural: use the almanac your tradition specifies — that is what the observance means. For an astronomical question (where is the Moon, exactly?), drik is the correct instrument. When the two collide on a boundary day, you now know why — and either choice, made knowingly, is defensible. Made unknowingly, both are luck.

How is the annual almanac actually produced?

The panchangam-maker's yearly work is the karana texts' algorithm executed at scale: fix the year's epoch positions from the accumulated cycles, run the daily vākya lookups and interpolations for Sun and Moon across 365 days, derive tithi–nakshatra–yoga–karana endings in nazhigai for the almanac's reference locality, layer the muhurta furniture by the traditional weekday and month rules, and set the whole in the house's inherited page format. Historically this was months of hand computation by hereditary families of ganitha experts; today's editions are typically computed with software implementations of the same vākya rules — the tradition automated, not abandoned. That distinction matters for readers: a modern vākya almanac's numbers are machine-precise renderings of the medieval model, so the vākya-vs-drik gap you observe is purely the model gap, uncontaminated by arithmetic slips.

Which locality's sunrise does the book assume?

Each almanac computes for its traditional reference place (its title page usually says so), and nazhigai timings shift with your town's actual sunrise. Serious users in distant districts apply the customary sunrise correction; a computed panchangam does this per-city automatically — one of the few places where we would say the app genuinely serves the tradition better than the book.

Was the vākya system Tamil or Kerala?

Both, in lineage: the chandravākya tradition (Vararuci, and Madhava's refinement) flourished in Kerala's astronomical school, while the Vākya-karana-based annual almanac culture took its deepest popular root in the Tamil country. The modern vākya panchangam is the Tamil face of a pan-South scientific inheritance.

Method & sources. The katapayadi convention and its right-to-left reading are standard (the π verse is from the Sadratnamala of Śaṅkaravarman). The 248-day ≈ 9 anomalistic months relation (248 × mean anomalistic month ≈ 27.554 d × 9 = 247.99 d) underlies the 248 chandravākyas attributed to Vararuci; Madhava's refinement is transmitted in the Veṇvāroha tradition; the Vākya-karana (c. 13th century) is the almanac-engine text of the southern vākya tradition. Statements about typical vākya-vs-drik deviations reflect the well-documented discourse between the two Tamil almanac camps and are deliberately given as ranges here; precise measured curves appear in our companion study against JPL DE440. Brand facts about specific almanacs are limited to their public identity; publication-history claims are avoided where we could not verify them.

Disclaimer. Pambu Panchangam and other almanac titles are their publishers' marks; this article profiles the computational tradition they embody, with respect. — juno.date Research