How Long Until My Coffee Cools?
Newton's law of cooling, one cup at a time
A freshly brewed pour-over starts at about , and I like to drink mine around . The question is a humble one: how long do I have to wait?1In practice I never wait. My tongue has paid the price many times.
A model that is too simple
Newton gave us a handy rule of thumb: an object cools at a rate proportional to the difference between its temperature and that of its surroundings. As an equation,
Here is the room temperature and is a constant.2It depends a lot on the cup. Ceramic, paper and a thermos can differ by an order of magnitude; a good thermos has a so small it feels like cheating. The minus sign says that coffee hotter than the room gets cooler, and the bigger the gap, the faster it falls.
We call the cooling constant, measured in . It bundles the cup, the table, the airflow and everything else we are too lazy to model.
Solving it
If satisfies the equation above with , then for all ,
Proof.Let , so . Then , hence is constant and equals its value at , namely .
In other words, the temperature gap decays exponentially. Drag the measurement at the 5-minute mark to feel the difference a cup makes:
Doing the numbers for my cup
I measured once: the room was , the coffee started at , and after 5 minutes it read . By Lemma 2,
Solving then gives
So the answer is about 11 minutes 40 seconds: just enough time to answer two emails, or to stare at the cup.
from math import log
k = log(68 / 53) / 5 # cooling constant, 1/min
t = log(68 / 38) / k
print(f"{t:.1f} min") # 11.7 min
Bonus: when should the milk go in?
Suppose you will wait 10 minutes before drinking, and you want to add a splash of cold milk. Add it now, or after the 10 minutes?
If the goal is the coolest possible coffee, add the milk last.
The intuition: hot coffee has a large temperature gap and sheds heat quickly. Adding milk first makes it “not hot enough” from the start and wastes the fastest-cooling stretch. The rigorous proof is left as an exercise.3”Left as an exercise” is the oldest form of laziness in mathematics, and I intend to keep the tradition alive.