The rank–size rule estimates a city’s population by dividing the largest city’s population by its rank. A worked example makes the formula easy to check, but the more important question is whether the populations describe comparable places.
Divide the largest population by the rank
In the simple rank–size rule, expected population equals the largest city’s population divided by rank: P̂ᵣ = P₁/r. The second city is expected to be half as large, the third one-third as large. Actual populations can differ, and changing city boundaries can change both the rankings and the comparison.
How to use this article: Check the example inputs, follow the rank-3 calculation and multiply back to verify it.
Start with a defined set of cities
The rank–size rule compares cities within a chosen system, such as one country. Order their populations from largest to smallest: the largest has rank 1, the second-largest rank 2, and so on. In the simplest version, a city at rank r is expected to have the largest city’s population divided by r.
Keep the boundary, year and units consistent
Our inputs below are invented teaching data for four fictional cities, A–D, at one notional date. They are not census observations or a ranking of a real country. We first count each city within a municipal boundary, then change only the area definition in a second case.
For real research, choose the geographic system, minimum city size, reference year and boundary type before calculating. A list mixing one city’s municipality with another’s metropolitan region is not a consistent test.
Calculate the expected size
Expected population at rank r = largest population ÷ r.
In symbols, P̂r = P1 / r. The hat marks an expected value, not a measured count. For our largest city of 1,200,000 people, the expected second city is 600,000, the third 400,000 and the fourth 300,000.
Work through rank 3
- Largest input population: 1,200,000.
- Chosen rank: 3.
- Divide: 1,200,000 ÷ 3 = 400,000 people.
- Compare with City C’s invented input: 360,000 people.
- Difference: 360,000 − 400,000 = −40,000 people.
The arithmetic gives a benchmark. It does not say that City C must gain 40,000 residents, that its data are wrong, or that its economy is underperforming.
Compare the inputs with the curve
| Rank / city | Input population | Expected P₁ ÷ r | Deviation |
|---|---|---|---|
| 1 / A | 1,200,000 | 1,200,000 | +0.0% |
| 2 / B | 550,000 | 600,000 | -8.3% |
| 3 / C | 360,000 | 400,000 | -10.0% |
| 4 / D | 240,000 | 300,000 | -20.0% |
Percentage deviation uses the expected value as the denominator: 100 × (input − expected) ÷ expected. City C therefore has a deviation of −10%. A negative result means smaller than the benchmark; a positive result means larger.
The largest city fits exactly because its population sets the benchmark. That zero deviation is built into this calculation, not independent evidence supporting the rule. The useful comparisons begin at rank 2.

Change the boundary and rank again
The OECD’s functional urban area combines a city with its commuting zone. It is intended to capture a wider economic area, rather than simply reproducing municipal limits. The size of that added population can differ substantially between cities.
For our second hypothetical case, keep the same four city labels and date, but count wider surrounding areas: A has 1,800,000 people, B 800,000, C 1,000,000 and D 500,000. These areas are assumed distinct and non-overlapping for this exercise; no official commuting-zone delineation is claimed.
Now sort again. City C moves ahead of B, and the benchmark changes because the largest population is now 1,800,000.
| Rank / city | Input population | Expected P₁ ÷ r | Deviation |
|---|---|---|---|
| 1 / A | 1,800,000 | 1,800,000 | +0.0% |
| 2 / C | 1,000,000 | 900,000 | +11.1% |
| 3 / B | 800,000 | 600,000 | +33.3% |
| 4 / D | 500,000 | 450,000 | +11.1% |
City C is now rank 2, so its expectation is 1,800,000 ÷ 2 = 900,000, not the rank-3 expectation from the first table. Its input is about 11.1% above that benchmark. City B, now rank 3, is about 33.3% above its new expectation.
Thus the apparent fit can change without anyone moving home: the counting boundaries alone changed. Real functional areas can also merge several municipalities, so a real comparison must check whether the number and identity of the units change as well.
Check the answer independently
Multiply back before interpreting
Under this simple rule, expected population × rank must equal the largest population. In case 1, 400,000 × 3 = 1,200,000. In case 2, 600,000 × 3 = 1,800,000. This catches arithmetic errors without repeating the original division.
Also check that input populations descend as rank increases, the same unit is used throughout, and the percentage calculation uses the expected rather than the input population. Retain full precision until the final display; the tables round percentages to one decimal place.
For actual cities, an independent data check means comparing the census or statistical agency’s boundary maps and metadata, not simply finding another website with the same number. A second source that copies the first is not a second measurement.
What a good fit would and would not show
The inverse-rank relationship is commonly discussed as Zipf’s law for cities. It is a useful empirical benchmark, not a requirement that every urban system follows exactly. Research also considers more general relationships with a fitted exponent, rather than fixing the simple inverse form used here.
On ordinary axes, P₁/r curves downward. On a plot with logarithmic population and logarithmic rank axes, this exact form becomes a straight line with slope −1. Do not confuse those two chart designs or assume that a visually straight segment proves the whole distribution follows the rule.
Four fictional cities demonstrate a calculation, not a statistical test. A real evaluation would need a defined sample, suitable fitting methods and attention to exclusions, ties, boundary changes and uncertainty. Departures describe the selected distribution; they do not, by themselves, explain why that pattern developed.
Frequently Asked Questions
Should I divide the total population of all cities by rank?
No. This version uses the largest city’s population, not the national population or the sum of the listed cities. Changing that input creates a different calculation.
What if two cities have identical population counts?
State how you handle ties before comparing ranks. A simple teaching table can note that tied places are interchangeable in order; empirical analysis needs a consistent ranking convention, especially where rounded source counts create apparent ties.
What Did We Learn Today?
The rank–size rule provides a transparent P₁/r benchmark, and multiplying the result by rank checks the arithmetic. Our fictional example shows why interpretation needs more care: wider boundaries changed the largest input, the city order and the deviations. Comparable populations matter as much as correct division.
Sources & Data Notes
The worked populations are deliberately fictional and all table results are calculated from the displayed inputs; no real-city population claims are made. Reserve Bank of Australia research supplies the Zipf/rank–size context, and OECD methodology distinguishes cities from functional urban areas. Percentages are rounded to one decimal place. The lesson uses the simple inverse-rank benchmark, not an estimated statistical model.
- Ellis and Andrews, Reserve Bank of Australia: distribution of city sizes
- OECD: the EU–OECD definition of a functional urban area
- OECD: city and functional urban area definitions
Visuals: GeographyPin original city-size concept cover and worked-data chart. The cover is a conceptual illustration, not a real skyline or a measured population comparison. All chart inputs are the fictional values displayed in the two tables, with a shared zero-based vertical scale. Methodological sources checked November 19, 2026.
