Skip to content

Expiration Date Calculator

Expiry date from shelf life or the PAO symbol, and how many days a product has left.

Your details

Calculate
Unit

Results update as you type

Expiration date

May 16, 2028

Status today
Expires in 547 days
Days remaining (negative = expired)
547
Day of the week
Tuesday
Total shelf life in days
547

A pack says "best within 18 months of manufacture", a face cream shows a little open jar marked 12M, a medicine label gives a shelf life of 2 years. In each case the actual date is left for you to work out. This expiration date calculator does it in one step.

Choose Shelf life to add days, weeks, months or years to a manufacture, purchase or opening date. Choose After opening (PAO) for cosmetics: enter the date you opened the product and the number in the open-jar symbol. Choose Days left to see how long remains before a date printed on a pack. Every mode shows the expiry date, its weekday and the number of days remaining from today, or how long ago the date passed.

The page also explains what the dates on labels really mean: a use-by date is about safety, a best-before date is about quality, and confusing the two is a major cause of food waste.

How to use this calculator

  1. Pick a mode: Shelf life, After opening (PAO) or Days left.
  2. Shelf life: enter the start date (manufacture, purchase or opening), the duration and its unit.
  3. PAO: enter the date you first opened the product and choose the number printed in the open jar (for example 12M).
  4. Days left: enter the date printed on the packaging.
  5. Read the expiry date and the days remaining. A negative number means the date has passed.

The formula

For days and weeks, the expiry date is a straight count on the calendar:

expiry=start+n×{1 day7 days\text{expiry} = \text{start} + n \times \begin{cases} 1\ \text{day} \\ 7\ \text{days} \end{cases}

For months and years, the calculator moves the month (12 months per year) and keeps the same day number, as people do when they read "6 months". When that day does not exist in the final month, it uses the last day of the month: 31 August + 6 months = 28 February (29 in a leap year), and 29 February + 1 year = 28 February.

The days remaining are counted from today:

days left=expiry−today\text{days left} = \text{expiry} - \text{today}

Zero means today is the last day; a negative value is the number of days since the date passed.

Worked example

A face cream opened on 31 August 2026 has a 6M symbol. Six months later is 31 February, which does not exist, so the expiry date is February 28, 2027. On 8 October 2026 it has 143 days left.

A tin of biscuits made on 10 March 2026 with an 18-month best-before period is best eaten by September 10, 2027, 337 days after 8 October 2026.

Yoghurt bought on 8 October 2026 with a 21-day shelf life must be eaten by October 29, 2026.

Use-by vs best-before

EU Regulation 1169/2011 on food information defines two different dates:

Label wording French equivalent Meaning After the date
Use by DLC, « à consommer jusqu’au » Safety date for highly perishable food (fresh meat, fish, dairy desserts) Do not eat; the food may be dangerous even if it looks fine
Best before DDM, « à consommer de préférence avant » Quality date (dry goods, tins, frozen food) Usually safe if the pack is intact and stored correctly; taste or texture may decline

Under the same regulation, a best-before date shows day and month for foods that keep less than 3 months, month and year for 3–18 months, and just the year beyond 18 months. In the United States, product dating is voluntary except for infant formula; the USDA recommends the wording "Best if used by" and notes that foods past it can still be eaten if they show no sign of spoilage.

The PAO symbol on cosmetics

Under EU Regulation 1223/2009 (Article 19), a cosmetic whose minimum durability exceeds 30 months does not need a best-before date but must show the period after opening: an open jar with a number of months, such as 6M, 12M or 24M. Products that keep 30 months or less carry a date instead, often next to an hourglass symbol. The PAO starts the day you first open the product, so it is worth writing that date on the pack.

Frequently asked questions

What does 12M on a cosmetic mean?

It is the period after opening: the product should be used within 12 months of the day you first open it. Enter that date and choose 12M to get the exact expiry date.

Can I eat food after the best-before date?

Usually yes, if the packaging is intact and the food was stored as indicated: the best-before date is about quality. A use-by date is different: after it, perishable food should not be eaten.

What is 31 January plus one month?

There is no 31 February, so the calculator uses the last day of February: 28 February, or 29 February in a leap year. The same rule applies to every month end.

How do I find out how many days a product has left?

Choose Days left and enter the date printed on the pack. The calculator counts the days from today; a negative number means the date has already passed.

Does the expiry date still apply after opening?

Not always. Once a pack is opened, instructions such as "eat within 3 days of opening" take over, and the printed date no longer guarantees anything. Use Shelf life mode with the opening date.

Sources

Last updated:

More Everyday life calculators

People also use