Skip to content
Coffee know-how · Espresso

Espresso ratio and time: how to find your shot.

Two numbers explain almost every espresso: the ratio of ground coffee to drink, and how long the shot runs. The ratio tells you what you pulled. The time tells you whether it is well extracted.

By Michael Timofeev · Updated 13 October 2026 · 4 min read

What is the ratio?

The ratio is the weight of dry ground coffee compared with the drink in the cup. 18 g of coffee becoming 36 g of espresso is a ratio of 1:2. Weigh the drink rather than measuring its volume: the crema makes every millilitre reading unreliable. A small scale under the cup is all you need.

Ristretto, espresso, lungo

The ratio decides which drink you pulled. The boundaries are a common convention rather than a standard. Shotbook uses exactly these:

DrinkRatioWith 18 g of coffee
Ristrettobelow 1:1.5below 27 g
Espresso1:1.5 to 1:2.527 to 45 g
Lungofrom 1:2.5from 45 g
Diagram: ratio scale from ristretto through espresso to lungo and the target times for a medium roast
The ratio classifies the shot, the time evaluates it.

Which time fits which ratio?

The more water runs through the coffee bed, the longer the shot may take. Shotbook works with a target time that grows with the ratio and counts everything within ±4 seconds of it as balanced. It measures the total time from starting the shot to stopping it, so pre-infusion is included.

RatioTarget timeBalanced
1:1.527 s23 to 31 s
1:228 s24 to 32 s
1:2.532 s28 to 36 s
1:335 s31 to 39 s

These values are for a medium roast. They are a starting point, not a law: a shot outside the window that tastes great to you is a good shot.

Roast level shifts the time

Light roasted beans are denser and release their flavours more slowly. They may run a little longer, dark roasts a little shorter. Shotbook shifts the target time by roast level:

Roast levelTarget timeExample 1:2
Light+3 s31 s
Medium-light+2 s30 s
Medium±0 s28 s
Medium-dark−1 s27 s
Dark−2 s26 s

How to go about it

  1. Pick a dose that suits your basket (for example 18 g) and keep it fixed for now.
  2. Choose a ratio. 1:2 is a good start, 1:2.5 for light roasts.
  3. Pull the shot, stop at your target yield on the scale and note the time.
  4. Compare the time with the target window. Fix too fast or too slow with the grind, see dialing in your grind.
  5. Taste. In the end your palate decides, not the stopwatch.

Common questions

01Does pre-infusion count towards the shot time?
In Shotbook, yes: it measures from starting the shot until you stop it. More important than the method is measuring the same way every time, so your shots stay comparable.
02Is 1:2 the best ratio?
No, just a good starting point. Shorter ratios taste denser and more intense, longer ones cleaner and lighter. Many light roasts shine at 1:2.5.
03How much coffee goes into the basket?
Your basket decides. An 18 g basket is made for roughly 17 to 19 g. Stick to one dose and dial in the time with the grind.