Ecosystemexpand_more
Informationexpand_more
Featuresexpand_more
Farming by speciesexpand_more
Turkeys — guideexpand_more
Broilersexpand_more
Calculatorsexpand_more
Basics & recordsexpand_more
Avian influenza & NDexpand_more
Production diseasesexpand_more
Climate & housingexpand_more
Hygiene & disinfectionexpand_more
Welfare & paymentsexpand_more
Transport & slaughterexpand_more
Biosecurity & welfareexpand_more
Incubation & eggexpand_more
Equipment & mechanisationexpand_more
Comparisonsexpand_more
AI, sensors & monitoringexpand_more
Bird assessment & selectionexpand_more
Certificatesexpand_more
Equipment & installationsexpand_more
Innovation & farm futureexpand_more
Trade fairs & eventsexpand_more
Feeding & lightexpand_more
Purchase pricesexpand_more
Avian influenza by regionexpand_more
Buying prices by regionexpand_more
paymentsPricing
Toolsexpand_more
Grantsexpand_more
Regulationsexpand_more
Rules in Polandexpand_more
Registration and IRZexpand_more
Veterinary Inspectionexpand_more
Diseases and compensationexpand_more
Building and environmentexpand_more
Animal welfareexpand_more
Medicines and feedexpand_more
Sales and slaughterexpand_more
Tax, KSeF and subsidiesexpand_more
2026 notices and changesexpand_more
EU rulesexpand_more
EU: animal healthexpand_more
EU: animal welfareexpand_more
EU: medicines and feedexpand_more
EU: environmentexpand_more
EU: market and tradeexpand_more
Timeline of changesexpand_more
Newsexpand_more
Researchexpand_more
Pricing→
Companyexpand_more

Join nowSign in
General knowledge

Egg grades explained: codes 0/1/2/3, class A/B and sizes

The digit 3 on an eggshell means caged hens. It is only one of three markings on an egg. The others are size (S/M/L/XL) and quality class (A or B). We show how to read each one, how they differ and who stamps eggs with the producer code.

verifiedFrom the team that has organised work on poultry farms for years.

Egg code 3: caged hensFarming code 0-3Class A and BSize S/M/L/XLEgg marking

Updated:

Legal status as of 23 November 2026. What does egg code 3 mean? The digit 3 on the shell means caged hens: the hens live in enriched cages with no access to an outdoor run. It is one of four codes: 0 is organic, 1 is free range, 2 is barn, 3 is cage. The digit says nothing about freshness or egg size. It only tells you how the hens were kept.

Three markings that everyone calls a "grade"

In everyday talk, "egg grades" means everything at once. On the egg and the carton there are three separate systems. The first is size (S, M, L, XL), based on the egg's weight in grams. The second is quality class (A or B), which covers freshness and shell condition. The third is the farming code (0, 1, 2 or 3) stamped on the shell. One egg carries all three, for example "L", "class A" and "1".

Where the confusion comes from

All three markings work within the EU marketing standards for eggs. The current basis is Commission Delegated Regulation (EU) 2023/2465 of 17.08.2023, which repealed Commission Regulation (EC) No 589/2008. Size and quality class come from classic trade rules. The farming code came later, together with animal welfare rules and production-method labeling. That is why buyers often look for "class 3" or "class 0", although formally these are farming codes, not classes. We describe organic farming (code 0) in the article on organic eggs.

Farming code

Egg codes 0, 1, 2, 3: what the number on the shell means

Egg codes 0, 1, 2 and 3 in a table

The table below lists all four codes. This is the one of the three markings that people casually call the "egg class", although formally it is a production-method code.

Farming code on the eggshell
CodeHen housing methodWhat it means in practice
0OrganicAccess to an outdoor run, and stricter requirements for feed, stocking density and inspection
1Free rangeHens have access to an outdoor run; feed does not have to meet organic standards
2BarnHens kept in a building, with no access to an outdoor run
3CageHens kept in enriched cages, with no access to an outdoor run

Egg code 3: caged hens

Code 3 means eggs from caged hens. The hens live in enriched cages and have no access to an outdoor run. It is one of four ways of keeping laying hens allowed in the European Union, alongside barn (2), free range (1) and organic (0). The code only tells you the farming method. It says nothing about freshness or size: an egg marked 3 can be fresh and class A, just like an egg marked 0.

How to read the whole code on an egg

The farming digit is the start of the producer code. Next comes the country mark, for example PL for Poland, and a number that identifies the flock the egg came from. This way every egg can be traced to a farm. If you run a laying farm yourself, see what the farm veterinary number looks like. The marking rules are also covered on our page about egg marketing standards under Delegated Regulation (EU) 2023/2465.

Comparison

How an egg marked 0 differs from 1 and 2

Code 0 versus code 1

Code 1 means free range: hens have access to an outdoor run, but feed and conditions do not have to meet organic farming standards. Code 0 is certified organic farming. Besides access to a run, it has stricter requirements for feed (including its organic origin), stocking density and inspection. So every egg marked 0 also meets the conditions of code 1, but not the other way round.

Code 2: barn eggs

Code 2 means barn housing. The hens are kept in a building and do not go outside. This differs from code 1, where a run is available, and from code 3, where the birds sit in enriched cages. If someone asks about "egg class 2", this is the housing method they mean.

Does the code change nutritional value

Some consumers see eggs marked 0 and 1 as more ethical because of how the hens are kept. Differences in nutritional value between the codes are, in practice, much smaller than people commonly think. When you choose a code, you are mainly buying a housing method, not a better egg. For a full explanation of what the organic certificate means and how to check a seller's credentials, read our article on organic eggs.

Size

Sizes S, M, L, XL: egg weight classes

Weight ranges

Size is set by the egg's weight in grams, split into four ranges. The same ranges apply across the European Union, so an "L" egg bought in Poland weighs the same as an "L" bought in Germany or Italy.

Egg sizes by weight
SizeNameEgg weight
Ssmallunder 53 g
Mmedium53–63 g
Llarge63–73 g
XLvery largeover 73 g

Is a bigger egg a better egg

Not in terms of quality. Size tells you only the weight, not freshness, nutritional value or how the hen was kept. A bigger egg simply has more content, mainly white. Whether it is fresh and in good condition is shown by another marking: class A or B. Size is also often confused with freshness, but they are unrelated. We explain how to check freshness regardless of size in the article on how to tell if an egg is fresh.

Quality

What does egg class A mean, and what is class B

Class A

Class A eggs are fresh and of normal commercial quality: a clean, undamaged shell, a natural shape, no foreign smell and a correct air cell. The air cell is a small gap at the blunt end of the egg. Only class A goes to retail sale. If you buy eggs in a shop, they are almost always class A, even when the letter "A" is not clearly printed on the pack.

Class B

Class B covers eggs that do not meet class A requirements: a damaged or dirty shell, an irregular shape or too large an air cell, meaning they are less fresh. They do not reach shop shelves. They go to the food industry, for example to make liquid egg products and confectionery, or to non-food processing.

Is there a class "ABC"

People often ask about "ABC" class eggs. Formally there are only two quality classes, A and B. The letter "C" is not part of this system. It most likely comes from mixing up quality classes with sizes, or from random lettering when searching for information.

Marking

Who stamps eggs with the producer code, and where

Transport packs and deliveries to another country

Under Delegated Regulation (EU) 2023/2465, the producer marks every transport pack of eggs at the place of production. This information goes on the pack and in the accompanying documents, and the company that receives the eggs keeps a copy of the documents. Eggs sent to a collection point, packing center or non-food industry plant in another Member State are marked with the producer code before they leave the place of production (art. 8). The producer's country may grant an exemption if the producer has signed a supply contract with a packing center in another country that provides for such marking. Both parties file the application, prior written consent from the packing center's country is needed, and the contract must run for at least a month.

Exemption from marking at the place of production: IJHARS notice of 02.10.2026

According to a notice of 02.10.2026 from IJHARS (Poland's Agricultural and Food Quality Inspection), issued after an amendment to the act on the commercial quality of agri-food products, an egg producer can apply for an exemption from marking eggs with the producer code at the place of production. There are two conditions. First, eggs delivered to a packing center are marked only at that center. Second, the farm and the packing center lie in the same county (powiat) or neighboring counties, or in the same voivodeship or neighboring voivodeships, if you run the packing center where the marking takes place. You file the application with the voivodeship IJHARS inspector responsible for the place where the eggs are produced. The form is on the IJHARS website under "Wzory dokumentów" (document templates), and the local WIJHARS office gives details.

Cheat sheet

How to read an egg carton: all three markings at once

The summary below shows what each marking tells you and where to find it. We describe them according to the egg marketing standards in Commission Delegated Regulation (EU) 2023/2465, which replaced Regulation (EC) No 589/2008, as of 23 November 2026.

Three egg marking systems
MarkingValuesWhat it tells you
SizeS, M, L, XLegg weight in grams
Quality classA, Bfreshness and condition of the egg
Farming code0, 1, 2, 3how the laying hens were kept

What to check when you buy

First look at the farming code if the hens' living conditions matter to you. Then choose a size that suits your recipe or budget. You do not need to look for class A, because in a shop you always buy it. You keep eggs fresh by storing them properly, which we cover in the article on storing eggs.

If you keep hens for eggs yourself

Eggs from your own farm can also be grouped by weight and shell condition, and the way you house the flock decides which code they can carry. Check the requirements for selling specific eggs with your county veterinary office or IJHARS, and ask the voivodeship IJHARS inspector about the exemption from marking on the farm. You will find the basics of running a laying flock in the guide on how to keep hens for eggs. How much you can earn from eggs from your own flock depends on the market. For current rates, see the overview of farm egg prices.

Frequently asked questions

What are the egg grades?add

An egg has three independent markings: size (S, M, L, XL), quality class (A and B) and farming code (0, 1, 2, 3). The first two are classes in the strict sense. The farming code is a production-method code, although people casually call it a class too.

What does number 3 on an egg mean?add

Number 3 means an egg from caged hens: the hens are kept in enriched cages with no access to an outdoor run. It is one of four housing methods allowed in the EU. The number tells you the farming method, not the freshness of the egg.

What does class A eggs mean?add

Class A eggs are fresh, with a clean, undamaged shell and a correct air cell. It is the only quality class sold to consumers. Class B eggs go to the food industry, not to shop shelves.

What do egg codes 0, 1, 2, 3 mean?add

Zero is organic, one is free range, two is barn housing in a building and three is cage. The lower the number, the more requirements apply to the hens' living conditions.

What is the difference between egg code 0 and 1?add

One means free range, but feed and conditions do not have to meet organic standards. Zero is certified organic farming with extra requirements for feed and stocking density. An egg marked 0 also meets the conditions of 1, but not the other way round.

Which egg grade is the best?add

It depends on which marking you mean. By size, none is better: a bigger egg is only heavier. By quality, in a shop you buy class A anyway. By housing, some consumers prefer codes 0 and 1, but differences in nutritional value are smaller than people think.

Does an egg producer have to mark eggs on the farm?add

As a rule, transport packs are marked at the place of production. Under the IJHARS notice of 02.10.2026, you can apply for an exemption if only the packing center marks the eggs, and the farm and the center lie in the same or neighboring counties or voivodeships. You file the application with the voivodeship IJHARS inspector.

Do you keep a laying flock and want your egg production under control?

The <a href="/program-do-ewidencji-kurnika">poultry house records</a> module in DlaFerm lets you log egg collection and production in your flock day by day. Create a free farm account or get in touch, and we will show you how it works.

Give us a phone number or an email — either one is enough.

See also