4

I'm looking for some statistics on typical Harry Potter chapter word count.

A nicely graphed distribution would be nice, but I'll accept an answer that has something equivalent to the average, standard deviation, and quartiles.

2
  • I'm mainly concerned with the series as whole, not each book separately. (But you can include that too if you want.)
    – ibid
    Commented Jan 21, 2019 at 12:22
  • 1
    You may want to specify an edition as the word counts may vary, unless that's insignificant enough that you don't care about it.
    – Alex
    Commented Jan 21, 2019 at 21:15

2 Answers 2

12

To calculate this answer I used the text from the official Pottermore ePubs (each chapter is saved as a seperate html file). I ran the htmls through a utility I found to convert them to txt, and then used the unix wc -w command to generate a list of chapter word counts. (Feel free to play around with the data on your own.)

I plugged this into excel and did a few calculations.

Note: All the below data uses the UK text. The American text tends to be a bit shorter.

  • The longest chapter is Book 5, Chapter 13 - "Detention with Dolores" at 9,001 words.
  • Not counting the epilogue, the shortest chapter is Book 3, Chapter 20 - "The Dementors’ Kiss" at 2,018 words.
  • The average chapter length is 5,547 words.
  • The standard deviation is 1,525 words.
  • 50% of the chapters are between 4,464 and 6,613 words. (i.e. the first and third quartile)

Here is how the distribution looks with a bin width of 500 words.

enter image description here

However it's worth noting that some factors have a significant effect on chapter length, such as the length of the book and the position in the book.

enter image description here enter image description here

4
  • 1
    Very interesting indeed. Could you draw some more general conclusions? For example about the author, writing time, profitability, etc
    – Valorum
    Commented Jan 23, 2019 at 8:35
  • @Valorum - My goal here was literally wanting to know the average chapter length (ideally with some range to it, not just a single number). Conclusions are fun, but I think it would be overstepping my bounds here. Though what my data shows is that the bigger books not only have more chapters but longer length ones, and they tend to be longest towards the middle of the book.
    – ibid
    Commented Jan 23, 2019 at 10:32
  • You've not gonna believe this, but I was up to Prisoner of Azkaban doing individual word counts of all of the Pottermore ePubs myself! Can't remember exactly how I got Excel to calculate my standard deviation but it wasn't just using a built in function, I had to mess around with a few functions together to get the weighted one. Yours is about double mine, so I wonder if I factored a half into it accidentally.
    – Ongo
    Commented Jan 23, 2019 at 15:59
  • @Ongo - But how would you calculate standard deviation without even knowing all the chapter lengths? Unless I'm really misunderstanding how statistics works that seems completely impossible given your data.
    – ibid
    Commented Jan 23, 2019 at 21:02
6

For the series as a whole, we can tabulate the number of chapters and length of the books, and find the weighted average of the length of a chapter (read this to see what a weighted average is and why you can't just take an "average of averages").

HP Chapter Stats An Excel spreadsheet of my own devising. The number bold and in blue is the weighted average it calculated.

So the weighted average chapter length across the whole series is 5542 words (rounded to the nearest whole word). If I had a source to determine the word length per chapter of each book, we could find a weighted average per book and then take a weighted average of that, but I don't imagine that'd stray too far from the 5542 calculated here.

Standard deviation is a little trickier, as with all of the different books to consider a weighted standard deviation would be more appropriate. After much toiling in Excel with the equation, I finally got a result of 747 (rounded to the nearest whole word, 746.5898815 exactly).

With these values, we can get a lovely normal distribution.

Chapter Normally Distributed
Using the weighted mean and weighted standard deviation, the chapter length can be normally distributed (see link at bottom to do this yourself). In this image, we can see that the probability of a chapter having more than 6000 words is about 27%.

Not sure how useful they'll be for you, but anyway the quartiles are as follows (nearest whole word):
Q1 = 5038
Q2 = 5542
Q3 = 6045

Sources for answer:
Word length of chapters: this website
Number of chapters per book: this other website
Normal Distributor (insert values yourself): this nifty website

14
  • 3
    @Valorum Actually OotP is the longest book, and also has the longest average chapter length. DH is 2nd longest, while it has 3rd longest average chapter length. The table is just in book order rather than any numerical order.
    – Ongo
    Commented Jan 22, 2019 at 0:19
  • 2
    -1 "With these values, we can make an unfounded assumption of a lovely normal distribution."
    – Lexible
    Commented Jan 22, 2019 at 0:32
  • 2
    I calculated the word count per chapter of the first book and most of the second book. I then realized the PDF for the second book was missing some sentences so the data may not have been reliable so I stopped. Here is the graph of the first book.
    – Alex
    Commented Jan 22, 2019 at 1:52
  • 2
    Ongo: all data have sample means and variances. That says nothing about the the shape of their distribution. The OP's question would be better served by a well-organized bar chart (e.g., a bar for each chapter, and chapters grouped differently in each chart: one for grouped by books, one for grouped by topics, one for grouped by starting, closing, middling, etc.). Alternately a histogram of word counts for each book, and one for the whole corpus.
    – Lexible
    Commented Jan 22, 2019 at 5:43
  • 1
    @Ongo I'm very skeptical that the chapter lengths in the book follow a normal distribution; I would suspect the lengths follow a near-uniform distribution instead, meaning the sigma function you're using is probably not meaningful.
    – KutuluMike
    Commented Jan 23, 2019 at 21:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.