Food · Date codes

Egg carton date code decoder.

Turn the three-digit pack date on a USDA-graded egg carton into a calendar date. Enter the year if you know it; otherwise the tool shows the most recent possible date. A pack date does not establish freshness or food safety.

Short answer: U.S. rules say the lot number is the consecutive day of the year on which the eggs were packed, with 7 CFR 56.37 giving 132 as its example. Day 132 is May 12 in an ordinary year and May 11 in a leap year. The number has no year in it.

Source: 7 CFR 56.36 and 56.37Read on 17 November 2026

What the number on the carton is

Eggs packed in USDA-graded plants carry a small block of printing on the carton. One part is a plant number, the letter P followed by digits. Another is a three-digit number that people call the Julian date. The federal regulation on lot marking of officially identified shell eggs, 7 CFR 56.37, says the lot number shall be the consecutive day of the year on which the eggs were packed, and gives 132 as the example. So the number is simply a count of days from 1 January. It is not a code in any deeper sense.

Reading it

How the decoder works

  1. It accepts a whole number from 1 to 366. Anything else, including a code with letters, is rejected.
  2. It starts with the reference year, which defaults to the year of the date you set (today unless you change it).
  3. It converts the day number to a calendar date in that year. If the date is later than the reference date, it steps back one year, because eggs cannot be packed in the future.
  4. Day 366 is accepted only for a leap year, so it steps back to the most recent leap year that has already ended.
  5. You can type a pack year to override the inference. It then reports the age in days between the pack date and the reference date.
Pack-code day numbers by month
MonthFirst day, common yearLast day, common yearFirst day, leap yearLast day, leap year
January131131
February32593260
March60906191
April9112092121
May121151122152
June152181153182
July182212183213
August213243214244
September244273245274
October274304275305
November305334306335
December335365336366

Worked example

The regulation’s example is 132. January has 31 days, February 28, March 31 and April 30, which makes 120 days. Day 132 is therefore the twelfth day of May: Tuesday, May 12, 2026. In a leap year February has 29 days and the same number lands on May 11, as it did on Saturday, May 11, 2024. Now take a carton read on January 5, 2026 with the code 360. In 2026 the 360th day would be in December, which has not happened yet, so the tool steps back to 2025 and reports Friday, December 26, 2025, which is 10 days before the reference date. A code of 366, read in October 2026, is reported as Tuesday, December 31, 2024, because 2024 is the most recent leap year.

Edge cases and common mistakes

Who this is for

Shoppers who want to know how long ago their eggs were packed, cooks who bake from a carton that has been in the fridge a while, and anyone who has stared at a carton and wondered what 132 is meant to say.

What this does not cover

It gives the pack date and its age in days. It does not say whether the eggs are safe, fresh or past their best, because that depends on how they were stored, and it does not read the sell-by date or the plant number. For storage guidance, follow USDA Food Safety and Inspection Service advice. The regulation may be amended, so confirm against the sources below.

Sources

Frequently asked questions

What does the three-digit number on an egg carton mean?

It is the day of the year the eggs were packed. 7 CFR 56.37 says the lot number shall be the consecutive day of the year on which the eggs were packed, for example 132.

What date is 001 on an egg carton?

January 1. The count runs consecutively through the year, so 365 is December 31 in a common year and 366 is December 31 in a leap year.

How do I convert the Julian date to a calendar date?

Count the days from January 1. January has 31 days, so 032 is February 1, and 132 is May 12 in an ordinary year. This page does the counting and handles leap years.

Does the number include the year?

No. The code repeats every year, so this tool assumes the most recent matching date on or before the reference date unless you type a pack year.

Is the three-digit number the expiration date?

No. It is the pack date. A sell-by or expiration date, where one is printed, is a separate date.

What is the P number on the carton?

The regulation requires the plant number of the official plant, preceded by the letter P, on each carton. It names the packing plant and is not a date.

Does this tell me whether my eggs are safe?

No. It gives the pack date and the age in days. How long eggs keep depends on storage, so follow USDA Food Safety and Inspection Service guidance.

Is the code I type sent anywhere?

No. The decoding runs in your browser and nothing is stored or transmitted.

Pack date only, not a safety check

This page converts a day-of-the-year pack code into a calendar date using the rule in 7 CFR 56.37. It does not judge freshness or safety, does not read sell-by dates or plant numbers, and does not cover cartons that use other lot systems. Anything you type stays in your browser. Confirm against the sources cited above.

Advertisement
Advertisement