The Quran in one picture Pictures Atlas Desk Report Claims

The Quran in numbers

This report counts the Quran as it is written in the Quranic Arabic Corpus (Kais Dukes, University of Leeds, corpus.quran.com): 114 surahs, 6,236 verses, 77,429 words and 325,665 written letters. Every number below is recomputed from the corpus morphology file by scripts/analysis.py and stored under a key in out/analysis.json; the prose never quotes a number that is not in that file.

The counting rules follow quran-text-analytics (MIT). They are re-derived here and checked against the pinned values before anything is written; if a rule changed the script stops with an error instead of printing a wrong number.

1. How much text

How this is counted: a word is a group of morphological segments at one position, a verse is a group of words, and a written letter is a Unicode letter of the Uthmani spelling. The Basmala counts once at 1:1 and not at the head of the other surahs.

WhatCount
Surahs114
Verses6,236
Words77,429
Morphological segments130,030
Written letters325,665

That is 4.21 letters in an average word, 12.42 words in an average verse and 52.22 letters in an average verse.

The same text under other counting rules

How this is counted: each rule is applied letter by letter inside every word, on top of the base count, so each line shows the base plus that one rule.

RuleWhat it changesChangeLetters
basmalathe Basmala at the head of the 112 surahs where it is not a verse+2,128327,793
hamzaleave out the standalone hamza-3,059322,606
smallAlifcount the small (dagger) alif as a letter+6,652332,317
smallWawYacount the small waw and small ya as letters+2,252327,917
shaddacount a doubled letter twice+22,678348,343
tanweencount the n of tanween as a letter+8,893334,558
namesread the opening letters by their names+135325,800

The Basmala is written with 19 letters, and it stands at the head of 112 surahs where it is not counted as a verse (19 times 112 = 2,128). Reading the opening letters by their names adds only 135 letters, because the names are short: alif, lam, mim and so on. The shadda is the largest single change, 22,678 letters, because a doubled consonant is counted twice under that rule.

2. The letters

How this is counted: every letter character is folded into one of the 28 letters of the alphabet, so alif counts the bare alif, alef-wasla, alef-hamza and the standalone hamza together. Vowel marks and small signs are not letters and are left for section 7.

RankLetterNameArabic nameCountPercent
1اalifألف55,71417.11
2لlamلام38,10211.70
3نnunنون27,2688.37
4مmimميم26,7358.21
5يyaياء25,7487.91
6وwawواو25,6767.88
7هha'هاء17,1945.28
8رraراء12,4033.81
9بbaباء11,4913.53
10تtaتاء10,5203.23
11كkafكاف10,4973.22
12عaynعين9,4052.89
13فfaفاء8,7472.69
14قqafقاف7,0342.16
15سsinسين6,0101.85
16دdalدال5,9911.84
17ذdhalذال4,9321.51
18حhaحاء4,1401.27
19جjimجيم3,3171.02
20خkhaخاء2,4970.77
21شshinشين2,1240.65
22صsadصاد2,0740.64
23ضdadضاد1,6860.52
24زzayزاي1,5990.49
25ثthaثاء1,4140.43
26طta'طاء1,2730.39
27غghaynغين1,2210.37
28ظza'ظاء8530.26

alif is the most common letter: 55,714 occurrences, 17.11 percent of all letters. The rarest is za' with 853, 0.26 percent. The five most common letters cover 53.30 percent of the text.

The spellings behind those letters

How this is counted: the characters actually written in the text, before folding, for the spellings that do not look like their base letter. The alef-madda is not a letter of its own here: the madda is a small mark over alef-wasla and adds no letter.

SpellingCharacterCode pointFolds intoCountPercent
alef-waslaٱU+0671alif13,4834.14
alef-hamza aboveأU+0623alif8,9002.73
alef-hamza belowإU+0625alif5,0881.56
alef-maddaآU+0622alif00.00
teh-marbutaةU+0629ha'2,3440.72
alef-maksuraىU+0649ya6,6052.03
standalone hamzaءU+0621alif3,0590.94
waw-hamzaؤU+0624waw7060.22
ya-hamzaئU+0626ya9210.28

The text uses 36 spellings in all, 8 more than the 28 letters. These 8 extra spellings account for 41,106 letters, 12.62 percent of the 325,665, and every one of them folds into the 28. The madda mark itself is written 5,376 times and is counted in the ink stream of section 7, not among the letters.

3. The words

How this is counted: distinct words are distinct after stripping the vowel marks and folding the alif and ya spellings, so one spelling per word; letters per word are the written letters of that word.

MeasureValue
Words77,429
Distinct normalised forms14,710
Hapax legomena (forms used once)8,619
Hapax share of distinct forms58.59 percent
Mean letters per word4.21
Median letters per word4
Longest word11 letters

More than half of the distinct forms are used only once: 8,619 of the 14,710 distinct forms, 58.59 percent of them. The longest word is 11 letters long, at 3:17:5.

The 20 longest words

How this is counted: written letters only, so the vowel marks of the displayed form do not change the length.

WordLettersReferencePlain form
وَٱلْمُسْتَغْفِرِينَ113:17:5والمستغفرين
وَٱلْمُسْتَضْعَفِينَ114:75:8والمستضعفين
وَٱلْمُسْتَضْعَفِينَ114:127:25والمستضعفين
فَلْيَسْتَجِيبُوا۟102:186:12فليستجيبوا
ٱلْمُسْتَضْعَفِينَ104:98:2المستضعفين
وَيَسْتَغْفِرُونَهُۥ105:74:5ويستغفرونه
وَٱسْتَرْهَبُوهُمْ107:116:8واسترهبوهم
فَلْيَسْتَجِيبُوا۟107:194:10فليستجيبوا
فَسَيُنفِقُونَهَا108:36:10فسينفقونها
وَبِٱلْمُؤْمِنِينَ108:62:12وبالمؤمنين
ٱقْتَرَفْتُمُوهَا109:24:10اقترفتموها
أَنُلْزِمُكُمُوهَا1011:28:16انلزمكموها
وَيَسْتَعْجِلُونَكَ1013:6:1ويستعجلونك
فَأَسْقَيْنَٰكُمُوهُ1015:22:8فاسقينكموه
ٱلْمُسْتَقْدِمِينَ1015:24:3المستقدمين
ٱلْمُسْتَهْزِءِينَ1015:95:3المستهزءين
ٱلْمُسْتَكْبِرِينَ1016:23:13المستكبرين
ٱعْتَزَلْتُمُوهُمْ1018:16:2اعتزلتموهم
وَيَسْتَعْجِلُونَكَ1022:47:1ويستعجلونك
فَٱتَّخَذْتُمُوهُمْ1023:110:1فاتخذتموهم

The 25 most frequent words

How this is counted: normalised forms, so the same word with different case endings counts together.

WordCountShare of wordsAs written once
من2,7633.57 percentمِن
الله2,1532.78 percentٱللَّهِ
ان1,6042.07 percentإِنَّ
في1,1851.53 percentفِى
ما1,0101.30 percentمَا
لا8121.05 percentلَا
الذين8111.05 percentٱلَّذِينَ
الا7630.99 percentإِلَّآ
علي6860.89 percentعَلَىٰ
ولا6580.85 percentوَلَا
وما6460.83 percentوَمَآ
الي4300.56 percentإِلَىٰ
قال4120.53 percentقَالَ
لهم3730.48 percentلَهُمْ
ومن3420.44 percentوَمِنَ
ثم3400.44 percentثُمَّ
لكم3370.44 percentلَكُمُ
كان3330.43 percentكَانَ
به3270.42 percentبِهِۦ
وان3220.42 percentوَإِن
قل2980.38 percentقُلْ
بما2960.38 percentبِمَآ
الارض2870.37 percentٱلْأَرْضِ
او2800.36 percentأَوْ
ذلك2800.36 percentذَٰلِكَ

The commonest word is من with 2,763 occurrences, 3.57 percent of all words.

Two laws of vocabulary

How this is counted: Zipf's law regresses log frequency on log rank across the 14,710 distinct forms; Heaps' law regresses log distinct forms on log tokens as the text is read, both by ordinary least squares written out by hand.

LawExponentFit
Zipf, log frequency against log rank0.931R2 = 0.959
Heaps, log distinct against log tokens0.750R2 = 0.999

The Zipf exponent is 0.931: doubling a word's rank multiplies its frequency by two to the power minus 0.931, a little less than halving it, which is close to the plain inverse relation Zipf described. The Heaps exponent is 0.750: the vocabulary grows with the length of the text but more slowly than the text itself, which is why the book reaches only 14,710 distinct forms in 77,429 words.

4. The verses

How this is counted: the written letters of every verse, summed over its words; percentiles use the nearest rank of the 6,236 verse values.

MeasureLettersReference
Shortest verse220:1
Median verse43
Mean verse52.22
90th percentile101
99th percentile194
Longest verse5472:282

Half the verses have 43 letters or fewer and half have more. One verse in ten has more than 101 letters, one in a hundred has more than 194, and the longest verse, 2:282, has 547. The shortest verses have 2 letters.

The five longest and five shortest verses

How this is counted: verse length in written letters, with the verse's own word count beside it.

The five longestLettersWordsOpens with
2:282547128يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوٓا۟ إِذَا
24:3134478وَقُل لِّلْمُؤْمِنَٰتِ يَغْضُضْنَ مِنْ
73:2033078إِنَّ رَبَّكَ يَعْلَمُ أَنَّكَ
24:6130776لَّيْسَ عَلَى ٱلْأَعْمَىٰ حَرَجٌ
2:10230374وَٱتَّبَعُوا۟ مَا تَتْلُوا۟ ٱلشَّيَٰطِينُ
The five shortestLettersWordsOpens with
20:121طه
36:121يسٓ
40:121حمٓ
41:121حمٓ
42:121حمٓ

Verse lengths in 12 buckets

How this is counted: 12 equal-width buckets from the shortest verse to the longest, so the buckets are not centred on round numbers.

LettersVersesPercent
2 to 473,47955.79
48 to 931,98931.90
94 to 1395719.16
140 to 1851231.97
186 to 231430.69
232 to 277170.27
278 to 323110.18
324 to 36920.03
370 to 41500.00
416 to 46100.00
462 to 50700.00
508 to 55310.02

5. The surahs

How this is counted: each surah's own words and letters in mushaf order; the place of revelation comes from the corpus metadata, which marks each surah Meccan or Medinan.

All 114 surahs are in analysis.json under surahs.rows. The table below shows the ten longest and the ten shortest by written letters.

The ten longest surahsPlaceVersesWordsLetters
2. Al-BaqaraMedina2866,11625,864
4. An-Nisaa'Medina1763,74716,063
3. Aal-ImranMedina2003,48114,738
7. Al-A'rafMecca2063,32014,213
6. Al-An'amMecca1653,05012,554
5. Al-Ma'idaMedina1202,80412,015
9. Al-TawbaMedina1292,49810,940
11. HudMecca1231,9177,714
16. An-NahlMecca1281,8447,709
10. YunusMecca1091,8337,506
The ten shortest surahsPlaceVersesWordsLetters
108. Al-KautharMecca31042
112. Al-IkhlasMecca41547
113. Al-FalaqMecca52371
103. Al-AsrMecca31471
106. QuraishMecca41775
114. An-NasMecca62080
110. An-NasrMedina31980
111. Al-MasadMecca52381
109. Al-KafirunMecca62695
105. Al-FilMecca52396

The longest surah is 2, Al-Baqara, with 25,864 letters and 6,116 words. The shortest is 108, Al-Kauthar, with 42 letters and 10 words. Letters are spread very unevenly: the longest surah alone is 7.94 percent of the book.

Mecca and Medina

How this is counted: the surahs of each place pooled together, so these are group totals and not averages of surah averages; rates are per thousand words of the group.

MeasureMeccaMedina
Surahs8628
Verses4,6131,623
Words47,43929,990
Letters197,146128,519
Mean letters per verse42.7479.19
Mean words per verse10.2818.48
Mean letters per word4.164.29
LetterMecca per thousand wordsMedina per thousand wordsMedina / Mecca
alif712.01731.481.03
ba149.50146.680.98
ta130.10144.981.11
tha18.5917.740.95
jim46.2937.380.81
ha53.6353.220.99
kha32.5731.740.97
dal77.9176.530.98
dhal65.8360.320.92
ra166.74149.820.90
zay21.1219.910.94
sin79.6074.490.94
shin29.0724.840.85
sad26.7526.841.00
dad21.2322.641.07
ta'16.2916.671.02
za'11.4310.370.91
ayn122.54119.770.98
ghayn15.6216.011.02
fa110.16117.411.07
qaf95.8982.860.86
kaf133.46138.911.04
lam466.70532.241.14
mim338.29356.351.05
nun358.25342.550.96
ha'209.87241.351.15
waw315.94356.391.13
ya330.40335.911.02

Restricting to letters with at least 100 occurrences in each group so that small numbers do not make a large ratio, the largest Medina-over-Mecca rate is ha': 241.35 per thousand words in Medina against 209.87 in Mecca, a ratio of 1.15. The largest Mecca-over-Medina rate is jim: 46.29 per thousand words in Mecca against 37.38 in Medina, a ratio of 1.24.

6. The opening letters

How this is counted: a surah opens with letters when its first word carries the corpus opening feature; the letters are taken as written, grouped into combinations, and each letter is counted inside the surahs that open with it.

29 surahs open with letters, in 30 opening words, because surah 42 opens with two words. They use 14 combinations and 14 letters.

CombinationSurahs
الم2, 3, 29, 30, 31, 32
حم40, 41, 43, 44, 45, 46
الر10, 11, 12, 14, 15
طسم26, 28
المر13
المص7
حمعسق42
ص38
طس27
طه20
ق50
كهيعص19
ن68
يس36

Is each opening letter unusually common in its own surahs?

How this is counted: z = (observed - expected) / sqrt(n p (1 - p)), where n is the letters of the surahs that open with that letter, p its share of the whole book, and the two-sided probability comes from erfc(|z| / sqrt 2).

LetterSurahsObservedExpectedObserved / expectedzp
ha'2424485.200.874-2.8550.004307
nun1131105.751.2392.5650.010318
ta'410784.001.2742.5150.011918
lam1311,74711,511.391.0202.3370.019440
mim178,6088,420.341.0222.1350.032794
sad3153134.281.1391.6210.105094
ya2578543.641.0631.5360.124589
sin5387417.880.926-1.5250.127267
alif1316,96916,832.331.0081.1570.247258
kaf1137124.451.1011.1440.252793
qaf2114107.071.0650.6780.498077
ha7278273.251.0170.2890.772625

The largest deviation in either direction is ha' in its 2 surahs: 424 letters against 485.20 expected, a ratio of 0.874, z = -2.855, p = 0.004307. But 14 letters were tested, so at the 0.05 level about 0.7 large values are expected from chance alone; 5 tests fall under 0.05 and 0 survive the Bonferroni threshold of 0.003571. The honest reading is that some of these values are real and some are the luck of a small sample, and this table alone cannot say which.

There is a second limit: the surahs that open with a letter also tend to be long or short, and the letters of Arabic are not evenly spread through the book, so a ratio above 1 is not proof of design. The test says the letter is common there, not why.

7. Entropy

How this is counted: Shannon entropy of the 28 letter stream, in bits per letter, -sum p log2 p over the folded letter counts; total bits are the letters times that figure. The ink stream adds every vowel mark, small sign and pause mark as a symbol, and spaces are not characters.

MeasureValue
Bits per letter, whole book4.0669
Total bits1,324,450.6
Bits per verse212.39

With 28 letters, an even spread would give 4.807 bits per letter, the largest possible. The book gives 4.0669, so the text is skewed towards some letters but far from using one. The whole book is 1,324,450.6 bits, about 212.39 bits for each verse on average.

The surahs at the two ends

How this is counted: entropy of each surah's own letter counts, with the surah's length beside it, because a short surah has fewer chances to look varied.

Highest entropyLettersBits per letter
54. Al-Qamar1,4604.1979
100. Al-Adiyat1644.1936
50. Qaf1,4884.1728
80. Abasa5464.1681
18. Al-Kahf6,4804.1428
Lowest entropyLettersBits per letter
112. Al-Ikhlas473.2886
103. Al-Asr713.4880
109. Al-Kafirun953.5030
114. An-Nas803.5751
108. Al-Kauthar423.6567

The highest surah is 54, Al-Qamar, at 4.1979 bits per letter; the lowest is 112, Al-Ikhlas, at 3.2886. The correlation between a surah's entropy and the logarithm of its length is 0.561 across the 114 surahs, so longer surahs tend to be more even; the short ones still include both the most uneven surahs and one near the top of the list.

Mecca, Medina and the ink

How this is counted: the same letter entropy pooled over each group, and then over every character as written, letters and marks together.

StreamBits per symbol
Meccan letters4.0831
Medinan letters4.0394
Every character as written4.6248

The two groups differ by 0.0437 bits per letter, which is small against the book's 4.0669. The ink stream is a different picture: 297,972 of its 623,637 characters are not letters, so 47.78 percent of what is written is vowel marks and small signs. Those marks raise the alphabet to 60 symbols and lift entropy to 4.6248 bits per character, but they are added by the reader's notation, not by the consonantal text.

8. Roots and parts of speech

How this is counted: a root is the root the corpus records on the word's stem; words without a root, such as pronouns and particles, are left out of the root count. Lemmas are compared after the same normalisation as words. The part of speech is the class of the same stem.

The corpus records 1,651 distinct roots and 4,267 distinct lemmas over 77,429 words.

RootWordsShareExample lemmas
أله2,8513.68 percentالله, اله
قول1,7222.22 percentقال, قول
كون1,3901.80 percentكان, مكان
ربب9801.27 percentرب, ربانين
أمن8791.14 percentامن, مؤمن
علم8541.10 percentعلم, عليم
قوم6600.85 percentقوم, قيامة
أيي5970.77 percentاية, اي
أتي5490.71 percentاتي, ايتاء
كفر5250.68 percentكفر, كافر
بين5230.68 percentبين, مبين
شيأ5190.67 percentشيء, شاء
رسل5130.66 percentرسول, ارسل
يوم4750.61 percentيوم
أرض4610.60 percentارض
سمو3810.49 percentسماء, اسم
كلل3770.49 percentكل, كلما
عذب3730.48 percentعذاب, عذب
عمل3600.46 percentعمل, عامل
جعل3460.45 percentجعل, جاعل
رحم3390.44 percentرحيم, رحمة
أنس3380.44 percentناس, انسان
رأي3280.42 percentراي, اري
كتب3190.41 percentكتاب, كتب
هدي3160.41 percentهدي, اهتدي

The commonest root is أله with 2,851 words, 3.68 percent of the text. The next roots are قول and كون, and the list stays close to the vocabulary of speech, knowledge and belief.

Part of speechCountPercent
noun39,13450.54
verb19,35324.99
particle18,94224.46

Nouns are the largest class, followed by verbs and particles. The morphology file used here writes one of these three word classes in its part-of-speech column, so the finer corpus labels (proper noun, adjective) are not split out in this table.

9. Where the letters sit

How this is counted: each surah's letters as a share of the whole book, cumulated in mushaf order, and the mean letters per word of each surah.

After surahLetters so farShare of the book
11390.04 percent
226,0037.98 percent
10119,37436.66 percent
30221,93168.15 percent
60299,02391.82 percent
90322,29898.97 percent
114325,665100.00 percent

The book is front loaded: surah 1 is 0.04 percent of the letters, and the first 30 surahs are 68.15 percent. The remaining 84 surahs share the rest, so a reader who stops at surah 30 has read 68.15 percent of the text.

Mean letters per word runs from 3.09 in surah 113, Al-Falaq, to 5.07 in surah 103, Al-Asr, against 4.21 for the whole book. The difference is small: the surahs differ far more in length than in the length of their words.

What this does not claim

How this is counted: nothing here is a theological claim. It is a count of a particular written edition of the text, and another edition or another counting rule gives another number.

The letter totals depend on the spelling. The corpus writes the Uthmani text with the Basmala counted once, and a different edition can add or drop a letter. The seven rule lines above show how far the same text can move: 325,665 letters is one answer, 348,343 is another.

The statistical tables describe the text, not its author: a large z score is a large deviation from an even spread of letters, and the opening-letter section says plainly that many tests mean some large values are chance. The entropy figures measure how spread out the letters are, which is a property of any written text.

Every figure comes from data/quran-morphology.txt and data/surah_meta.json; nothing is estimated or filled in by hand. scripts/analysis.py stops if the pinned totals do not match, and the report is regenerated from the same run as the JSON.