Newton's Law of Cooling

April 14, 2026

Problem

A cup of coffee at 90°C cools in a 20°C room. Assuming dT/dt = −k·(T − T_amb), solve for T(t) and plot the cooling curve. Slide k to see how the rate changes.

Explanation

Newton's hypothesis

Isaac Newton observed that a body cools (or warms) at a rate proportional to its temperature difference from the surroundings: dTdt=k(TTamb)\boxed{\, \frac{dT}{dt} = -k \, (T - T_{\text{amb}}) \,}

where:

  • T(t)T(t) is the temperature of the body at time tt,
  • TambT_{\text{amb}} is the ambient (room) temperature,
  • k>0k > 0 is a positive constant depending on the object's material, surface area, and the heat-transfer medium.

The bigger the gap TTambT - T_{\text{amb}}, the faster the heat flows (or the faster the body warms if the gap is negative). As the gap closes, the cooling slows — asymptotically reaching TambT_{\text{amb}}.

This is a first-order linear ODE (#174), identical in structure to "y+Py=Qy' + P y = Q" with P=kP = k, Q=kTambQ = k \, T_{\text{amb}}.

The given problem

  • Initial coffee temperature: T(0)=90T(0) = 90 °C.
  • Ambient (room): Tamb=20T_{\text{amb}} = 20 °C.
  • Cooling constant: kk (adjustable via slider).

Step-by-step

Step 1 — Recognise the structure.

dTdt=k(TTamb)\dfrac{dT}{dt} = -k (T - T_{\text{amb}}) is first-order linear. Equilibrium is the value where dT/dt=0dT/dt = 0, namely T=TambT = T_{\text{amb}}.

Step 2 — General solution by separation or by linear-ODE formula.

Separating variables: dTTTamb=kdt\frac{dT}{T - T_{\text{amb}}} = -k \, dt lnTTamb=kt+C\ln|T - T_{\text{amb}}| = -k t + C TTamb=Aekt(A=±eC)T - T_{\text{amb}} = A \, e^{-k t} \qquad (A = \pm e^{C}) T(t)=Tamb+Aekt.T(t) = T_{\text{amb}} + A \, e^{-k t}.

Step 3 — Apply initial condition.

T(0)=Tamb+A=90    A=90Tamb=70T(0) = T_{\text{amb}} + A = 90 \implies A = 90 - T_{\text{amb}} = 70.

T(t)=20+70ekt\boxed{\, T(t) = 20 + 70 \, e^{-k t} \,}

Interpretation — two terms

  • Ambient Tamb=20T_{\text{amb}} = 20 °C: the "floor" the temperature asymptotes to.
  • Transient 70ekt70 \, e^{-k t}: the initial gap decaying exponentially.

The coffee is "initially 70°C above ambient"; that excess dies off at rate kk.

Time constant

τ=1/k\tau = 1/k is the time constant. After one τ\tau, the gap has decayed to 1/e37%1/e \approx 37\% of its initial value: T(τ)Tamb=70e125.8 °C gapT(\tau) - T_{\text{amb}} = 70 \cdot e^{-1} \approx 25.8 \text{ °C gap} T(τ)20+25.8=45.8 °C.T(\tau) \approx 20 + 25.8 = 45.8 \text{ °C}.

Useful rules of thumb:

  • After τ\tau: ~63% of the way to ambient.
  • After 2τ2\tau: ~86%.
  • After 3τ3\tau: ~95%.
  • After 5τ5\tau: ~99.3%.

For a real coffee cup with k0.02k \approx 0.02 min⁻¹ (so τ=50\tau = 50 min), it takes about 2.5 hours to essentially reach room temperature.

Verification

T(t)=20+70ektT(t) = 20 + 70 e^{-kt}. T(t)=70kektT'(t) = -70 k e^{-kt}. k(TTamb)=k(70ekt)=70kekt-k(T - T_{\text{amb}}) = -k(70 e^{-kt}) = -70 k e^{-kt}. ✓

Warming also follows the same law

If the body is colder than ambient, the gap is negative and the exponential decay still applies — the object warms up to TambT_{\text{amb}}. Same equation, different sign of AA:

  • Iced drink at 4°C in a 22°C room: T(t)=2218ektT(t) = 22 - 18 e^{-k t}.

One formula for both cooling and warming. That's the power of linearity.

What determines kk?

kk lumps several physics into one parameter: k=hAmcpk = \frac{h \cdot A}{m \cdot c_p}

where

  • hh is the heat transfer coefficient (W/m²·K) of the surface-to-air interface,
  • AA is the surface area (m²),
  • mm is the mass (kg),
  • cpc_p is the specific heat capacity (J/kg·K).

Takeaways:

  • Bigger surface area ⇒ faster cooling (why blowing on soup helps — increases effective hh via convection and spreads out the soup).
  • Larger mass or higher specific heat ⇒ slower cooling (why a big pot keeps tea warmer than a small cup).
  • Vacuum insulation (thermos) drops hh dramatically, so kk becomes tiny and τ\tau huge.

Limitations of Newton's law

Newton's law is a linearisation. It works well when TTambT - T_{\text{amb}} is small compared to absolute temperatures. For very hot objects, radiative heat loss dominates and obeys the Stefan-Boltzmann law: flux T4Tamb4\propto T^4 - T_{\text{amb}}^4. A pot of lava at 1200 K in a 300 K room cools much faster at first than Newton predicts.

For mildly warm everyday objects (drinks, bodies, electronics), Newton's linear approximation is very good.

The forensic / medical version

Forensic investigators use Newton's law (often in refined form) to estimate time of death: given body temperature and ambient temperature at the discovery scene, back-solve for tt. With a typical human k0.1k \approx 0.1 hr⁻¹ (so τ10\tau \approx 10 hr), the formula T(t)=20+(3720)ektT(t) = 20 + (37 - 20) \, e^{-kt} lets an investigator approximate time since death to within an hour or two — assuming nothing else messes with the body's thermodynamics.

Common mistakes

  • Sign of kk. The law is dT/dt=k(TTamb)dT/dt = -k(T - T_{\text{amb}}), with k>0k > 0. Dropping the minus sign gives an exponential blow-up, which is wrong.
  • Using TT instead of TTambT - T_{\text{amb}}. The rate depends on the difference from ambient, not the absolute temperature.
  • Assuming constant TambT_{\text{amb}}. A coffee left outside on a cold night will chase a moving ambient; the ODE then has a time-dependent right-hand side.
  • Ignoring radiation for very hot objects. Newton's law breaks down when the temperature difference is large.

Try it in the visualization

Plot the cooling curve T(t)=Tamb+(T0Tamb)ektT(t) = T_{\text{amb}} + (T_0 - T_{\text{amb}}) e^{-kt} with the horizontal asymptote at TambT_{\text{amb}}. Mark the time constant τ=1/k\tau = 1/k where the curve has decayed to 37% of its initial gap. Slide kk to see the curve steepen or flatten; slide TambT_{\text{amb}} to shift the asymptote.

Interactive Visualization

Parameters

90.00
20.00
0.03
200.00
60.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Newton's Law of Cooling | MathSpin