Skip to main content
Label My Food

Free tool

Shelf Life Calculator

Pick the date made and the shelf life. Get the best-by date. The table shows typical shelf lives for home-made foods. Free, no account.

Dates
Picks the days for you
days

Results

Best by
Best by (ISO)
Shelf life
days
Days from today

How does the shelf life calculator work?

It adds the shelf life in days to the date made and shows the result as a best-by date. Pick a food from the list to fill in a typical shelf life, or type your own number.

The typical values are general guidance for home-made food stored at room temperature in an airtight container unless the note says otherwise. They are not a rule. Your recipe, your climate, and your packaging change them. Test your own product.

How long do home-made foods last? Typical shelf life table

FoodTypical shelf lifeStorage
Cookies, crisp14 daysAirtight container
Cookies, soft5 daysAirtight container
Brownies and bars5 daysAirtight container
Cake, unfrosted3 daysWrapped
Cake with buttercream3 daysCovered. Cream cheese frosting needs refrigeration
Cupcakes3 daysCovered
Bread, yeast3 daysBagged
Quick bread and muffins3 daysWrapped
Pie, fruit2 daysThen refrigerate up to 4 days
Granola30 daysAirtight container
Candy, hard180 daysDry, airtight
Fudge14 daysAirtight container
Caramels30 daysWrapped
Chocolate, tempered90 daysCool, dry
Jam and jelly, sealed365 daysUnopened, processed in a water bath
Dried fruit180 daysAirtight
Roasted nuts30 daysAirtight
Dry mix in a jar180 daysDepends on the shortest-lived ingredient
Spice blend180 daysAirtight, away from light
Popcorn, popped7 daysAirtight

Frequently asked questions

How do I calculate a best-by date?

Add the shelf life in days to the date the food was made. If cookies keep for 14 days and you baked them on the 1st, the best-by date is the 15th.

Is a best-by date required on a cottage food label?

Most states do not require one. Texas requires the date made on foods that need refrigeration and on foods sold through a cottage food vendor. Check your state page. Many makers add a best-by date anyway because buyers ask.

What is the difference between best by, use by, and sell by?

Best by is about quality. Use by is about safety and is used on perishable food. Sell by is a note to the store. For home-made shelf-stable food, best by is the right phrase.

How do I know the real shelf life of my product?

Test it. Make a batch, store it the way a customer would, and taste it every day or two. Note the day it goes stale, soft, or dry. Set your shelf life a little shorter than that.

More free tools

  • Type your ingredients with weights. Get the ingredient list in the right order, the allergen line, and a printable cottage food label.

  • Paste a recipe. Change the servings. Get every amount scaled, with kitchen fractions.

  • Enter what each ingredient costs and how much you use. Get cost per batch, cost per unit, and a selling price.

  • Ingredients, decorating time, packaging, and markup. Get a price for the whole cake and per slice.

  • Batch weight and servings in. Grams per serving and per-serving calories, fat, carbs, sodium, and protein out.

Read next