libraryof.coffee
← All guides

Making espresso

Dose, ratio and time the way James Hoffmann and Lance Hedrick dial in, and how to fix a sour or bitter shot.

This guide pulls together James Hoffmann’s Understanding Espresso series and his dial-in videos with Lance Hedrick’s espresso tutorials. I’ve said whose idea each bit is. They mostly agree, and where they don’t I’ve said that too.

A disclaimer from the dev: I don't actually have an espresso machine, so I can't vouch for any of this...

Use the brewer in the app rather than winging it from this page. It gets the shot time right first, then changes one thing at a time based on how it tasted.

What you need

  • An espresso machine
  • A grinder that can grind fine enough for espresso. Most pour-over grinders can’t
  • A scale that fits under your cup. Lance: “if you don’t already have a scale, change that. It’ll change your life”
  • A timer (the brewer has one)

James weighs the espresso rather than measuring it by volume, because Crema. The foam on top of an espresso, mostly CO₂ trapped in coffee oils. Fresh and darker coffees make more of it. It doesn’t tell you whether the shot tastes good. is mostly gas. Very fresh coffee makes more of it, so two shots that look the same size can have very different amounts of coffee in them.

The three numbers

Espresso comes down to three numbers: how much coffee goes in (the Dose. The weight of ground coffee you brew with, in grams.), how much espresso comes out (the Yield. How much espresso ends up in the cup, weighed in grams. 18g of coffee in and 36g out is a 1:2 ratio.), and how long it takes.

Dose. James says the basket decides this more than anything. Most baskets have a size on them, like 18g, and that’s about right. Lance goes by volume instead: fill it, Tamp. Pressing the ground coffee flat and firm in the basket before a shot. Press until it pushes back. Pressing harder than that doesn’t change much. it, lock it in and take it straight back out. If the shower screen left a mark on the coffee, take a little out. Roast level. How long and how dark the beans were roasted. Lighter roasts keep more fruit and acidity and need hotter water. Darker roasts dissolve easily and want cooler water. are denser, so more of them fits.

Ratio. Grams of water for every gram of coffee. 1:15 means 15g of water per gram, so 15g of coffee takes 225g of water. A lower number makes a stronger cup. For espresso it’s grams of espresso out per gram in: 1:2 is 18g in and 36g out.. Grams of espresso out for each gram of coffee in. A 1:2 ratio is 18g in and 36g out. James puts a ristretto at around 1:1 to 1:1.5, a normal espresso at 1:1.5 to 1:2.5, and anything longer than that is heading into lungo territory.

Time. James calls time an output, not a variable: it tells you how hard it was for the water to get through the coffee, so it shows whether a change to the grind did what you wanted. Lance deliberately doesn’t focus on it much, and says you might well love a 15 second shot. Start counting when you press the button.

The classic starting point for both is 18g in, 36g out, in 25 to 30 seconds. The brewer uses a window of 25 to 32 seconds, and starts light roasts a little longer (1:2.2 to 1:2.4) and dark roasts a little shorter (1:1.8).

How to dial in

  1. Fix the dose and the ratio, and don’t touch them yet
  2. Pull a shot and time it
  3. Too fast? Grind finer. Too slow? Grind coarser. Keep everything else the same
  4. Once it’s in the window, taste it and make one small change at a time

James’s first dial-in video shows this nicely with a light roast. His first shot was 18g in, 40g out in 34 seconds: harsh and sour. He went coarser and overshot to 25 seconds (under-Extraction. How much of the coffee dissolves into the water. Too little tastes sour and thin. Too much tastes bitter or astringent. Grind, temperature, time and agitation all change it.), then crept back finer to 29 seconds. It was good but he wanted more, so he kept the grind and let it run to 42g. Finally he dropped the dose to 17g and kept 42g out. That was the one.

Lance’s advice is to start a bit coarser than you think. A coarser grind lets the water through more evenly, so it’s quicker to find a tasty shot from that side. If you change the grind, grind and throw away a few grams first, because some grinders hold on to the old setting.

Sour or bitter?

Lance draws extraction as sour, then sweet, then bitter. Stop too early and the sour stuff dominates. Go too far and it turns bitter, watery and Astringent. A rough, puckering, drying feeling in your mouth, like strong black tea or an unripe banana. It’s a texture rather than a taste, and it usually means the coffee was extracted too far.. His line: “there’s no such thing as a sour coffee, only sour extractions”.

  • Fast and sour (say 20 seconds): the grind is too coarse. Go finer
  • Slow and still sour (say 20g in, 30g out in 50 seconds): counterintuitive, but go coarser. The grind is so fine the water only gets through a few Channelling. When water finds an easy path through the coffee bed and skips the rest. Part of the coffee ends up over-extracted and part under-extracted., so most of the coffee is under-extracted while a few paths are over-extracted
  • In the window but sour: let it run longer. 5 to 10g more out
  • Bitter, watery or astringent: you’ve gone too far. Grind coarser or stop the shot earlier

James uses the ratio for small tweaks. Going from 36g to 39g out can take a shot from slightly harsh and sour to balanced and clear. More than 2 or 3g and it starts to lose body and texture, so for bigger changes he goes back to the grind or the dose.

Temperature

James’s rough ranges are 85 to 90 °C for darker roasts, 88 to 92 °C for medium and 90 to 95 °C for light. Lance rarely goes above 93 or 94 °C, even for light roasts, and goes well below 90 °C for darker roasts, heavily processed coffees and old coffee.

James treats temperature as a small tweak rather than a main lever. He only reaches for it when the same problem keeps coming back: hotter for a sourness that won’t go away, cooler for a harshness that won’t go away. Change it by at least 1 °C, he’d usually go 2 °C, or you won’t taste the difference.

If your machine can’t set its temperature, don’t worry. The brewer won’t ask you to change it.

Pressure, tamping and crema

Lance’s take is that pressure is something to understand, not obsess over. Pressure comes from how much the coffee resists the water, which is mostly down to grind size, the dose, how fresh the coffee is and the basket. A machine set to 9.5 bar instead of 9 makes no difference you’ll taste. A shot that doesn’t reach 9 bar isn’t broken, the coffee just isn’t resisting much.

  • Tamp until the coffee pushes back. Once it’s fully compressed, tamping harder won’t slow the shot down
  • Crema doesn’t mean a good shot. Darker roasts and fresh coffee make lots of it, and you can get crema at 4 bar

Light roasts and turbo shots

Light roasts are harder for espresso. They’re denser, hold less CO₂ and make fewer Fines. The tiny dust-like particles every grinder makes. They extract quickly and can clog the paper, which slows the brew down. when you grind them, so they resist the water less and you have to grind much finer. Lance says the grinders built into many home machines can’t go fine enough for them.

Lance’s answer for very light roasts is to go the other way: grind coarse, run a bigger ratio of around 1:2.5 to 1:3 (even 1:3.5 for ultra light ones), and let it run fast, often in under 20 seconds. These “turbo” shots have less crema and body but lots of sweetness and clarity. The brewer sticks to the classic shot for now, but if a light roast stays sour however you dial it, this is worth a try.

Quick fixes

How it tastedOne thing to try
Sour, and the shot ran fastGrind finer (both)
Sour, and the shot ran very slowGrind coarser (Lance)
Sour, time was fineLet it run a few grams longer (both)
Bitter or harshGrind coarser, or turn the temperature down (James)
Astringent and wateryStop the shot earlier, or grind coarser (Lance)
WeakStop the shot earlier for a shorter ratio
Too intenseLet it run a little longer

All of the above sound like lots of thinking? Use the brewer!