InputTestHub

Espresso Shot Calculator

Works out espresso brew ratio and flow rate from dose, yield and time, and the yield any target ratio needs.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Enter your figures and press Calculate.
In short An espresso recipe is three numbers: dose in, yield out and time. Ratio is the first two divided — 18 g in and 36 g out is 1:2 — and it must be measured by WEIGHT, because crema is mostly gas and the same 36 g shot fills anything from 30 to 60 ml depending on how fresh the beans are. Under about 1:1.5 is a ristretto, 1:1.5 to 1:2.5 a normale and beyond that a lungo, though those are a spectrum with fuzzy edges rather than three settings. HERE IS THE PART THE ADVICE LEAVES OUT. "Aim for 1:2 in 25 to 30 seconds" is the most repeated sentence in espresso, and it does not pin a flow rate — it pins a flow rate PER DOSE. At 1:2 in 27 seconds a 14 g basket needs 1.04 g per second and a 22 g basket needs 1.63, which is 57% more liquid through the puck in the same time for what is described as the identical recipe. That is why a grind that worked perfectly in one basket is wrong in another, and why moving from a 15 g to an 18 g basket feels like relearning the machine. Flow rate times time is yield, exactly, so any two of the three fix the third and you can say precisely how much of a long shot was the grind and how much was not stopping it. The practical order matters. Fix the dose to what your basket is built for, choose a ratio, then move the GRIND until the time lands where you want it — and taste at every step. Time is a symptom of what the puck is doing, not a thing you set; chasing 27 seconds by changing the dose is working backwards and will cost you a week. Two limits worth stating. Ratio and time say nothing about whether the puck was prepared evenly, and channelling will wreck a shot that reads perfectly on paper. And extraction yield, the number that actually tracks taste, needs a refractometer as well as a scale — the ratio here tells you what you made, not how much of the coffee you got out.

How to use the Espresso Shot Calculator

  1. Enter your figures in the input fields.
  2. The result updates as you type, together with the full working.
  3. Check the breakdown table to see exactly how the number was reached.

About the Espresso Shot Calculator

The Espresso Shot Calculator works out espresso brew ratio and flow rate from dose, yield and time, and the yield any target ratio needs. It runs as plain JavaScript inside the page, which means there is no upload step, no queue and no size limit imposed by a server — the only limit is your own device.

What people use it for

  • Dialling in a new bag of coffee.
  • Moving a recipe to a different basket size.
  • Working out the yield a target ratio needs.

Details

RatioWeight out ÷ weight in, never volume
NormaleAbout 1:1.5 to 1:2.5
Flow x timeEquals yield, exactly
1:2 in 27 s1.04 g/s at 14 g, 1.63 g/s at 22 g
Ratio and flow rate are exact arithmetic. Ristretto, normale and lungo are names people disagree about.

Where this tool stops

Ratio and time say nothing about puck preparation, and channelling ruins shots that read perfectly. Extraction yield, the figure that tracks taste, needs a refractometer as well as a scale.

Frequently asked questions

What is a good espresso ratio?
Around 1:2 by weight — 18 g in, 36 g out — is the usual starting point. Ristretto is under about 1:1.5 and lungo beyond 1:2.5. They are a spectrum, and the right one is the one that tastes best with your coffee.
Should I measure espresso by weight or volume?
By weight, always. Crema is mostly gas, so the same shot can fill 30 ml or 60 ml depending on bean freshness. A 36 g shot is 36 g whatever it looks like.
Why does my grind setting not work in a bigger basket?
Because the same ratio in the same time means a higher flow rate through a deeper puck. At 1:2 in 27 seconds a 14 g dose needs 1.04 g/s and a 22 g dose needs 1.63 g/s — 57% more — so the grind has to change with the basket.
My shot ran to 40 seconds. What do I change?
The grind, coarser, one step at a time. Fix the dose and the ratio first and let time be the thing that moves. Chasing the clock by changing the dose changes the recipe as well as the grind.
Is the Espresso Shot Calculator free, or is there a paid tier?
It is free, with no account, no trial and no daily cap. Every calculators tool on inputtesthub.com works the same way: open the page and use it.
Is what I paste into the Espresso Shot Calculator stored?
No. The Espresso Shot Calculator runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
What does a typical result look like?
Enter 18 g in, 36 g out in 27 s and the Espresso Shot Calculator returns 1:2 at 1.33 g/s — a normale.
Who is the Espresso Shot Calculator for?
The most common reasons people reach for it: dialling in a new bag of coffee. Moving a recipe to a different basket size. Working out the yield a target ratio needs. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
Where does the Espresso Shot Calculator stop being reliable?
Ratio and time say nothing about puck preparation, and channelling ruins shots that read perfectly. Extraction yield, the figure that tracks taste, needs a refractometer as well as a scale. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What are the key numbers for the Espresso Shot Calculator?
Ratio is Weight out ÷ weight in, never volume. Normale is About 1:1.5 to 1:2.5. Flow x time is Equals yield, exactly. These are printed on the page itself, so you do not have to take them on trust.
How precise is the result?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…