Sanskrit grammar has a reputation for being huge, and in one sense that is fair: the classical system describes the language right down to individual sounds. But what a beginner needs rests on a manageable set of ideas, each with its own Sanskrit name. This guide goes through those ideas in roughly the order most learners meet them, and explains the grammar words that keep coming up in textbooks, school syllabi and commentaries.
Example sentences here are mostly written without sandhi between words, as beginner textbooks usually do.
What “Sanskrit grammar” means: vyākaraṇa
The Sanskrit word for grammar is व्याकरण (vyākaraṇa), usually explained as “analysis” or “taking apart”. That suits it, since so much of grammar is about splitting words and sentences into their working parts. Vyākaraṇa is one of the six Vedāṅgas, the auxiliary disciplines traditionally studied alongside the Vedas. The other five cover phonetics, metre, etymology, astronomy and ritual.
The classical framework comes from Pāṇini’s Aṣṭādhyāyī, a rule-book of just under 4,000 short sūtras. For background on Pāṇini and the commentators who came after him, see who created the grammar for Sanskrit.
Two features shape everything else:
- Sanskrit is highly inflected. Endings carry case, number, person and tense, so word order is much freer than in English. रामः वनं गच्छति and वनं रामः गच्छति both mean “Rama goes to the forest.”
- Every finished word is one of two kinds. Pāṇini defines a पद (pada), an inflected word, as anything ending in either a noun ending (सुप्, sup) or a verb ending (तिङ्, tiṅ). Noun-type words are called सुबन्त (subanta) and verb-type words तिङन्त (tiṅanta). Indeclinables are treated as noun-type words whose endings have been dropped.
Sounds and letters: varṇa, svara and vyañjana
A sound or letter is a वर्ण (varṇa). The sounds fall into three groups:
- स्वर (svara), vowels: अ आ इ ई उ ऊ ऋ ॠ ऌ ए ऐ ओ औ (a ā i ī u ū ṛ ṝ ḷ e ai o au). Short vowels are ह्रस्व (hrasva) and long ones दीर्घ (dīrgha).
- व्यञ्जन (vyañjana), consonants: 25 stops in five groups (वर्ग, varga) by place of articulation (क-वर्ग, च-वर्ग, ट-वर्ग, त-वर्ग, प-वर्ग), plus four semivowels (य र ल व) and the sibilants and aspirate (श ष स ह).
- अनुस्वार (anusvāra, ं) and विसर्ग (visarga, ः): two sounds that always follow a vowel.
The varga layout matters more than it first appears, because sandhi rules keep referring to “the first letter of a group” or “the fifth (nasal) letter of a group”. It’s worth learning the 5 × 5 grid early.
Sandhi: how sounds join
सन्धि (sandhi) means “joining”. When two sounds meet, they often change. That can happen inside a word, between a prefix and a root, inside a compound, or between words in a sentence. Sandhi is required inside words and compounds, and classical prose and verse normally apply it between words too.
There are three families:
| Type | Sanskrit name | What meets | Example |
|---|---|---|---|
| Vowel sandhi | स्वर सन्धि / अच् सन्धि | vowel + vowel | विद्या + आलयः = विद्यालयः |
| Consonant sandhi | व्यञ्जन सन्धि / हल् सन्धि | consonant + consonant or vowel | जगत् + ईशः = जगदीशः |
| Visarga sandhi | विसर्ग सन्धि | visarga + vowel or consonant | नमः + ते = नमस्ते |
Each family has its own guide: swar sandhi rules with examples, vyanjan sandhi for Class 10 and visarga sandhi made simple.
Splitting a joined form back into its parts is called सन्धि-विच्छेद (sandhi-viccheda), and reading real texts depends on doing it quickly.
Nouns: stem, gender, number and case
A noun stem, the dictionary form before any endings, is a प्रातिपदिक (prātipadika). A word in general is often loosely called a शब्द (śabda). To use a noun, you add an ending that marks three things at once.
Gender (liṅga)
Sanskrit has three genders: पुंलिङ्ग (puṃliṅga), masculine; स्त्रीलिङ्ग (strīliṅga), feminine; and नपुंसकलिङ्ग (napuṃsakaliṅga), neuter. Gender is grammatical, so it doesn’t always follow meaning: मित्रम् “friend” is neuter, and one word for “wife”, दाराः, is masculine plural. For practical clues, see how to identify gender in Sanskrit.
Number (vacana)
There are three numbers: एकवचन (ekavacana), singular; द्विवचन (dvivacana), dual, for exactly two; and बहुवचन (bahuvacana), plural, for three or more. The dual is used consistently for two eyes, two hands, a pair of friends and so on.
Case (vibhakti)
विभक्ति (vibhakti) is the case ending. There are seven cases plus the vocative, which school grammars usually count as an eighth:
| Vibhakti | Usual role (kāraka) | Rough English idea |
|---|---|---|
| प्रथमा (prathamā) | कर्ता, the doer | nominative, subject |
| द्वितीया (dvitīyā) | कर्म, the object | accusative |
| तृतीया (tṛtīyā) | करण, the instrument | “by, with” |
| चतुर्थी (caturthī) | सम्प्रदान, the recipient | “to, for” |
| पञ्चमी (pañcamī) | अपादान, the point of separation | “from” |
| षष्ठी (ṣaṣṭhī) | सम्बन्ध, relation | “of” |
| सप्तमी (saptamī) | अधिकरण, location | “in, on, at” |
| सम्बोधन (sambodhana) | address | “O …” |
The role a noun plays in an action is its कारक (kāraka), and the vibhakti is the ending that expresses it. Strictly, the genitive’s “relation” is not counted as a kāraka, because it links a noun to another noun rather than to the action. The two usually line up as shown, but some words require a particular case whatever the role. These are the उपपद विभक्ति (upapada vibhakti) rules. The vibhakti guide has full declension tables, notes on number, and the common upapada words such as अभितः and सह.
Pronouns (sarvanāma)
Pronouns such as अहम् “I”, त्वम् “you”, सः “he”, सा “she” and किम् “what, who” decline much like nouns, though some of their endings are distinct. The sarvanam list with meanings also covers question words such as कः, कुत्र and कदा.
Verbs: dhātu, gaṇa, lakāra, puruṣa and pada
A verb root is a धातु (dhātu), for example भू “be”, गम् “go” and पठ् “read”. The traditional root list, the Dhātupāṭha, contains roughly two thousand of them. Five ideas describe any finite verb form:
- गण (gaṇa), verb class. Roots fall into ten classes according to how they build their present stem: भवति (class 1), अत्ति (class 2), जुहोति (class 3) and so on. See the ten dhatu ganas.
- लकार (lakāra), tense or mood. Pāṇini names ten, each starting with ल. Examples are लट् (present), लङ् (past), लृट् (future), लोट् (imperative) and विधिलिङ् (optative). The lakara guide explains all ten.
- पुरुष (puruṣa), person. प्रथम पुरुष is the third person (he, she, it, they), मध्यम पुरुष the second person (you) and उत्तम पुरुष the first person (I, we). The numbering runs the opposite way from English.
- वचन (vacana), number. Singular, dual and plural, as with nouns. Three persons times three numbers gives nine forms per tense.
- पद (pada), the ending set. Each root takes परस्मैपद (parasmaipada) endings, आत्मनेपद (ātmanepada) endings, or both. पठति uses parasmaipada and लभते uses ātmanepada. See parasmaipada vs atmanepada.
Here is the present tense of पठ् “read”:
| Puruṣa | Ekavacana | Dvivacana | Bahuvacana |
|---|---|---|---|
| प्रथम | पठति | पठतः | पठन्ति |
| मध्यम | पठसि | पठथः | पठथ |
| उत्तम | पठामि | पठावः | पठामः |
Voice: vācya
वाच्य (vācya) is voice at the level of the sentence. Sanskrit distinguishes कर्तृवाच्य (active), कर्मवाच्य (passive) and भाववाच्य (impersonal, used with intransitive verbs). रामः ग्रन्थं पठति “Rama reads the book” becomes रामेण ग्रन्थः पठ्यते “the book is read by Rama”. Converting between voices, called vācya parivartana, is a staple school exercise. See vachya parivartan in Sanskrit.
Compounds: samāsa
समास (samāsa) joins two or more words into one and drops the case endings inside it. Sanskrit compounds can get very long. School grammars usually teach six types: अव्ययीभाव, तत्पुरुष, कर्मधारय, द्विगु, द्वन्द्व and बहुव्रीहि. Rewriting a compound as a phrase that shows how its parts relate is called विग्रह (vigraha). For example, पीताम्बरः becomes पीतम् अम्बरं यस्य सः, “he whose garment is yellow”, meaning Kṛṣṇa. See samas in Sanskrit with examples.
Prefixes, suffixes and indeclinables
- उपसर्ग (upasarga), verbal prefixes. The traditional list has 22 prefixes, such as प्र, उप, वि and सम्. They attach to roots and can change the meaning a great deal: हरति “takes”, आहरति “brings”, विहरति “roams”. See how many upsarg are there in Sanskrit.
- प्रत्यय (pratyaya), suffixes. कृत् (kṛt) suffixes build words from roots, as in पठितव्यम् “to be read”, from पठ् + तव्यत्. तद्धित (taddhita) suffixes build words from other nouns, and स्त्री suffixes form feminines.
- अव्यय (avyaya), indeclinables. Words that never change form, such as च “and”, अपि “also”, अत्र “here”, अद्य “today” and सह “with”.
Both are covered in pratyaya and avyaya in Sanskrit.
Glossary of key Sanskrit grammar words
| Term | Transliteration | Meaning |
|---|---|---|
| व्याकरण | vyākaraṇa | grammar |
| सूत्र | sūtra | short grammatical rule |
| वर्ण | varṇa | sound, letter |
| स्वर | svara | vowel |
| व्यञ्जन | vyañjana | consonant |
| सन्धि | sandhi | joining of sounds |
| पद | pada | inflected word; also the verb-ending set |
| प्रातिपदिक | prātipadika | noun stem |
| धातु | dhātu | verb root |
| लिङ्ग | liṅga | gender |
| वचन | vacana | number |
| विभक्ति | vibhakti | case ending |
| कारक | kāraka | role in the action |
| सर्वनाम | sarvanāma | pronoun |
| विशेषण | viśeṣaṇa | adjective, qualifier |
| विशेष्य | viśeṣya | the word being qualified |
| क्रिया | kriyā | verb, action |
| कर्ता | kartā | agent, subject |
| कर्म | karma | object |
| पुरुष | puruṣa | grammatical person |
| लकार | lakāra | tense or mood |
| गण | gaṇa | verb class |
| वाच्य | vācya | voice |
| समास | samāsa | compound |
| विग्रह | vigraha | phrase that analyses a compound |
| उपसर्ग | upasarga | verbal prefix |
| प्रत्यय | pratyaya | suffix |
| अव्यय | avyaya | indeclinable word |
| कृदन्त | kṛdanta | word formed with a kṛt suffix |
| अनुवाद | anuvāda | translation |
A sensible order to learn
There is no single correct path, but many teachers follow something like this:
- The script and the varga grid of sounds.
- The present tense (लट्) of a few class-1 verbs such as पठ्, गम् and वद्.
- The nominative and accusative of a-stem nouns (रामः, फलम्) and the pronouns सः, सा, तत्, अहम् and त्वम्.
- The remaining cases of राम, लता and फल, then the common upapada words.
- The other school lakāras: लृट्, लङ्, लोट् and विधिलिङ्.
- Basic vowel and visarga sandhi, so you can read connected text.
- Compounds, the common kṛt suffixes (क्त्वा, ल्यप्, तुमुन्, तव्यत्, अनीयर्) and the passive voice.
- Simple translation practice. Hindi speakers may find the Hindi to Sanskrit anuvad guide a useful bridge.
Reading easy texts alongside your grammar study usually helps the rules stick.
Frequently asked questions
What are the five tenses in Sanskrit?
Formally, Sanskrit has ten lakāras, but school courses usually teach five: लट् (present), लृट् (future), लङ् (past), लोट् (imperative) and विधिलिङ् (optative, “should”). Strictly speaking, only the first three are tenses. लोट् and विधिलिङ् are moods.
What is grammar called in Sanskrit?
व्याकरण (vyākaraṇa). A grammarian is a वैयाकरण (vaiyākaraṇa).
Is Sanskrit grammar fixed?
Classical Sanskrit follows the Pāṇinian standard closely, which is one reason it changed relatively little over many centuries of literary use. Vedic Sanskrit is older and has forms classical Sanskrit lacks, such as the subjunctive (लेट्).
Do English and Sanskrit share words?
Both are Indo-European languages. They share inherited words (cognates) and English has also borrowed some words directly. See which English words are derived from Sanskrit for both kinds.
What is 7 in Sanskrit?
सप्त (sapta). Number words are covered in what is 7 called in Sanskrit, and the time phrase सप्तवादनम् in what is 7 o’clock in Sanskrit.