Mental Models204 cards · 12 fields

Mental Models/Mathematics & Statistics

Fermi Estimation

费米估算

Break a big number you can't guess into small ones you can, then multiply.

On July 16, 1945, the Trinity nuclear test took place in the New Mexico desert. The physicist Fermi was at a camp about ten miles from the blast. Before and after the shock wave arrived, he dropped scraps of paper from about six feet up: the stronger the blast, the further the scraps would be blown. They landed about two and a half meters away, and from that he estimated that the blast was equal to 10,000 tons of TNT. The account survives in the notes he wrote on the spot at the time.

You want to know how many rolls of toilet paper an apartment building with 100 households uses in a year. Guess it straight off, and you have no idea. Break it down first: say 3 people per household, so 300 people in the building; one roll per person per week, and 52 weeks in a year. Multiply it out, and the building uses about 16,000 rolls a year. That kind of order of magnitude is what Fermi estimation is after: is it ten-thousand-something or a million? It doesn't need to be right down to the last roll.

Four easy guesses, about 16,000 rolls a year
100 homes3 per home1 roll a week52 weeks a year300 people52 rolls eachAbout 16,000 rolls300 × 52
100 homes3 per home1 roll a week52 weeks a year300 people52 rolls eachAbout 16,000 rolls300 × 52

Each number only has to be roughly right. Multiplied out, it's over 10,000 rolls, not a million, and that's enough.

Once it's broken down, each step only needs the right order of magnitude

Guess straight off how many piano tuners there are in a city, and you might be off by dozens of times. Break it into four steps, and you have a rough idea for each. Say the city has 1 million households and 1% have a piano, which makes 10,000 pianos. Each piano is tuned once a year, and one tuner can do 500 tunings a year, so it takes 20 tuners: . This trade has dozens of people in the city, not thousands.

Errors multiply, and they also cancel

The answer is the factors, such as the number of households and the share who own a piano, multiplied together. If a factor is off by some multiple, that multiple goes straight into the answer:

If all five factors are twice too high, the result is 32 times too high. If three are twice too high and two are half too low, the result is off by only two times, because the overestimates and underestimates cancel each other out.

The factor you're least sure of decides how much the answer swings

Back to those 20 tuners: if the share of households with a piano were 2%, the answer would double to 40. If the number of households were 10% too high, the answer would only go to 22. You can look up the number of households, but the share who own a piano is the hardest to pin down, so start by asking a few piano shops and finding a survey.

When a decision only needs to know whether it's dozens or thousands, Fermi estimation can rule out options not worth a closer look in a few minutes. Drug doses, how much load a structure can carry, and settling a contract need exact figures, and a rough estimate won't help. When you can't guess even the order of magnitude of one factor, breaking it down is no use. The Drake equation estimates the number of civilizations in the Milky Way, but nobody has ever measured the share of planets where life arises; fill in a big or a small number, and the results differ by several orders of magnitude. However neatly that string of multiplications is written, it's only the opinion of whoever filled in the numbers.

Reason
Someone says a city sends 5 million parcels a day. Multiply the number of residents by how many parcels each person sends a week, divide by the seven days in a week, and in a few minutes you know whether the figure is absurd.
Act
Before you get a renovation quote, work it out yourself: the floor area times a rough price per square meter for labor and materials. If the quote is twice that, you have reason to ask about it line by line.
Predict
Before hiring, use the number of customers, how many times each customer asks for help a year, and how long each request takes, to estimate how many hours customer service has to handle a year, then see how many people that needs.
  1. What is the number I want to estimate, written down with its unit and time span?
  2. For each factor in the total, where can I find a rough value: which yearbook, which dashboard, which person who has worked in this line?
  3. Which factor am I least sure of, and who could give me a range for it?

Technology

How long to keep the logs

You're in charge of the logs for a service. It gets about 20 million requests a day, each log entry is about 500 bytes, so that's 10 GB a day; keeping 30 days takes about 300 GB. You take this number to the operations team and ask whether one ordinary hard drive is enough or whether you need to request a storage node.

Personal life

A group buy in the neighborhood chat

Your neighborhood group chat has 400 people, and you want to organize a group buy of fruit. You estimate 15% will sign up, each household ordering one box, so about 60 boxes. Sixty boxes won't fit in a private car, so you go and ask a delivery firm about a small van.

Business

Is a study room worth opening?

You want to open a paid study room next to a university. Say there are 20,000 students nearby and 5% are willing to pay, about 1,000 people; at peak times only a fifth are there at once, so about 200 seats. You take this number to look at two shop spaces, and you give up on the one with room for only 80 desks.

You're ordering drinking water for an in-person event, 500 ml a bottle. The organizers expect 300 to 500 people to come, each drinking 1 to 2 bottles during the event. The storeroom has 200 bottles now.

Are these 200 bottles enough?

You take the national average of 4 books bought per person a year and multiply by this city's 500,000 people to get 2 million books. Then, at the 5% share you expect a new online bookstore to get, you estimate first-year sales of 100,000 books. The store is promoted only to university students, and the city has about 80,000 students.

Which step of this estimate should be fixed first?

You estimate a city's daily subway ridership, working it out two ways. From the top down: population times trips per person per day, times the share taken by subway, about 200,000 trips. From the bottom up: number of stations times daily riders per station, about 2 million trips.

The two results are ten times apart. What do you do next?