The history of bahr

Khalil's Five Circles

How a single insight in an 8th-century Basran bazaar — that the rhythms of Arab poetry could be reduced to a mathematical structure — produced the framework that every Urdu poet, scholar, and scanner has used for the last 1,200 years.

Section 1

Where the science began

In the 8th century, in the southern Iraqi city of Basra, a scholar named Khalil ibn Ahmad al-Farahidi (d. 786 CE) made the breakthrough that founded the science of Arabic prosody. Khalil was a lexicographer — he compiled the first Arabic dictionary (Kitāb al-ʿAyn) and wrote on grammar, music, and cryptography. According to tradition, his insight about meter came in an unexpected place: walking through the Basra bazaar, he heard the rhythmic clang of a coppersmith hammering at an anvil, and recognized in that clang the same rhythmic structure that ran through all the recited poetry of his time.

Before Khalil, Arab poets composed in rhythms they had learned by ear. There were named “tunes” — patterns the elders taught the young, who imitated them when they composed. But no one had reduced these rhythms to a notation. Khalil discovered that every classical rhythm could be analysed as a sequence of long and shortsyllables in fixed proportions, and that the dozen or so distinct “tunes” of Arabic poetry could all be derived from a single mathematical structure — five circles, each a cycle of feet, with all the meters of the tradition arranged around them.

The science Khalil founded is called ʿarūḍ (عروض). It spread from Arabic to Persian, and from Persian to Urdu, with each language adopting Khalil's circles, keeping the same names and mnemonics, but adding local variations. The framework you use today when scanning an Urdu ghazal — its names, its feet, its zihafat — is, in its bones, the framework Khalil set down 1,200 years ago.

Section 2

Khalil's first move was to identify a small set of repeating units — feet (singular rukn, plural arkān) — out of which every line of classical poetry is built. Each foot is a short fixed pattern of long and short syllables, given a mnemonic name derived from the Arabic verbal root فعل (fa-ʿa-la, “to do”). The mnemonic encodes both the syllable count and the long/short positions: fāʿilunmeans “a doer” in Arabic, but for a prosodist it's also the rhythmic shape 2 1 2 — long, short, long.

These are the building blocks. A bahr is just a fixed sequence of feet repeated some number of times.

Section 3

The classical eight feet

The eight classical feet inherited into Urdu prosody:

FootMnemonicPatternNotes
فعولنfaʿūlun1 2 23 syllables — quick, lilting
فاعلنfāʿilun2 1 23 syllables — marching
مفاعیلنmafāʿīlun1 2 2 24 syllables — leaping
فاعلاتنfāʿilātun2 1 2 24 syllables — stately
مستفعلنmustafʿilun2 2 1 24 syllables — rolling
مفاعلتنmufāʿalatun1 2 1 1 25 syllables — wave-like
متفاعلنmutafāʿilun1 1 2 1 25 syllables — pulsing
مفعولاتmafʿūlātu2 2 2 14 syllables — dense, falling

Read each pattern right-to-left or left-to-right as you prefer — they're the same either way, just rhythms of long and short.

Section 4

Khalil's Five Circles

Khalil's deepest contribution was the observation that the bahrs aren't independent — they form families. He arranged the 15 meters he recognised (his student al-Akhfash al-Awsat later added a sixteenth) in five circles (دوائر, sing. دائرہ), each a cyclical loop of feet. The bahrs in a given circle are obtained by reading the same cyclical sequence starting from different positions. They're rotations of one underlying rhythm.

1CIRCLEṬawīlMadīdBasīṭ
دائرہِ مختلفہ
Mukhtalifa · Mixed
3 bahrs
2CIRCLEWāfirKāmil
دائرہِ مؤتلفہ
Mu'talifa · Homogeneous
2 bahrs
3CIRCLEHazajRajazRamal
دائرہِ مجتلبہ
Mujtaliba · Pulled
3 bahrs
4CIRCLESarīʿMunsariḥKhafīfMuḍāriʿMuqtaḍabMujtathth
دائرہِ مشتبہہ
Mushtabiha · Similar
6 bahrs
5CIRCLEMutaqāribMutadārik
دائرہِ متفقہ
Muttafiqa · Agreeing
2 bahrs
1. The Mixed Circle

Three of the longest classical Arabic meters, common in early qaṣīdas. Rare in Urdu.

2. The Homogeneous Circle

Common in Arabic, rare in Urdu — the Persian-derived vocabulary of Urdu doesn't favor them.

3. The Pulled Circle

Three of the most-used bahrs in all Urdu poetry. All three are rotations of the same underlying cycle.

4. The Similar Circle

Six meters, of which Khafīf and Mujtathth are heavy favorites of Ghalib and Faiz.

5. The Agreeing Circle

Mutadārik was added by Khalil's student al-Akhfash al-Awsat after Khalil's death.

Across all five circles: 16 base bahrs.Every named bahr in any Urdu prosody manual is one of these 16 — possibly with modifications, which we'll meet in a moment.

Section 5

How rotation works

The Pulled Circle is the easiest to see in action — it produces three of the most-used Urdu bahrs (Hazaj, Rajaz, Ramal). Picture the circle's rhythm as a loop: short (1), long (2), long, long — repeated forever around the circumference. The 12 nodes below are three full repetitions of that 4-syllable cycle:

122212221222HazajمفاعیلنRajazمستفعلنRamalفاعلاتندائرہِ مجتلبہTHE PULLED CIRCLELEGEND1short syllable2long syllablereading window
… 1 2 2 2  1 2 2 2  1 2 2 2  1 2 2 2 …

Now drop a four-syllable “reading window” onto this loop. Where the window startsdetermines which foot — and therefore which bahr — you're reading:

Start atWindowFootBahrposition 0[ 1 2 2 2 ]مفاعیلنHazajposition 2[ 2 2 1 2 ]مستفعلنRajazposition 3[ 2 1 2 2 ]فاعلاتنRamal

Three different feet — three different bahrs — same underlying rhythm. A Hazaj line and a Ramal line are two ways of reading the same cycle. That's the geometric beauty Khalil saw, and that's why the bahrs naturally cluster into families.

Section 6

From 16 to 100+ — the zihafat

Real poetry rarely uses the “intact” (سالم) form of a bahr. Poets routinely modify the base by truncating the last foot, swapping a long syllable for two shorts, dropping a syllable at the end, and so on. These modifications are called zihafat (زحافات, sing. zihaf). When Khalil's 16 base meters are combined with their permitted zihafat, you get the 100+ named bahr variants you find in any Urdu prosody manual.

A bahr's full name encodes its base, its line length, and its modifications:

Musamman مثمن
8 feet per line (4 per misra) — the longest standard form
Musaddas مسدس
6 feet per line
Murabbaʿ مربع
4 feet per line
Sālim سالم
“intact” — no modifications applied
Mahzūf محذوف
last foot truncated
Maqṭūʿ مقطوع
last foot drastically shortened
Makhbūn مخبون
a long syllable in the middle becomes short
Muḍāʿaf مضاعف
doubled — the line repeats itself
Section 7

How a bahr's name parses

Put the pieces together and a bahr's long name parses mechanically. Take this name from our scanner:

بحرِ ہزج مثمن محذوف

It parses as:

  • Bahr-e-Hazaj — the base bahr is Hazaj, from the Pulled Circle.
  • Musamman — the line has 8 feet (4 per misra).
  • Mahzūf — the last foot is truncated.

Every bahr name in the manual is a similar compound. Once you can parse the suffixes, you can read the full pattern off the name alone.

Section 8

What this means for the scanner

Within a single ghazal, a poet will freely mix zihafat variants of the same base bahr. The first sheʿr might be in Hazaj Musamman Sālim; the second in Hazaj Musamman Mahzūf; the third in Hazaj Musamman Maqṭūʿ. To a poet — and a knowledgeable reader — all three are the same bahr (Hazaj), with the trailing foot tinkered. They sing the same.

When you pick a bahr in the scanner and we match each line against it, the scanner automatically also tries every permitted zihafat variant of that bahr's base. So if your line scans cleanly as Hazaj Musamman Mahzūf, the scanner accepts it as “in meter” even if you picked Hazaj Musamman Sālim. That isn't laxness on our part — that's how Urdu prosody actually works. The base bahr is the family unit; the zihafat are surface choices a poet makes line by line.

That's the family structure Khalil mapped 1,200 years ago, still alive every time someone scans a ghazal today.

Try it in the scanner

Drop a couplet in and ask the scanner to match every line to one bahr. The Auto setting will pick the dominant bahr — and its zihafat siblings — for you.