Coffee Bean Cost Calculator
Quick Answer
A coffee bean cost calculator converts your coffee bean price into a real cost per cup, per serving, or per espresso shot — factoring in your brew ratio and roasting loss. Enter what you paid per kilogram or pound for green coffee beans or roasted coffee beans, along with your dosage per drink, and this café tool returns the exact ingredient cost behind every cup you sell.
When Should You Use This Tool?
This tool answers a question every coffee shop and roaster eventually needs a real number for:
- Café owners setting menu prices who need actual coffee cost per cup, not a rough guess, before setting a profit margin
- Roasters pricing wholesale coffee or retail coffee bags who need to account for roasting loss between green coffee beans and the roasted product they sell
- Baristas and shop managers checking whether a recipe change — a heavier dose, a different brew ratio — meaningfully shifts ingredient cost
- Anyone comparing suppliers who needs cost per gram or cost per kilogram normalized across different coffee bean price quotes to compare fairly
If you know your coffee bean price and how much coffee goes into each drink, this tool turns that into the number that actually belongs in your food cost calculations.
How It Works
The calculation follows a simple workflow:
Enter Bean Price → Set Dosage → Apply Roasting Loss (if applicable) → Choose Serving Type → View Cost Per Cup
- Enter bean price. Input what you paid per pound or per kilogram for your coffee beans — arabica coffee, robusta coffee, a specialty coffee blend, or single-origin coffee.
- Set dosage. Enter grams of coffee per serving — a standard espresso shot uses an 18g dose, drip coffee typically uses a 1:16 brew ratio (about 60g per liter of water).
- Apply roasting loss. If you're costing from green coffee beans rather than already-roasted coffee, add your roasting loss percentage (typically 11-20%, most commonly 14-16% for light-to-medium roasts) so the calculator prices against actual roasted yield, not green weight.
- Choose serving type. Select cost per cup, cost per serving, cost per gram, or cost per espresso shot depending on what you're pricing.
- View cost per cup. The calculator returns your exact bean cost for that drink, ready to build into a full recipe costing alongside milk, syrup, and cup costs.
Understanding the Core Concepts
Brew ratio. Brew ratio is the weight relationship between coffee dose and finished drink. Espresso uses a 1:2 ratio by weight — an 18g dose yields a 36g shot — while drip and filter coffee typically run 1:15 to 1:17, with 1:16 the most commonly cited reference. This ratio is what turns a per-kilogram bean price into a per-cup cost, since it tells you exactly how many grams of coffee go into each serving.
Roasting loss. Green coffee beans lose weight during roasting, mostly as moisture evaporates — typically 11-20% of starting weight, with 14-16% the common range for light-to-medium roasts and heavier loss at darker roast levels. If you buy green and roast in-house, your real cost per kilogram is your green bean price divided by roasted yield, not divided by the green weight you started with — skipping this step understates your actual coffee cost.
Cost per cup vs. cost per gram. Cost per gram is the rawest unit — useful for comparing supplier pricing on equal footing. Cost per cup or cost per serving applies your actual dosage and brew ratio on top of that gram cost, which is the number that belongs in menu pricing and profit margin calculations.
Yield and dosage. Coffee yield refers to how much brewed beverage a given dose produces; dosage is how much ground coffee goes into the brew basket or portafilter. Espresso dosage sits around 18-20g per double shot in most specialty cafés, though ratio and dose both shift slightly by roast level and machine.
COGS and beverage costing. Cost of Goods Sold (COGS) for a beverage includes every ingredient — bean cost, milk, syrup, cup, lid — not bean cost alone. This calculator isolates the coffee component precisely so it plugs cleanly into a fuller recipe costing or beverage costing spreadsheet without guessing at the bean line item.
Origin and wholesale pricing. Coffee bean price varies substantially by origin and grade. Beans from Ethiopia and Kenya, both known for washed specialty lots, often command a premium over high-volume origins like Brazil and Vietnam, while Colombia sits in a broad middle range depending on the specific coffee blend or single-origin lot. Wholesale coffee pricing for a café's regular order will reflect these origin differences directly, which is why re-running this calculator when you switch coffee sourcing or supplier is worth the two minutes it takes.
Cost Per Cup: Espresso vs. Drip Coffee
| Factor | Espresso Shot | Drip / Filter Coffee |
|---|---|---|
| Typical brew ratio | 1:2 (18g dose → 36g yield) | 1:16 (roughly 60g per liter) |
| Dose per serving | 18-20g | Varies by pot size |
| Cost driver | Dose weight, not water volume | Both dose and batch size |
| Common use | Espresso-based drinks, lattes | Drip coffee, batch brew |
Real Example
A café buys arabica coffee at $18/kg wholesale. At an 18g dose per double espresso shot, bean cost per shot is $0.32. Adding milk, cup, and lid brings total ingredient cost to roughly $0.85 for a small latte sold at $4.50 — a healthy margin once labor and overhead are factored in separately. Running the same bean price through a 1:16 drip ratio instead shows filter coffee costs noticeably less per cup in raw bean terms.
Common Challenges & Limitations
Confusing green and roasted weight. The single most common costing error is pricing from a green coffee beans invoice without applying roasting loss, which understates true cost per kilogram by 15% or more once beans are actually roasted and sold.
Ignoring waste beyond roasting loss. Grind waste, over-dosing during dial-in, and spilled or discarded shots all add real cost that a clean brew-ratio calculation doesn't capture — treat this tool's output as your ingredient floor, not your final number.
Supplier pricing that isn't apples-to-apples. Comparing a green coffee beans price against a roasted coffee beans price directly, without normalizing for roasting loss, makes the green beans look artificially cheaper than they actually are once roasted.
Blend cost averaging. For a coffee blend combining multiple origins at different price points, the blended cost per kilogram isn't a simple average — it's weighted by the proportion of each bean in the mix, which this calculator handles but a rough mental estimate often gets wrong.
Professional Tips
- Re-run your cost per cup whenever coffee bean price changes from a supplier — even a $1/kg shift changes margin more than most café owners assume once it's multiplied across weekly volume.
- Track roasting loss by actual roast, not by a single fixed percentage, since a darker roast profile pulls more weight loss than a light one from the same green lot.
- When comparing supplier pricing on retail coffee vs. wholesale coffee terms, always convert both to cost per gram before comparing — packaging size differences hide real price differences otherwise.
- Build markup on top of full beverage costing, not bean cost alone — a coffee-only margin looks better than it is until milk, cup, lid, and labor get added in.
Frequently Asked Questions
How do I calculate cost per cup from a bag of coffee beans?
Divide the bag price by its weight in grams to get cost per gram, then multiply by your dose per cup — an 18g dose from a $20/kg bag costs $0.36 in beans alone.
What's a typical roasting loss percentage
? Most light-to-medium roasts lose 14-16% of green weight during roasting, though the full range across roast levels runs from about 11% to 20%.
Does this calculator work for both arabica coffee and robusta coffee?
Yes — enter the actual price you paid for either variety; the calculator doesn't assume a bean type, it works from your real coffee bean price.
What brew ratio should I use for espresso vs. drip coffee?
Espresso uses 1:2 by weight (18g dose, 36g yield); drip and filter coffee typically use 1:15 to 1:17, with 1:16 as the standard specialty-coffee reference point.
Should I calculate cost from green coffee beans or roasted coffee beans?
If you roast in-house, cost from your green bean price with roasting loss applied; if you buy pre-roasted, use the roasted price directly since the loss has already happened before you bought it.
How does coffee origin affect the cost calculation?
Origin doesn't change the formula — it changes your input price. Single-origin lots from Ethiopia or Kenya typically cost more per kilogram than high-volume origins like Brazil or Vietnam, which flows straight through to cost per cup.
Does this tool calculate my full profit margin?
No — it calculates coffee bean cost specifically. Full profit margin needs this number added to milk, packaging, and labor cost, then compared against your menu price.
Can I use this for a coffee blend with multiple origins?
Yes — enter the weighted average price of your blend based on the proportion of each origin, or calculate each component separately and sum the weighted cost per gram.
Related Tools
Once bean cost per cup is set, several related numbers round out a full café costing picture. The Espresso Yield Calculator fine-tunes your dose-to-yield ratio for a specific shot recipe, while the Brew Time Calculator helps confirm extraction time matches that ratio. The Milk Frothing Calculator and Coffee Strength Calculator extend the same costing logic to milk-based drinks and strength consistency, so every variable behind a cup's cost and quality is dialed in, not just the bean itself.
Final Thought
Coffee bean price alone doesn't tell you what a cup actually costs — brew ratio and roasting loss do that translation. Enter your numbers above to get a real cost per cup you can build menu pricing and profit margin decisions on with confidence.