Who it’s for

Coffee roastersRestaurants and cafesBakeriesEverything else
HeardOur workPricingFree toolsAboutContact

Coffee cost, per bag and per cup.

Put in your green price, roast loss and bag size. This calculator shows your cost per cup and per bag, with the math. No sign-up.

Every box starts empty. The grey text only shows the format. Use your own numbers.

Needed

What one pound of unroasted beans costs you, with freight if you pay it. Buy by the sack? Divide the sack price by its pounds. Buy your coffee already roasted? Put the roasted price here and 0 for roast loss.

How much weight the beans lose in the roaster. To measure it: weigh a batch before and after. Take the weight lost, divide by the starting weight, times 100.

The weight of roasted coffee in one bag.

Optional, per bag

The bag, valve, label, and anything else that goes on it.

Weighing, filling, sealing, labelling.

Your own time counts too. Work time only counts when both boxes are filled.

Anything else one bag costs you. Leave it blank if the buyer pays shipping.

Optional, for cups and margin

Ground coffee in one cup or one shot.

Try your retail price, then your wholesale price.

Your cost per bag

Enter your green price, roast loss and bag size to see your numbers.

These are your own numbers multiplied out, nothing more. Each line is rounded to the cent, but the math keeps every decimal, so a total can differ from its parts by a cent. Cost per cup counts the coffee only: not milk, cups, lids or staff time.

How the math works.

You pay for green coffee by the pound, but you sell roasted coffee. Roasting makes the beans lighter, so each roasted pound took more than one green pound to make. The calculator divides your green price by the share of weight that is left after roasting:

  • Roasted cost per pound = green price ÷ (1 − roast loss)
  • Coffee cost per bag = roasted cost per pound × bag weight in pounds
  • Cost per bag = coffee + packaging + work time + shipping or other
  • Coffee cost per cup = roasted cost per pound ÷ 453.59 grams × grams per cup
  • Margin = selling price − cost per bag. Margin % is that, divided by the selling price (not by cost, so it is not markup).

One pound is 16 ounces, or 453.59237 grams. Those are the only fixed numbers in the tool. Everything else is yours.

What roast loss is.

Green coffee holds water. In the roaster, heat drives most of that water out, and a little of the bean leaves as gas and chaff. So a pound of green coffee comes out weighing less than a pound. The share it lost is your roast loss.

It changes with the coffee, the roast level and the machine. Darker roasts stay in longer, so they usually lose more. The best number is the one you measure: weigh a batch going in, weigh it coming out, and divide the weight lost by the starting weight. If you roast several coffees, measure each one.

Why cost per bag matters for wholesale.

A café buying from you pays less per bag than a shopper does, so there is less room between your cost and your price. A few cents missed on each bag does not look like much. Multiply it by every bag you ship to every café, every week, and it is real money.

The costs people forget are the small ones: the valve, the label, the ten minutes of bagging. That is why the calculator asks for them. Know your floor before you quote a wholesale price, not after.

How to use your result.

Your cost per bag is your floor. Sell below it and each bag loses money. Put your retail price in the selling price box, note the margin, then try your wholesale price. Run it again when your green price changes.

If you run a café, the cost per cup shows what the coffee in one drink costs you. It does not include milk, cups, lids or staff time. Add those on top when you price a drink.

What this leaves out: rent, power and gas for the roaster, equipment, bad batches, samples and card fees. If you know what those come to per bag, add them in the shipping or other box.

Questions people ask.

How do I calculate the cost of a roasted pound of coffee?

Divide your green coffee price per pound by (1 − roast loss). Roasting makes the beans lighter, so each roasted pound took more than one green pound to make.

How do I work out the coffee cost per cup?

Divide your roasted cost per pound by 453.59 grams, then multiply by the grams of coffee in one cup. That is the coffee only. It does not include milk, cups, lids or staff time.

How do I measure roast loss?

Weigh a batch going into the roaster, weigh it coming out, and divide the weight lost by the starting weight. Roast loss changes with the coffee, the roast level and the machine, so measure each coffee you roast.

What goes into the cost of a bag of coffee?

The coffee, the packaging, your work time, and shipping or other costs. The ones people forget are the small ones: the valve, the label and the minutes of bagging.

How do I calculate the margin on a bag of coffee?

Take your selling price, subtract your cost per bag, and divide what is left by the selling price. It is divided by the price, not by the cost, so it is margin and not markup.

We build online stores and wholesale order forms for coffee roasters.

Sheraz GandhiYou talk to Sheraz.Sheraz Gandhi, co-founder.