Counting the characters

in the complete works of Shakespeare and

Moby Dick and

in some of Mark Twain's works

The Grand Totals for Mark Twain (i.e. adding up all the numbers for all the Mark Twain books I counted) can be found at the very bottom of this page.

Depending on how I edited things, sometimes I counted the characters in the author's name and story title, along with words like "chapter", "preface", etc. And if the work was a collection of short stories, I counted the characters in the names of the individual stories.

The original source of these files was the Project Gutenberg website.

First the results for "Moby Dick":

---------------------------------------------------
---------------------------------------------------

 "Moby Dick" by Herman Melville

Total number of characters = 931794

E   occurs       114462 many times       with freq 0.122840
T   occurs       86159 many times        with freq 0.092466
A   occurs       76146 many times        with freq 0.081720
O   occurs       67815 many times        with freq 0.072779
I   occurs       64273 many times        with freq 0.068978
N   occurs       64243 many times        with freq 0.068945
S   occurs       62846 many times        with freq 0.067446
H   occurs       61469 many times        with freq 0.065968
R   occurs       50912 many times        with freq 0.054639
L   occurs       41969 many times        with freq 0.045041
D   occurs       37454 many times        with freq 0.040196
U   occurs       26037 many times        with freq 0.027943
M   occurs       22817 many times        with freq 0.024487
C   occurs       22079 many times        with freq 0.023695
W   occurs       21659 many times        with freq 0.023244
F   occurs       20401 many times        with freq 0.021894
G   occurs       20385 many times        with freq 0.021877
P   occurs       16874 many times        with freq 0.018109
B   occurs       16530 many times        with freq 0.017740
Y   occurs       16512 many times        with freq 0.017721
V   occurs       8457 many times         with freq 0.009076
K   occurs       7903 many times         with freq 0.008481
Q   occurs       1512 many times         with freq 0.001623
X   occurs       1204 many times         with freq 0.001292
J   occurs       1046 many times         with freq 0.001123
Z   occurs       630 many times          with freq 0.000676

Next, we have the results for the complete works of Shakespeare:

---------------------------------------------------
---------------------------------------------------

 The Complete Works of Shakespeare

Total number of characters = 3782503

E   occurs       446147 many times       with freq 0.117950
T   occurs       328987 many times       with freq 0.086976
O   occurs       313890 many times       with freq 0.082985
A   occurs       288594 many times       with freq 0.076297
I   occurs       253329 many times       with freq 0.066974
S   occurs       248518 many times       with freq 0.065702
N   occurs       242751 many times       with freq 0.064177
R   occurs       237250 many times       with freq 0.062723
H   occurs       236584 many times       with freq 0.062547
L   occurs       169657 many times       with freq 0.044853
D   occurs       149127 many times       with freq 0.039425
U   occurs       128697 many times       with freq 0.034024
M   occurs       111219 many times       with freq 0.029404
Y   occurs       94173 many times        with freq 0.024897
W   occurs       89286 many times        with freq 0.023605
C   occurs       87839 many times        with freq 0.023222
F   occurs       80333 many times        with freq 0.021238
G   occurs       68054 many times        with freq 0.017992
B   occurs       61788 many times        with freq 0.016335
P   occurs       58249 many times        with freq 0.015400
V   occurs       37497 many times        with freq 0.009913
K   occurs       35362 many times        with freq 0.009349
X   occurs       5217 many times         with freq 0.001379
J   occurs       4752 many times         with freq 0.001256
Q   occurs       3577 many times         with freq 0.000946
Z   occurs       1626 many times         with freq 0.000430

And now for Mark Twain:

---------------------------------------------------
---------------------------------------------------

 THE $30,000 BEQUEST
 and Other Stories

 by
 Mark Twain
 (Samuel L. Clemens)

Total number of characters = 406384

E   occurs       49824 many times        with freq 0.122603
T   occurs       38446 many times        with freq 0.094605
A   occurs       33418 many times        with freq 0.082233
O   occurs       30695 many times        with freq 0.075532
I   occurs       29385 many times        with freq 0.072308
N   occurs       28947 many times        with freq 0.071231
S   occurs       25129 many times        with freq 0.061836
H   occurs       24991 many times        with freq 0.061496
R   occurs       22534 many times        with freq 0.055450
D   occurs       18158 many times        with freq 0.044682
L   occurs       16853 many times        with freq 0.041471
U   occurs       11986 many times        with freq 0.029494
M   occurs       10078 many times        with freq 0.024799
W   occurs       9401 many times         with freq 0.023133
C   occurs       9392 many times         with freq 0.023111
F   occurs       8997 many times         with freq 0.022139
Y   occurs       8555 many times         with freq 0.021052
G   occurs       8001 many times         with freq 0.019688
P   occurs       6721 many times         with freq 0.016539
B   occurs       6099 many times         with freq 0.015008
V   occurs       3892 many times         with freq 0.009577
K   occurs       3146 many times         with freq 0.007741
X   occurs       539 many times          with freq 0.001326
J   occurs       430 many times          with freq 0.001058
Z   occurs       399 many times          with freq 0.000982
Q   occurs       368 many times          with freq 0.000906

---------------------------------------------------
---------------------------------------------------

A Horse's Tale

Total number of characters = 69947

E   occurs       8321 many times         with freq 0.118961
T   occurs       6331 many times         with freq 0.090511
A   occurs       5983 many times         with freq 0.085536
O   occurs       5116 many times         with freq 0.073141
N   occurs       5029 many times         with freq 0.071897
I   occurs       4802 many times         with freq 0.068652
S   occurs       4744 many times         with freq 0.067823
H   occurs       4527 many times         with freq 0.064720
R   occurs       3874 many times         with freq 0.055385
D   occurs       3272 many times         with freq 0.046778
L   occurs       3032 many times         with freq 0.043347
U   occurs       2060 many times         with freq 0.029451
M   occurs       1666 many times         with freq 0.023818
Y   occurs       1648 many times         with freq 0.023561
W   occurs       1520 many times         with freq 0.021731
C   occurs       1504 many times         with freq 0.021502
G   occurs       1481 many times         with freq 0.021173
F   occurs       1333 many times         with freq 0.019057
B   occurs       1166 many times         with freq 0.016670
P   occurs       1017 many times         with freq 0.014540
K   occurs       667 many times          with freq 0.009536
V   occurs       615 many times          with freq 0.008792
X   occurs       92 many times   with freq 0.001315
J   occurs       69 many times   with freq 0.000986
Q   occurs       47 many times   with freq 0.000672
Z   occurs       31 many times   with freq 0.000443

---------------------------------------------------
---------------------------------------------------

A TRAMP ABROAD

Total number of characters = 667373

E   occurs       84279 many times        with freq 0.126285
T   occurs       62879 many times        with freq 0.094219
A   occurs       54835 many times        with freq 0.082165
O   occurs       49611 many times        with freq 0.074338
N   occurs       46983 many times        with freq 0.070400
I   occurs       45389 many times        with freq 0.068011
S   occurs       41858 many times        with freq 0.062721
H   occurs       39942 many times        with freq 0.059850
R   occurs       38683 many times        with freq 0.057963
D   occurs       30304 many times        with freq 0.045408
L   occurs       26230 many times        with freq 0.039303
U   occurs       19595 many times        with freq 0.029361
C   occurs       16567 many times        with freq 0.024824
W   occurs       16125 many times        with freq 0.024162
M   occurs       15590 many times        with freq 0.023360
F   occurs       14971 many times        with freq 0.022433
G   occurs       14886 many times        with freq 0.022305
Y   occurs       12140 many times        with freq 0.018191
P   occurs       11996 many times        with freq 0.017975
B   occurs       10367 many times        with freq 0.015534
V   occurs       6255 many times         with freq 0.009373
K   occurs       4997 many times         with freq 0.007488
X   occurs       1083 many times         with freq 0.001623
J   occurs       757 many times          with freq 0.001134
Q   occurs       575 many times          with freq 0.000862
Z   occurs       476 many times          with freq 0.000713

---------------------------------------------------
---------------------------------------------------


         THE ADVENTURES OF HUCKLEBERRY FINN
               (Tom Sawyer's Comrade)
                         BY
                     MARK TWAIN
                (Samuel L. Clemens)


Total number of characters = 422225

E   occurs       47229 many times        with freq 0.111857
T   occurs       40848 many times        with freq 0.096745
A   occurs       35565 many times        with freq 0.084232
O   occurs       35354 many times        with freq 0.083733
N   occurs       31760 many times        with freq 0.075221
I   occurs       27081 many times        with freq 0.064139
H   occurs       25809 many times        with freq 0.061126
S   occurs       24427 many times        with freq 0.057853
D   occurs       23206 many times        with freq 0.054961
R   occurs       19066 many times        with freq 0.045156
L   occurs       16952 many times        with freq 0.040149
U   occurs       13425 many times        with freq 0.031796
W   occurs       13072 many times        with freq 0.030960
G   occurs       10322 many times        with freq 0.024447
Y   occurs       9977 many times         with freq 0.023630
M   occurs       9969 many times         with freq 0.023611
C   occurs       7706 many times         with freq 0.018251
F   occurs       7517 many times         with freq 0.017803
B   occurs       7156 many times         with freq 0.016948
K   occurs       5532 many times         with freq 0.013102
P   occurs       5516 many times         with freq 0.013064
V   occurs       2824 many times         with freq 0.006688
J   occurs       1123 many times         with freq 0.002660
X   occurs       425 many times          with freq 0.001007
Z   occurs       183 many times          with freq 0.000433
Q   occurs       181 many times          with freq 0.000429


---------------------------------------------------
---------------------------------------------------

            THE ADVENTURES OF TOM SAWYER
                         BY
                     MARK TWAIN
             (Samuel Langhorne Clemens)

Total number of characters = 296614

E   occurs       35698 many times        with freq 0.120352
T   occurs       28898 many times        with freq 0.097426
A   occurs       23529 many times        with freq 0.079325
O   occurs       23265 many times        with freq 0.078435
N   occurs       20200 many times        with freq 0.068102
H   occurs       19608 many times        with freq 0.066106
I   occurs       18849 many times        with freq 0.063547
S   occurs       17761 many times        with freq 0.059879
R   occurs       15298 many times        with freq 0.051575
D   occurs       14879 many times        with freq 0.050163
L   occurs       12163 many times        with freq 0.041006
U   occurs       8959 many times         with freq 0.030204
W   occurs       8059 many times         with freq 0.027170
M   occurs       7159 many times         with freq 0.024136
Y   occurs       6746 many times         with freq 0.022743
G   occurs       6615 many times         with freq 0.022302
C   occurs       6517 many times         with freq 0.021971
F   occurs       6027 many times         with freq 0.020319
B   occurs       4969 many times         with freq 0.016752
P   occurs       4692 many times         with freq 0.015819
K   occurs       3030 many times         with freq 0.010215
V   occurs       2374 many times         with freq 0.008004
J   occurs       639 many times          with freq 0.002154
X   occurs       351 many times          with freq 0.001183
Q   occurs       178 many times          with freq 0.000600
Z   occurs       151 many times          with freq 0.000509

---------------------------------------------------
---------------------------------------------------

Extract from Captain Stormfield's Visit to Heaven

Total number of characters = 60985

E   occurs       7159 many times         with freq 0.117390
T   occurs       5585 many times         with freq 0.091580
A   occurs       5359 many times         with freq 0.087874
O   occurs       4804 many times         with freq 0.078773
N   occurs       4496 many times         with freq 0.073723
I   occurs       4040 many times         with freq 0.066246
S   occurs       3770 many times         with freq 0.061818
H   occurs       3629 many times         with freq 0.059506
R   occurs       3089 many times         with freq 0.050652
D   occurs       2761 many times         with freq 0.045273
L   occurs       2535 many times         with freq 0.041568
U   occurs       1868 many times         with freq 0.030630
Y   occurs       1661 many times         with freq 0.027236
W   occurs       1538 many times         with freq 0.025219
M   occurs       1431 many times         with freq 0.023465
G   occurs       1431 many times         with freq 0.023465
C   occurs       1240 many times         with freq 0.020333
F   occurs       1181 many times         with freq 0.019365
B   occurs       1004 many times         with freq 0.016463
P   occurs       953 many times          with freq 0.015627
K   occurs       669 many times          with freq 0.010970
V   occurs       527 many times          with freq 0.008641
J   occurs       114 many times          with freq 0.001869
X   occurs       67 many times   with freq 0.001099
Z   occurs       38 many times   with freq 0.000623
Q   occurs       36 many times   with freq 0.000590

---------------------------------------------------
---------------------------------------------------


                         LIFE ON THE MISSISSIPPI
                                    
                              BY MARK TWAIN

Total number of characters = 623667

E   occurs       76670 many times        with freq 0.122934
T   occurs       59797 many times        with freq 0.095880
A   occurs       51760 many times        with freq 0.082993
O   occurs       47226 many times        with freq 0.075723
N   occurs       44165 many times        with freq 0.070815
I   occurs       42864 many times        with freq 0.068729
S   occurs       39089 many times        with freq 0.062676
H   occurs       36978 many times        with freq 0.059291
R   occurs       35539 many times        with freq 0.056984
D   occurs       27715 many times        with freq 0.044439
L   occurs       24966 many times        with freq 0.040031
U   occurs       17401 many times        with freq 0.027901
W   occurs       15568 many times        with freq 0.024962
M   occurs       14978 many times        with freq 0.024016
C   occurs       14914 many times        with freq 0.023913
F   occurs       14281 many times        with freq 0.022898
G   occurs       12907 many times        with freq 0.020695
Y   occurs       12019 many times        with freq 0.019272
P   occurs       11129 many times        with freq 0.017844
B   occurs       10390 many times        with freq 0.016660
V   occurs       5916 many times         with freq 0.009486
K   occurs       4798 many times         with freq 0.007693
X   occurs       992 many times          with freq 0.001591
J   occurs       726 many times          with freq 0.001164
Q   occurs       557 many times          with freq 0.000893
Z   occurs       322 many times          with freq 0.000516

---------------------------------------------------
---------------------------------------------------

The Tragedy of Pudd'nhead Wilson

by Mark Twain


Total number of characters = 224786

E   occurs       27159 many times        with freq 0.120822
T   occurs       20617 many times        with freq 0.091718
A   occurs       18144 many times        with freq 0.080717
O   occurs       17491 many times        with freq 0.077812
N   occurs       16310 many times        with freq 0.072558
I   occurs       15274 many times        with freq 0.067949
S   occurs       14203 many times        with freq 0.063185
H   occurs       14174 many times        with freq 0.063056
R   occurs       11860 many times        with freq 0.052761
D   occurs       11497 many times        with freq 0.051146
L   occurs       9160 many times         with freq 0.040750
U   occurs       6571 many times         with freq 0.029232
W   occurs       6057 many times         with freq 0.026946
M   occurs       5339 many times         with freq 0.023751
C   occurs       5124 many times         with freq 0.022795
G   occurs       4813 many times         with freq 0.021411
F   occurs       4758 many times         with freq 0.021167
Y   occurs       4537 many times         with freq 0.020184
P   occurs       3676 many times         with freq 0.016353
B   occurs       3272 many times         with freq 0.014556
V   occurs       1856 many times         with freq 0.008257
K   occurs       1831 many times         with freq 0.008146
X   occurs       388 many times          with freq 0.001726
J   occurs       334 many times          with freq 0.001486
Q   occurs       171 many times          with freq 0.000761
Z   occurs       170 many times          with freq 0.000756

---------------------------------------------------
---------------------------------------------------

TOM SAWYER ABROAD


Total number of characters = 130247

E   occurs       14798 many times        with freq 0.113615
T   occurs       12952 many times        with freq 0.099442
A   occurs       11597 many times        with freq 0.089039
O   occurs       10499 many times        with freq 0.080608
N   occurs       9992 many times         with freq 0.076716
I   occurs       8187 many times         with freq 0.062857
S   occurs       8099 many times         with freq 0.062182
H   occurs       7699 many times         with freq 0.059111
D   occurs       7180 many times         with freq 0.055126
R   occurs       5807 many times         with freq 0.044585
L   occurs       5060 many times         with freq 0.038849
U   occurs       3970 many times         with freq 0.030481
W   occurs       3928 many times         with freq 0.030158
M   occurs       3175 many times         with freq 0.024377
G   occurs       2936 many times         with freq 0.022542
Y   occurs       2791 many times         with freq 0.021429
C   occurs       2464 many times         with freq 0.018918
F   occurs       2200 many times         with freq 0.016891
B   occurs       1998 many times         with freq 0.015340
P   occurs       1816 many times         with freq 0.013943
K   occurs       1574 many times         with freq 0.012085
V   occurs       900 many times          with freq 0.006910
J   occurs       390 many times          with freq 0.002994
X   occurs       108 many times          with freq 0.000829
Z   occurs       75 many times   with freq 0.000576
Q   occurs       52 many times   with freq 0.000399

---------------------------------------------------
---------------------------------------------------

TOM SAWYER, DETECTIVE by MARK TWAIN

Total number of characters = 90997

E   occurs       10242 many times        with freq 0.112553
T   occurs       8641 many times         with freq 0.094959
A   occurs       7781 many times         with freq 0.085508
O   occurs       7187 many times         with freq 0.078981
N   occurs       6725 many times         with freq 0.073904
H   occurs       5751 many times         with freq 0.063200
I   occurs       5636 many times         with freq 0.061936
S   occurs       5536 many times         with freq 0.060837
D   occurs       5183 many times         with freq 0.056958
R   occurs       4049 many times         with freq 0.044496
L   occurs       3714 many times         with freq 0.040815
U   occurs       3091 many times         with freq 0.033968
W   occurs       2814 many times         with freq 0.030924
Y   occurs       2201 many times         with freq 0.024188
M   occurs       2179 many times         with freq 0.023946
G   occurs       2082 many times         with freq 0.022880
B   occurs       1638 many times         with freq 0.018001
C   occurs       1627 many times         with freq 0.017880
F   occurs       1521 many times         with freq 0.016715
P   occurs       1208 many times         with freq 0.013275
K   occurs       1129 many times         with freq 0.012407
V   occurs       615 many times          with freq 0.006758
J   occurs       283 many times          with freq 0.003110
X   occurs       89 many times   with freq 0.000978
Q   occurs       45 many times   with freq 0.000495
Z   occurs       30 many times   with freq 0.000330

---------------------------------------------------
---------------------------------------------------

 WHAT IS MAN?  AND OTHER ESSAYS OF MARK TWAIN

    (Samuel Langhorne Clemens, 1835-1910)


Total number of characters = 414196

E   occurs       50647 many times        with freq 0.122278
T   occurs       39377 many times        with freq 0.095069
A   occurs       34186 many times        with freq 0.082536
O   occurs       30840 many times        with freq 0.074458
I   occurs       30283 many times        with freq 0.073113
N   occurs       30122 many times        with freq 0.072724
S   occurs       26512 many times        with freq 0.064008
H   occurs       24805 many times        with freq 0.059887
R   occurs       23550 many times        with freq 0.056857
D   occurs       17103 many times        with freq 0.041292
L   occurs       16055 many times        with freq 0.038762
U   occurs       11639 many times        with freq 0.028100
M   occurs       11071 many times        with freq 0.026729
C   occurs       10639 many times        with freq 0.025686
W   occurs       9270 many times         with freq 0.022381
F   occurs       9112 many times         with freq 0.021999
Y   occurs       8776 many times         with freq 0.021188
G   occurs       7961 many times         with freq 0.019220
P   occurs       7403 many times         with freq 0.017873
B   occurs       6052 many times         with freq 0.014611
V   occurs       3925 many times         with freq 0.009476
K   occurs       3071 many times         with freq 0.007414
X   occurs       623 many times          with freq 0.001504
Q   occurs       468 many times          with freq 0.001130
J   occurs       467 many times          with freq 0.001127
Z   occurs       239 many times          with freq 0.000577

---------------------------------------------------
---------------------------------------------------

      A CONNECTICUT YANKEE IN KING ARTHUR'S COURT

                           by

                       MARK TWAIN
                   (Samuel L. Clemens)

Total number of characters = 493600

E   occurs       59545 many times        with freq 0.120634
T   occurs       47735 many times        with freq 0.096708
A   occurs       41841 many times        with freq 0.084767
O   occurs       36797 many times        with freq 0.074548
N   occurs       35231 many times        with freq 0.071376
I   occurs       33628 many times        with freq 0.068128
H   occurs       30719 many times        with freq 0.062235
S   occurs       30222 many times        with freq 0.061228
R   occurs       27191 many times        with freq 0.055087
D   occurs       23441 many times        with freq 0.047490
L   occurs       19591 many times        with freq 0.039690
U   occurs       14546 many times        with freq 0.029469
W   occurs       13059 many times        with freq 0.026457
M   occurs       12270 many times        with freq 0.024858
C   occurs       11041 many times        with freq 0.022368
F   occurs       10539 many times        with freq 0.021351
G   occurs       10426 many times        with freq 0.021122
Y   occurs       10200 many times        with freq 0.020665
P   occurs       7800 many times         with freq 0.015802
B   occurs       7383 many times         with freq 0.014957
K   occurs       4384 many times         with freq 0.008882
V   occurs       4194 many times         with freq 0.008497
X   occurs       641 many times          with freq 0.001299
J   occurs       482 many times          with freq 0.000976
Q   occurs       433 many times          with freq 0.000877
Z   occurs       261 many times          with freq 0.000529

---------------------------------------------------
---------------------------------------------------

GRAND TOTALS FOR MARK TWAIN-> adding up the above Twain stories

Total number of characters = 3901021

E   occurs       471571 many times       with freq 0.120884
T   occurs       372106 many times       with freq 0.095387
A   occurs       323998 many times       with freq 0.083055
O   occurs       298885 many times       with freq 0.076617
N   occurs       279960 many times       with freq 0.071766
I   occurs       265418 many times       with freq 0.068038
S   occurs       241350 many times       with freq 0.061868
H   occurs       238632 many times       with freq 0.061172
R   occurs       210540 many times       with freq 0.053970
D   occurs       184699 many times       with freq 0.047346
L   occurs       156311 many times       with freq 0.040069
U   occurs       115111 many times       with freq 0.029508
W   occurs       100411 many times       with freq 0.025740
M   occurs       94905 many times        with freq 0.024328
C   occurs       88735 many times        with freq 0.022747
G   occurs       83861 many times        with freq 0.021497
F   occurs       82437 many times        with freq 0.021132
Y   occurs       81251 many times        with freq 0.020828
P   occurs       63927 many times        with freq 0.016387
B   occurs       61494 many times        with freq 0.015764
K   occurs       34828 many times        with freq 0.008928
V   occurs       33893 many times        with freq 0.008688
J   occurs       5814 many times         with freq 0.001490
X   occurs       5398 many times         with freq 0.001384
Q   occurs       3111 many times         with freq 0.000797
Z   occurs       2375 many times         with freq 0.000609