Shelf Life Calculator

Optional. Leave blank to use the current local date when you press Calculate.
Shelf Life Remaining
Total Shelf Life
Days Elapsed
Days Remaining
Checked As Of
Shelf Life Milestones
25% elapsed
50% elapsed
75% elapsed
Date-based estimate only. Actual product safety, quality, and usability depend on the manufacturer’s expiration date, storage requirements, packaging integrity, opening date, and product-specific stability data. Do not use this calculator to extend a manufacturer’s stated expiration date.

What This Tool Does

This shelf life calculator finds the shelf life of a product, the time between its manufacture date and expiration date, or works out either date if you know the other two values. It can also show milestone dates at 25%, 50%, and 75% of shelf life remaining, plus an estimated “use by after opening” date.

You can also use this Speed Calculator.

How It’s Calculated

Shelf Life = Expiration Date − Manufacture Date

Worked example: Manufactured 15 January 2026, expires 15 July 2027.

  • Jan 15, 2026 to Jan 15, 2027: 365 days
  • Jan 15, 2027 to Jul 15, 2027: 181 days
  • Total shelf life: 365 + 181 = 546 days (approximately 18 months)

The same subtraction works in reverse: add a known shelf life to a manufacture date to find the expiration date, or subtract it from an expiration date to find the manufacture date.

Edge Cases and Special Rules

  • Real calendar months vs. approximate months give slightly different results: Using actual calendar months/years accounts for varying month lengths and leap years, while an approximate convention (30 days per month, 365 days per year) is simpler but can be off by a few days, check which convention a specific result uses, especially near a leap year.
  • “Use by after opening” is a separate, shorter countdown: Many products have a shelf life from manufacture, and a separate, typically shorter safe-use window starting from when the product is opened, these are tracked independently, and the opened-product window is usually capped by the original expiration date, whichever comes first.
  • Milestone percentages aren’t a safety threshold: A “75% of shelf life remaining” date is useful for inventory rotation (like FIFO, first in, first out), but it doesn’t itself indicate when a product becomes unsafe, it’s simply a proportion of the stated total shelf life.
  • This calculates stated dates only, not actual stability: For medicines and pharmaceutical products specifically, actual chemical stability is established by the manufacturer through testing, this calculator only does the date arithmetic based on the dates you provide.

Shelf Life vs. “Use By After Opening”

These are two different countdowns that matter for many products, especially food and medicine. Shelf life runs from manufacture to the printed expiration date, assuming the product remains sealed. “Use by after opening” is a separate, often shorter window that starts once the product is actually opened, a sealed bottle might have a 24-month shelf life, but only 30 days of safe use once opened. Tracking both separately avoids relying on just the printed expiration date for a product that’s already been opened.

Who Uses This

  • Food manufacturers and retailers managing inventory rotation
  • Pharmacists and pharmaceutical teams tracking medicine expiration
  • Home cooks and consumers checking how much shelf life remains on a product
  • Quality control teams setting “expiring soon” alerts for stock management

Shelf Life vs. Expiration Date

These are related but different kinds of value. Shelf life is a duration, a length of time, like “24 months” or “546 days.” Expiration date is a specific calendar date — the actual day that duration runs out, found by adding the shelf life to the manufacture date. Knowing one lets you calculate the other, which is why this tool can solve for any of the three values (start date, expiration date, or shelf life) given the other two.

FAQ

What is the formula for shelf life?

Shelf life equals the expiration date minus the manufacture date.

How do I calculate an expiration date from a manufacture date?

Add the known shelf life duration to the manufacture date.

What’s the difference between real-calendar and approximate month calculation?

Real calendar months account for actual month lengths and leap years; approximate calculation assumes a fixed 30-day month, which can produce a slightly different result.

Does this calculator tell me if a product is still safe to use?

No, it calculates the stated date math only; actual safety, especially for medicine, depends on the manufacturer’s testing and should be confirmed with a pharmacist if in doubt.

What does “use by after opening” mean?

A separate, often shorter safe-use window that starts once a product is opened, distinct from its original sealed shelf life.

Try It Above

Enter any two of manufacture date, expiration date, or shelf life in the calculator above to find the third instantly. For medicine or pharmaceutical products, consult a pharmacist before using anything near or past its expiration date.