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.
| Defect | Category | Cause | Effect on the cup |
|---|---|---|---|
| Full black bean | Primary | Overripe/fallen cherry, over-fermentation | Rotten, dirty, fermented flavours |
| Full sour bean | Primary | Over-fermentation, dirty water, overripe fruit | Sharp, sour, vinegary taste |
| Dried cherry / pod | Primary | Incomplete hulling | Ferment, mould, phenolic notes |
| Large stone / stick | Primary | Foreign matter from drying | Roaster damage, contamination |
| Partial black / partial sour | Secondary | Milder version of the above | Muddy, sour off-notes |
| Insect damage | Secondary | Coffee borer beetle and other pests | Musty, dirty flavours |
| Broken / chipped / cut | Secondary | Aggressive hulling or handling | Uneven roast, faster staling |
| Floater / shell / husk | Secondary | Low density, malformed beans, milling debris | Uneven roast, thin cup |
| Quaker (immature) | Secondary (seen after roast) | Underripe cherry picked too early | Pale 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.
