Skip to content
CalcTide logo
Time & Date

Expiration Date Calculator

A product made on March 15, 2026 with an 18-month shelf life expires on September 15, 2027. This expiration date calculator adds a shelf life to a production or purchase date and tells you the expiry date, how many days remain, and whether it has already passed. It handles days, weeks, months, and years, including the month-end edge cases like January 31 plus one month.

Time & DateBy

Quick answer

Expiration date = production date + shelf life.

Expiration

Expires January 15, 2028 (549 days left)

Expiration date

2028-01-15

Days remaining

549

What this tells you

  • Expiration date = production date + shelf life.
  • Days and weeks add exact day counts. Months and years move the calendar date forward.
  • When the target month is shorter, the date clamps to the month's last day, so January 31 plus 1 month is February 28.
  • The days-remaining count compares the expiry against today.

How to Use

  1. 1Enter the production, packaging, or purchase date.
  2. 2Enter the shelf life and pick its unit.
  3. 3Read the expiration date and the days remaining.
  4. 4An expired item shows how many days past expiry it is instead.

How It Works

Formula

expiration date = start date + shelf life

For day and week shelf lives, the calculator adds the exact number of days. For months and years it moves the calendar forward the stated number of months, keeping the same day of month where possible. A 6-month shelf life from March 15 lands on September 15, while one month from January 31 clamps to February 28 because February has no 31st.

Calculation note: values are processed in the order shown above, using the current input units.

Worked Examples

Canned food with an 18-month shelf life

Start Date2026-03-15
Shelf Life18 months
ResultExpires September 15, 2027

18 calendar months forward, keeping the 15th.

Fresh milk, 14 days from packaging

Start Date2026-07-10
Shelf Life14 days
ResultExpires July 24, 2026

Exact day count, no calendar month rules involved.

Medication bought January 31 with a 1-month supply window

Start Date2026-01-31
Shelf Life1 month
ResultExpires February 28, 2026

February has no 31st, so the date clamps to the last day of the month.

Typical Shelf Lives

Common products and how long they usually keep, unopened and stored properly.

ProductTypical shelf life
Fresh milk5-14 days
Eggs (refrigerated)3-5 weeks
Bread5-7 days
Canned vegetables1-5 years
Dried pasta1-2 years
Most medications1-5 years
Sunscreen3 years

Common mistakes

  • Counting from the purchase date when the label counts from production. Weeks can pass between the two for shelf-stable goods.
  • Treating best-before as unsafe-after. Best-before marks peak quality, while use-by on perishables is the actual safety line.
  • Ignoring the opened clock. Many products switch to a much shorter life once opened, whatever the printed date says.

Frequently Asked Questions

Add the shelf life to the production date. A March 15 production date with 18 months of shelf life expires September 15 the following year.
The date clamps to the last day of the target month. January 31 plus one month gives February 28, or February 29 in a leap year.
No. Best-before is about quality, and food is often fine after it. Use-by dates on perishable items like fresh meat are the safety cutoff.
Usually, yes. Sauces, dairy, and cosmetics switch to a days-or-weeks clock once opened. Look for the open-jar symbol with a month count on the label.
As the whole days from today to the expiry date. Expiring tomorrow shows 1 day, and an expired product shows how many days past it is.
Yes. The same date math covers warranty periods, certification renewals, visa validity, and anything else with a start date plus a duration.
It estimates expiration date calculator outputs using the visible inputs and formula assumptions on this page.

Explore More in Time & Date