Coffee & Tea CultureCoffee & Tea Culture

Coffee Sorting: How Defects Are Removed From Green Coffee

By Coffee & Tea Culture Team

Coffee Sorting: How Defects Are Removed From Green Coffee

Coffee sorting is the stage where hulled green coffee is separated by size, density and colour, and defective beans are pulled out, so a rough pile of milled coffee becomes a clean, uniform, gradeable lot. It happens at the dry mill, after the parchment layer has been removed, and it is the last real chance to influence quality before beans are bagged and shipped. Get sorting right and every bean in the bag roasts evenly; get it wrong and a handful of bad beans can taint a whole cup.

What coffee sorting actually is

Sorting is a physical separation process. Once hulling strips the dried parchment or husk from the seed, what emerges is a mixed stream of green beans of different sizes, weights and colours, plus stray stones, sticks, husk fragments and broken pieces. Sorting runs that stream through a sequence of machines and, often, human hands to split it into consistent grades and to reject anything that would harm flavour or appearance.

The work sits inside the wider coffee processing chain, at the dry-mill end. Whether the lot was washed, natural or honey-processed, it converges here: cleaning, sorting and grading turn the farmer's parchment into export-ready green coffee. Because it is the final controllable step, mills treat it as their main line of quality defence.

Sorting versus grading: two related ideas

It helps to separate two words that are often blurred. Sorting is the mechanical act of separating beans. Grading is the classification standard that describes the result — the named categories a buyer sees, such as Kenya AA, Colombia Supremo or SCA Specialty Grade. Sorting is how you do it; grading is how you label and sell it. The two are tightly linked, because most grade names are simply the output of a sorting step, but they are not the same thing. For the full classification picture, see our guide to coffee grading.

The three axes of coffee sorting

Almost every dry mill sorts on three physical properties in roughly this order: size, then density, then colour. Each axis catches problems the others miss.

Size (screen grading)

Beans are dropped through a stack of vibrating steel screens perforated with round holes. Hole sizes are measured in 64ths of an inch, so a bean that sits on top of a screen 16 is roughly 16/64 — a quarter of an inch — across. A typical stack runs from about screen 14 up to screen 18 and above, with the largest beans staying on the coarsest screens and smaller beans falling through to finer ones.

Size sorting matters for roasting: small and large beans absorb heat at different rates, so a uniform screen size lets a roaster develop the whole batch evenly. Many origins build their grade names directly on screen size. Kenya's system is the classic example, where the top screens (17–18/64) become AA, the next band (roughly 15–16/64) becomes AB, and the small, round single seeds that grow one-per-cherry are separated out as peaberry, or PB. Smaller and lower grades — C, TT, T and so on — fall out below that. You can see how this shapes a whole origin's reputation in our Kenyan coffee guide.

Density (gravity separation)

Size alone cannot tell a dense, well-filled bean from a light, hollow one of the same width. That job goes to the densimetric table, usually called a gravity table. It is a perforated, slightly tilted deck that shakes while air is blown up through it. The air briefly lifts the beans, so the denser ones sink and "walk" up the vibrating incline to the high side, while lighter, less mature beans and foreign matter drift to the low side. Denser beans generally taste sweeter and more complex and roast more predictably, so this step both upgrades the lot and pulls out light defects, wood, and small stones that slipped past the screens.

Colour and hand-picking

The final axis is colour. Modern mills run beans past high-speed optical (electronic) sorters, where cameras inspect every bean in a falling stream and a burst of air ejects any that fall outside a set colour tolerance — black, over-fermented brown, yellowed or visibly insect-bored beans. After (or instead of) the machine, workers hand-pick the coffee on moving sorting belts or tables, catching subtle defects a camera can miss. Many quality-focused mills deliberately use both: a machine pass to do the heavy lifting, then human eyes for the final polish.

The defects sorting removes

The whole point of sorting is to remove defective beans. The Specialty Coffee Association groups green defects into two tiers by how badly they damage the cup. Primary (Category 1) defects are severe — a single one can ruin flavour. Secondary (Category 2) defects are milder individually but count against a lot as they accumulate.

DefectCategoryCauseEffect on the cup
Full black beanPrimaryOverripe/fallen cherry, over-fermentationRotten, dirty, fermented flavours
Full sour beanPrimaryOver-fermentation, dirty water, overripe fruitSharp, sour, vinegary taste
Dried cherry / podPrimaryIncomplete hullingFerment, mould, phenolic notes
Large stone / stickPrimaryForeign matter from dryingRoaster damage, contamination
Partial black / partial sourSecondaryMilder version of the aboveMuddy, sour off-notes
Insect damageSecondaryCoffee borer beetle and other pestsMusty, dirty flavours
Broken / chipped / cutSecondaryAggressive hulling or handlingUneven roast, faster staling
Floater / shell / huskSecondaryLow density, malformed beans, milling debrisUneven roast, thin cup
Quaker (immature)Secondary (seen after roast)Underripe cherry picked too earlyPale bean, papery, cereal, astringent taste

A note on quakers: unlike blacks or sours, they usually look normal when green and only reveal themselves after roasting, refusing to brown because they lack the sugars that drive caramelisation. That is why hand-sorting sometimes happens again after roasting for the highest grades — a machine sorting green coffee simply cannot see them.

Defect counts and why sorting drives price

Grading standards turn sorting quality into a number. Under the SCA green-grading protocol, a grader weighs out a 350-gram sample, spreads it, and counts defects, converting them into "full defect" equivalents. The equivalences reflect severity: one full black or full sour counts as a full primary defect on its own, whereas it takes several milder faults — for example five broken or chipped beans — to add up to one full secondary defect.

The bar for the top tier is strict. To reach Specialty Grade, a sample must have zero primary defects and no more than five full secondary defects, and (for Arabica) no quakers. Below that sit Premium, Exchange and lower grades with progressively looser defect allowances. Because those counts feed directly into how a lot is classified and priced, every bean that sorting removes before the sample is drawn can lift the grade — and better sorting is one of the clearest ways a mill or cooperative earns a higher return for the same harvest. Buyers confirm the result on the table with cupping, where the sensory score and the physical defect count together decide a lot's value.

Extra hand-sorting for specialty microlots

For everyday commercial coffee, the machine sequence — screens, gravity table, optical sorter — is usually enough. For specialty microlots the standard is higher. These small, traceable lots are often passed across hand-sorting tables several times, sometimes with beans turned and inspected under good light on every pass, to drive the defect count toward zero. In origins such as Ethiopia and across East Africa, this meticulous manual finishing is a defining part of how a microlot earns its premium and its reputation for a clean, consistent cup. It is slow, labour-intensive work, and it is precisely what separates a showcase lot from an ordinary one.

The takeaway

Coffee sorting is quiet, unglamorous, and decisive. By separating green beans on size, density and colour, and by removing blacks, sours, insect-damaged beans, broken pieces and quakers, it converts a variable harvest into a uniform, gradeable, roastable lot. It is the bridge between farming and the roaster, the step where consistency is built and defects are stopped, and the reason two lots from the same farm can command very different prices. When a coffee tastes clean and roasts evenly, careful sorting is a large part of the reason why.

Frequently asked questions

What is the difference between coffee sorting and coffee grading?
Sorting is the physical act of separating green beans by size, density and colour and pulling out defects. Grading is the classification standard that labels the result, such as Kenya AA or SCA Specialty Grade. In short, sorting is what mills do, and grading is how the sorted lot is named and sold.
How is green coffee sorted by size?
Beans pass through a stack of vibrating steel screens with round holes measured in 64ths of an inch. A bean that stays on a screen 16 is about 16/64 of an inch across. Larger beans remain on the coarse screens while smaller ones fall through, which is why grade names like Kenya's AA (17–18/64) and AB are built on screen size.
What is a densimetric or gravity table in coffee sorting?
A densimetric table, often called a gravity table, is a tilted, perforated deck that vibrates while air is blown up through it. The air lifts the beans so denser ones climb to the high side and lighter, immature beans and debris drift to the low side. It separates coffee by weight-to-size ratio, upgrading the lot and removing light defects, small stones and wood.
What are quakers and why can't they be sorted out of green coffee?
Quakers are underripe beans that look normal when green but fail to brown during roasting because they lack the sugars needed for caramelisation. Because they only reveal themselves after roasting, an optical sorter scanning green coffee usually cannot catch them. For that reason the highest grades are sometimes hand-sorted again after roasting.
How many defects are allowed in specialty-grade coffee?
Under the SCA green-grading protocol, a grader counts defects in a 350-gram sample. To qualify as Specialty Grade, the sample must contain zero primary (Category 1) defects and no more than five full secondary (Category 2) defects, with no quakers for Arabica. Lower grades allow progressively more defects.

Keep exploring

More brewing guides, tasting notes, and stories — from bean & leaf to cup.

Enjoying the guides?

We keep every guide free and ad-light. If this helped, buy us a coffee — it keeps the lights on and the next guide brewing.