All calculators

Drinks and coffee

Coffee Cost per Cup Calculator

Add up the beans, milk, cup and lid to see what each drink costs to make.

Your drink

The bag and the coffee per drink can use different units.

Coffee

Grinder adjustments, spills and remade drinks.

Milk, cups and other items (optional)
Compare with price (optional)

Before sales tax and tip.

Results

Enter the bag cost, bag weight and coffee per drink.

More than the coffee

In a milk drink, the milk, cup and lid can cost as much as the coffee or more. Listing them separately shows where the money goes. It also lets you compare a small drink with a large one, or a drink for here with one to go. Run each version separately, because the dose, milk and packaging may all be different.

The formulas

usable coffee = bag weight × (1 − loss % ÷ 100) coffee cost ($) = bag cost ÷ usable coffee × coffee per drink other items ($) = sum of (quantity × cost per unit) cost per drink ($) = coffee cost + other items share of price % = cost per drink ÷ drink price × 100

The bag and dose weights are both converted to grams before dividing. Each other item needs its quantity and cost in the same unit, such as ounces of milk and the cost per ounce. If loss is blank, the whole bag counts as usable.

Example: a to-go latte

A 5 lb bag costs $80.00, and each latte uses 18 g. It also uses 8 fl oz of milk at $0.05 per fl oz, and a cup and lid that cost $0.20 together. The latte sells for $5.00, and no loss is entered. These prices and amounts are made up to show the math.

  • Bag weight: 5 × 453.59237 = 2,267.96 g.
  • Coffee: $80.00 ÷ 2,267.96 × 18 = $0.63.
  • Milk: 8 × $0.05 = $0.40. Cup and lid: $0.20.
  • Total: $1.23, or 24.7% of the $5.00 price, calculated before rounding.

In this example, coffee makes up about half the cost. Looking only at the beans would miss $0.60 per drink.

How coffee loss changes the cost

Some coffee never makes it into a drink you sell. It may be used to adjust the grinder, left in the grinder or thrown out with a bad shot. Suppose a 1 kg bag costs $25.00 and you use 20 g per drink. That's $0.50 of coffee per drink with no loss. If 20% is lost, only 800 g makes it into drinks, and the cost rises to $0.63. To find your own percentage, compare the coffee you used with your dose multiplied by the number of drinks you sold.

Where the conversions come from

Source: National Institute of Standards and Technology (NIST), Handbook 44 (2026), Appendix C, "General Tables of Units of Measurement." It marks these factors as exact: 1 avoirdupois pound is 453.59237 grams, and 1 avoirdupois ounce is 28.349523125 grams. These are the everyday pounds and ounces on coffee bags. Ounces here measure weight. They aren't the fluid ounces used for milk.

What this doesn't assume

No dose, loss, milk amount, price or target percentage is built in. The loss percentage applies only to coffee. If you steam more milk than you serve, enter the full amount you pour into the pitcher. Remember sleeves, stirrers, sugar and syrups if you want them included. If you roast your own coffee, use the cost and weight of the roasted coffee, because beans lose weight when roasted. Labor, rent, equipment, water and card fees aren't included unless you add them as items, so this isn't the full cost of serving the drink.