Expiration Date Calculator
Enter the date you bought or opened a product, pick its category and storage method, and this calculator returns the expiration date, the number of days remaining, and a clear food-safety status. The built-in shelf-life database covers more than 60 food items, medicines, and cosmetics, sourced from USDA FoodKeeper and FDA guidelines. Use the custom mode to enter any shelf life by days, weeks, or months for products not in the list.
How to use this calculator
Choose "Look up by food or product" to select from more than 60 common items, including raw and cooked meats, dairy, produce, grains, pantry staples, medicines, and cosmetics. Pick the storage method (room temperature, refrigerator, or freezer) and the date you bought or opened the item. The calculator instantly shows the expiration date, how many days are left, the fraction of shelf life already used, and a storage-comparison table so you can see whether switching to the fridge or freezer would help. Use "Custom shelf life" mode to enter any duration in days, weeks, months, or years for products not in the database, such as home-canned jars or specialty items with a label date.
Best by, use by, and sell by: what the labels mean
Date labels on packaged food are a common source of confusion. "Best if Used By" (or "Best Before") refers to quality, not safety: the product may still be safe to eat after that date but the manufacturer no longer guarantees optimal flavor or texture. "Use By" is the more conservative safety-focused label used on highly perishable items such as refrigerated meats and some ready-to-eat foods - once this date passes the product should generally be discarded. "Sell By" is an inventory instruction to the retailer and not a consumer expiration date; food can remain safe well past the sell-by date if stored correctly. In the United States, only infant formula is required by federal law to carry a use-by date; all other labeling is voluntary and unregulated by a single standard. The shelf life data in this calculator follows USDA FoodKeeper and FDA guidelines for food safety, not just quality.
How storage temperature extends shelf life
Bacteria multiply fastest between 40 F and 140 F (4 C and 60 C), the zone food safety authorities call the "danger zone." Refrigerating food at 35-40 F slows bacterial growth dramatically; freezing at 0 F (-18 C) stops it almost entirely. That is why a raw chicken breast stored at room temperature becomes unsafe within two hours but lasts one to two days in the fridge and up to nine months in the freezer. Shelf life figures in the database reflect these differences. Keeping your refrigerator below 40 F and your freezer at or below 0 F is essential to match the times shown here. A refrigerator thermometer costs a few dollars and can prevent costly food waste and illness.
Food waste and the cost of expired food
The USDA estimates that American households throw away between 30 and 40 percent of the food supply, much of it because of confusion over date labels or because food was stored incorrectly. A few habits make a measurable difference: first-in, first-out rotation (use older items before newer ones), storing perishables at the correct temperature as soon as you get home, transferring opened packages to airtight containers, and freezing items you will not use before they expire. The storage-comparison table this calculator generates shows at a glance how much longer your item would last in the freezer, helping you decide whether to freeze or use it now.
Quick shelf-life reference (from purchase date)
| Product | Room temp | Refrigerator | Freezer |
|---|---|---|---|
| Raw chicken | Not safe | 1-2 days | 9 months |
| Steak (raw) | Not safe | 3-5 days | 12 months |
| Deli meat (opened) | Not safe | 3-5 days | 2 months |
| Raw fish | Not safe | 1-2 days | 6 months |
| Milk | Not safe | 5-7 days | 3 months |
| Eggs | Not safe | 3-5 weeks | Not ideal |
| Hard cheese | Not safe | 6 months | 6 months |
| Butter | Not safe | 3 months | 9 months |
| Bread (commercial) | 1 week | 2 weeks | 3 months |
| Cooked rice | Not safe | 3-4 days | 6 months |
| Cooked pasta | Not safe | 3-5 days | 2 months |
| Apples | 2 weeks | 6 weeks | 8 months |
| Lettuce | 1 day | 7-10 days | Not ideal |
| Carrots | 3 days | 4 weeks | 12 months |
| Honey | Indefinite | Indefinite | N/A |
| Canned vegetables | 2 years | N/A | N/A |
Typical maximum storage times per USDA FoodKeeper and FDA guidelines. Actual times vary with temperature, freshness at purchase, and handling.
Frequently asked questions
Is it safe to eat food past the expiration date?
It depends on the type of date label and the food. "Best by" dates mark quality, not safety: many pantry items such as canned goods, dry pasta, and honey remain safe well past that date. "Use by" dates on highly perishable products like raw meat and soft cheeses are stricter and should generally be respected. When in doubt, trust your senses - off smell, sliminess, unusual color, or visible mold are signs to discard regardless of the printed date. When in doubt, throw it out.
How do I calculate an expiration date from a manufacture date?
Add the shelf life duration to the manufacture or production date. For example, if a product was manufactured on June 1 and has a 90-day shelf life, the expiration date is August 30. This calculator does this automatically: enter the manufacture date in the "Purchase / open date" field and use Custom mode to enter the shelf life printed on the label.
Does freezing food reset the expiration date?
No, but it does extend safe storage substantially. Freezing pauses bacterial growth but does not reverse any spoilage that occurred before freezing. Freeze items before their refrigerator shelf life runs out, not after signs of spoilage appear. Quality (texture, flavor) can still decline slowly in the freezer over months, which is why freezer shelf-life limits exist, but safety is generally maintained for much longer than fridge storage.
How long does food last after opening?
Shelf life for opened products is almost always shorter than for unopened ones because exposure to air, moisture, and bacteria accelerates spoilage. This calculator uses post-opening shelf life by default for items like deli meat, bacon, jam, and cream cheese. For products in Custom mode, enter the shelf life for the opened state if that is what the label provides.
What is the shelf life of medicine after the expiration date?
The expiration date on a medicine is the date through which the manufacturer guarantees full potency and safety. Studies by the US military found that many solid oral medications retain potency well past their expiration dates when stored properly, but degradation varies by drug type and storage conditions. Liquid medicines, biologics, and eye drops degrade more quickly and should not be used past their expiration date. Never use expired emergency medications or insulin without consulting a pharmacist or physician.
Why does my fridge temperature matter so much?
Every degree above 40 F (4 C) meaningfully speeds bacterial growth. At 45 F, most pathogens double roughly twice as fast as at 40 F. The shelf-life times in this calculator assume a properly calibrated refrigerator set below 40 F. If your fridge runs warm, reduce the expected shelf life by 20 to 30 percent and consider a dedicated thermometer to check the actual temperature.