Decoder
Egg Carton Julian Date Decoder
The 3-digit number stamped on an egg carton is a Julian date: the day of the year the eggs were packed. Enter it below to get the exact date. Eggs packed today would carry 339.
Decode the egg carton code
- Julian Date (JD)
- Modified JD (MJD)
- Julian Day Number
Click or tap any result to copy it.
Enter the 3-digit code (e.g. 202). The decoder chooses the most recent non-future pack date; edit the reference year when the carton is older.
Where to find the code
On USDA-graded eggs, the pack date is printed on the short end of the carton, near the “Sell By” or “Best By” date and a plant number that starts with P. A typical line looks like this:
P1970 305 EXP NOV 30 P1970 is the plant, 305 is the Julian pack date
(November 1 in a common year) and EXP NOV 30 is the
sell-by date. The order and spacing vary by packer, but the Julian date
is always the 3-digit number between 001 and
365 (or 366).
Julian dates for the first of each month
To decode a code without the tool, find the month whose first day is
just below your number and count on. Code 202 is 20 days
after July 1 (182), so July 21 in a common year.
| Pack date | Code, common year | Code, leap year |
|---|---|---|
| January 1 | 001 | 001 |
| February 1 | 032 | 032 |
| March 1 | 060 | 061 |
| April 1 | 091 | 092 |
| May 1 | 121 | 122 |
| June 1 | 152 | 153 |
| July 1 | 182 | 183 |
| August 1 | 213 | 214 |
| September 1 | 244 | 245 |
| October 1 | 274 | 275 |
| November 1 | 305 | 306 |
| December 1 | 335 | 336 |
Leap years (2024, 2028, 2032) add February 29 as day 060, so every code from 060 on falls one calendar day earlier than in other years. The full list is on the day-of-year chart.
What the USDA rules say
- Pack date is required on cartons that carry the USDA grade shield, written as a 3-digit Julian date.
- Sell-by or expiration date is optional. If it is printed, it can be no more than 30 days after packing, counting the pack day itself. Eggs packed on day 305 (November 1) can carry a sell-by date of November 30 at the latest.
- Best-by or use-by dates can run up to 45 days from the pack date.
- Eggs without the USDA shield follow the rules of the state where they are packed, which differ on whether and how a date is shown.
How fresh are the eggs?
The pack date is the most honest freshness indicator on the carton. Count the days from the pack date to today: a carton packed on day 300 and bought on day 310 is 10 days from packing. Keep eggs refrigerated at or below 40 °F (4 °C). USDA recommends using raw shell eggs within 3 to 5 weeks after purchase, which is not the same as 3–5 weeks after the pack date.
A floating egg has a larger air cell and is older, but floating alone does not show whether it is safe. Crack it into a separate bowl and check for an off odor or unusual appearance.
Sources: USDA food product dating, USDA shell-egg safety guidance and the USDA AMS rule on eggs packed under the grade shield (2006).
Julian date vs. sell-by date
The Julian date is when the eggs were packed. The sell-by or best-by date is set by the packer within the limits above, for store stock rotation. Use the pack date to judge how old the eggs are.
Related
Frequently asked questions
Where is the Julian date on an egg carton?
Look on the short end of the carton or the lid edge, usually near the "Sell By" or "Best By" date and a plant code beginning with "P". The Julian date is a 3-digit number from 001 to 365 (366 in a leap year): the day of the year the eggs were washed, graded and packed.
How do I read the 3-digit egg code?
The number is the day of the year. 001 is January 1, 032 is February 1, 060 is March 1 in a common year (February 29 in a leap year), and 365 is December 31 (or December 30 in a leap year). Enter the code above to get the exact pack date.
How long are eggs good after the pack date?
USDA advises using raw shell eggs within 3 to 5 weeks of the day you buy them, if they are refrigerated at 40 °F (4 °C) or below. On USDA-graded cartons, the sell-by date can be at most 30 days after packing, counting the pack day, so the pack date tells you how much of that window has already passed.
Is the Julian date the expiration date?
No. It is the pack date. An expiration, sell-by or best-by date, if the carton has one, is printed separately as a month and day.
What is the "P" plant code next to the Julian date?
The code starting with "P" (for example P-1234) identifies the USDA-registered plant that processed and packed the eggs. It is used for traceability and recalls and has nothing to do with the date.
Do all egg cartons have a Julian date?
Cartons with the USDA grade shield must show the pack date as a 3-digit Julian date. Eggs packed without the USDA shield follow state rules, which may require a different date or none, so small-farm and farmers-market cartons vary.