What’s Inside Coffee Beans? A Full Breakdown of Bean Composition
Ever wondered what’s really inside your coffee beans? Whether you’re a home roaster, barista, or just curious, understanding the chemical makeup of coffee beans helps explain everything from flavor development to brewing behavior. This breakdown reveals the precise percentages of key compounds in both green (unroasted) and roasted coffee beans—numbers that directly influence how your coffee tastes and performs.
Green coffee beans are roughly 11.3% water, 11.7% fat, 11.8% protein, 8.0% sugar, and 1.3% caffeine, while roasted beans shift to 2.5% water, 13.2% fat, 12.8% protein, 1.8% sugar, and still 1.3% caffeine. The biggest changes? Sugar drops, fat rises, and roast-created ‘essence’ jumps from 17.1% to 29.6%.
Green vs Roasted Coffee Bean Composition (By Percentage)
Here’s the exact breakdown, measured by weight, for both green (raw) and roasted coffee beans:
- Green Coffee Beans:
- Water: 11.3%
- Fat: 11.7%
- Protein: 11.8%
- Sugar: 8.0%
- Essence (aromatics): 17.1%
- Caffeine: 1.3%
- Tannins (tannic acid): 6.0%
- Minerals: 4.2%
- Crude Fiber: 28.6%
- Roasted Coffee Beans:
- Water: 2.5%
- Fat: 13.2%
- Protein: 12.8%
- Sugar: 1.8%
- Essence: 29.6%
- Caffeine: 1.3%
- Tannins: 4.0%
- Minerals: 5.2%
- Crude Fiber: 29.6%
What These Coffee Bean Components Actually Do
Each compound in coffee contributes to its final taste, aroma, and body. Here’s how the major elements function:
Caffeine
Caffeine (1.3% in both green and roasted beans) is the most famous coffee compound. It stimulates the brain, heart, muscles, and kidneys. It promotes alertness, expands blood vessels, boosts metabolism, aids digestion, and helps flush sodium via the kidneys. Caffeine’s diuretic effect means it doesn’t linger—it’s typically flushed out within two hours. It also contributes bitterness to the cup.
Tannins (Tannic Acid)
Tannins make up 6.0% of green beans and drop slightly to 4.0% after roasting. These yellowish compounds dissolve easily in water but break down when boiled, forming quinoid substances that create off-flavors. Tannins add astringency and can contribute to perceived dryness or bitterness if over-extracted.
Fat (Lipids)
Fat content rises from 11.7% in green beans to 13.2% after roasting. These include both acidic fats (which vary by coffee origin and influence acidity) and volatile fats (responsible for up to 40 different aromatic compounds). Fat is crucial to mouthfeel, crema formation in espresso, and overall richness.
Sugar
Green beans contain around 8.0% sugar, which drops to just 1.8% after roasting. Most sugars convert into caramelized compounds during roasting, contributing to the brown color and complex flavors. These sugars also interact with tannins and proteins to shape sweetness and body.
Essence (Aroma Compounds)
This broad category jumps dramatically from 17.1% in green beans to 29.6% in roasted beans. Though not fully understood, these compounds are responsible for coffee’s signature fragrance and much of its flavor depth. They develop primarily during the Maillard reaction and thermal breakdown in the roaster.
Protein
Protein remains steady around 11.8% (green) to 12.8% (roasted). During roasting, proteins carbonize and contribute to color and bitterness. While proteins themselves don’t extract well in brewing, their breakdown products influence flavor complexity.

Minerals
Minerals like calcium, iron, potassium, and others account for 4.2% in green beans and increase slightly to 5.2% after roasting. Though present in small amounts, they contribute subtle metallic or earthy tones and affect extraction dynamics.
Crude Fiber
Fiber makes up the largest share: 28.6% in green beans and 29.6% in roasted. During roasting, fiber carbonizes and interacts with caramelized sugars to define the bean’s dark color and contribute to structural texture and dryness in the cup.
Coffee’s Other Minor Constituents
Beyond the major components, coffee also contains trace acids, esters, fatty acid compounds (like fatty acid sucrose esters), and antioxidants. These minor players add to the complexity of flavor and aroma but are not individually measured in standard analyses. Some, like citric and malic acids, develop during roasting or brewing and are key to bright, vibrant cups.
Frequently Asked Questions
What percentage of coffee beans is caffeine?
Both green (unroasted) and roasted coffee beans contain approximately 1.3% caffeine by weight. This consistency means the caffeine content doesn’t change significantly during roasting, though the overall bean mass does decrease due to moisture and sugar loss.
Does roasting reduce sugar in coffee beans?
Yes. Green coffee beans contain about 8.0% sugar, but after roasting, this drops to around 1.8%. Most of the sugars are converted into caramelized compounds such as melanoidins, which contribute to the brown color and complex roasted flavors in the final cup.
Why does roasted coffee have more 'essence' than green coffee?
Roasting triggers numerous chemical reactions—including the Maillard reaction—that generate aromatic compounds. The 'essence' or aromatic fraction of roasted beans jumps from 17.1% in green beans to 29.6% in roasted beans, which is why roasted coffee has a much stronger and more complex fragrance and flavor profile.
What makes up the majority of coffee bean content?
In green beans, the largest component is crude fiber at 28.6%, followed by water at 11.3% and various organic compounds. In roasted beans, crude fiber remains high at 29.6%, but the essence (aromatics) becomes the dominant contributor at 29.6%, followed by fat at 13.2%.
Does tannin content affect coffee taste?
Yes. Tannins, which make up 6.0% of green beans and 4.0% of roasted beans, can contribute to astringency and dryness in the cup. When over-extracted or boiled, tannins degrade into bitter-tasting quinoid compounds, which can negatively affect flavor if not managed through proper brewing techniques.
Is there more fat in roasted coffee than green?
Yes. Roasted coffee beans contain 13.2% fat, compared to 11.7% in green beans. This increase is due to chemical changes during roasting that break down some compounds and concentrate others, enhancing the bean’s richness and contribution to mouthfeel.
Recommended FrontStreet Beans for Exploring Bean Chemistry
Try FrontStreet Coffee’s Ethiopia Yirgacheffe for bright acidity and floral notes, their Colombia Huila for balanced sweetness and nuttiness, and their Ethiopia Guji for winey complexity—all of which highlight how bean origin and processing shape flavor from the same core chemical compounds. Freshly roasted within 5 days · Orders placed before 17:00 ship the same day · Next-day delivery across most of Guangdong Province.
FrontStreet Coffee is a long-established specialty coffee roaster in Guangzhou China, selling freshly roasted beans from its own farm in Yunnan as well as dozens of carefully selected single-origin beans from around the world for both pour-over and espresso. The products deliver consistently excellent quality and great value, with shipping within 24 hours. Guangzhou's FrontStreet Coffee shop is recommended by many coffee lovers, and the beans are now available online at the Tmall 。
Important Notice :
前街咖啡 FrontStreet Coffee has moved to new addredd:
FrontStreet Coffee Address: 315,Donghua East Road,GuangZhou
Tel:020 38364473
