Espresso Extraction Calculator Formula
Understand the math behind the espresso extraction calculator. Each variable explained with a worked example.
Formulas Used
Brew Ratio
brew_ratio = round(yield_g / dose * 10) / 10Extraction Yield
extraction_pct = round(tds_pct * yield_g / dose * 100) / 100Flow Rate
flow_rate = round(yield_g / brew_time * 100) / 100Shot Type
ratio_category = yield_g / dose < 1.5 ? 1 : (yield_g / dose < 2.5 ? 2 : 3)Variables
| Variable | Description | Default |
|---|---|---|
dose | Coffee Dose(grams) | 18 |
yield_g | Liquid Yield(grams) | 36 |
brew_time | Brew Time(seconds) | 28 |
tds_pct | TDS (if measured)(%) | 9 |
How It Works
How to Calculate Espresso Extraction
Key Formulas
Brew Ratio = Liquid Yield / Dose
Extraction % = TDS% x Yield / Dose
Brew Ratios
Ideal Targets
Troubleshooting
If extraction is too high (bitter): coarsen the grind or reduce dose. If too low (sour): fine the grind or increase dose.
Worked Example
18 g dose, 36 g yield in 28 seconds, 9% TDS.
dose = 18yield_g = 36brew_time = 28tds_pct = 9
- 01Brew ratio = 36 / 18 = 2.0:1 (normale)
- 02Extraction = 9% x 36 / 18 = 18%
- 03Flow rate = 36 / 28 = 1.29 g/sec
- 04This is a well-balanced extraction within the ideal range.
Ready to run the numbers?
Open Espresso Extraction Calculator