Newton's Law of Cooling Calculator: How Long to Cool or Warm
By FindMySum · Last reviewed
Hot coffee, a pot of soup, an engine block and a cold drink on a warm day all change temperature the same way: quickly at first, then more and more slowly as they approach the temperature around them. This Newton's law of cooling calculator uses that pattern to find how long something takes to reach a temperature, what it will read after a given time, or, from one extra thermometer reading, the cooling constant that describes your particular cup, pot or container.
The law
Isaac Newton observed that an object's rate of cooling is proportional to the difference between its temperature and its surroundings'. Written as an equation and solved, that gives
T(t) = T_a + (T₀ − T_a) × e^(−k·t)
- T₀ is the starting temperature and T_a the surrounding (ambient) temperature, assumed constant.
- k is the cooling constant, per minute, second or hour. A big k means fast cooling.
- t is the time since the start.
Rearranged for time, the time to reach a temperature T is
t = ln((T₀ − T_a) ÷ (T − T_a)) ÷ k
An object can only approach the surrounding temperature, never pass it, so a target below room temperature for something cooling in a room has no answer.
Finding k
The cooling constant depends on the object and its surroundings: its size and shape, the container and lid, airflow and humidity. The best way to get it is to measure. Note the starting temperature and one later reading T₁ at time t₁:
k = ln((T₀ − T_a) ÷ (T₁ − T_a)) ÷ t₁
Choose "k from a thermometer reading" and the calculator does this, then predicts when your target temperature will be reached.
Worked example: the default
Coffee at 85 °C in a 21 °C room, in a cup with k = 0.03 per minute, cooling to a comfortable 60 °C:
t = ln((85 − 21) ÷ (60 − 21)) ÷ 0.03 = ln(1.641) ÷ 0.03 ≈ 16.5 minutes
The half-time, ln 2 ÷ k, is 23.1 minutes: every 23 minutes the gap to room temperature halves, from 64 °C to 32 °C to 16 °C.
A textbook check
OpenStax Calculus Volume 1, Example 6.45, pours coffee at 200 °F into a 70 °F room and measures 180 °F after 2 minutes. From that reading, k = ln(130 ÷ 110) ÷ 2 ≈ 0.0835 per minute. The coffee reaches the 175 °F serving temperature after about 2.6 minutes and is too cool, at 155 °F, after about 5.1 minutes, matching the book's answers of about 2.5 and 5 minutes.
Cooling food safely
Cooked food that cools slowly spends hours in the range where bacteria multiply fastest. Canadian public-health guidance, from Alberta Health Services and Ontario health units among others, is a two-stage target:
| Stage | Within |
|---|---|
| 60 °C → 20 °C | 2 hours |
| 20 °C → 4 °C | 4 more hours |
When your starting temperature is 60 °C or more, the calculator compares the model's time for each stage with those limits. Treat that as a guide only. A large pot or roast cools much more slowly in the middle than at the surface, the fridge warms up when hot food goes in, and k changes as you stir, cover or move the food. The reliable approach is to measure with a probe thermometer and speed things up: shallow containers, an ice bath, stirring and leaving lids off until the food is cool.
Warming up
The same law describes warming. Cold milk at 4 °C left in a 20 °C kitchen with k = 0.05 per minute reaches about 16.4 °C in half an hour. Something frozen behaves differently once it starts to melt, because the latent heat of melting absorbs energy without changing the temperature; the specific heat calculator handles that part.
Limits of the model
Newton's law assumes the object has one temperature throughout, the surroundings stay at one temperature, and k stays constant. It is a good approximation for small, well-mixed objects and moderate temperature differences. Very hot objects also lose heat by radiation, and evaporation speeds up cooling of open liquids, so real cooling can run faster early on.
For the heat needed to warm or cool something, try the specific heat calculator; for the same exponential maths in radioactive decay, the half-life calculator; and for growth and decay in general, the exponential growth calculator.
More questions
Should I add milk to my coffee now or later to keep it hot?
Straight away, if the milk comes from the fridge and you won't drink the coffee for a while. Hot coffee loses heat faster because its gap to the room is larger, so lowering the temperature at the start with cold milk slows the loss; by Newton's law the white coffee ends up slightly warmer than black coffee that gets its milk later. The difference is small, and a cup with a different shape or a lid changes it more.
Why does a big pot of soup take so long to cool in the fridge?
A large, deep pot has little surface for its volume, so its k is small, and the centre has to lose heat through the soup around it. Dividing it into shallow containers raises the surface area and k many times over, which is why food-safety guidance recommends it.
Is Newton's law of cooling exact?
No, it's an approximation. It holds well when heat leaves mainly by conduction and convection with small temperature differences. Very hot objects also lose heat by radiation, which grows with the fourth power of temperature, and evaporating liquids lose extra heat, so real early cooling is often faster than the simple law predicts.
How is this related to half-life?
It is the same mathematics. The temperature gap decays exponentially, just like the amount of a radioactive isotope, a drug in the bloodstream or charge on a capacitor. Each has a constant rate, a half-time of ln 2 divided by that rate, and a curve that approaches but never reaches its final value.
Can I use this to work out a time of death?
No. Forensic estimates of time since death need body size, clothing, the surroundings, the plateau before cooling begins and other factors, and even specialist methods give wide ranges. This calculator deliberately doesn't offer that mode.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.