# Cooling calculator > How long until your coffee is cool enough to drink? Newton's law of cooling: when a hot drink reaches a temperature, from one measured reading, with the cooling curve drawn live. Find when hot coffee, tea or soup cools to a drinkable temperature with Newton's law of cooling, from one measured reading, and drag the target on the curve. - Page: https://how.box/cooling/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/cooling/?t0={t0}&ta={ta}&tt={tt}&mode={mode}&m1={m1}&t1={t1}&k={k}&tu={tu} - `t0` (number -200 to 2000): Starting temperature in tu. Example: `85`. - `ta` (number -200 to 2000): Room temperature in tu. Example: `20`. - `tt` (number -200 to 2000): Target temperature in tu. Example: `60`. - `mode` (measured or constant): measured or constant. Example: `measured`. - `m1` (number 0 to 100000): Minutes to the measured temperature. Example: `10`. - `t1` (number -200 to 2000): Measured temperature in tu. Example: `70`. - `k` (number 0 to 100): Cooling constant per minute (mode constant). Example: `0.03`. - `tu` (c or f): c or f. Example: `c`. Example answer: https://how.box/cooling/?t0=85&ta=20&tt=60&mode=measured&m1=10&t1=70&k=0.03&tu=c A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `cooling_calculate`: Newton's law of cooling, T(t) = Tₐ + (T₀ − Tₐ)·e^(−k·t): how long until something (a coffee) reaches a target temperature in a room, or warms towards it. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cooling_calculate","arguments":{"start_temp":85,"ambient_temp":20,"target_temp":60,"mode":"measured","check_time_min":10,"check_temp":70,"k_per_min":0.03,"temperature_unit":"c"}}}` - GET: https://how.box/mcp/run/cooling_calculate?start_temp=85&ambient_temp=20&target_temp=60&mode=measured&check_time_min=10&check_temp=70&k_per_min=0.03&temperature_unit=c ## How it works A hot drink loses heat faster the hotter it is compared with the room. Newton's law of cooling says the gap to the room temperature shrinks by the same share every minute, so the temperature falls quickly at first and then ever more slowly: T(t) = Tₐ + (T₀ − Tₐ)·e^(−k·t), where T₀ is the start, Tₐ the room and k the cooling constant. k depends on the cup, the lid, stirring and the air, so it is easiest to measure: one reading is enough. Coffee at 85 °C in a 20 °C room that reads 70 °C after 10 minutes has k = ln(65 ÷ 50) ÷ 10 = 0.026 per minute, so it reaches a drinkable 60 °C after ln(65 ÷ 40) ÷ 0.026 ≈ 18.5 minutes. The law is a good approximation while the drink cools mainly by contact with the air; evaporation from a very hot open cup speeds up the first minutes a little. The formula and the method follow OpenStax Calculus, volume 1, section 6.8 (openstax.org). ## FAQ **Why does it never quite reach room temperature?** The gap halves again and again but never becomes zero in the formula. In practice, after five or six halvings it is within a degree. **Does adding milk early or late cool coffee faster?** Adding cold milk late usually wins: the hotter, black coffee loses heat faster on its own, and the milk then drops the temperature in one go. **Does it work for a cold drink warming up?** Yes. Enter a start below the room temperature and a target between them: the same law describes how it warms. **Can I reuse a cooling constant after changing the cup or adding a lid?** Take a new check reading for the changed setup. A constant fitted to one cup and airflow may give a poor estimate for another. **Is the result the time from now or from the first reading?** It is the total time from the start temperature. If you have already waited for the check reading, subtract that elapsed time to find the remaining wait. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)