Breast Milk Storage Calculator — Use-By Times for Pumped Milk (CDC Rules)
The 4 hours – 4 days – 6 months rule, turned into the exact use-by clock for your bottle
You just finished a pumping session, you label the bottle, and then the question hits: how long do I actually have before this milk has to be used or tossed? This calculator answers that in one tap. Tell it when you pumped and where the milk is going — counter, refrigerator, freezer, a cooler with ice packs, freshly thawed, or leftover in a bottle the baby already drank from — and it prints back the exact use-by date and time, counted forward from your pump time, using the storage guidelines published by the CDC (Centers for Disease Control and Prevention).
The CDC's numbers for freshly expressed milk and a healthy, full-term infant are easy to remember as a stair-step:
- Room temperature (up to 77°F / 25°C): up to 4 hours. Warm rooms or direct sun shorten this in practice.
- Refrigerator (40°F / 4°C): up to 4 days. Store it at the back, not in the door where the temperature swings.
- Insulated cooler with ice packs (about 5–39°F): up to 24 hours — your transport window between home, work, and daycare.
- Freezer (0°F / −18°C): best used within 6 months; acceptable up to 12 months. A standalone deep freezer holds a steadier temperature than the freezer compartment inside a fridge.
Two special cases have their own, much shorter clocks, and they're where most spoilage mistakes happen:
- Thawed milk (frozen milk moved to the fridge) must be used within 24 hours of being fully thawed, and you must never refreeze it.
- Leftover milk from a feeding the baby has already started must be used within 2 hours, because bacteria from the baby's mouth have entered the bottle.
A few practical notes the tool bakes in. These windows are for full-term, healthy babies; milk for preterm, hospitalized, or immune-compromised infants follows stricter NICU rules — ask your hospital. Always store milk in clean, food-grade containers, label every container with the date, and use the oldest milk first. Freezing does change milk slightly — frozen-then-thawed milk can smell soapy or sour from the enzyme lipase, and that's usually still safe to feed.
This calculator is a general scheduling aid based on CDC guidance, not medical advice and not a food-safety guarantee. Times start from the moment of expression, so an honest pump time matters; when in doubt about a bottle's smell, look, or history, throw it out and ask your pediatrician or a lactation consultant.
Calculator
Fill in the fields and click "Calculate" for instant results.
📰 Formula
• Room temperature (≤ 77°F / 25°C): use-by = pump time + 4 hours • Refrigerator (40°F / 4°C): use-by = pump time + 4 days (96 hours) • Insulated cooler with ice packs (~5–39°F): use-by = pump time + 24 hours • Freezer (0°F / −18°C): best by = pump time + 6 months; acceptable up to 12 months • Thawed in refrigerator: use within 24 hours of thaw — never refreeze • Leftover from a started feeding: use within 2 hours of starting the feed • Source: CDC breast milk storage and preparation guidelines (full-term, healthy infants)
📰 Formula
• Room temperature (≤ 77°F / 25°C): use-by = pump time + 4 hours • Refrigerator (40°F / 4°C): use-by = pump time + 4 days (96 hours) • Insulated cooler with ice packs (~5–39°F): use-by = pump time + 24 hours • Freezer (0°F / −18°C): best by = pump time + 6 months; acceptable up to 12 months • Thawed in refrigerator: use within 24 hours of thaw — never refreeze • Leftover from a started feeding: use within 2 hours of starting the feed • Source: CDC breast milk storage and preparation guidelines (full-term, healthy infants)
🧪 Worked examples
Example 2
Example 3
Example 4
⚠️ Common mistakes
- Starting the clock when you put the milk away instead of when you actually pumped it.
- Refreezing milk that was already thawed — the CDC says use it within 24 hours and do not refreeze.
- Saving the leftovers from a bottle the baby already drank from for more than 2 hours.
- Storing milk in the refrigerator or freezer door, where temperature swings cut the safe window short.
- Applying these full-term timelines to a preterm or hospitalized baby, who needs stricter NICU storage rules.
💡 Tips
- Label every container with the date and time you pumped, and always feed the oldest milk first.
- Store milk at the back of the fridge or freezer, never in the door, so it stays at a steady cold temperature.
- Freeze in small 2–4 oz portions to thaw only what a feeding needs and waste less if some is left over.
- Thaw frozen milk in the fridge overnight or under warm running water — never in the microwave, which creates hot spots.
- If frozen-then-thawed milk smells soapy from lipase, it's usually still safe; when truly unsure about any bottle, throw it out.
Embed this calculator on your site
Copy the code below and paste it into the HTML of your site or blog.
<iframe src="https://www.calcnimbus.com/embed/breast-milk-storage-calculator" width="100%" height="500" frameborder="0" style="border:1px solid #eee;border-radius:12px"></iframe>
❓ Frequently asked questions
How long can breast milk sit out at room temperature?
Per the CDC, freshly pumped breast milk is safe at room temperature (up to 77°F or 25°C) for up to 4 hours. A warm room or direct sunlight can shorten that, so move it to the fridge sooner if you can. This tool counts the 4 hours forward from your pump time so you see the exact cutoff.
How long does breast milk last in the refrigerator?
The CDC says freshly expressed milk keeps up to 4 days (96 hours) in a refrigerator at 40°F (4°C). Store it at the back of the fridge rather than in the door, where the temperature fluctuates. Using it within 3 days is even safer if your stash allows.
How long can I freeze breast milk?
The CDC recommends using frozen breast milk within 6 months for best quality, while up to 12 months is acceptable. A deep freezer at 0°F (−18°C) holds a steadier temperature than the compartment inside a refrigerator. Label each bag with the pump date and use the oldest first.
Can I refreeze breast milk after it has thawed?
No. Once frozen milk has fully thawed, the CDC says to use it within 24 hours and never refreeze it. Refreezing degrades quality and raises the risk of bacterial growth. Thaw only what you expect the baby to take within a day.
How long is breast milk good after the baby drinks from the bottle?
Leftover milk from a feeding the baby has already started should be used within 2 hours, then discarded. Bacteria from the baby's mouth enter the bottle and multiply, so this window is much shorter than for untouched milk. Pour smaller amounts to avoid throwing milk away.
How long can breast milk stay in a cooler with ice packs?
An insulated cooler bag with frozen ice packs (roughly 5–39°F) keeps milk for up to 24 hours, per the CDC. That covers the commute between home, work, and daycare. As soon as you arrive, move the milk to a refrigerator or freezer and restart the appropriate clock.
Does this calculator work for a premature or hospitalized baby?
No — these timelines are for healthy, full-term infants. Milk for preterm, hospitalized, or immune-compromised babies follows stricter NICU storage and handling rules set by the hospital. Always follow your care team's specific instructions for those situations.
Why does my thawed breast milk smell soapy or sour?
An enzyme called lipase can break down fats during freezing, leaving a soapy or metallic smell after thawing. This milk is usually still safe to feed, though some babies refuse the taste. Scalding milk before freezing can reduce the lipase effect; ask a lactation consultant if it's a recurring issue.
Is this breast milk storage calculator medical advice?
No. It's a scheduling aid that turns the published CDC guidelines into exact use-by date-and-time stamps from your pump time, for general information only. It is not a food-safety guarantee. When a bottle's smell, look, or history seems off, discard it and check with your pediatrician or a lactation consultant.