संस्कृतव्याकरणम् · 22 of 24 Home
छन्दःशास्त्रम् · पिङ्गल-वृत्तरत्नाकरौ

Reading the
weight of a syllable

Sanskrit verse is not counted in stresses, the way English verse is, and not quite in syllables either. It is counted in weight — light or heavy, लघु or गुरु — and once you can call that by eye, a whole line resolves into a pattern you can name. Nothing below needs music or an ear for metre. It is a mechanical skill, three rules deep.

देव
→
–⏑
→
?
scanned
लघु — light, one mora गुरु — heavy, two morae गणः — three syllables read as a unit

Why bother scanning at all

Orientation

A verse recited with the wrong weights is not merely inelegant — in ritual and recitation contexts it is a real error, the way singing the wrong notes is. And weight is not just about performance: it is one of the few checks a reader has on a transmitted text.

If a manuscript reading makes a metre come out one syllable short, that is not a minor slip — it usually means a word was mis-copied, and the metre tells you where to look. Editors of Sanskrit texts have used this for centuries: the verse form is evidence, independent of what the words appear to say. This page builds that skill from the ground up — how to call a single syllable light or heavy, then how the light and heavy syllables of a whole line identify which of the classical metres it is in — and ends with a scanner you can test on real text, including on itself.

What this page is not. Chandas — metrics — is a separate vedāṅga from the Aṣṭādhyāyī, codified by Piṅgala and later by the वृत्तरत्नाकरः, not by Pāṇini. This project's corpus (corpus.py) covers sound, sandhi, declension and the dhātupāṭha — it has no chandas layer, so the gaṇa formulas and yati positions below are standard classical prosody, not a citation into this site's own sūtra text. What is pulled mechanically, and checked, is every worked example: all of them are real verses from the Pañcatantra, and the scanner's accuracy is measured against that same text, not asserted.
लघु गुरु

The one skill everything else rests on

by eye

A syllable — strictly an अक्षर, one vowel with whatever consonants cling to it — is गुरु (heavy, counted as two morae) under exactly three conditions, and लघु (light, one mora) otherwise. Check them in this order.

दीर्घेRule 1 — the vowel is long

आ ई ऊ ॠ ॡ are the long partners of अ इ उ ऋ ऌ, and ए ऐ ओ औ — the four grammar calls the diphthongs — are treated as long unconditionally; Sanskrit prosody does not recognise a "short ए". Any syllable built on one of these nine vowels is गुरु no matter what follows it.

संयोगेRule 2 — a conjunct follows

A short vowel is still गुरु if two or more consonants stand between it and the next vowel — a संयोगः. One consonant is not enough: a single consonant is read as the onset of the following syllable and leaves the vowel before it untouched. This is the rule that surprises people, because it means the weight of a syllable can depend on the word standing next to it, not just its own spelling — and it works straight across a word boundary, exactly as it works inside one word.

अनुस्वार-विसर्गेRule 3 — anusvāra or visarga follows

A short vowel carrying ं or ः is गुरु, because both close the syllable exactly as a consonant would — they are, in origin, exactly that: a nasal or a sibilant reduced to a mark.

A fourth thing, which is a licence rather than a rule. The last syllable of every metrical pāda is always counted गुरु, whatever it actually is — because a pause follows it, and a pause closes a syllable the way a consonant does. This applies at every pāda boundary, including one in the middle of a printed line (a śloka's two lines are four pādas), and the scanner below applies it exactly that way.

Three of these, worked from real text

Not a made-up sentence — the opening pāda of an actual Pañcatantra verse, scanned mechanically below. Hover a syllable, or read the title text, for the reason.

Visarga behaves exactly like a consonant cluster — it closes the syllable it sits on — and a real संयोग a few syllables later does the same to a short vowel with nothing else unusual about it:

And anusvāra, in a word that also carries a conjunct — two different rules, one syllable each, in "नित्यं":

गणाः

Eight syllables read as one unit

यमाताराजभानसलगम्

Once a line is scanned into a string of लघु and गुरु, nobody reads it three syllables at a time in isolation — Sanskrit prosody names eight possible three-syllable patterns and calls each a गण, and every fixed metre below is stated as a short sequence of these, not as thirty-odd individual syllables.

The traditional mnemonic for the eight is one word: — and its own construction is the best-kept secret in the subject. Scan the mnemonic itself, and its ten syllables, taken three at a time, spell out all eight gaṇas in order — the word teaches itself.

Read the table below the same way: syllables 1–3 give य, syllables 2–4 give म, syllables 3–5 give त, sliding one syllable at a time through all eight — and the last two syllables, ल and गं, are not a gaṇa at all but the two single weights every formula below also needs on their own.

गणःअक्षराणिपैटर्नस्मरणम्

Two ways to count a line

वर्णवृत्तम् · मात्राछन्दः

Every metre below belongs to one of two families, and they are counted by completely different units.

वर्णवृत्तम्Counted by syllable

Every pāda has a fixed number of syllables, and — in a समवृत्त like शार्दूलविक्रीडित or स्रग्धरा — every one of those positions has a fixed weight, stated as a run of gaṇas. Get one syllable wrong and the line no longer scans as that metre at all. Almost everything on this page, including अनुष्टुभ् in its own looser way, is वर्णवृत्त.

मात्राछन्दःCounted by mora

The syllable count is free; what is fixed is the total मात्रा — light=1, heavy=2 — in each half of the verse. Two short syllables and one long one are interchangeable, because both total two morae. The one मात्राछन्द worth knowing well is आर्या: enormously common in didactic and gnomic verse (72 of the 1,071 scannable Pañcatantra verses below are आर्या — the second most frequent metre in the whole text, after अनुष्टुभ् itself), and built on a single, checkable fact: its first half totals 30 morae, its second half 27.

The metres worth knowing

Thirteen metres, each with its formula, its yati (the compulsory pause inside a pāda — always at a word-break, never mid-word), how often it actually occurs in the Pañcatantra, and one real verse.

अनुष्टुभ् — the one that is not a fixed formula

By far the commonest metre in classical Sanskrit — 846 of the 1,071 labelled verses below, four out of every five — and the one every other book on this site quotes without comment, so it earns its own explanation. Four pādas of eight syllables is necessary but nowhere near sufficient: positions 1–4 and 8 are close to free (the small set of exceptions are called विपुला and are not covered here). What is actually fixed, in the standard पथ्या form, is just three positions per pāda:

त्रिष्टुभ् — eleven syllables, three metres

त्रिष्टुभ् is not itself one pattern; it is the name for the class of metres with an eleven-syllable pāda. Two of its members are true समवृत्त — every pāda identical — and differ from each other in exactly one syllable, the very first:

उपजाति is what happens when a poet mixes the two. Take some pādas in इन्द्रवज्रा's pattern and others in उपेन्द्रवज्रा's, inside the same stanza, and the result is called उपजाति rather than either name alone — the single commonest त्रिष्टुभ्-class metre in the Pañcatantra by a wide margin.

The rest — one formula each

Every metre below is a समवृत्त: state the gaṇa sequence for one pāda and all four are identical.

आर्या and its family — counted, not patterned

Three verses share one skeleton and differ only in how the mora budget is split between the two halves of the verse:

Every metre, at a glance

छन्दःप्रति-पादसूत्रम्यतिः पञ्चतन्त्रे

Scan a verse

अभ्यासः

Paste any Devanāgarī verse, or pick one below. Every syllable lights लघु or गुरु by the three rules above, the gaṇas assemble underneath in triples, and the metre is named — or honestly reported as unmatched, with the closest candidate and exactly where it stops matching.

Tested against the whole Pañcatantra

honesty check

Running now, in your browser, over every one of the labelled verses above — the same code that just scanned your verse.

छन्दःपञ्चतन्त्रेस्कैनर सहमत%

Where this comes from

Coverage
Two different sources, used for two different things. The rules — the three conditions for गुरु, the eight gaṇas, the yati and gaṇa formula for each metre — are standard classical prosody (the Piṅgala–Vṛttaratnākara tradition), because this project's corpus has no chandas layer to pull them from; that is stated here rather than left implicit. The examples, the per-metre counts, and the scanner's accuracy figure are not — every one of them is measured mechanically against ss-data/texts/pancatantram/pancatantram.json, 1,098 verses of which 1,071 carry the editor's own metre label across 20 distinct metres. This page teaches the 13 that between them account for % of that text; the remainder — हरिणी, द्रुतविलम्बितम्, शालिनी, वियोगिनी, प्रमिताक्षरा, रथोद्धता — occur 10 times in total and are not covered, and the scanner correctly leaves every one of them unmatched rather than guessing.

Check yourself

अभ्यासः

Six questions on scanning by eye and naming what you scanned.