Skip to main content

Expiry Date & Shelf Life Calculator

Adds a shelf life, counted as days, months or years, to a manufacture date to give the expiry date and the number of days still left.

months
Expiry date
Monday, 31 January 2028
Time remaining
431 days
Shelf life used
41.0%
730 day shelf life

How this is calculated

2026-01-31 + 24 months = Monday, 31 January 2028

Adding calendar months clamps to the last valid day of the target month. A product made on 31 January with one month of shelf life expires on 28 February, not on 3 March — which is what naive month arithmetic produces.

Expiry Date & Shelf Life Calculator: how it works

Choose the manufacture date and shelf life, and the tool adds them together. If the target month is shorter, it uses that month’s last day. The expiry and storage instructions printed on the pack always come first.

The month-end problem

Something made on 31 January with a one-month shelf life expires on 28 February, the last day of that month, because 31 February doesn’t exist.

The right answer is to stop at the last real day of the target month: 28 February, or 29 in a leap year.

Worked examples

ManufacturedShelf lifeCorrect expiryNaive result
31 Jan 20261 month28 Feb 20263 Mar 2026
31 Jan 20241 month29 Feb 20242 Mar 2024
31 Aug 20256 months28 Feb 20263 Mar 2026
15 Jun 202624 months15 Jun 202815 Jun 2028

How expiry is actually printed

  • Medicines usually show only a month and year, and stay valid until the last day of that month.
  • Food often prints a specific date, and "best before" differs from "use by" — the first is quality, the second is safety.
  • Cosmetics may show an open-jar symbol with a number of months, which counts from when you first open it, not from manufacture.

Frequently asked questions

Add the shelf life in months to the manufacture date. If that day doesn’t exist in the target month, use the month’s last day.

More in Travel & Insurance Utilities