Grams of Coffee

All guides

How to store coffee, and how long a bag lasts

Educational guide · Reviewed November 20, 2026

Coffee is at its best when it is fresh, and most of us buy it in bags larger than we use in a week. This guide covers how to store beans, how long a bag lasts at different rates of drinking, and how to buy the right amount.

What makes coffee go stale

Oxygen, light, heat and moisture all speed up staleness. Ground coffee goes stale much faster than whole beans because far more of its surface is exposed to air. That is why many coffee drinkers grind just before brewing.

How to store it

  • Use an airtight container and keep it in a cool, dark cupboard, away from the stove and sunny windows.
  • Keep the bag if it has a one-way valve. Close it tightly or transfer the beans to a jar with a good seal.
  • Buy whole beans if you can and grind each time.
  • Avoid the fridge for everyday storage. Moisture and food smells can affect the beans each time you open the door.
  • If you buy more than you will use, some people freeze extra beans in small airtight portions and thaw a portion before opening it. Do not repeatedly freeze and thaw the same bag.

How long a bag lasts

A standard 12-ounce bag holds about 340 grams of coffee. Assuming about 15 grams of coffee per cup, here is how long a bag lasts at different rates:

How fast you use a 12-ounce bag (15 g per cup)
Cups per dayCoffee per dayCoffee per weekA 12 oz bag lasts
115 g105 g22.7 days
230 g210 g11.3 days
345 g315 g7.6 days
460 g420 g5.7 days

If you drink one cup a day, a 12-ounce bag takes about three weeks to finish. That is a good reason to look at smaller bags, or to share a bag with someone. If you drink four cups a day, the same bag lasts under a week, and buying bigger bags can make sense.

Roast date matters more than a best-by date

Many roasters print a roast date on the bag. Coffee generally tastes best within a few weeks of roasting, and some roasts taste better after resting a few days. A bag with a roast date lets you plan purchases so that you finish each one while it is fresh.

Check how much you really use

Use the calculator to find the grams per cup for your method, multiply by the cups you drink per day and by seven, and compare that with the bag size. If you will take more than about a month to finish a bag, consider buying less.

Cleaning matters too

Old coffee oils build up on grinders, brewers and filters and can add a stale or bitter note to fresh coffee. Rinse equipment after each use, and run a more thorough clean now and then according to the maker’s instructions.

Disclaimer: This site offers general brewing guidance for educational purposes. Results depend on your beans, equipment and taste. Take care with hot water and equipment. Try the coffee brew ratio calculator.