Skip to main content

Brew Lab

Coffee Freshness & Roast Date Calculator

Enter your roast date and we'll chart exactly where your beans are on the curve — degassing, peak flavor, or fading — plus the brew-by date for your method, roast level and how you're storing the bag.

7 days since roast.

Roast level
Brew method
Storage

Frozen pauses the fading clock; opened roughly doubles the fade rate once you're past the peak window.

The freshness arc

Today · day 7
resting — 3 days to espresso window
58.3 %

CO2 degassed

7 d

since roast

Jul 31, 2026

brew by — end of the espresso window

resting — 3 days to espresso window
58.3 %

degassed

How the math works

Degassing follows the same first-order shape used across the Brew Lab — an exponential decay, just venting CO₂ instead of clearing caffeine:

degassed(t) = 1 − e−t/τ

t is days since roast; τ is a roast-level time constant — Dark (5 d), Medium (8 d) or Light (12 d), since more heat drives more of the trapped CO₂ out during roasting itself, leaving less to vent afterward. Worked example: a medium roast is 63.2% degassed after exactly τ = 8 days, and about 95% degassed by day 24 (3τ) — the same "one half-life, three half-lives" shape you'd see in the caffeine calculator, just running outward instead of down.

Worked examples

Light roast, espresso, day 12

Window
day 17–28
State
resting — 5 days to espresso window
Degassed
63.2%

Medium roast, filter, day 12

Window
day 4–14
State
peak — brew now
Degassed
77.7%

Dark roast, espresso, day 25

Window
day 10–21
State
fading — past the espresso window
Degassed
99.3%

Same 12 days since roast, two completely different verdicts: a light-roast espresso is still resting (its window doesn't open until day 17), while a medium-roast filter brew is already in its peak window (day 4–14). That gap is entirely the "espresso needs longer rest" rule from the table above, made concrete.

How long to rest your beans

Fresh-off-the-roaster coffee isn't actually at its best the day it's roasted — it's still full of trapped CO₂ that hasn't finished escaping, and that gas gets in the way of even extraction. Filter and French press are the most forgiving methods here: both are genuinely ready anywhere from 4 to 14 days after roasting, which is why so many bags list a roast date instead of a "best by" date — the useful clock starts there, not at packaging.

Espresso is pickier. The combination of high pressure and a fine grind means leftover CO₂ doesn't just sit passively in the cup — it actively pushes back against water trying to pass through the puck, producing the telltale thick, fast "bloom" and crema that can mask a shot that's actually under-extracted underneath. That's the whole reason the espresso window — 10 to 21 days — runs later and wider than filter's. A light roast pushes it later still: because light roasts hold onto more CO₂ for longer (a bigger τ), a light-roast espresso's window shifts a further week out, to 17–28 days. Dark and medium roasts degas quickly enough that they don't need the extra week.

Degassing and CO2, the chemistry

Roasting is a controlled pyrolysis reaction: heat drives off water, then triggers the Maillard reaction and caramelization that build coffee's flavor compounds, and along the way it also produces carbon dioxide — trapped inside the bean's now-porous cell structure, sometimes several times the bean's own weight in gas for a dark roast. That CO₂ doesn't vanish at the end of the roast; it keeps escaping afterward, fastest in the first day or two (which is why a very fresh bag can look almost alive when hot water hits it) and more slowly from there, following the same exponential decay used elsewhere in this Brew Lab: degassed(t) = 1 − e^(−t/τ). A medium roast reaches 63.2% degassed at exactly one τ (8 days) and roughly 95% by 3τ (24 days) — never a hard "done," just diminishing enough to stop mattering.

This is also why grinding accelerates staling so dramatically: whole beans have a relatively small surface area exposed to air, but grinding shatters that structure and multiplies the exposed surface area many times over, which is why "grind right before you brew" is close to universal advice among roasters. For the deeper chemistry of what heat does inside the bean during roasting itself, see our guides on coffee roasting chemistry and how roasting transforms green beans.

Storing your coffee once it's opened

Sealed, one-way-valve bags are designed to let residual CO₂ escape without letting oxygen in — which is exactly why "sealed" is this calculator's baseline fade rate. The moment you open a bag, though, every scoop lets a little more oxygen in, and oxidation (not CO₂ loss) becomes the dominant force behind staling from that point forward. This tool models an opened bag as fading roughly twice as fast, past its peak window, as a sealed one.

The fix is simple and well worth the five extra seconds: reseal tightly after every use, store in an airtight, opaque container (light degrades flavor compounds almost as efficiently as oxygen does), and keep it away from heat sources. Skip the refrigerator for everyday storage — it's not cold enough to meaningfully slow staling but is humid enough to risk condensation forming on the beans every time the container is opened. Our full storage walkthrough — container choices, humidity control, vacuum sealing — is in Home-Roasted Coffee Storage: Keep Beans Fresh Longer.

Freezing coffee: myth versus reality

"Never freeze your coffee" is outdated advice built around a real but avoidable failure mode: repeatedly pulling a bag in and out of the freezer lets warm, humid air condense on cold beans every single time, and that moisture is genuinely bad for flavor. Freeze correctly, though, and the opposite is true — cold temperatures meaningfully slow both oxidation and further CO₂ loss, which is why this calculator treats "frozen" as pausing the freshness clock rather than continuing to advance the fading curve.

The practical version: portion your beans into smaller airtight containers or bags before freezing (so you're only ever thawing what you'll use in a day or two), and once thawed, don't refreeze. Whole beans freeze far better than ground coffee, for the same surface-area reason grinding accelerates staling at room temperature. Done this way, freezing is a legitimate way to bank beans you can't get through inside their normal window — not a fallback, a genuinely useful tool.

Methodology & limitations

This tool models two coupled but distinct processes — CO₂ degassing (an exponential curve driven purely by roast level) and a generic peak-then-fade flavor window (days 10–25, independent of method) — alongside per-method rest windows that determine the state and brew-by date you see above. A few honest simplifications, named plainly:

  • No separate "date opened" input. The opened-storage fade acceleration is approximated from the peak window's end rather than the exact day you broke the seal, since in practice most bags are opened around when brewing from them begins.
  • Roast level is the only input that shifts τ. Bean density, origin, processing method and even altitude all affect real-world degassing speed at the margins; this tool uses three representative presets rather than modeling every variable.
  • A guide, not a guarantee. Water quality, grind, dose and brew technique all matter as much as bean age for what ends up in your cup — this calculator tells you when the beans are ready, not that any given recipe will taste good.

Frequently asked questions

How long should coffee beans rest before brewing?
It depends on the roast and how you brew. Filter and French press are the most forgiving — both are ready anywhere from 4 to 14 days after roasting. Espresso needs more rest, 10 to 21 days, because the higher pressure and finer grind exaggerate the sharp, sometimes sour edge of a too-fresh bean. A light roast holds onto its CO₂ longer than a dark roast (it has a longer degassing time constant), so a light-roast espresso's window shifts about a week later — 17 to 28 days — while filter and French press stay unaffected by roast level.
What is coffee degassing?
Roasting drives a chemical reaction that traps carbon dioxide inside the bean's cell structure — as much as several times the bean's own weight in gas, in the case of a dark roast. That CO₂ escapes gradually after roasting, fastest in the first few days and then more slowly, following the same first-order exponential decay used elsewhere in chemistry: degassed(t) = 1 − e^(−t/τ). Too much trapped CO₂ pushes water away from the grounds during brewing (visible as the thick "bloom" on very fresh beans) and can mute extraction; too little left in a very old bag is usually a sign the beans have also lost the aromatic compounds that made them worth roasting in the first place.
Does opening the bag make coffee go stale faster?
Yes — an opened bag is exposed to more oxygen every time you scoop from it, and oxidation is the main driver of staling once degassing has mostly finished. This calculator models that as roughly double the fade rate once a bag has passed its peak window and storage is set to "opened," compared to a bag that's stayed sealed. Reseal tightly (or better, transfer to an airtight, opaque container) after every use to slow that down.
Can I freeze coffee beans?
Yes, and it genuinely works — freezing whole beans in an airtight container meaningfully slows both oxidation and further degassing, which is why this calculator treats "frozen" as pausing the freshness clock rather than advancing the fading curve. The two things that actually hurt frozen coffee are moisture (condensation on beans pulled in and out of the freezer repeatedly) and non-airtight packaging picking up freezer odors. Freeze in a single well-sealed container, and thaw only what you'll use within a day or two rather than repeatedly opening the whole stash.
Is dark roast coffee fresher for longer than light roast?
Not exactly — it's the opposite in one specific sense. Dark roasts degas faster (a shorter τ, around 5 days vs light roast's 12), so they reach their peak flavor window sooner and, without much slower degassing to hold them back, can also start fading sooner. Light roasts take longer to get there but hold their peak a bit longer once they arrive. Neither is "fresher" in an absolute sense — they're just on different clocks, which is exactly why this tool asks for your roast level before giving you a window.
What's the best way to store coffee beans day to day?
An airtight, opaque container at room temperature, away from heat and direct light — a cupboard, not the counter next to the stove or a sunny window. Keep beans whole and grind just before brewing (ground coffee's greater surface area stales dramatically faster). Skip the fridge for daily storage: it's not cold enough to meaningfully slow staling but is humid enough to risk condensation on the beans every time you open the container. See our fuller guide below for container choices, humidity control and vacuum sealing.