Chandas — Vedic Metre

छन्दस् — the feet of the Veda

Gayatri · Anushtubh · Trishtubh · Pingala

Chandas (छन्दस्) is the Vedanga of metre. Almost all of the Rigveda, and much of the other Vedas, is composed in verse, and every verse follows a fixed pattern of syllables. Knowing the metre is part of knowing the mantra: traditional reciters are taught to remember, for each hymn, its seer (rishi), its deity (devata) and its metre (chandas). Metre also protects the text, because a missing or added syllable immediately breaks the pattern. In the comparison of the Vedangas to a body, Chandas is the feet on which the Veda moves.

Unlike the stress-based metres of English poetry, Sanskrit metre is quantitative. Every syllable is either laghu (light, short — one matra) or guru (heavy, long — two matras). A syllable is heavy if it contains a long vowel or diphthong, or if its short vowel is followed by two or more consonants or by anusvara or visarga; otherwise it is light. Vedic metres are defined mainly by the number of syllables in each pada (quarter or line), with a tendency towards fixed patterns in the final syllables; the later classical metres define the exact sequence of light and heavy syllables throughout.

The seven principal Vedic metres

The Vedic tradition recognises seven main metres, each four syllables longer than the last. The table gives their standard total syllable count and typical arrangement:

MetreSanskritSyllablesArrangementNotes
Gayatriगायत्री243 padas × 8The Gayatri mantra (Rigveda 3.62.10); very common in the Rigveda
Ushnikउष्णिक्288 + 8 + 12A Gayatri with a lengthened final pada
Anushtubhअनुष्टुभ्324 padas × 8Ancestor of the classical shloka of the epics and the Bhagavad Gita
Brihatiबृहती368 + 8 + 12 + 8Often combined with other metres in strophes
Panktiपङ्क्ति405 padas × 8A five-line metre
Trishtubhत्रिष्टुभ्444 padas × 11The most frequent metre of the Rigveda
Jagatiजगती484 padas × 12Third of the three principal Rigvedic metres

The three most important Rigvedic metres are Trishtubh, Gayatri and Jagati; together they account for the large majority of its verses. The Brahmanas link Gayatri with Agni and the morning soma pressing, Trishtubh with Indra and the midday pressing, and Jagati with the Vishvedevas and the evening pressing. Actual verses often have a syllable more or fewer than the ideal count, and the tradition has terms for such variations (nichrit for one short, bhurij for one extra). Longer metres beyond Jagati, such as Atijagati and Shakvari, also occur.

The Anushtubh deserves special mention. Its four lines of eight syllables evolved into the shloka, the verse form of the Ramayana, the Mahabharata, the Bhagavad Gita, the Puranas and most of classical Sanskrit literature. Tradition credits Valmiki with the first shloka, spoken in grief on seeing a hunter kill one of a pair of birds.

Pingala and the Chandahshastra

The foundational work of the discipline is the Chandahshastra (also called the Chandas Sutra) of Pingala, a sutra text in eight chapters that covers both Vedic and later metres. Its date is uncertain; it is commonly placed in the last centuries BCE. Pingala introduced a compact notation that is still used: the symbols la and ga for single light and heavy syllables, and eight ganas, each naming one of the eight possible groups of three syllables (L = laghu, G = guru):

yamatarajabhanasa
L G GG G GG G LG L GL G LG L LL L LL L G

With eight ganas plus la and ga, any classical metre can be described in a few letters. Students remember the system with the mnemonic ya-mā-tā-rā-ja-bhā-na-sa-la-gāḥ, in which each gana's syllable pattern can be read off from the syllable that names it and the two that follow.

Mathematics in Chandas

Binary patterns

Because every syllable is either light or heavy, a line of n syllables has 2n possible patterns. Pingala gives procedures — prastara (listing all patterns in order), nashta (recovering the pattern at a given position), uddishta (finding the position of a given pattern) and sankhya (counting the patterns) — that are equivalent to working with binary numbers, with light and heavy syllables playing the role of the two digits. His rule for computing 2n uses repeated halving and squaring, the same idea as the modern fast-exponentiation method. Pingala did not, of course, write numbers in base 2, but the structure of his procedures is binary.

Meru Prastara

A further question is how many patterns of n syllables contain exactly k heavy syllables. Pingala's text contains a brief rule on this, and the tenth-century commentator Halayudha explains it with a triangular figure called the Meru Prastara ("arrangement like Mount Meru"). Each number is the sum of the two above it — the array known in Europe since the seventeenth century as Pascal's triangle:

1
11
121
1331
14641
15101051
1615201561

For example, the row 1 4 6 4 1 shows that among the 16 possible four-syllable patterns, one has no heavy syllable, four have one, six have two, four have three and one has four.

Counting by matras

Later prosodists working on metres measured by matras (where a light syllable counts 1 and a heavy one 2) asked how many patterns add up to a given total. The answer is the sequence 1, 2, 3, 5, 8, 13, 21…, in which each term is the sum of the two before. It was described by Virahanka (between the sixth and eighth centuries), and later by Gopala and Hemachandra in the twelfth century — before Leonardo of Pisa (Fibonacci) published it in Europe in 1202.

Why Chandas matters

Chandas gave the Vedic tradition a check on the integrity of its texts, a framework for musical recitation, and a vocabulary for describing poetry that shaped all of classical Sanskrit literature and the prosody of many Indian languages. It also shows how the careful study of a sacred text could lead to genuinely new mathematics. Chandas is closely linked to Shiksha, which defines syllable length, and to the musical chanting of the Samaveda.

Frequently asked questions

What is Chandas in the Vedangas?

Chandas is the Vedanga of metre (prosody). It describes the syllable patterns in which the Vedic hymns are composed, so that they can be recited correctly and so that each verse’s metre can be identified. It is traditionally called the feet of the Veda.

How many syllables are in the Gayatri metre?

Gayatri has 24 syllables, arranged in three padas (lines) of eight syllables each. The famous Gayatri mantra of Rigveda 3.62.10 is composed in this metre, which gives the mantra its name.

What are the seven main Vedic metres?

Gayatri (24 syllables), Ushnik (28), Anushtubh (32), Brihati (36), Pankti (40), Trishtubh (44) and Jagati (48). Each successive metre has four more syllables than the one before. Trishtubh, Gayatri and Jagati are the most frequent in the Rigveda.

Did Pingala use binary numbers?

Pingala’s Chandahshastra analyses metres as sequences of short (laghu) and long (guru) syllables and gives procedures for listing all patterns of a given length, finding the position of a pattern in that list and recovering a pattern from its position. These procedures are equivalent to counting in a binary (base-2) system, though Pingala expressed them in terms of syllables rather than numbers.

What is Meru Prastara?

Meru Prastara is a triangular array of numbers used to count how many metrical patterns of a given length contain a given number of long syllables. It is the same array known in Europe as Pascal’s triangle. It is explained in detail by the 10th-century commentator Halayudha, based on a brief rule in Pingala’s text.

The other Vedangas