Guides

How to Calculate a Product Expiration Date

Calculate a product expiration date from production date and shelf life. Formula, calculator inputs, a 36-month worked example and answers to common questions.

Miryori Editorial Team3 min read
Try the Expiration Date Calculator

Most packages tell you what a product is and when it was made, but the last day it stays usable is rarely spelled out. An expiration date calculator turns the production date and the stated shelf life into that final date, whether the label gives a period in days, weeks, months or years.

A product's expiration date is its production date plus the stated shelf life: add the number of days, weeks, months, years, or years and months specified by the maker to the date the product was made or first used. The calculator returns the final date the product is still valid and good to use. Adding 36 months to December 01, 2022 gives December 01, 2025 — exactly three years.

What formula does the expiration date calculator use?

The calculator's own source equation is manufacture + longevity = expiry_date. In words, the production date plus the shelf-life interval gives the expiration date:

Expiration date=Production date+Shelf life\text{Expiration date} = \text{Production date} + \text{Shelf life}

Here Production date\text{Production date} is the starting date you enter — the production date or the date of first use — and Shelf life\text{Shelf life} is the period the product is expected to remain good. Their sum, Expiration date\text{Expiration date}, is the final date the product is still valid and good to use.

Calculator field Source variable What it holds Value from the source example
Production date manufacture Starting date, e.g. production date or date of first use December 01, 2022
Shelf life longevity Number of days, weeks, months, years, or years and months 36 months (three years)
Expiration date expiry_date Final date the product is still valid and good to use December 01, 2025

How do I use the expiration date calculator?

Using the expiration calculator takes three steps:

  1. Enter the starting date — for example, the production date or the date of first use.
  2. Enter the shelf life of the product: the number of days, weeks, months, years, or years and months stated for it.
  3. Read the final date the product is still valid and good to use.

If the label expresses the period in a unit you did not expect, the same rule applies: the interval is added to the starting date, so make sure the period you enter matches the one printed on the product.

Worked example: 36 months from December 01, 2022

The source FAQ asks for the expiration date of a product with a best before date of 36 months, assuming a manufacture date of December 01, 2022. Add the 36-month shelf life to the production date:

December 01, 2022+36 months=December 01, 2025\text{December 01, 2022} + \text{36 months} = \text{December 01, 2025}

The expiration date is December 01, 2025. Since 36 months is exactly three years, the same result follows from adding three years to the manufacture date. Entering December 01, 2022 as the production date and 36 months as the shelf life makes the calculator show December 01, 2025 in the expiration date field.

Frequently Asked Questions

Where can I find a product's expiration date?

A product's expiration date is usually written on the outside of the container. Date labeling is voluntary except for products meant for consumption by infants.

What if I cannot see a specific date on the product?

Do not worry if no date is printed: manufacturers are responsible for making sure their products are safe. How long you can safely use a product also depends on how it is used and stored.

Can I enter shelf life in units other than months?

Yes. The calculator accepts a number of days, weeks, months, years, or years and months, so a shelf-life period printed in any of those units can be added to the production date.

References

  • The expiration date calculator's source equation: manufacture + longevity = expiry_date.
  • The tool's FAQ example: December 01, 2022 plus 36 months equals December 01, 2025.
  • Standard date arithmetic for adding a stated period to a production date.
Calculator

Expiration Date Calculator

Expiration Date: find out how long your product is good to use with our expiration date calculator. Free, fast and private.

Try the Expiration Date Calculator