coffee-ratio-calculator
Compute the coffee-to-water ratio for popular brew methods (pour-over, French press, AeroPress, cold brew, espresso). Pick a method, enter coffee grams OR water ml, get the other variable plus recommended grind and brew time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | No | Override the default ratio for the chosen brew method. The number is N in '1:N' — grams of water per gram of coffee. Typical range 1.5 (espresso ristretto) to 20 (light pour-over). Omit to use the method's default. | |
| coffee_g | No | Coffee grams. Required when solve_for='water'. Must be > 0. | |
| water_ml | No | Water in millilitres. Required when solve_for='coffee'. Must be > 0. Water density is taken as 1 g/ml. | |
| solve_for | Yes | Which variable to compute. 'water' takes coffee grams as input and returns water ml. 'coffee' takes water ml as input and returns coffee grams. | |
| brew_method | Yes | The brew method. Each preset chooses a sensible default coffee-to-water ratio (pour_over 1:16, french_press 1:15, aeropress 1:14, cold_brew 1:8 concentrate, espresso 1:2). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grind | Yes | Recommended grind size for this brew method. | |
| notes | Yes | Short note about the method. | |
| ratio | Yes | Coffee-to-water ratio used (the 'N' in 1:N). | |
| coffee_g | Yes | Coffee grams (rounded to 0.1 g). | |
| water_ml | Yes | Water in millilitres (rounded to 1 ml). | |
| water_oz | Yes | Water in US fluid ounces (rounded to 0.1 oz). | |
| brew_time | Yes | Brew-time guideline for this brew method. | |
| brew_method | Yes | Brew method id. | |
| ratio_label | Yes | Ratio formatted as a 1:N string. | |
| brew_method_label | Yes | Display label for the brew method. |