Rank–Size Distribution — Definition, Formula & Example
The rank–size distribution is a pattern in which the second-largest item is about half the size of the largest, the third-largest about one-third, and so on. It describes many real datasets, such as city populations and word counts in a book.
Order items so that . The data follow a rank–size distribution when for some exponent . Equivalently, , so a plot of against is a straight line with slope . Zipf's law is the case . In its probability form, the chance that a randomly chosen unit belongs to the rank- item is , with close to 1. This is an empirical regularity, not a theorem. Real data fit it only approximately, and usually only across the upper ranks.
Key Formula
Where:
- = Size (population, frequency, count) of the item with rank r
- = Size of the largest item, rank 1
- = Rank, a positive integer with 1 for the largest item
- = Exponent controlling how fast sizes fall off. Zipf's law uses q = 1
Worked Example
Problem: In a long novel, the most common word appears 6,000 times. Assume Zipf's law holds (). Predict how often the 3rd- and 4th-ranked words appear. Then find the rank of a word that appears 500 times.
Step 1: Substitute and into the formula.
Step 2: Repeat with . The drop from rank 3 to rank 4 is much smaller than the drop from rank 1 to rank 2.
Step 3: Set and solve for .
Answer: The model predicts about 2,000 uses of the 3rd-ranked word and 1,500 uses of the 4th-ranked word. A word used 500 times should rank about 12th.
Visualization
Why It Matters
AP Human Geography and urban economics courses use the rank–size rule to judge whether a country's cities form a balanced hierarchy. A primate city far larger than the rule predicts signals imbalance. In linguistics and data science, Zipf's law helps you estimate vocabulary size, design text compression, and model website or search-query traffic, where a few items take most of the volume.
Common Mistakes
Mistake: Assuming each item is half the size of the one ranked just above it, so rank 3 is one-quarter of rank 1.
Correction: Under Zipf's law, sizes follow , not . Rank 3 is one-third of rank 1, and rank 4 is one-quarter. The ratios between neighboring ranks approach 1 as grows, so the tail falls off slowly.
