Skip to content
Omnikalc

Expiration date calculator: when does it go off?

Enter the date opened or made and the shelf life in months and days to get the expiration date, the days left and the share of the shelf life used.

Updated on
Your inputs

Value out of range

Value out of range

months

Value out of range

days

Value out of range

Results

Expiration date

May 21, 2027

Still fresh: more than a month left
Day of the week
Friday
Days left (negative when expired)
181
Weeks left
25.9
Share of the shelf life already used
0%

Whether it is a jar of cream, a bottle of sunscreen or a tin of baby formula, the date it goes off depends on when it was opened or made and on its shelf life. This calculator adds a shelf life in months and days to a start date to give the expiration date, the days left and the share of the shelf life already used.

How the calculation works

  • Expiration date = start date + months (same day of the month) + extra days
  • Days left = expiration date − today
  • Share used = days since the start ÷ total days of shelf life × 100

When the month is shorter, the date moves to the last day of the month: three months after November 30 gives February 28 or 29.

Example

You open a mascara on March 3 and its shelf life after opening is 6 months. It expires on September 3. On June 3 there are 92 days left, about 13 weeks, and 50 % of the shelf life has been used. Past September 3, the calculator shows a negative number of days.

Why it matters

Eye products, sunscreen and medicines lose their protection or grow bacteria after their date, so it pays to track it. Writing the opening date on the package and computing the end date once avoids guesswork. It also helps with stock rotation, for a pantry, a pharmacy or a small business.

Good to know

Storage matters as much as the date. Heat, light and humidity shorten the life of a product, and the date on a sealed package only holds if you store it as directed. Always follow the date printed by the manufacturer when it is shorter than your calculation. This tool is for general information and does not replace the manufacturer’s instructions.

In practice

Write the date opened on the package with a marker as soon as you open it, then use the calculator once to find the end date and write that too. For stock you buy in bulk, repeat the calculation by batch. Keep the shelf life from the manufacturer’s label in months or days, whichever is given, and enter it in the matching field.

The date calculator adds or subtracts any period from a date, the days between dates calculator counts the gap between two dates, and the medication days supply calculator finds when a prescription runs out.

Frequently asked questions

How do I calculate an expiration date?

Add the shelf life to the date the product was made or opened. A shelf life of 6 months from March 3 ends on September 3. This calculator adds months and days and handles the different lengths of months.

What is the difference between best before and use by?

A best-before date is about quality: after it the food is usually safe but may be less good. A use-by date is about safety, for perishable food such as meat or fish, and should not be passed.

What is the period after opening on cosmetics?

A small open-jar symbol with a number such as 6M or 12M gives the months a cosmetic stays good after opening. Mascara and eye products are usually 3 to 6 months, creams 6 to 12 months, and the date to count from is the day you opened it.

Is a product bad right after the date?

Not necessarily, but quality, strength or safety are no longer guaranteed. For medicines, vaccines, sunscreen and baby formula, respect the date. For dry foods, smell and look are a guide, with caution.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.