Expiration Date Calculator

Add a shelf life (days, weeks, months, or years) to a start date to find the exact expiration date, the days remaining, and whether the item is fresh, expiring soon, or already expired.

Quick Facts

Method
Expiration date = start date + shelf life (calendar-aware)
Adding months or years clamps to the last valid day of the target month, so Jan 31 + 1 month lands on Feb 28 (Feb 29 in a leap year), never a rollover into March.

Your Results

Calculated
Expiration date
-
Start date + shelf life
Days remaining
-
Negative means already expired
Total shelf life
-
Converted to days
Status
-
Compared to your warning window

Ready

Enter a start date and shelf life, then press Calculate.

About the Expiration Date Calculator

This calculator finds when a product, ingredient, or document expires by adding a shelf-life duration to a start date — the date it was manufactured, purchased, or opened. It also reports how many days remain (or how many days have passed since expiration) and flags items as fresh, expiring soon, or expired using a warning window you choose.

The formula

The math behind the tool is plain date arithmetic, applied consistently:

  • Expiration date = Start date + Shelf life. Shelf life can be entered in days, weeks, months, or years.
  • Days remaining = Expiration date − Today's date. A positive number means time is left; a negative number means the item already expired that many days ago.
  • Status compares days remaining to your warning window: Expired when days remaining is negative, Expiring Soon when it is zero or below the warning window, otherwise Fresh.

Why month and year math needs care

Adding days or weeks is pure arithmetic, but months and years are not, because calendar months hold different numbers of days. Adding 1 month to January 31 cannot land on "February 31" — that date does not exist — so this calculator rolls the result back to the last valid day of the target month (February 28, or February 29 in a leap year). The same clamping rule applies to years: adding 1 year to a February 29 start date rolls back to February 28 in a non-leap year.

Common uses

  • Food and pharmaceutical shelf-life tracking (best-by, use-by, and sell-by dates)
  • Cosmetics and skincare "period after opening" tracking (PAO symbols, e.g. 12M or 24M)
  • Document and certification validity (licenses, warranties, insurance policies, passports)
  • Inventory management — flagging stock that needs to be used, discounted, or rotated before it expires

Limitations

This tool performs calendar math only; it does not know the actual chemical, biological, or contractual shelf life of any specific product. When a manufacturer or contract states an exact expiration date, use that date directly. Use this calculator when you only know a shelf-life duration and need the resulting date, or when you already know the expiration date and want to check how many days remain.

Frequently Asked Questions

How is an expiration date calculated?
Expiration date equals the start date (production, purchase, or open date) plus a shelf-life duration entered in days, weeks, months, or years. Month and year additions are calendar-aware, so adding 1 month to January 31 lands on February 28 (or 29 in a leap year) instead of overflowing into March.
What does the warning window do?
The warning window is the number of days before expiration that you want to be alerted. If the days remaining are zero or less than that number, the calculator marks the item Expiring Soon instead of Fresh, so you can flag stock that needs to be used or rotated soon.
What happens once an item has already expired?
If today's date is after the calculated expiration date, days remaining becomes negative and the status shows Expired, along with how many days have passed since the expiration date.