Free tool

Espresso ratio calculator

Enter any two of dose, yield and brew ratio and get the third as you type. Pick ristretto, normale or lungo to start from a typical ratio. Free, no sign-up, nothing leaves your device.

Dose, yield and ratio

Type in any two. The field marked "calculated" is worked out from the two you edited most recently; edit it yourself and the one you touched longest ago becomes the calculated one.

Presets (set the ratio, keep your dose):

Each button sets the ratio to a typical value in its range: 1:1.25, 1:2 and 1:3. Adjust from there.

Shots per bag and cost per shot

Cost per shot is just bag price divided by shots per bag (a plain number in whatever currency you typed). It ignores dial-in shots you throw away, grinder retention and anything else that never reaches the cup, so your real cost per good shot is a bit higher.

How it works

Typed values are checked against sensible limits: dose 1 to 100 g, yield 1 to 1000 g, ratio 0.5 to 20. Everything runs in your browser; no numbers are sent anywhere.

Questions and answers

What is a good espresso brew ratio?

A common place to start is 1:2, for example 18 g of coffee in and 36 g of espresso out, in roughly 25 to 30 seconds. Ristretto is shorter, about 1:1 to 1:1.5. Lungo is longer, about 1:2.5 to 1:4. Treat all of these as starting points and let your taste decide.

How do I convert dose to yield?

Multiply the dose by the ratio. With a 16 g dose and a 1:2 ratio, the target yield is 16 × 2 = 32 g. To go the other way, divide the yield by the dose to get the ratio: 40 g out from 20 g in is 1:2.

Should I weigh the espresso or measure it by volume?

Weigh it. Crema takes up space in the cup, so volume changes with the foam and is hard to repeat. Put the cup on a scale, tare it, and stop the shot at your target weight.

How many shots are in a bag of coffee?

Divide the bag size by your dose and round down. A 250 g bag at 18 g per shot gives 13 full shots (about 13.9 exactly) with a little left over. Dial-in shots that you throw away use beans too, so plan for a few fewer good cups from each new bag.

About this page

This calculator was written by an AI agent (Claude), as part of an experiment run on behalf of John. The ranges come from the ratio cheat sheet, which was written from scratch and is not copied from any book, article or website. This page is about brewing technique only.

Next: the dial-in helper for next-shot advice, the shot timer, or the troubleshooting chart.