Commodity Origins

Producing vs exporting vs processing

Published 2026-09-05; updated 2026-09-06.

Producing, exporting and processing are three different measurements of the same commodity, and they routinely name different countries: production counts what is grown or mined inside a country’s borders, exports count what crosses those borders in a given year, and processing counts what is transformed there, usually from raw material grown or mined somewhere else. Confusing the three is the most common error in commodity writing, and it is easy to avoid once you know which table you are reading.

Why do the three rankings disagree?

Start with production. A production statistic is a physical count of a harvest or a mine’s output, attributed to the ground it came from. It says nothing about where the crop goes. India grows enormous quantities of wheat and exports very little of it, because more than a billion people eat it at home. Domestic consumption is the first wedge between production and exports.

The second wedge is re-export and entrepôt trade. Ports with deep water, bonded warehouses and good onward logistics handle other countries’ goods. When those goods are re-exported, they appear in the trade statistics of the transit country, which can vault a country into an export ranking for something it never grew.

The third and largest wedge is processing. Almost every commodity is traded in more than one form, and the Harmonized System gives each form its own code. Green coffee is HS 090111 and roasted coffee is HS 090121; cocoa beans are HS 1801 and cocoa butter is HS 1804; copper ores and concentrates are HS 2603 and refined cathode is HS 7403. Each transformation adds value and moves the goods into a different statistical line. Whoever performs the transformation books the export of the higher-value line.

Processing settles where four things are cheapest: energy, capital, logistics and market access. Smelting and refining metal is electricity-intensive, so it concentrates where power is cheap and abundant. Grinding cocoa and roasting coffee are less energy-hungry but more sensitive to the freshness and consistency demanded by manufacturers, so they sit close to the consumer market. Market access matters because of tariff escalation: many importing countries charge little or nothing on raw material and more on the processed form, which discourages processing at origin and is a long-standing complaint of producing countries.

A fourth factor is shipping. Beans, ore and grain are dense and stable, so they travel cheaply in bulk. Some processed forms are more fragile, need temperature control or lose volume, which changes the arithmetic in either direction. Cocoa butter and powder travel well, which is one reason grinding moved to importing countries a century ago and only partly moved back.

Coffee: who grows it, who exports the beans, who exports it roasted Three columns compare shares at three stages of the coffee chain. Green coffee grown in 2024 is led by Brazil with 30.4 percent, Vietnam 18.1 percent and Colombia 7.5 percent. Green coffee exports by value in 2024 are led by Brazil with 34.6 percent, Vietnam 11.6 percent and Colombia 10.2 percent. Roasted coffee exports by value in 2024 are led by Switzerland with 23.3 percent, Italy 16.7 percent and Germany 14.0 percent, none of which grows coffee. Grown Exported as beans Exported roasted green coffee, 2024 share of value, 2024 share of value, 2024 Brazil30.4% Vietnam18.1% Colombia7.5% All others44.0% Brazil34.6% Vietnam11.6% Colombia10.2% All others43.6% Switzerland23.3% Italy16.7% Germany14.0% All others46.0% Switzerland grows no coffee; it roasts beans it imports. Bars are shares of each stage; the three stages are three separate populations.

Coffee shares at three stages: production from FAOSTAT (2024), export shares by value from CEPII BACI (2024).

A worked example

Coffee shows all three measurements at once. In 2024 Brazil grew 3.39 million tonnes of green coffee, 30.4% of the world’s 11.13 million tonnes, with Vietnam second at 2.02 million tonnes, or 18.1%, out of 78 producing countries (FAOSTAT). On the export side the ranking is similar but not identical: Brazil supplied 34.6% of the $33.68 billion of green coffee exported in 2024, Vietnam 11.6% and Colombia 10.2% (CEPII BACI). Brazil’s export share exceeds its production share because it consumes a smaller fraction of its crop than some producers do, and because export data is measured in dollars, where its arabica commands a different price from Vietnam’s robusta.

Move one code along the Harmonized System and the map changes completely. World exports of roasted coffee, HS 090121, were worth $14.95 billion in 2024, and the leaders were Switzerland with 23.3%, Italy with 16.7% and Germany with 14.0% (CEPII BACI). None of the three grows a commercial coffee crop. They import green beans, roast them, and export a product worth several times more per tonne. Nothing about this is hidden; it simply sits in a different row of the same database.

Cocoa tells the same story in a different accent. Ivory Coast (Côte d’Ivoire) grew 1.89 million tonnes of cocoa beans in 2024, 36.2% of the world’s 5.22 million tonnes (FAOSTAT), and supplied 26.3% of the $18.87 billion of bean exports (CEPII BACI). But the largest exporter of cocoa butter, HS 1804, was the Netherlands with 26.9% of $13.60 billion, ahead of Indonesia at 11.3% and Germany at 11.2% (CEPII BACI). Grinding capacity, not cacao trees, decides that ranking.

Metals split the same way, one stage further apart. World mine production of copper was an estimated 23 million tonnes of contained metal in 2025, led by Chile with 5.3 million tonnes, or 23.0%, DR Congo (Democratic Republic of the Congo) with 13.9% and Peru with 11.7%. Refined production was 29 million tonnes, and China alone made an estimated 14 million tonnes of it, 48.3% of the world total, from 1.8 million tonnes of its own mine output (USGS Mineral Commodity Summaries). The gap is filled by imported ore: China took 62.5% of the $105.87 billion of copper ores and concentrates traded in 2024, while Chile supplied 29.3% of them (CEPII BACI). Refined output exceeds mine output partly because scrap is refined alongside ore.

So the practical rule is to say which measure you mean, every time, and to name the product form and the year with it. The origin pages on this site do that by separating production from trade: see where coffee comes from, the trade tables on the cocoa page and the mine-versus-refinery split on the copper page. For the codes that make these distinctions machine-readable, read HS codes explained; for why the same cargo carries two prices depending on delivery terms, read FOB, CIF and Incoterms.

Frequently asked questions

Which country produces the most coffee?

Brazil. It grew 3.39 million tonnes of green coffee in 2024, 30.4% of the world's 11.13 million tonnes, ahead of Vietnam with 18.1% (FAOSTAT). Production counts beans harvested inside the country, whatever happens to them afterward.

Why does Switzerland export so much coffee?

Because it roasts imported beans. Switzerland grows no coffee, yet it supplied 23.3% of world roasted coffee exports by value in 2024, ahead of Italy at 16.7% and Germany at 14.0% (CEPII BACI). Roasting adds value in the country that does it, not the country that grew the crop.

What is the difference between production and exports?

Production is what a country grows or mines; exports are what leaves its border, including goods it imported first. A country can be a large producer and a small exporter if it eats or uses the crop at home, and a large exporter without producing anything if it processes or re-exports.

Which country refines the most copper?

China. It produced an estimated 14 million tonnes of refined copper in 2025, 48.3% of the world's 29 million tonnes, while mining 1.8 million tonnes of copper in ore, 7.8% of world mine output (USGS Mineral Commodity Summaries).

Where does the value in a commodity chain sit?

It shifts toward whoever does the last transformation. World exports of green coffee were worth $33.68 billion in 2024 and roasted coffee $14.95 billion, from a far smaller physical volume (CEPII BACI). The roasting countries capture that second figure.

Does processing show up in production statistics?

Not in crop statistics. FAOSTAT counts the harvest, so cocoa grinding in the Netherlands or copper smelting in China appears only in industrial output and trade data. Reading trade tables by product code is the way to see where processing happens.

Commodities where the biggest producer is not the biggest exporter (48)

On each of these pages the production map and the export map name a different country at the top, which is the gap this page is about.

Related

Cite as: Commodity Origins, "Producing vs exporting vs processing", https://commodityorigins.com/learn/producing-vs-exporting-vs-processing/ (CC BY 4.0).