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
Regulations & environmentexpand_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
Newsexpand_more
Researchexpand_more
Pricing→
Companyexpand_more

Join nowSign in
General knowledge

Egg grades: what the 0/1/2/3 code, class A/B and sizes mean

A 3 on the shell 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). Here is how to read each one and how they differ.

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

Eggs marked 3: caged hensFarming code 0-3Class A and BSize S/M/L/XLEgg markings

What does a 3 on an egg mean? It means the hens were kept in enriched cages, with no access to an outdoor range. It is one of four codes: 0 is organic, 1 is free range, 2 is barn, 3 is cages. The digit says nothing about freshness or egg size. It only tells you how the hens were housed.

Three markings that people call "grades"

In everyday speech, "egg grades" means everything at once. On the egg and the carton there are really three separate systems. The first is size (S, M, L, XL), based on the weight of the egg 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) printed on the shell. One egg carries all three, for example "L", "class A" and "1".

Where the confusion comes from

All three markings sit within EU marketing standards for eggs, but they were introduced at different times and for different reasons. Size and quality class come from classic trade rules. The farming code came later, together with animal welfare rules and labeling of the production method. That is why buyers often look for "grade 3" or "grade 0", although formally these are farming codes, not grades. We cover organic farming (code 0) in our article on organic eggs.

Farming code

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

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 usually call the "egg grade", although formally it is a production method code.

Housing code on the eggshell
CodeLaying hen housingWhat it means in practice
0OrganicOutdoor range access, plus stricter requirements for feed, stocking density and inspection
1Free rangeHens have outdoor access; feed does not have to meet organic standards
2BarnHens kept indoors, with no outdoor range
3CagesHens kept in enriched cages, with no outdoor range

Eggs marked 3: caged hens

A 3 marks eggs from caged hens. The birds live in enriched cages and have no access to an outdoor range. It is one of four housing systems for laying hens allowed in the European Union, alongside barn (2), free range (1) and organic (0). The number tells you only the housing 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 the egg

The housing digit is the start of the producer code. Next come the country mark, such as PL for Poland, and a number that identifies the flock the egg came from. This lets every egg be traced back to a farm. If you run a laying farm yourself, see what a farm veterinary number looks like.

Comparison

How an egg marked 0 differs from 1 and 2

Code 0 vs code 1

Code 1 means free range: hens can go outside, but feed and conditions do not have to meet organic farming standards. Code 0 is certified organic farming. Besides outdoor access, it has stricter requirements for feed (including its organic origin), stocking density and inspection. So every egg with code 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 indoors and do not go outside. This differs from code 1, where an outdoor range is available, and from code 3, where birds are kept in enriched cages. If someone asks about "grade 2 eggs", this is the housing system they mean.

Does the number change nutritional value?

Some shoppers see eggs with code 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 pick a number, you are mostly buying a housing method, not a better egg. For a full explanation of what an organic certificate means and how to check a seller, read our article on organic eggs.

Size

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

Weight ranges

Size is set by the weight of the egg 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" egg 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 housed. A bigger egg simply holds more, mainly white. Whether it is fresh and in good condition is shown by another marking, class A or B. Size is sometimes mistaken for freshness, but they are unrelated. To check freshness regardless of size, see how to tell if an egg is fresh.

Quality

What grade A eggs mean, and what class B is

Class A

Class A eggs are fresh and of normal commercial quality: a clean, undamaged shell, a natural shape, no foreign smell and a normal 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 store, 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 store shelves. They go to the food industry, for example for liquid egg and bakery products, or to non-food processing.

Is there a class "ABC"?

People often ask about "ABC" egg grades. 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.

Cheat sheet

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

The summary below shows what each marking tells you and where you find it. We describe them according to the EU marketing standards for eggs, Commission 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 are housed

What to check when you buy

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

If you keep hens for eggs yourself

Eggs from your own farm can also be sorted by weight and shell condition, and the way you house the flock decides which number they can carry. For the rules on selling eggs, check with your vet or the national authority in your country, as local rules apply. For help managing your laying flock, see our poultry house records software.

Frequently asked questions

What are the egg grades?add

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

What does a 3 on an egg mean?add

A 3 means the egg comes from caged hens: the birds are kept in enriched cages with no outdoor range. It is one of four housing systems allowed in the EU. The number tells you the housing method, not how fresh the egg is.

What do grade A eggs mean?add

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

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

Zero is organic, one is free range, two is barn housing indoors, and three is cages. The lower the number, the more is required of the hens' living conditions.

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

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

Which egg grade is best?add

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

Does a bigger egg mean a fresher egg?add

No. Size is set only by the weight of the egg in grams. Freshness is shown by the quality class, and you can check it yourself with simple methods.

Do you keep a laying flock and want 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 for 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