Skip to content

How MeadBrew calculates

Every number MeadBrew shows comes from one engine. Each calculation it does is listed here: the formula, its constants and their published source, where the method stops being valid and what it does not model yet.

Constants marked MeadBrew calibration are fitted by MeadBrew itself rather than taken from a publication, so no figure is printed for them.

Engine version 0.41.0.

Gravity and alcohol

Brix and specific gravity

How does a Brix reading convert to specific gravity, and back?

SG = Σ cᵢ · Bxⁱ, i = 0…4, Bx clamped to 0–100Bx from SG: Newton inverse of the same polynomial; SG ≤ 1.000 gives Bx = 0

Inputs

  • Bx (°Bx)

Results

  • SG (SG)

Constants

c₀
1
c₁
0.003864520074324
c₂
1.298262579354 × 10⁻⁵
c₃
6.264700670279 × 10⁻⁸
c₄
-2.389529974672 × 10⁻¹⁰

Sources

  • Bates F. J. and associates (1942) Polarimetry, Saccharimetry and the Sugars, NBS Circular C440, Brix–specific gravity table at 20/20 °C (quartic fit)

Valid for

  • Bx from 0 °Bx to 85 °Bx

Not modelled yet

  • Sample temperatures other than 20 °C
  • Dissolved solids other than sucrose
  • Dissolved alcohol

Calculators

Honey sugar and density from moisture

How much sugar and how much mass per litre does a honey carry at its moisture content?

W = clamp(Wₘ, Wmin, Wmax); unknown Wₘ → W0nD = 1 + 10^−(a + b · W)Bx = Σ kᵢ · nDⁱ, i = 0…5SG = Σ cᵢ · Bxⁱ, i = 0…4ρ = SG · ρw · 1000

Inputs

  • Wₘ (% w/w)

Results

  • nD
  • Bx (°Bx)
  • SG (SG)
  • ρ (g/L)

Constants

a
0.2681
b
0.002243
k₀
-99127.4536
k₁
318417.95
k₂
-413145.8
k₃
270177.93
k₄
-88885.21
k₅
11758.74
c₀
1
c₁
0.003864520074324
c₂
1.298262579354 × 10⁻⁵
c₃
6.264700670279 × 10⁻⁸
c₄
-2.389529974672 × 10⁻¹⁰
ρw
0.998203
Wmin
13% w/w
Wmax
25% w/w
W0
MeadBrew calibration

Sources

  • Wedmore E. B. (1955) The accurate determination of the water content of honeys, Bee World 36, 197–206
  • ICUMSA Method SPS-3: refractive index of sucrose solutions (International Sucrose Tables)
  • Bates F. J. and associates (1942) Polarimetry, Saccharimetry and the Sugars, NBS Circular C440, Brix–specific gravity table at 20/20 °C (quartic fit)
  • CRC Handbook of Chemistry and Physics, density of water at 20 °C

Valid for

  • Wₘ from 13 % w/w to 25 % w/w

Not modelled yet

  • Volume contraction when solids dissolve
  • Crystallized honey
  • Honey temperature
  • Refraction by non-sugar solids

Calculators

Plato and specific gravity

How does a gravity convert to degrees Plato, and back?

P = Σ pᵢ · SGⁱ, i = 0…3SG = Σ sᵢ · Pⁱ, i = 0…3

Inputs

  • SG (SG)

Results

  • P (°P)

Constants

p₀
-616.868
p₁
1111.14
p₂
-630.272
p₃
135.997
s₀
1
s₁
0.0038612
s₂
1.3447 × 10⁻⁵
s₃
4.3236 × 10⁻⁸

Sources

  • American Society of Brewing Chemists, Methods of Analysis: extract (°P) against specific gravity table, cubic polynomial fits

Valid for

  • P from 0 °P to 40 °P

Not modelled yet

  • Sample temperatures other than 20 °C
  • Dissolved alcohol

Gravity from a sugar concentration

What gravity does a liquid have, from the grams of sugar per 100 mL on its label?

label: S = 1000 · m / VBx₀ = S / 10SG₀ = (A − √(A² − B · (C + Bx₀))) / DBx = S / (10 · SG₀)SG = Σ cᵢ · Bxⁱ, i = 0…4; SG rounded to 4 decimals, Bx to 2when the seed has no real root: SG = Σ cᵢ · (S / (10 · SG))ⁱ by fixed-point iteration

Inputs

  • S (g/L)
  • m (g)
  • V (mL)

Results

  • Bx (°Bx)
  • SG (SG)

Constants

A
MeadBrew calibration
B
MeadBrew calibration
C
MeadBrew calibration
D
MeadBrew calibration
c₀
1
c₁
0.003864520074324
c₂
1.298262579354 × 10⁻⁵
c₃
6.264700670279 × 10⁻⁸
c₄
-2.389529974672 × 10⁻¹⁰

Sources

  • Bates F. J. and associates (1942) Polarimetry, Saccharimetry and the Sugars, NBS Circular C440, Brix–specific gravity table at 20/20 °C (quartic fit)
  • MeadBrew's own model

Valid for

  • S from 0 g/L

Not modelled yet

  • The density of sugars other than sucrose
  • Rounding rules for labels
  • Acids and other dissolved solids

Hydrometer temperature correction

What would the hydrometer read at its calibration temperature when the sample is warmer or colder?

T°F = clamp(T, 0, 100) · 9 / 5 + 32f(T) = Σ hᵢ · T°Fⁱ, i = 0…3SGc = SGm · f(T) / f(Tcal); Tcal defaults to T0

Inputs

  • SGm (SG)
  • T (°C)
  • Tcal (°C)

Results

  • SGc (SG)

Constants

hᵢ
MeadBrew calibration
T0
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • T from 0 °C to 100 °C
  • Tcal from 0 °C to 100 °C

Not modelled yet

  • Thermal expansion of the glass
  • Thermal expansion of dissolved solids
  • Meniscus and surface tension

ABV from gravity

How much alcohol does a mead hold, from its original and final gravity?

ABV = k · (OG − FG) / (ρa − OG) · FG / ρeABV = 0 when OG ≤ FG or OG ≥ ρaABW = ABV · ρe / FG

Inputs

  • OG (SG)
  • FG (SG)

Results

  • ABV (% ABV)
  • ABW (% w/w)

Constants

k
76.08
ρa
1.775SG
ρe
0.794SG

Sources

  • Hall M. L. (1995) Brew by the Numbers: Add Up What's in Your Beer, Zymurgy, Summer 1995

Valid for

  • OG from 1 SG to 1.775 SG
  • FG from 0 SG

Not modelled yet

  • Dissolved CO₂
  • Added spirit
  • Unfermentable extract
  • Sample temperature

Calculators

Refractometer readings during fermentation

What is the real gravity when a refractometer reads a sample that already holds alcohol?

Bxc = Bxr / WCF; missing WCF → WCF0unfermented, no OG or Bxc ≥ OB: SG = Σ cᵢ · BxcⁱOB = Bx(OG), Newton inverse of Σ cᵢ · BxⁱABW = (OB − Bxc) / (Ba − r − OB · (Ba − 1) / 100)RE = max(0, Bxc − r · ABW)SG = max(SGmin, Σ cᵢ · REⁱ + ρ(ABW) / ρ(0) − 1 + o + s · ABW), ρ from OIML R 22 Table IVa

Inputs

  • Bxr (°Bx)
  • WCF
  • OG (SG)
  • o (SG)
  • s

Results

  • Bxc (°Bx)
  • OB (°Bx)
  • ABW (% w/w)
  • RE (°P)
  • SG (SG)

Constants

Ba
2.0665
r
0.44552
c₀
1
c₁
0.003864520074324
c₂
1.298262579354 × 10⁻⁵
c₃
6.264700670279 × 10⁻⁸
c₄
-2.389529974672 × 10⁻¹⁰
WCF0
MeadBrew calibration
SGmin
MeadBrew calibration

Sources

  • Šavel J., Košin P. (2009) refraction model of fermented wort: refractometric extract = real extract + coefficient × alcohol by weight
  • Balling C. J. N., fermentation balance of extract to ethanol, carbon dioxide and yeast
  • Tabarié equation: SG = SG(extract) + SG(ethanol–water) − 1
  • OIML R 22 (1975), Table IVa, ρ20 °C(q)
  • Bates F. J. and associates (1942) Polarimetry, Saccharimetry and the Sugars, NBS Circular C440, Brix–specific gravity table at 20/20 °C (quartic fit)

Valid for

  • OB from 0 °Bx to 30 °Bx
  • ABW from 0 % w/w to 12 % w/w

Not modelled yet

  • Glycerol and other by-products
  • Sample temperature
  • Refraction by unfermentable extract
  • Sugar added after pitching

Refractometer calibration

Which wort correction factor and batch correction fit your refractometer to your hydrometer?

WCF = Bxr / Bx(SGh) for an unfermented paired reading; none when Bx(SGh) < Bxcal or WCF outside WCFmin–WCFmaxmalt share M: WCF = 1 + m · min(100, M) / 100history weight w = 0.5^(t / t½); WCF = Σ w · WCFᵢ / Σ wfermenting pairs: x = ABW of the uncorrected model, y = SGh − model SGo, s = weighted least squares of y on x; one pair or equal x: s = 0, o = mean y

Inputs

  • Bxr (°Bx)
  • SGh (SG)
  • M (%)
  • t (d)

Results

  • WCF
  • o (SG)
  • s

Constants

Bxcal
MeadBrew calibration
WCFmin
MeadBrew calibration
WCFmax
MeadBrew calibration
m
MeadBrew calibration
t½
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • M from 0 % to 100 %
  • t from 0 d

Not modelled yet

  • Temperature compensation in the instrument
  • Outlying readings

Final gravity from the yeast's tolerance

Where will fermentation stop: dry, or at the yeast's alcohol tolerance?

Ps = min(SGsolids − 1, OG − 1); OGs = OG − PsOE = Σ pᵢ · OGsⁱAEdry = (REnss − wo · OE) / wa; REnss defaults to REnss0FGdry = Σ sᵢ · AEdryⁱABVdry = k · (OGs − FGdry) / (ρa − OGs) · FGdry / ρeABVdry ≤ Tol: FG = FGdry + Ps, ABV = ABVdryotherwise: FG = (OGs + √(OGs² − 4 · Tol · ρe · (ρa − OGs) / k)) / 2 + Ps, ABV = Tol

Inputs

  • OG (SG)
  • Tol (% ABV)
  • SGsolids (SG)
  • REnss (°P)

Results

  • FGdry (SG)
  • FG (SG)
  • ABV (% ABV)

Constants

wo
0.1808
wa
0.8192
REnss0
MeadBrew calibration
p₀
-616.868
p₁
1111.14
p₂
-630.272
p₃
135.997
s₀
1
s₁
0.0038612
s₂
1.3447 × 10⁻⁵
s₃
4.3236 × 10⁻⁸
k
76.08
ρa
1.775SG
ρe
0.794SG

Sources

  • Hall M. L. (1995) Brew by the Numbers: Add Up What's in Your Beer, Zymurgy, Summer 1995
  • American Society of Brewing Chemists, Methods of Analysis: extract (°P) against specific gravity table, cubic polynomial fits

Valid for

  • OG from 1 SG to 1.775 SG
  • Tol from 0 % ABV

Not modelled yet

  • Fermentation speed
  • Yeast health and nutrients
  • Fermentation temperature
  • How fermentable each sugar is

Recipe and must

Honey lot moisture correction

How much honey from a different lot gives the same sugar as the honey in the recipe?

W = stated moisture; unknown → W0 for honey, Wf0 for fruithoney Bx = stated sugar or 100 − Wmismatch when |Wrecipe − Wlot| > ε (fruit blends compare Bx)m' = m · Bxrecipe / Bxlot, rounded to whole grams, when |Bxrecipe − Bxlot| ≥ ε

Inputs

  • Wrecipe (% w/w)
  • Wlot (% w/w)
  • Bxrecipe (°Bx)
  • Bxlot (°Bx)
  • m (g)

Results

  • m' (g)
  • mismatch

Constants

W0
MeadBrew calibration
Wf0
MeadBrew calibration
ε
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • Wlot from 0 % w/w to 100 % w/w
  • Bxlot from 0 °Bx to 100 °Bx

Not modelled yet

  • Non-sugar solids
  • Variation within one lot of fruit

Original gravity of the must

What OG does the must start at, from all its honey, fruit, sugar and liquids?

m_base = V_solv × SG_base × ρ_wm_must = m_base + V_nf × ρ_w + m_honey + m_juice + m_sugar_add + m_fixed + m_syrupS = m_honey × Bx_honey ÷ 100 + m_juice × Bx_juice ÷ 100 + m_sugar_add + m_base × Bx_base ÷ 100 + m_fixed_sugar + m_syrup_sugarS_nf = m_juice × Bx_juice ÷ 100 × f_nfss + m_base × Bx_base ÷ 100 × (1 − f_ferm_base) + m_fixed_nfBx_must = S ÷ m_must × 100OG = SG(Bx_must)SG_nf = SG(S_nf ÷ m_must × 100)Bx_honey = Bx_honey_default if the honey row has no Brix

Inputs

  • m_honey (kg)
  • Bx_honey (°Bx)
  • V_solv (L)
  • SG_base (SG)
  • Bx_base (°Bx)
  • f_ferm_base
  • m_juice (kg)
  • Bx_juice (°Bx)
  • f_nfss
  • m_sugar_add (kg)
  • m_fixed (kg)
  • m_fixed_sugar (kg)
  • m_fixed_nf (kg)
  • m_syrup (kg)
  • m_syrup_sugar (kg)
  • V_nf (L)

Results

  • m_base (kg)
  • m_must (kg)
  • S (kg)
  • S_nf (kg)
  • Bx_must (°Bx)
  • OG (SG)
  • SG_nf (SG)

Constants

ρ_w
0.998203
Bx_honey_default
MeadBrew calibration

Sources

  • Bates, F.J. and associates (1942). Polarimetry, Saccharimetry and the Sugars. NBS Circular C440, U.S. National Bureau of Standards (density of water at 20 °C, Brix–specific gravity tables)
  • MeadBrew's own model

Valid for

  • Bx_must from 0 °Bx to 40 °Bx
  • f_ferm_base from 0 to 1

Not modelled yet

  • Sugar lost when honey is caramelized for a bochet
  • Non-sugar solids in honey
  • Volume contraction on mixing
  • Temperature dependence

Fruit juice, solids and extraction

How much of a fruit is juice, how much is solid, and how much has the must drawn out so far?

without a fruit profile: (f_juice, f_ais, f_nfss) = (f_juice_whole, f_ais_whole, f_nfss_whole) for whole or crushed fruit, (f_juice_puree, f_ais_puree, f_nfss_puree) for aseptic puree, (1, 0, f_nfss_clarified) for clarified juicep = 0 for whole fruit, 1 − f_ais_puree ÷ f_ais_whole for puree, 1 for clarified juicewith a fruit profile: f_juice = f_juice_profile + p × (1 − f_juice_profile), f_ais = f_ais_profile × (1 − p), f_nfss = f_nfss_profile if the profile has one, else the state defaultpuree with a profile screen fraction: f_ais = (f_ais_profile − f_screen) ÷ (1 − f_screen), f_juice = min(1 − f_ais, f_juice_profile ÷ (1 − f_screen))s_sol = f_juice ÷ f_juice_whole for processed fruit (the profile whole-fruit f_juice when a profile is set), 1 for whole fruit and freeze-dried fruits_yan = s_sol × r_yan_clarified for clarified juice, s_sol otherwises_tan = r_tan_clarified for clarified juice, r_tan_puree for puree (profile retention when the profile has one), 1 for whole fruit

Inputs

  • f_juice_profile
  • f_ais_profile
  • f_nfss_profile
  • f_screen

Results

  • f_juice
  • f_ais
  • f_nfss
  • p
  • s_sol
  • s_yan
  • s_tan

Constants

f_juice_whole
MeadBrew calibration
f_ais_whole
MeadBrew calibration
f_nfss_whole
MeadBrew calibration
f_juice_puree
MeadBrew calibration
f_ais_puree
MeadBrew calibration
f_nfss_puree
MeadBrew calibration
f_nfss_clarified
MeadBrew calibration
r_yan_clarified
MeadBrew calibration
r_tan_puree
MeadBrew calibration
r_tan_clarified
MeadBrew calibration

Sources

Valid for

  • f_juice from 0 to 1
  • f_ais from 0 to 1
  • f_nfss from 0 to 1

Not modelled yet

  • Differences between fruit cultivars
  • Ripeness
  • How fast pectin breaks down

Sugar and volume from fruit

What sugar and volume does fruit add to the must, and how much liquid stays behind in the pulp?

m_eff = m_fd × (1 − w_fd) ÷ (1 − w_fresh) for freeze-dried fruit, m_fruit otherwisef_ais is capped at 1 − f_juice; Bx_juice = Bx_juice_default and ρ_ais = ρ_ais_default when not givenV_juice = m_eff × f_juice ÷ (SG(Bx_juice) × ρ_w)V_ais = m_eff × f_ais ÷ ρ_aisV_fruit = V_juice + V_aisS_fruit = m_eff × f_juice × Bx_juice ÷ 100S_fruit_nf = S_fruit × f_nfssV_ret = m_eff × r_pulp × min(1, f_ais ÷ f_ais_whole) if V_ais > 0V_rack = V_ais + V_ret

Inputs

  • m_fruit (kg)
  • m_fd (kg)
  • f_juice
  • f_ais
  • ρ_ais
  • Bx_juice (°Bx)
  • f_nfss

Results

  • m_eff (kg)
  • V_juice (L)
  • V_ais (L)
  • V_fruit (L)
  • S_fruit (kg)
  • S_fruit_nf (kg)
  • V_ret (L)
  • V_rack (L)

Constants

ρ_w
0.998203
Bx_juice_default
MeadBrew calibration
ρ_ais_default
MeadBrew calibration
w_fd
MeadBrew calibration
w_fresh
MeadBrew calibration
r_pulp
MeadBrew calibration
f_ais_whole
MeadBrew calibration

Sources

  • Bates, F.J. and associates (1942). Polarimetry, Saccharimetry and the Sugars. NBS Circular C440, U.S. National Bureau of Standards (density of water at 20 °C, Brix–specific gravity tables)
  • MeadBrew's own model

Valid for

  • m_fruit from 0 kg
  • Bx_juice from 0 °Bx to 30 °Bx

Not modelled yet

  • How fast extraction runs
  • Differences between fruit cultivars
  • Compaction of the fruit cap

Sugar content of a fermentable

What Brix does each fermentable carry when the recipe gives none?

fruit rows: Bx = Bx_row, else Bx_profile, else Bx_fruit_defaultother fermentables: Bx = Bx_row, else PPG ÷ PPG_sucrose × 100, else 100 for sugar and Bx_honey_default for honeyBx = min(100, Bx)fruit blend: Bx_blend = Σ(Bx_i × s_i) ÷ Σ s_i over components with s_i > 0, Bx_i resolved like a fruit row

Inputs

  • Bx_row (°Bx)
  • PPG
  • Bx_profile (°Bx)
  • s_i (%)
  • Bx_i (°Bx)

Results

  • Bx (°Bx)
  • Bx_blend (°Bx)

Constants

PPG_sucrose
46
Bx_honey_default
MeadBrew calibration
Bx_fruit_default
MeadBrew calibration

Sources

Valid for

  • Bx from 0 °Bx to 100 °Bx
  • s_i from 0 % to 100 %

Not modelled yet

  • Mash efficiency
  • Differences between honey lots
  • Differences between fruit cultivars

Juice and base liquid blends

What sugar concentration does a blended base liquid have?

V_tot = Σ V_i + m_dry ÷ (SG_sucrose × ρ_w)S_tot = Σ V_i × c_i ÷ 100 + m_dryc_mix = S_tot ÷ V_tot × 100, converted to Brix and SG by the nutrition-label sugar concentration conversionc_base = Bx_base × 10 × SG(Bx_base) × ρ_wm_base = V_base × SG(Bx_base) × ρ_wS_base = V_base × c_base ÷ 1000S_base_nf = S_base × (1 − f_ferm)f_ferm = 1 − f_nfss_juice for juice bases, 1 for water and birch sap

Inputs

  • V_i (mL)
  • c_i
  • m_dry (g)
  • Bx_base (°Bx)
  • V_base (L)

Results

  • V_tot (mL)
  • S_tot (g)
  • c_mix
  • c_base (g/L)
  • m_base (kg)
  • S_base (kg)
  • S_base_nf (kg)
  • f_ferm

Constants

SG_sucrose
1.587SG
ρ_w
0.998203
f_nfss_juice
MeadBrew calibration

Sources

  • PubChem CID 5988, Sucrose: density (The Merck Index)
  • Bates, F.J. and associates (1942). Polarimetry, Saccharimetry and the Sugars. NBS Circular C440, U.S. National Bureau of Standards (density of water at 20 °C, Brix–specific gravity tables)
  • MeadBrew's own model

Valid for

  • Bx_base from 0 °Bx to 100 °Bx
  • c_i from 0

Not modelled yet

  • The density the acids add
  • Non-sugar solids
  • Volume contraction on mixing

Must volume balance

How much water fills the batch once honey, fruit and other solids take their volume?

V_honey = m_honey ÷ (SG_honey × ρ_w)V_solids = m_solids ÷ (SG_sucrose × ρ_w)V_syrup = m_syrup ÷ (SG(Bx_syrup) × ρ_w) for a sugar row with Bx_syrup < Bx_dry; at Bx_syrup ≥ Bx_dry the row counts as dry sugar in m_solidsV_solv = V_tank − V_honey − V_fruit − V_solids − V_fixed − V_nf − V_syrupV_solv < 0 means the ingredients overflow the tankV_vessel = V_must ÷ (1 − h_cap) for a mead with a fruit cap in primary

Inputs

  • V_tank (L)
  • m_honey (kg)
  • SG_honey (SG)
  • V_fruit (L)
  • m_solids (kg)
  • V_fixed (L)
  • V_nf (L)
  • m_syrup (kg)
  • Bx_syrup (°Bx)
  • V_must (L)

Results

  • V_honey (L)
  • V_solids (L)
  • V_syrup (L)
  • V_solv (L)
  • V_vessel (L)

Constants

ρ_w
0.998203
SG_sucrose
1.587SG
Bx_dry
MeadBrew calibration
h_cap
MeadBrew calibration

Sources

  • Bates, F.J. and associates (1942). Polarimetry, Saccharimetry and the Sugars. NBS Circular C440, U.S. National Bureau of Standards (density of water at 20 °C, Brix–specific gravity tables)
  • PubChem CID 5988, Sucrose: density (The Merck Index)
  • MeadBrew's own model

Valid for

  • V_tank from 0 L
  • Bx_syrup from 0 °Bx to 100 °Bx

Not modelled yet

  • Volume contraction on mixing
  • Thermal expansion of the volume
  • The volume of dissolved CO₂

Honey for a target ABV

How much honey reaches the ABV you aim for in this batch?

ABV_pkg(m_honey) = ABV_target, solved for m_honey by bisection on 0 ≤ m_honey ≤ m_maxfixed tank: m_max fills the free volume, V_honey(m_max) = V_tank − V_other; fixed solvent: m_max scales with the honey-free must massOG = OG(m_honey) from the must mass balance; ABV_pkg from the fermentation plan for that OGif ABV_pkg(m_max) < ABV_target the target is unreachable (tank capacity, yeast tolerance or an arrested stop)

Inputs

  • ABV_target (% ABV)
  • V_tank (L)
  • V_other (L)

Results

  • m_honey (kg)
  • m_max (kg)
  • V_honey (L)
  • OG (SG)
  • ABV_pkg (% ABV)

Sources

  • MeadBrew's own model

Valid for

  • ABV_target from 0 % ABV to 20 % ABV

Not modelled yet

  • Sugar lost when honey is caramelized for a bochet
  • Differences between honey lots

Final gravity from attenuation

What final gravity and ABV follow from the yeast's apparent attenuation?

P_nf = min(SG_nf − 1, OG − 1)FG = FG_fixed if a fixed final gravity is setotherwise FG = (OG − P_nf) − (OG − P_nf − 1) × AA ÷ 100 + P_nf, with AA = 100 when no attenuation is givenABV = ABV_Gosset(OG − P_nf, FG − P_nf)a yeast alcohol tolerance switches FG to the thermodynamic final gravity projection

Inputs

  • OG (SG)
  • AA (%)
  • SG_nf (SG)
  • FG_fixed (SG)

Results

  • P_nf
  • FG (SG)
  • ABV (% ABV)

Sources

  • MeadBrew's own model

Valid for

  • AA from 0 % to 100 %

Not modelled yet

  • Fermentation speed of each strain
  • Temperature effects
  • Nutrients running short

Gravity after a step feed

What volume and gravity does the must have after each step feed?

ΔV = m_add ÷ ρ_addSG_add = ρ_add ÷ (ρ_w × 1000)V_new = V_cur + ΔVSG_new = (V_cur × SG_cur + ΔV × SG_add) ÷ V_newcharges chain in order, each starting from the previous V_new and SG_new; ρ_add defaults to the honey density at the default honey moisture

Inputs

  • V_cur (L)
  • SG_cur (SG)
  • m_add (g)
  • ρ_add (g/L)

Results

  • ΔV (L)
  • SG_add (SG)
  • V_new (L)
  • SG_new (SG)

Constants

ρ_w
0.998203

Sources

  • Bates, F.J. and associates (1942). Polarimetry, Saccharimetry and the Sugars. NBS Circular C440, U.S. National Bureau of Standards (density of water at 20 °C, Brix–specific gravity tables)
  • MeadBrew's own model

Valid for

  • SG_cur from 0.99 SG to 1.2 SG

Not modelled yet

  • Volume contraction on mixing
  • CO₂ lost along the way

Fruit fermented in secondary

How much of the sugar in fruit added in secondary ferments, and how much stays?

k_fruit = k_juice for juice or puree, k_whole for whole or crushed fruitr = r_0 × max(0, (E_max − E_0) ÷ E_max) × min(1, k_fruit)AA_sec = 100 × (1 − exp(−r × t))t = summed secondary step days, t_default when the plan has nonem_ferm = m_sec × AA_sec ÷ 100m_res = m_sec − m_ferm

Inputs

  • E_max (% ABV)
  • E_0 (% ABV)
  • t (d)
  • m_sec (g)

Results

  • k_fruit
  • r
  • AA_sec (%)
  • m_ferm (g)
  • m_res (g)

Constants

r_0
MeadBrew calibration
k_juice
MeadBrew calibration
k_whole
MeadBrew calibration
t_default
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • AA_sec from 0 % to 100 %
  • t from 0 d

Not modelled yet

  • Temperature effects
  • Nitrogen running short
  • Oxygen exposure

Honey dilution

What OG and potential ABV does a honey mass give in a batch or water volume?

Bx_honey = Bx_in, else PPG ÷ PPG_sucrose × 100, else the refractometric honey Brix at moisture w_honey, else Bx_honey_defaultV_honey = m_honey ÷ (SG_honey × ρ_w), SG_honey from w_honeyV_water = max(0, V_total − V_honey) when V_total is given; V_total = V_water + V_honey when V_water is givenBx_must = m_honey × Bx_honey ÷ 100 ÷ (V_water × ρ_w + m_honey) × 100OG = SG(Bx_must)ABV = ABV_Gosset(OG, FG), FG = 1 by default

Inputs

  • m_honey (kg)
  • V_total (L)
  • Bx_in (°Bx)
  • PPG
  • w_honey (% w/w)
  • FG (SG)

Results

  • Bx_honey (°Bx)
  • SG_honey (SG)
  • V_honey (L)
  • V_water (L)
  • Bx_must (°Bx)
  • OG (SG)
  • ABV (% ABV)

Constants

PPG_sucrose
46
Bx_honey_default
MeadBrew calibration
ρ_w
0.998203

Sources

  • Palmer, J. (2017). How to Brew, 4th ed. Brewers Publications (sucrose potential of 46 gravity points per pound per gallon)
  • Bates, F.J. and associates (1942). Polarimetry, Saccharimetry and the Sugars. NBS Circular C440, U.S. National Bureau of Standards (density of water at 20 °C, Brix–specific gravity tables)
  • MeadBrew's own model

Valid for

  • w_honey from 13 % w/w to 25 % w/w

Not modelled yet

  • Sugar lost when honey is caramelized for a bochet
  • Non-sugar solids in honey
  • Volume contraction on mixing

Calculators

Fruit volume and loss

How much space does fruit take in the fermenter, and how much must is lost with it?

V_fruit = m_fruit ÷ ρ_fruitf_loss = f_loss_juice for clarified juice, f_loss_puree for aseptic puree, f_loss_whole for whole or crushed fruit and unknown statesV_loss = V_fruit × f_lossL_pct = f_loss × 100

Inputs

  • m_fruit (kg)
  • ρ_fruit

Results

  • V_fruit (L)
  • f_loss
  • V_loss (L)
  • L_pct (%)

Constants

f_loss_juice
MeadBrew calibration
f_loss_puree
MeadBrew calibration
f_loss_whole
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • ρ_fruit from 0.8 to 1.3
  • m_fruit from 0 kg

Not modelled yet

  • Time for the lees to compact
  • The density of each fruit variety

Calculators

Hop bitterness in mead

How many IBU do hops give in a honey must?

U(t) = a_T × b_T^(G_b − 1) × (1 − e^(−c_T × t)) / d_Tk_pH = u_lo + (1 − u_lo) × (min(pH_hi, max(pH_lo, pH_b)) − pH_lo) / (pH_hi − pH_lo)IBU = U(t) × k_mead × k_pH × α / 100 × w × 1000 / VIBU_wp = U(t_ref) × k_mead × k_pH × k_wp × α / 100 × w × 1000 / VMBR = IBU / max(0.1, °P(FG))

Inputs

  • α (%)
  • w (g)
  • t
  • V (L)
  • G_b (SG)
  • pH_b
  • FG (SG)

Results

  • IBU (IBU)
  • IBU_wp (IBU)
  • MBR

Constants

a_T
1.65
b_T
0.000125
c_T
0.04
d_T
4.15
k_mead
MeadBrew calibration
pH_lo
MeadBrew calibration
pH_hi
MeadBrew calibration
u_lo
MeadBrew calibration
k_wp
MeadBrew calibration
t_ref
MeadBrew calibration

Sources

  • Tinseth, G. (1997). Glenn's Hop Utilization Numbers: bigness factor and boil time factor
  • MeadBrew's own model

Valid for

  • α from 0 % to 100 %
  • G_b from 1 SG
  • V from 0 L

Not modelled yet

  • Alpha acids lost with hop age and storage
  • Kettle shape
  • Bitterness from compounds other than iso-alpha acids
  • Bitterness lost during fermentation

Calculators

Hop bitterness in malt wort

How many IBU do boil, whirlpool and dry hop additions give in a malt wort?

U(t) = a_T × b_T^(G_b − 1) × (1 − e^(−c_T × t)) / d_Tk_form = k_pellet, k_cryo, k_plug or k_whole by hop form, 1 when unknownk_stage = k_fwh for first-wort hops, k_mash for mash hops, else 1IBU_boil = U(t) × k_form × k_stage × α / 100 × w × 1000 / Vk_T = min(1, A_wp × e^(−E_wp / T_K)), T_K = T_wp in kelvinIBU_wp = U(t_wp) × k_T × k_form × α / 100 × w × 1000 / V, with t_wp = t_wp0 and T_wp = T_wp0 when not setIBU_dry = w / V × α / 100 × k_dry

Inputs

  • α (%)
  • w (g)
  • t
  • V (L)
  • G_b (SG)
  • T_wp (°C)
  • t_wp

Results

  • IBU_boil (IBU)
  • k_T
  • IBU_wp (IBU)
  • IBU_dry (IBU)

Constants

a_T
1.65
b_T
0.000125
c_T
0.04
d_T
4.15
k_pellet
MeadBrew calibration
k_cryo
MeadBrew calibration
k_plug
MeadBrew calibration
k_whole
MeadBrew calibration
k_fwh
MeadBrew calibration
k_mash
MeadBrew calibration
A_wp
MeadBrew calibration
E_wp
MeadBrew calibration
T_wp0
MeadBrew calibration
t_wp0
MeadBrew calibration
k_dry
MeadBrew calibration

Sources

  • Tinseth, G. (1997). Glenn's Hop Utilization Numbers: bigness factor and boil time factor
  • MeadBrew's own model

Valid for

  • α from 0 % to 100 %
  • G_b from 1 SG
  • V from 0 L

Not modelled yet

  • The whirlpool cooling curve
  • Iso-alpha acids lost to trub and yeast
  • Alpha acids lost with hop age and storage

Wort colour

What colour do the grains give, in SRM and EBC?

°L_g = (EBC_g / k_E + o_L) / s_LMCU = Σ m_g × k_lb × °L_g / (V × k_gal)SRM = a_M × MCU^b_MEBC = SRM × k_E

Inputs

  • m_g (kg)
  • EBC_g (EBC)
  • V (L)

Results

  • MCU
  • SRM (SRM)
  • EBC (EBC)

Constants

k_E
1.97
s_L
1.3546
o_L
0.76
k_lb
2.20462
k_gal
0.264172
a_M
1.4922
b_M
0.6859

Sources

  • Morey, D. Morey equation: beer colour in SRM from malt colour units
  • Daniels, R. (1996). Designing Great Beers. Brewers Publications: SRM and degrees Lovibond
  • EBC and ASBC colour scales: EBC = k_E × SRM
  • NIST Special Publication 811 (2008). Guide for the Use of the International System of Units, Appendix B conversion factors

Valid for

  • EBC_g from 0 EBC
  • V from 0 L

Not modelled yet

  • Colour from honey and fruit
  • Darkening from Maillard reactions in the boil
  • Colour lost during fermentation

Recipe alerts

When does a recipe raise an alert about water, nutrients, temperature or braggot balance?

alert low_alkalinity when the mead water has HCO₃ < HCO₃_min or no HCO₃ value and no buffer additionalert ec1118_underfed_sulfur when TOSNA is planned with EC-1118 and Δ_nut < Δ_underfed or no dosing dataalert water_temp_hmf_risk when T_w > T_HMF with must honey; honey dissolves at T ≤ T_safealert malt_share_below_braggot_threshold when s_malt < s_malt,min; honey_share_below_braggot_threshold when s_honey < s_honey,minalert wine_yeast_maltotriose_stall_risk when s_malt > s_stall and x_mt < x_mt,maxalert honey_boiled_aroma_loss_warning when boiled honey sees t_boil > t_honeyalert braggot_molecular_so2_unreachable when pH_w ≥ pH_SO2 and the mead relies on sulfite; the free SO₂ for mSO2 is reported

Inputs

  • HCO₃ (ppm)
  • Δ_nut (%)
  • T_w (°C)
  • s_malt (%)
  • s_honey (%)
  • x_mt
  • t_boil
  • pH_w

Results

  • alert

Constants

HCO₃_min
MeadBrew calibration
Δ_underfed
MeadBrew calibration
T_HMF
MeadBrew calibration
T_safe
MeadBrew calibration
s_malt,min
MeadBrew calibration
s_honey,min
MeadBrew calibration
s_stall
MeadBrew calibration
x_mt,max
MeadBrew calibration
t_honey
MeadBrew calibration
pH_SO2
MeadBrew calibration
mSO2
MeadBrew calibration

Sources

  • MeadBrew's own model

Not modelled yet

  • Nutrient tolerance of each strain
  • How fast each honey forms HMF

Recipe checks

How far may a recipe drift from the recommended honey, water and additions before it is flagged?

flag abv-target when |ABV_calc − ABV_t| > tol_ABVflag honey-mass-for-target-abv when |m_h − m_h,rec| > max(tol_h,abs, m_h,rec × tol_h,rel)flag water-solvent-volume when |V_w − V_w,rec| ≥ tol_Vtol_a = max(tol_a,abs, |m_a,rec| × tol_a,rel) for each recommended additive

Inputs

  • ABV_calc (% ABV)
  • ABV_t (% ABV)
  • m_h (g)
  • m_h,rec (g)
  • V_w (L)
  • V_w,rec (L)
  • m_a,rec (g)

Results

  • flag
  • tol_a (g)

Constants

tol_ABV
MeadBrew calibration
tol_V
MeadBrew calibration
tol_h,abs
MeadBrew calibration
tol_h,rel
MeadBrew calibration
tol_a,abs
MeadBrew calibration
tol_a,rel
MeadBrew calibration

Sources

  • MeadBrew's own model

Not modelled yet

  • Measurement uncertainty of the inputs

Finishing and packaging

Backsweetening with honey

How much honey brings a finished mead to the target gravity, and how does it dilute the ABV?

mₕ = SGₕ × ρ_w × 1000 × V × (SGₜ − SG₀) / (SGₕ − SGₜ)V_f = V + mₕ / (SGₕ × ρ_w × 1000)ABV_f = ABV₀ × V / V_fSGₕ defaults to the honey SG at the reference moisture; mₕ = 0 when SGₜ ≤ SG₀ or SGₜ ≥ SGₕ

Inputs

  • V (L)
  • SG₀ (SG)
  • SGₜ (SG)
  • SGₕ (SG)
  • ABV₀ (% ABV)

Results

  • mₕ (g)
  • V_f (L)
  • ABV_f (% ABV)

Constants

ρ_w
0.998203

Sources

  • CRC Handbook of Chemistry and Physics, density of pure water at 20 °C
  • MeadBrew's own model

Valid for

  • V from 0 L
  • SGₕ from 1 SG

Not modelled yet

  • Volume contraction on mixing
  • Added honey fermenting again

Calculators

Sweetener additions

How does a sweetener change the volume and the gravity, and how much of it reaches a target gravity?

ΔV = m / 1000 × d_sV′ = V + ΔVSG′ = 1 + ((SG₀ − 1) × V + m / 1000 × P_s / 1000) / V′mₜ = 1000 × V × (SGₜ − SG₀) / (P_s / 1000 − d_s × (SGₜ − 1))ΔSG_app = m / 1000 / V × P_s / 1000V_j = V × (SGₜ − SG₀) / (SG_j − SGₜ)(P_s, d_s) = (P_suc, d_suc) sucrose, (P_dex, d_dex) dextrose, (P_lac, d_lac) lactose, (P_ery, d_ery) erythritol, (P_xyl, d_xyl) xylitol

Inputs

  • V (L)
  • SG₀ (SG)
  • m (g)
  • SGₜ (SG)
  • SG_j (SG)

Results

  • ΔV (L)
  • V′ (L)
  • SG′ (SG)
  • mₜ (g)
  • ΔSG_app
  • V_j (L)

Constants

P_suc
MeadBrew calibration
d_suc
MeadBrew calibration
P_dex
MeadBrew calibration
d_dex
MeadBrew calibration
P_lac
MeadBrew calibration
d_lac
MeadBrew calibration
P_ery
MeadBrew calibration
d_ery
MeadBrew calibration
P_xyl
MeadBrew calibration
d_xyl
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • V from 0 L
  • m from 0 g
  • SG_j from 1 SG

Not modelled yet

  • Fermentable sweeteners fermenting again
  • Sweetener moisture and purity
  • Temperature dependence of the solution volume

Calculators

Fortifying with spirit

How does added spirit change the alcohol and the gravity?

ρ_s = ρ_i + (ABV_s − q_i) / (q_i+1 − q_i) × (ρ_i+1 − ρ_i), for q_i ≤ ABV_s ≤ q_i+1V_s = m_s / ρ_s / 1000 when the spirit is weighedV_EtOH = V_s × ABV_s / 100GP_s = (ρ_s / ρ_w − 1) × V_sSG_b = 1 + ((SG_mix − 1) × (V_b + V_s) − GP_s) / V_b

Inputs

  • ABV_s (% ABV)
  • V_s (L)
  • m_s (g)
  • V_b (L)
  • SG_mix (SG)

Results

  • ρ_s
  • V_EtOH (L)
  • GP_s
  • SG_b (SG)

Constants

q_i
0; 2.5; 5; 7.5; 10; 12.5; 15; 17.5; 20; 22.5; 25; 27.5; 30; 32.5; 35; 37.5; 40; 42.5; 45; 47.5; 50; 52.5; 55; 57.5; 60; 62.5; 65; 67.5; 70; 72.5; 75; 77.5; 80; 82.5; 85; 87.5; 90; 91; 92; 93; 94; 95; 96; 97; 98; 99; 100 % ABV
ρ_i
0.9982; 0.99451; 0.99106; 0.98779; 0.98471; 0.98178; 0.97897; 0.97625; 0.97356; 0.97086; 0.9681; 0.96523; 0.96221; 0.95901; 0.95559; 0.95194; 0.94805; 0.94391; 0.93954; 0.93495; 0.93014; 0.92514; 0.91996; 0.91462; 0.90911; 0.90346; 0.89765; 0.89169; 0.88556; 0.87927; 0.87279; 0.86613; 0.85927; 0.85219; 0.84485; 0.83721; 0.82918; 0.82583; 0.82239; 0.81885; 0.81518; 0.81138; 0.80742; 0.80327; 0.7989; 0.79425; 0.78924
ρ_w
0.998203

Sources

  • OIML R 22 (1975). International alcoholometric tables, Table IVa: density at 20 °C as a function of alcoholic strength by volume
  • CRC Handbook of Chemistry and Physics, density of pure water at 20 °C

Valid for

  • ABV_s from 0 % ABV to 100 % ABV
  • V_b from 0 L

Not modelled yet

  • Volume contraction when alcohol and water mix
  • Temperatures other than 20 °C
  • Extract and sugar in the spirit

ABV at packaging

How strong is the mead in the bottle, after dilution and any spirit?

SG_end = SG_stab when a stabilized reading is logged, else SG_minABV_ferm = Gosset ABV of OG and SG_endABV_pack = ABV_ferm × min(1, V_ferm / V_pack) + V_EtOH / V_pack × 100A measured session removes spirit gravity from OG and SG_end first (spirit_fortification)

Inputs

  • OG (SG)
  • SG_stab (SG)
  • SG_min (SG)
  • V_ferm (L)
  • V_pack (L)
  • V_EtOH (L)

Results

  • SG_end (SG)
  • ABV_ferm (% ABV)
  • ABV_pack (% ABV)

Sources

  • MeadBrew's own model

Valid for

  • OG from 1 SG
  • V_pack from 0 L

Not modelled yet

  • Alcohol lost in racking and aging
  • Volume contraction when alcohol and water mix

Nutrition estimate

How much sugar, carbohydrate, alcohol and energy does a serving hold?

ΔSG_pol = m_pol / 1000 / (V_serv / 1000) × P_ery / 1000SG_dry = FG_ferm when 0 < FG_ferm < 1; else the dry FG of the OG whose dry ABV equals ABV; else the dry FG of OG; else 1ΔSG = FG − ΔSG_pol − SG_dry, multiplied by k_B when SG_dry comes from OG alonem_sug = Brix(1 + ΔSG) × (1 + ΔSG) × ρ_wm_alc = ABV × ρ_EtOHm_carb = m_sug + m_polE = m_sug × e_carb + m_pol × e_pol + m_alc × e_alc

Inputs

  • ABV (% ABV)
  • FG (SG)
  • FG_ferm (SG)
  • OG (SG)
  • m_pol (g)

Results

  • SG_dry (SG)
  • m_sug (g)
  • m_alc (g)
  • m_carb (g)
  • E (kcal)

Constants

V_serv
100mL
e_carb
4
e_pol
0
e_alc
7
ρ_EtOH
0.78924
k_B
0.8192
ρ_w
0.998203
P_ery
MeadBrew calibration

Sources

  • Regulation (EU) No 1169/2011 on the provision of food information to consumers, Annex XIV energy conversion factors and Article 32 values per 100 ml
  • Balling, C. J. N. Real extract from original and apparent extract: RE = (1 − k_B) × OE + k_B × AE
  • OIML R 22 (1975). International alcoholometric tables, Table IVa: density at 20 °C as a function of alcoholic strength by volume
  • CRC Handbook of Chemistry and Physics, density of pure water at 20 °C

Valid for

  • ABV from 0 % ABV to 100 % ABV
  • FG from 0 SG
  • m_pol from 0 g

Not modelled yet

  • Energy from glycerol and organic acids
  • Energy from protein
  • Sugar alcohols other than erythritol
  • Dissolved CO₂

Calculators

Taste trial scale-up

How much of the winning glass's addition goes into the whole batch?

V_batch = max(0, V_sess − n_gl × V_smp / 1000)m_batch = v_win × c_sol × V_batch × 10 / V_smpm_L = v_win × c_sol × 10 / V_smpThe acid and tannin reference glasses come from the bench-trial baseline at the session FG, honey category, fruit, dry hop, oak and CO₂ level

Inputs

  • v_win (mL)
  • c_sol (%)
  • V_smp (mL)
  • n_gl
  • V_sess (L)

Results

  • V_batch (L)
  • m_batch (g)
  • m_L (g/L)

Sources

  • MeadBrew's own model

Valid for

  • c_sol from 0 % to 100 %
  • V_smp from 0 mL

Not modelled yet

  • The solution volume added to the batch
  • Variation in sensory thresholds

Force carbonation pressure

Which keg pressure gives the carbonation you want at this temperature?

T_F = T × 1.8 + 32S(T) = s_0 + s_1 × exp(−(T_F − 32) / τ)P_psi = max(0, (CO2_vol + c_0) / S(T) − P_atm)CO2_res = P_atm × S(T) − c_0 (CO₂ left in solution after fermentation at T)P_bar = P_psi(T_ref) / k_psi_bar, exceeds the bottle rating when P_bar > P_rating

Inputs

  • CO2_vol (vol CO₂)
  • T (°C)
  • P_rating (bar)

Results

  • P_psi
  • CO2_res (vol CO₂)
  • P_bar (bar)

Constants

s_0
MeadBrew calibration
s_1
MeadBrew calibration
τ
MeadBrew calibration
c_0
MeadBrew calibration
P_atm
14.695
k_psi_bar
14.5038
T_ref
MeadBrew calibration

Sources

  • Thompson A, Taylor BN (2008). Guide for the Use of the International System of Units (SI). NIST Special Publication 811: standard atmosphere and psi to bar conversion
  • MeadBrew's own model

Valid for

  • CO2_vol from 0 vol CO₂ to 6 vol CO₂
  • P_rating from 0 bar

Not modelled yet

  • The effect of sugar and alcohol on CO₂ solubility
  • Headspace volume
  • Altitude
  • Time to reach equilibrium

Priming sugar

How much sugar carbonates the bottles to the level you want?

CO2_add = max(0, CO2_vol − CO2_res(T)), CO2_res from force_carbonation_pressureY_glc = 2 × M_CO2 / M_glc (g CO₂ per g glucose)dextrose monohydrate: Y = (M_glc / M_dmh) × Y_glc; honey: Y = f_honey × Y_glcm_sugar = CO2_add × (M_CO2 / V_m) / Y × V

Inputs

  • CO2_vol (vol CO₂)
  • T (°C)
  • V (L)

Results

  • m_sugar (g)

Constants

M_CO2
44.01
V_m
22.4L
M_glc
180.16
M_dmh
198.17
f_honey
MeadBrew calibration

Sources

  • IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Standard atomic weights of the elements
  • MeadBrew's own model

Valid for

  • CO2_vol from 0 vol CO₂ to 6 vol CO₂
  • V from 0 L

Not modelled yet

  • Yeast viability at bottling
  • Sugar left over from fermentation
  • Variation in honey moisture
  • Headspace volume

Nitrogen and yeast

Nitrogen requirement

How much yeast assimilable nitrogen does the yeast need for this much sugar?

Bx = Brix(OG)S = Bx × OG × 10f_N = f_low, f_medium, f_high or f_very_high by the yeast nitrogen demand, f_medium when unknownYAN_req = S × f_NYAN_adj = YAN_req × (1 − min(1, YAN_nat ÷ YAN_req))

Inputs

  • OG (SG)
  • f_N
  • YAN_nat (ppm)

Results

  • Bx (°Bx)
  • S (g/L)
  • YAN_req (ppm)
  • YAN_adj (ppm)

Constants

f_low
MeadBrew calibration
f_medium
MeadBrew calibration
f_high
MeadBrew calibration
f_very_high
MeadBrew calibration

Sources

  • Moutela S., TOSNA 2.0 (Tailored Organic Staggered Nutrient Additions), Mead Made Right: YAN target = °Bx × SG × 10 × nitrogen demand multiplier, organic additions staggered up to the 1/3 sugar break, Fermaid O with GO-FERM rehydration counted at 160 ppm YAN per g/L
  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.2 SG
  • YAN_nat from 0 ppm

Not modelled yet

  • The effect of temperature on nitrogen demand
  • Oxygen and sterol status
  • How fast yeast takes up nitrogen

Calculators

Nutrient doses from nitrogen

How many grams of Fermaid O, Fermaid K or DAP deliver the nitrogen the yeast needs?

Y_O = Y_O_goferm when the yeast was rehydrated with Go-Ferm, else Y_O_plainm_FermaidO = YAN_FermaidO ÷ Y_O × Vm_DAP = YAN_DAP ÷ Y_DAP × Vm_FermaidK = YAN_FermaidK ÷ Y_K × VYAN_other = y_other × m_other ÷ V

Inputs

  • YAN_FermaidO (ppm)
  • YAN_DAP (ppm)
  • YAN_FermaidK (ppm)
  • V (L)
  • y_other
  • m_other (g)

Results

  • Y_O
  • m_FermaidO (g)
  • m_DAP (g)
  • m_FermaidK (g)
  • YAN_other (ppm)

Constants

Y_O_goferm
160
Y_O_plain
MeadBrew calibration
Y_DAP
210
Y_K
100

Sources

  • Scott Laboratories, Fermentation Handbook: YAN contributed per g/L of Fermaid K and diammonium phosphate
  • Moutela S., TOSNA 2.0 (Tailored Organic Staggered Nutrient Additions), Mead Made Right: YAN target = °Bx × SG × 10 × nitrogen demand multiplier, organic additions staggered up to the 1/3 sugar break, Fermaid O with GO-FERM rehydration counted at 160 ppm YAN per g/L
  • MeadBrew's own model

Valid for

  • V from 0 L
  • YAN_FermaidO from 0 ppm
  • YAN_DAP from 0 ppm
  • YAN_FermaidK from 0 ppm

Not modelled yet

  • Variation between nutrient lots
  • A measured organic nitrogen assay
  • Micronutrients and thiamine

Calculators

TOSNA addition schedule

How many nutrient additions are there, how large, and at which hours?

n = n_two if OG ≤ OG_two, else n_fourm_add = m_FermaidO ÷ nt_0 = 0 if OG ≥ OG_now or f_N ≥ f_high or (OG > OG_two and YAN_adj ÷ YAN_req ≥ r_unoffset), else t_delayt_k = t_0 + k × Δt for k = 0, 1 when n = n_two and k = 0, 1, 2 when n = n_four; the last of n_four additions waits for the 1/3 sugar break

Inputs

  • OG (SG)
  • f_N
  • YAN_req (ppm)
  • YAN_adj (ppm)
  • m_FermaidO (g)

Results

  • n
  • m_add (g)
  • t_0 (h)
  • t_k (h)

Constants

OG_two
MeadBrew calibration
n_two
MeadBrew calibration
n_four
4
OG_now
MeadBrew calibration
f_high
MeadBrew calibration
r_unoffset
MeadBrew calibration
t_delay
24h
Δt
24h

Sources

  • Moutela S., TOSNA 2.0 (Tailored Organic Staggered Nutrient Additions), Mead Made Right: YAN target = °Bx × SG × 10 × nitrogen demand multiplier, organic additions staggered up to the 1/3 sugar break, Fermaid O with GO-FERM rehydration counted at 160 ppm YAN per g/L
  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.2 SG

Not modelled yet

  • The effect of fermentation temperature on the schedule
  • Length of the yeast lag phase
  • The sugar break timing you observe

Calculators

Mixed nutrient split

How is the nitrogen shared between DAP, Fermaid K and Fermaid O?

φ = (n − 1) ÷ n when the schedule has the 1/3 sugar break addition (n ≥ 4), else 1YAN_sub = YAN_adj × φYAN_break = YAN_adj − YAN_sub, always Fermaid OC_DAP = C_TTB under TTB, C_OIV otherwisepriority fill: YAN_DAP = min(YAN_sub, C_DAP), YAN_K = min(YAN_sub − YAN_DAP, C_K), YAN_O = YAN_sub − YAN_DAP − YAN_K + YAN_breakratio split: YAN_DAP = YAN_sub × p_DAP ÷ 100, YAN_K = YAN_sub × p_K ÷ 100, YAN_O = YAN_sub × p_O ÷ 100 + YAN_break, flagged when YAN_DAP > C_DAP or YAN_K > C_K

Inputs

  • YAN_adj (ppm)
  • n
  • p_DAP (%)
  • p_K (%)
  • p_O (%)

Results

  • φ
  • YAN_sub (ppm)
  • YAN_break (ppm)
  • C_DAP (ppm)
  • YAN_DAP (ppm)
  • YAN_K (ppm)
  • YAN_O (ppm)

Constants

C_TTB
201.3ppm
C_OIV
MeadBrew calibration
C_K
MeadBrew calibration

Sources

  • US Code of Federal Regulations, 27 CFR 24.246: ammonium phosphate in wine up to 8 lb per 1000 gal (0.96 g/L)
  • MeadBrew's own model

Valid for

  • YAN_adj from 0 ppm
  • p_DAP from 0 % to 100 %
  • p_K from 0 % to 100 %
  • p_O from 0 % to 100 %

Not modelled yet

  • Rules other than the TTB and OIV ones
  • DAP in rehydration nutrients
  • Ammonium uptake after the 1/3 sugar break

Calculators

Dry yeast pitch and rehydration

How much dry yeast and Go-Ferm does the must need?

r_tier = r_std if OG < OG_elev; r_elev if OG < OG_high; r_high if OG < OG_ext; r_ext otherwisem_yeast = r_tier × Vr_base = catalogue yeast dose per 10 L ÷ 10, r_fallback when the yeast has nonem_osm = 1 + max(0, Bx − Bx_osm) × k_osmm_inh = m_floor if c_fruit ≥ c_floor, else 1r_ADY = r_base × m_osm × m_inhr_GoFerm = r_ADY × g_GFm_GoFerm = m_yeast × g_GFV_water = m_GoFerm × w_GFGo-Ferm Protect Evolution when OG > OG_GFPE

Inputs

  • OG (SG)
  • V (L)
  • Bx (°Bx)
  • c_fruit (g/L)
  • r_base (g/L)

Results

  • r_tier (g/L)
  • m_yeast (g)
  • m_osm
  • m_inh
  • r_ADY (g/L)
  • r_GoFerm (g/L)
  • m_GoFerm (g)
  • V_water (mL)

Constants

OG_elev
MeadBrew calibration
OG_high
MeadBrew calibration
OG_ext
MeadBrew calibration
r_std
MeadBrew calibration
r_elev
MeadBrew calibration
r_high
MeadBrew calibration
r_ext
MeadBrew calibration
r_fallback
MeadBrew calibration
Bx_osm
MeadBrew calibration
k_osm
MeadBrew calibration
c_floor
MeadBrew calibration
m_floor
MeadBrew calibration
g_GF
1.25
w_GF
20
OG_GFPE
MeadBrew calibration

Sources

  • Lallemand Oenology, GO-FERM technical data sheet: 1.25 g GO-FERM per g of active dry yeast, suspended in 20 times its weight of water
  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.2 SG
  • V from 0 L
  • Bx from 0 °Bx to 45 °Bx
  • c_fruit from 0 g/L

Not modelled yet

  • Pitch rate of each strain
  • Rehydration temperature
  • Yeast age and storage

Calculators

Benzoic acid from fruit

Can the natural benzoic acid in fruit such as lingonberry stop the yeast?

c_BA = Σ b_fruit × m_fruit ÷ Vc_HA = c_BA ÷ (1 + 10^(pH − pKa)), pH = pH_default when no must pH is knownc_hard = max(c_lag, c_aerobic − k_EtOH × ABV)level = hard_arrest if c_HA ≥ c_hard; soft_arrest if c_HA ≥ c_anaerobic; lag_phase if c_HA ≥ c_lag; sublethal if c_HA ≥ c_onset; none otherwise

Inputs

  • b_fruit
  • m_fruit (kg)
  • V (L)
  • pH
  • ABV (% ABV)

Results

  • c_BA (mg/L)
  • c_HA (mg/L)
  • c_hard (mg/L)
  • level

Constants

pKa
4.2
pH_default
MeadBrew calibration
c_onset
MeadBrew calibration
c_lag
MeadBrew calibration
c_anaerobic
MeadBrew calibration
c_aerobic
MeadBrew calibration
k_EtOH
MeadBrew calibration

Sources

  • Rumble J. R. (ed.), CRC Handbook of Chemistry and Physics: dissociation constant of benzoic acid (pKa 4.20 at 25 °C), density of water at 20 °C and of sucrose
  • MeadBrew's own model

Valid for

  • pH from 2.5 to 4.5
  • ABV from 0 % ABV to 20 % ABV
  • V from 0 L

Not modelled yet

  • Yeast adapted to benzoate before
  • Sorbate and sulfite working together
  • The effect of temperature on the pKa

Liquid yeast pitch and starter

How many cells does the batch need, and which starter grows them?

P = 259 − 259 ÷ OGR = R_ale, R_ale_hg, R_lager or R_lager_hg by pitch targetN_target = R × V × Pv = max(0, min(100, 100 − d × L_v))N_viable = N_pkg × v ÷ 100E = V_s × c_DMEX = N_viable ÷ EG = G_max if X < X_onset; G = a − b × X if X ≤ X_sat; G = 0 otherwiseN_final = N_viable + G × EV_s = smallest starter volume with N_final ≥ N_target, 0 when N_viable ≥ N_targetm_DME = V_s × c_DME

Inputs

  • OG (SG)
  • V (L)
  • N_pkg (billion cells)
  • d (d)

Results

  • P (°P)
  • R
  • N_target (billion cells)
  • v (%)
  • N_viable (billion cells)
  • E (g)
  • X
  • G
  • N_final (billion cells)
  • V_s (L)
  • m_DME (g)

Constants

R_ale
0.75
R_ale_hg
1
R_lager
1.5
R_lager_hg
2
L_v
MeadBrew calibration
c_DME
100g/L
G_max
1.4
X_onset
1.4
a
2.33
b
0.67
X_sat
3.5

Sources

  • White C., Zainasheff J. (2010) Yeast: The Practical Guide to Beer Fermentation, Brewers Publications: pitch rates in million cells per mL per °P
  • Troester K., Braukaiser: yeast starter growth model (growth per gram of extract against inoculation density)
  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.2 SG
  • V from 0 L
  • N_pkg from 0 billion cells
  • d from 0 d

Not modelled yet

  • Stir plate and aeration
  • Starters stepped up more than once
  • The effect of storage temperature on viability

Calculators

Acidity and stabilization

Acidity balance

How much acid does the must need for the acidity and sweetness you aim for?

TA_t = TA_L[L_a] + s_TA × (L_s − 1)TA_fruit = Σ c_cat × m_f / V, c_cat = c_dark, c_stone, c_pome, c_citrus or c_trop by fruit category, or the fruit profile TA per kgTA_must = max(0, TA_honey + TA_fruit + TA_liq − k_mal × Σ f_cat × TA_fruit), f_cat = f_dark, f_stone, f_pome, f_citrus or f_trop, primary additions onlym_acid = max(0, TA_t − TA_must) × q_acid × V, q_acid = q_tart, q_mal, q_cit, q_lac (mL) or q_blendacid safety warning when pH_est < pH_floor

Inputs

  • L_a
  • L_s
  • m_f (kg)
  • V (L)
  • TA_liq (g/L)
  • k_mal
  • pH_est

Results

  • TA_t (g/L)
  • TA_fruit (g/L)
  • TA_must (g/L)
  • m_acid (g)

Constants

TA_L
MeadBrew calibration
s_TA
MeadBrew calibration
TA_honey
MeadBrew calibration
c_dark
MeadBrew calibration
c_stone
MeadBrew calibration
c_pome
MeadBrew calibration
c_citrus
MeadBrew calibration
c_trop
MeadBrew calibration
f_dark
MeadBrew calibration
f_stone
MeadBrew calibration
f_pome
MeadBrew calibration
f_citrus
MeadBrew calibration
f_trop
MeadBrew calibration
q_tart
MeadBrew calibration
q_mal
MeadBrew calibration
q_cit
MeadBrew calibration
q_lac
MeadBrew calibration
q_blend
MeadBrew calibration
pH_floor
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • L_a from 1 to 5
  • L_s from 1 to 5
  • V from 0 L

Not modelled yet

  • How the pH responds to an acid addition
  • Potassium bitartrate dropping out
  • Malolactic fermentation

Must pH

What pH does the must have, from its acids and the alkalinity of the water?

eq_i = TA_i / EW_tar (titratable acidity of each acid species i, expressed as tartaric)eq_glu = TA_honey / EW_tarpKa_i ∈ {pKa_cit (citric), pKa_mal (malic), pKa_tar (tartaric), pKa_oth (other acids), pKa_glu (honey gluconic)}pH_pool solves Σ_i eq_i × Ka_i / (Ka_i + [H⁺]) − [H⁺] = 0, Ka_i = 10^(−pKa_i), [H⁺] = 10^(−pH_pool)b = HCO3_ppm × (V_water / V) / (M_HCO3 × 1000)pH_honey = pH_0 + b / β(pH_0), β from buffer_capacity_van_slyke over the gluconic termpH_must = −log10( (eq_glu × 10^(−pH_honey) + Σ_k w_k × 10^(−pH_k) + w_pool × 10^(−pH_pool)) / (eq_glu + Σ_k w_k + w_pool) )w_k = acid equivalents of a juice with a known fresh pH pH_k, w_pool = Σ_i eq_i of the remaining acids

Inputs

  • TA_i (g/L)
  • pH_k
  • HCO3_ppm (ppm)
  • V_water (L)
  • V (L)

Results

  • pH_must
  • pH_pool

Constants

pKa_cit
3.13
pKa_mal
3.4
pKa_tar
3.01
pKa_glu
3.86
pKa_oth
MeadBrew calibration
EW_tar
75.045
M_HCO3
61.02
TA_honey
MeadBrew calibration
pH_0
MeadBrew calibration

Sources

  • Haynes WM (ed.). CRC Handbook of Chemistry and Physics. CRC Press: dissociation constants of organic acids in aqueous solution
  • IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Standard atomic weights of the elements
  • MeadBrew's own model

Valid for

  • pH_pool from 2.2 to 6
  • V from 0 L

Not modelled yet

  • Ion activity coefficients
  • Second and third acid dissociation
  • Potassium bitartrate dropping out
  • Buffering by amino acids
  • Temperature dependence

Buffer capacity

How strongly does the must resist a change in pH?

β = LN10 × ([H⁺] + [OH⁻] + Σ_i eq_i × Ka_i × [H⁺] / (Ka_i + [H⁺])²)[H⁺] = 10^(−pH), [OH⁻] = 10^(pH − pKw), Ka_i = 10^(−pKa_i)pKa_i ∈ {pKa_cit (citric), pKa_mal (malic), pKa_tar (tartaric), pKa_oth (other acids), pKa_glu (honey gluconic)}

Inputs

  • pH
  • eq_i

Results

  • β

Constants

LN10
2.303
pKw
14
pKa_cit
3.13
pKa_mal
3.4
pKa_tar
3.01
pKa_glu
3.86
pKa_oth
MeadBrew calibration

Sources

  • Van Slyke DD (1922). On the measurement of buffer values and on the relationship of buffer value to the dissociation constant of the buffer and the concentration and reaction of the buffer solution. Journal of Biological Chemistry 52:525–570
  • Haynes WM (ed.). CRC Handbook of Chemistry and Physics. CRC Press: dissociation constants of organic acids in aqueous solution

Valid for

  • pH from 2.2 to 6

Not modelled yet

  • Ion activity coefficients
  • Second and third acid dissociation
  • Buffering by amino acids

Deacidification dose

How much buffer raises the pH to the target?

pH(d) = pH_cb(b + d) + (pH_now − pH_cb(b)), pH_cb = charge-balance pH of the must acid load with base equivalents as offsetd solves pH(d) = pH_target on 0 ≤ d ≤ d_max; unreachable when pH(d_max) < pH_target, then d = d_maxK₂CO₃: m = d × V × M_K2CO3 / n_K2CO3KHCO₃: m = d × V × M_KHCO3 / n_KHCO3

Inputs

  • pH_now
  • pH_target
  • b
  • V (L)

Results

  • d
  • m (g)

Constants

M_K2CO3
138.21
n_K2CO3
2
M_KHCO3
100.12
n_KHCO3
1
d_max
MeadBrew calibration

Sources

  • IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Standard atomic weights of the elements
  • MeadBrew's own model

Valid for

  • pH_target from 2.2 to 6
  • V from 0 L

Not modelled yet

  • Potassium bitartrate dropping out
  • Time for CO₂ to degas
  • Ion activity coefficients

pH drop during fermentation

How far will the pH fall as the mead ferments, and how much potassium carbonate keeps it from crashing?

β_must = max(β_min, (H / 100) × β_honey × f_ash + TA_fruit × β_fruit)f_ash: mass-weighted over honeys, light floral f_light, medium f_medium, dark f_darkDAP% = 100 × (YAN_DAP / YAN_total) × min(1, YAN_DAP / YAN_full)A = S × a_sugar × (1 + k_DAP × min(1, DAP% / 100))ΔpH = A / β_must, pH_min = max(pH_floor, pH_0 − ΔpH)EW = M_K2CO3 / n_K2CO3 / 1000when pH_min < pH_target: c_K2CO3 = min(c_max, (pH_target − pH_min) × β_must × EW, (pH_cap − pH_0) × β_must × EW)

Inputs

  • H (g/L)
  • TA_fruit (g/L)
  • S (g/L)
  • YAN_DAP (ppm)
  • YAN_total (ppm)
  • pH_0
  • pH_target

Results

  • β_must
  • A (meq/L)
  • ΔpH
  • pH_min
  • c_K2CO3 (g/L)

Constants

β_honey
MeadBrew calibration
β_fruit
MeadBrew calibration
β_min
MeadBrew calibration
f_light
MeadBrew calibration
f_medium
MeadBrew calibration
f_dark
MeadBrew calibration
a_sugar
MeadBrew calibration
k_DAP
MeadBrew calibration
YAN_full
MeadBrew calibration
pH_floor
MeadBrew calibration
pH_cap
MeadBrew calibration
c_max
MeadBrew calibration
M_K2CO3
138.21
n_K2CO3
2

Sources

  • IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Standard atomic weights of the elements
  • MeadBrew's own model

Valid for

  • pH_min from 2.2
  • c_K2CO3 from 0 g/L to 0.6 g/L

Not modelled yet

  • Acid produced by each strain
  • Malolactic fermentation
  • Carbonic acid from dissolved CO₂
  • Potassium taken up by the yeast

Sulfite dose

How much potassium metabisulfite gives the free SO₂ the mead needs at its pH?

pH = clamp(pH_meas, pH_lo, pH_hi), pH_meas = pH_default when not measuredpKa = pKa_SO2 when ABV ≤ ABV_hi, else pKa_SO2hiSO2_mol = SO2_mol_std, or SO2_mol_sorb when potassium sorbate is addedSO2_free = SO2_mol × (1 + 10^(pH − pKa))m_KMS = ceil_0.01( V × max(0, SO2_free − SO2_now) / (1000 × y_KMS) × k_bind )m_KMS = max(m_KMS, ceil_0.01(V × m_floor)) when dark berries are present and free SO₂ is not measuredSO2_total = max(SO2_total_now, SO2_now) + m_KMS × 1000 × y_KMS / Vband: over_legal when SO2_total > SO2_EU, elevated when SO2_total > SO2_warn

Inputs

  • pH_meas
  • ABV (% ABV)
  • V (L)
  • SO2_now (mg/L)
  • SO2_total_now (mg/L)

Results

  • SO2_free (mg/L)
  • m_KMS (g)
  • SO2_total (mg/L)

Constants

pKa_SO2
1.81
pKa_SO2hi
MeadBrew calibration
ABV_hi
MeadBrew calibration
SO2_mol_std
0.8mg/L
SO2_mol_sorb
MeadBrew calibration
y_KMS
0.576
k_bind
MeadBrew calibration
m_floor
MeadBrew calibration
pH_default
MeadBrew calibration
pH_lo
MeadBrew calibration
pH_hi
MeadBrew calibration
SO2_EU
200mg/L
SO2_warn
MeadBrew calibration

Sources

  • Boulton RB, Singleton VL, Bisson LF, Kunkee RE (1996). Principles and Practices of Winemaking. Chapman & Hall: molecular SO₂ from free SO₂ and pH, 0.8 mg/L molecular SO₂ target
  • IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Standard atomic weights of the elements
  • Regulation (EC) No 1333/2008 on food additives, Annex II: sulphur dioxide and sulphites (E 220–228), mead
  • MeadBrew's own model

Valid for

  • pH_meas from 2.5 to 4.5
  • V from 0 L
  • SO2_total up to 200 mg/L

Not modelled yet

  • Measured SO₂ binding
  • Temperature dependence of the pKa
  • SO₂ lost over time
  • Ionic strength

Sorbate dose

How much potassium sorbate does the mead need at its ABV?

c_sorbic = min(c_OIV, max(0, a_sorb − b_sorb × ABV))m_KS = c_sorbic / y_KS × V / 1000, y_KS = M(sorbic acid) / M(potassium sorbate)warning when c_sorbic > c_soft

Inputs

  • ABV (% ABV)
  • V (L)

Results

  • c_sorbic (mg/L)
  • m_KS (g)

Constants

a_sorb
MeadBrew calibration
b_sorb
MeadBrew calibration
c_OIV
200mg/L
y_KS
0.7464351808704683
c_soft
MeadBrew calibration

Sources

  • OIV. International Code of Oenological Practices: sorbic acid and potassium sorbate, maximum 200 mg/L sorbic acid
  • IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Standard atomic weights of the elements
  • MeadBrew's own model

Valid for

  • ABV from 0 % ABV
  • c_sorbic from 0 mg/L to 200 mg/L

Not modelled yet

  • Yeast population size
  • The risk of a geranium off-flavour
  • Breakdown by lactic acid bacteria

Sulfite before sorbate

Does the mead hold enough molecular SO₂ to take sorbate safely?

pH = pH_log when logged within t_fresh hours, else pH_recipe, else pH_safeSO2_free = SO2_meas when a free SO₂ reading follows the last K-meta doseotherwise SO2_free = SO2_base + m_KMS × r × 1000 × y_KMS / (V × k_bind), r = share of the dosed volume still in the vessel after splitsSO2_base = a free SO₂ reading logged at most t_fresh hours before the dose, else 0; pH is taken at the event that sets SO2_freepKa = pKa_SO2 when ABV ≤ ABV_hi, else pKa_SO2hiSO2_mol = SO2_free / (1 + 10^(pH − pKa))sorbate allowed when SO2_mol ≥ SO2_mol_min

Inputs

  • pH_log
  • pH_recipe
  • SO2_meas (mg/L)
  • SO2_base (mg/L)
  • m_KMS (g)
  • V (L)
  • ABV (% ABV)

Results

  • SO2_mol (mg/L)

Constants

t_fresh
MeadBrew calibration
pH_safe
MeadBrew calibration
y_KMS
0.576
k_bind
MeadBrew calibration
pKa_SO2
1.81
pKa_SO2hi
MeadBrew calibration
ABV_hi
MeadBrew calibration
SO2_mol_min
MeadBrew calibration

Sources

  • Boulton RB, Singleton VL, Bisson LF, Kunkee RE (1996). Principles and Practices of Winemaking. Chapman & Hall: molecular SO₂ from free SO₂ and pH, 0.8 mg/L molecular SO₂ target
  • IUPAC Commission on Isotopic Abundances and Atomic Weights (CIAAW). Standard atomic weights of the elements
  • MeadBrew's own model

Valid for

  • V from 0 L

Not modelled yet

  • SO₂ lost over time
  • Measured SO₂ binding
  • Temperature dependence of the pKa

Delle units

Are the alcohol and the sugar together high enough to keep a sweet mead from fermenting again?

RS = max(0, (SG − 1) × k_RS) (g sugar per 100 mL)DU = k_DU × ABV + RSband: highly unstable when DU < DU_low, marginal when DU < DU_stable, generally stable when DU < DU_abs, else absolutely stable

Inputs

  • ABV (% ABV)
  • SG (SG)

Results

  • RS
  • DU

Constants

k_DU
4.5
k_RS
MeadBrew calibration
DU_low
MeadBrew calibration
DU_stable
78
DU_abs
MeadBrew calibration

Sources

  • Delle units: 4.5 × % ABV + % sugar, biologically stable from 78 units, as reproduced in Amerine MA, Berg HW, Kunkee RE, Ough CS, Singleton VL, Webb AD (1980). The Technology of Wine Making, 4th ed. AVI
  • MeadBrew's own model

Valid for

  • ABV from 0 % ABV
  • SG from 0.98 SG to 1.2 SG

Not modelled yet

  • Sugar read from an alcohol-corrected gravity
  • Alcohol tolerance of each strain
  • Temperature

Stabilization status

Is the mead stable enough to package, or does it still need stabilizing?

status = no_fermentable_sugar when no fermentable residual sugar remainsdelle_self_stable when DU ≥ DU_self, DU_self = DU_abs for bottle conditioning, else DU_stabledose adequate when m_now + max(tol_abs, m_rec × tol_rel) ≥ m_recprocess_stabilized when K-meta is adequate, yeast is removed (sorbate adequate, sterile filtration or pasteurisation), cold crash or pasteurisation is planned and pH_fin ≤ pH_ceilingpartially_stabilized when any of these is present, else unstabilized

Inputs

  • DU
  • pH_fin
  • m_now (g)
  • m_rec (g)

Results

  • status

Constants

DU_stable
78
DU_abs
MeadBrew calibration
tol_rel
MeadBrew calibration
tol_abs
MeadBrew calibration
pH_ceiling
MeadBrew calibration

Sources

  • Delle units: 4.5 × % ABV + % sugar, biologically stable from 78 units, as reproduced in Amerine MA, Berg HW, Kunkee RE, Ough CS, Singleton VL, Webb AD (1980). The Technology of Wine Making, 4th ed. AVI
  • MeadBrew's own model

Valid for

  • m_now from 0 g
  • m_rec from 0 g

Not modelled yet

  • Filter porosity
  • Pasteurization units
  • Microbial load

Tannin dose

How much tannin does the batch need?

catalog product: m = (V / 10) × d_catotherwise, no dark fruit (light gallotannin): m = (V / 10) × d_lightotherwise, dark fruit (sacrificial maceration): m = (M_dark / 10) × d_sac_fruit + (V / 10) × d_sac_bases = D[level] / D[L_ref], D = wine tannin powder dose ladder for levels 1–5m_tannin = m × s (the recipe applies an ageing-vessel multiplier on top)

Inputs

  • V (L)
  • M_dark (kg)
  • d_cat (g)
  • level

Results

  • m (g)
  • s
  • m_tannin (g)

Constants

d_light
MeadBrew calibration
d_sac_fruit
MeadBrew calibration
d_sac_base
MeadBrew calibration
D
MeadBrew calibration
L_ref
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • level from 1 to 5
  • V from 0 L

Not modelled yet

  • Tannin polymerization
  • Losses to protein fining
  • How fast oak extracts
  • The tannin content of the fruit

Pectinase dose

How much pectic enzyme does the fruit need?

rule per fruit row: clarified juice by processing state, else Nordic fruit profile, else fruit acid category, else processing stateB = juice volume (L) for a clarified juice rule, else fruit mass (kg)m_row = (B / 10) × d_rule, m_pectinase = Σ m_row

Inputs

  • B
  • d_rule (g)

Results

  • m_pectinase (g)

Sources

  • MeadBrew's own model

Valid for

  • B from 0

Not modelled yet

  • Enzyme activity units
  • Temperature
  • Contact time
  • The pectin content of each fruit

Bench trial doses

How do the stock solution and the winning sample scale up to the batch?

stock solution: m_solute = V_stock × c / 100, c = c_acid for acids, c_tannin for tannins unless givenwinning sample: m_batch = V_win × (c / 100) × (V × 1000) / V_sample, V_sample = V_sample_default unless giventitration: m_batch = V_titrant × (c / 100) × (V × 1000) / V_samplesolution for a dose: V_sol = D_dose × V_sample / (c × 10)

Inputs

  • V_stock (mL)
  • c (%)
  • V_win (mL)
  • V_titrant (mL)
  • V_sample (mL)
  • V (L)
  • D_dose (g/L)

Results

  • m_solute (g)
  • m_batch (g)
  • V_sol (mL)

Constants

c_acid
MeadBrew calibration
c_tannin
MeadBrew calibration
V_sample_default
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • c from 0 % to 100 %
  • V_sample from 0 mL
  • V from 0 L

Not modelled yet

  • The sample diluted by the solution
  • Taste that does not scale with the dose
  • The oak surface to volume ratio

Bench trial starting points

Which acid and tannin amounts should a bench trial start from for this mead?

FG band (bone dry below FG 1): A_0, T_0 interpolate linearly across the band, FG clamped at the top band edgedry: FG_lo[dry] ≤ FG < FG_hi[dry], A_0 from A_lo[dry] to A_hi[dry], T_0 from T_lo[dry] to T_hi[dry]semi_dry: FG_lo[semi_dry] ≤ FG < FG_hi[semi_dry], A_0 from A_lo[semi_dry] to A_hi[semi_dry], T_0 from T_lo[semi_dry] to T_hi[semi_dry]semi_sweet: FG_lo[semi_sweet] ≤ FG < FG_hi[semi_sweet], A_0 from A_lo[semi_sweet] to A_hi[semi_sweet], T_0 from T_lo[semi_sweet] to T_hi[semi_sweet]sweet_dessert: FG_lo[sweet_dessert] ≤ FG < FG_hi[sweet_dessert], A_0 from A_lo[sweet_dessert] to A_hi[sweet_dessert], T_0 from T_lo[sweet_dessert] to T_hi[sweet_dessert]bone dry: A_0 = A_bone, T_0 = T_bonef_acid = f_fruit_A × f_honey_A × f_CO2, f_tannin = f_fruit_T × f_hop × f_oak × f_honey_Tfruit (none, dark_tart_berries: f_dark_A f_dark_T, stone_fruits: f_stone_A f_stone_T); honey (medium 1, light_floral: f_light_A f_light_T, dark_robust: f_robust_A f_robust_T)f_hop with heavy dry hopping, f_oak with oak ageing, else 1f_CO2 = f_CO2_mod when CO2_lo ≤ CO2 ≤ CO2_hi, f_CO2_high when CO2 > CO2_hi, else 1A = max(A_min, A_0 × f_acid), T = max(T_min, T_0 × f_tannin)

Inputs

  • FG (SG)
  • CO2 (vol CO₂)
  • fruit
  • honey
  • dry hopping
  • oak ageing

Results

  • A (g/L)
  • T (g/L)

Constants

FG_lo[dry]
MeadBrew calibration
FG_hi[dry]
MeadBrew calibration
A_lo[dry]
MeadBrew calibration
A_hi[dry]
MeadBrew calibration
T_lo[dry]
MeadBrew calibration
T_hi[dry]
MeadBrew calibration
FG_lo[semi_dry]
MeadBrew calibration
FG_hi[semi_dry]
MeadBrew calibration
A_lo[semi_dry]
MeadBrew calibration
A_hi[semi_dry]
MeadBrew calibration
T_lo[semi_dry]
MeadBrew calibration
T_hi[semi_dry]
MeadBrew calibration
FG_lo[semi_sweet]
MeadBrew calibration
FG_hi[semi_sweet]
MeadBrew calibration
A_lo[semi_sweet]
MeadBrew calibration
A_hi[semi_sweet]
MeadBrew calibration
T_lo[semi_sweet]
MeadBrew calibration
T_hi[semi_sweet]
MeadBrew calibration
FG_lo[sweet_dessert]
MeadBrew calibration
FG_hi[sweet_dessert]
MeadBrew calibration
A_lo[sweet_dessert]
MeadBrew calibration
A_hi[sweet_dessert]
MeadBrew calibration
T_lo[sweet_dessert]
MeadBrew calibration
T_hi[sweet_dessert]
MeadBrew calibration
A_bone
MeadBrew calibration
T_bone
MeadBrew calibration
f_dark_A
MeadBrew calibration
f_dark_T
MeadBrew calibration
f_stone_A
MeadBrew calibration
f_stone_T
MeadBrew calibration
f_light_A
MeadBrew calibration
f_light_T
MeadBrew calibration
f_robust_A
MeadBrew calibration
f_robust_T
MeadBrew calibration
f_hop
MeadBrew calibration
f_oak
MeadBrew calibration
CO2_lo
MeadBrew calibration
CO2_hi
MeadBrew calibration
f_CO2_mod
MeadBrew calibration
f_CO2_high
MeadBrew calibration
A_min
MeadBrew calibration
T_min
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • CO2 from 0 vol CO₂ to 6 vol CO₂

Not modelled yet

  • Measured titratable acidity
  • Individual taste thresholds
  • The warmth of alcohol on the palate

Finishing stabilization plan

How are sulfite and sorbate dosed for the volume after backsweetening, and to which pH is the mead acidified?

V_p = V + V_juice (+ backsweetening honey volume), ABV_p = ABV × V / V_pK-meta and sorbate doses are computed for V_p and ABV_p (sulfite_kmeta_dose, potassium_sorbate_dose)acidify step when pH_meas > pH_ceiling; acidification target pH_target = pH_defaultracking unlocks t_settle hours after the cold crashgravity above plan when SG > SG_plan + ΔSG_tolsweetening unlocks t_hold hours after stabilisationerythritol cooling risk when m_ery / V > c_ery

Inputs

  • V (L)
  • V_juice (L)
  • ABV (% ABV)
  • pH_meas
  • SG (SG)
  • SG_plan (SG)
  • m_ery (g)

Results

  • V_p (L)
  • ABV_p (% ABV)
  • pH_target

Constants

pH_ceiling
MeadBrew calibration
pH_default
MeadBrew calibration
t_settle
MeadBrew calibration
ΔSG_tol
MeadBrew calibration
t_hold
MeadBrew calibration
c_ery
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • V from 0 L
  • V_juice from 0 L

Not modelled yet

  • SO₂ lost in racking
  • How fast yeast settles
  • Cold crash temperature

Fermentation and forecast

Fermentation progress and sugar breaks

How far has the sugar fermented, and at which gravity do the 1/3 and 1/2 sugar breaks fall?

D = max(OG − FG, ΔSGmin)pct = clamp(100 · (OG − SG) / D, 0, 100)SG⅓ = OG − D · p⅓ / 100; SG½ = OG − D · p½ / 100sugar break SGb = OG − (OG − FG) / 3, rounded to 0.001

Inputs

  • OG (SG)
  • FG (SG)
  • SG (SG)

Results

  • pct (%)
  • SG⅓ (SG)
  • SG½ (SG)
  • SGb (SG)

Constants

ΔSGmin
MeadBrew calibration
p⅓
33.33%
p½
MeadBrew calibration

Sources

  • Moutela S., TOSNA (Tailored Organic Staggered Nutrient Additions): nutrient additions up to the one-third sugar break

Valid for

  • pct from 0 % to 100 %

Not modelled yet

  • Sugar added after pitching when there is no forecast
  • Noise in gravity readings

Which instrument to read with

Should the next reading be taken with a hydrometer or a refractometer?

before pitch: both instruments until a WCF is calibrated, then eitherpackaged, backsweetened or stabilised: hydrometergravity flat: every reading since the last sugar addition within δ of SGlast over ≥ hflat hours and OG − SGlast > δ → hydrometerrefractometer reading outside the alcohol-correction valid range → hydrometerfermentable sugar added after pitch → bothtransfer step due within dfg days → hydrometerwhole fruit in primary: refractometer until pitch + dfruit daysotherwise: refractometer

Inputs

  • OG (SG)
  • SGlast (SG)

Results

  • instrument

Constants

δ
MeadBrew calibration
hflat
MeadBrew calibration
dfg
MeadBrew calibration
dfruit
MeadBrew calibration

Sources

  • MeadBrew's own model

Not modelled yet

  • The precision of each instrument model
  • Degassing the sample

When to act during fermentation

When will the 1/3 sugar break come, and when should the pH and the final gravity be checked?

SG_break = OG − (OG − FG) × F_breakt_break = first hour with SG(t) ≤ OG_c − (OG_c − FG) × F_break on the predicted curve, t_fallback without a curve; an observed reading at or below SG_break turns it into a due additionFG_exp = max(FG, min SG(t))t_pH = first hour with SG(t) ≤ OG_c − (OG_c − FG_exp) × F_pH, cleared by a pH reading after t_pH − L_pHt_FG = (first hour with SG(t) ≤ FG_exp + δ_FG) + D_FG, cleared by a manual gravity reading after t_FG − L_FG

Inputs

  • OG (SG)
  • FG (SG)
  • OG_c (SG)
  • SG(t) (SG)

Results

  • SG_break (SG)
  • t_break (h)
  • FG_exp (SG)
  • t_pH (h)
  • t_FG (h)

Constants

F_break
0.3333333333333333
t_fallback
MeadBrew calibration
F_pH
MeadBrew calibration
L_pH
MeadBrew calibration
δ_FG
MeadBrew calibration
D_FG
MeadBrew calibration
L_FG
MeadBrew calibration

Sources

  • Moutela S., TOSNA 2.0 (Tailored Organic Staggered Nutrient Additions), Mead Made Right: YAN target = °Bx × SG × 10 × nitrogen demand multiplier, organic additions staggered up to the 1/3 sugar break, Fermaid O with GO-FERM rehydration counted at 160 ppm YAN per g/L
  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.2 SG
  • FG from 0.98 SG to 1.1 SG

Not modelled yet

  • Reading noise
  • Sensor offset calibration
  • Rescheduling after a stall

Live pH and temperature alerts

When do pH and temperature readings raise an alert during fermentation?

r_pH = −ΔpH ÷ Δt and r_T = ΔT ÷ Δt over the last two readings, used only when Δt ≥ Δt_minalert = acid_crash_risk if pH < pH_crashalert = rapid_ph_drop if no buffer row, r_pH ≥ r_pH_max and pH < pH_ratealert = temperature_stress if T < T_min or T > T_maxalert = temperature_swing if |r_T| ≥ r_T_maxalert = finished_ph_high for mead and cider if pH > pH_finished

Inputs

  • pH
  • T (°C)
  • Δt (h)
  • T_min (°C)
  • T_max (°C)

Results

  • r_pH
  • r_T
  • alert

Constants

Δt_min
MeadBrew calibration
pH_crash
MeadBrew calibration
pH_rate
MeadBrew calibration
r_pH_max
MeadBrew calibration
r_T_max
MeadBrew calibration
pH_finished
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • pH from 2 to 5
  • Δt from 0 h

Not modelled yet

  • Sensor drift
  • The difference between room and must temperature
  • The buffer capacity of each honey

Final gravity of a step-fed mead

Where does a step-fed mead finish once every feed has fermented?

ρ_i = honey density from moisture for honey, SG_sucrose × 1000 × ρ_w for sucrose, solution or sweetener density otherwiseV_s = V_0 + Σ m_i ÷ ρ_iOG_s = (V_0 × OG + Σ m_i ÷ (1000 × ρ_w)) ÷ V_sOG_f = OG_s − SPFG_app = OG_f − (OG_f − 1) × A ÷ 100 + SPFG_dex = max(FG_tol, max(1, OG_f − (OG_f − 1) × min(100, A_yeast) ÷ 100) + SP), A_yeast = A_default when the yeast has no attenuationFG = max(FG_model, SG_stop) when fermentation is arrested at SG_stop

Inputs

  • OG (SG)
  • V_0 (L)
  • m_i (g)
  • SP
  • A (%)
  • A_yeast (%)
  • FG_tol (SG)
  • FG_model (SG)
  • SG_stop (SG)

Results

  • ρ_i (g/L)
  • V_s (L)
  • OG_s (SG)
  • OG_f (SG)
  • FG_app (SG)
  • FG_dex (SG)
  • FG (SG)

Constants

ρ_w
0.998203
SG_sucrose
1.587SG
A_default
MeadBrew calibration

Sources

  • Rumble J. R. (ed.), CRC Handbook of Chemistry and Physics: dissociation constant of benzoic acid (pKa 4.20 at 25 °C), density of water at 20 °C and of sucrose
  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.2 SG
  • V_0 from 0 L
  • A from 0 % to 100 %
  • A_yeast from 0 % to 100 %

Not modelled yet

  • The effect of temperature on attenuation
  • The effect of nutrient status on the final gravity
  • Step feed timing

Predicted fermentation curve

How will the gravity and the pH change day by day before any reading is logged?

S₀ = 1000·(OG − 1), S_fg = 1000·(FG − 1), X₀ = x₀, E₀ = 0, N₀ = max(YAN_nat, N_min)t_lag = L(OG) + t_nb when the must is not boiled, r_max = R(OG) (piecewise-linear calibration tables over OG)g(t) = 1 / (1 + exp(−k_g·(t − t_lag)))N_eff = m_org·N when no DAP is dosed, else N; f_N = N_eff / (K_N + N_eff)E_max = y_ABV·ABV_tol, or E_def without a yeast tolerance; f_E = max(0, 1 − (min(E / E_max, 1))^α)f_S = (S − S_fg) / (K_S + (S − S_fg))c = c_pH when the must is unbuffered and pH < pH_crit, else 1P_j(t) = sin(π·(t − t_j)) for 0 ≤ t − t_j ≤ 1, else 0; nutrient additions N_j at days t_j from the TOSNA scheduledS/dt = −r_max·X·g·f_E·c·f_S·(1 + β_N·Σ P_j(t))dX/dt = μ_X·g·f_N·f_E·X·(1 − X)dE/dt = −y_E·dS/dtdN/dt = −q_N·max(dX/dt, 0) + Σ N_j·(π/2)·P_j(t)pH_floor = pH_buf when buffered, else max(2.6, pH₀ − Δ_fruit) with fruit or max(2.6, pH₀ − Δ_plain) withoutdpH/dt = −k_a·g·exp(−max(t − t_lag, 0) / τ_pH)·max(pH − pH_floor, 0)SG(t) = 1 + S(t)/1000 and pH(t), integrated with fourth-order Runge-Kutta from day 0

Inputs

  • OG (SG)
  • FG (SG)
  • YAN_nat (ppm)
  • ABV_tol (%)
  • pH₀
  • N_j (ppm)
  • t_j (d)
  • t (d)

Results

  • SG(t) (SG)
  • pH(t)

Constants

x₀
MeadBrew calibration
N_min
MeadBrew calibration
t_nb
MeadBrew calibration
k_g
MeadBrew calibration
m_org
MeadBrew calibration
K_N
MeadBrew calibration
y_ABV
MeadBrew calibration
E_def
MeadBrew calibration
α
MeadBrew calibration
K_S
MeadBrew calibration
c_pH
MeadBrew calibration
pH_crit
MeadBrew calibration
β_N
MeadBrew calibration
μ_X
MeadBrew calibration
y_E
MeadBrew calibration
q_N
MeadBrew calibration
pH_buf
MeadBrew calibration
Δ_fruit
MeadBrew calibration
Δ_plain
MeadBrew calibration
k_a
MeadBrew calibration
τ_pH
MeadBrew calibration

Sources

  • Monod J (1949) The growth of bacterial cultures. Annual Review of Microbiology 3:371-394
  • Luong JHT (1985) Kinetics of ethanol inhibition in alcohol fermentation. Biotechnology and Bioengineering 27(3):280-285
  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.22 SG
  • t from 0 d

Not modelled yet

  • Temperature
  • Dissolved oxygen
  • Pitch rate
  • Inhibition by sulfite
  • Fermentation speed of each strain
  • Carbon dioxide leaving the must

Forecast starting point

Which final gravity, rate and lag does the forecast assume before your readings?

FG₀ = FG_target when set, else min(max(OG − A·(OG − 1), FG_floor), OG − Δ_min)λ₀ = λ_def, μ₀ = (OG − FG₀)·C(f_c) / (e·max(D − λ₀, 1)), C(f) = 1 − ln(−ln f)with a predicted recipe curve, (FG₀, μ₀, λ₀) is the Gompertz fit to that curve insteadFG_max = min(OG − Δ_min, FG₀ + max(u_fg, u_frac·(OG − FG₀))), FG_min = min(max(FG_abs, FG₀ − d_fg, min(FG_floor, FG₀)), FG_max)μ ∈ [μ_lo, μ_hi], λ ∈ [0, λ_hi]σ_FG = clamp(s_fg·(OG − FG₀), σ_fg,lo, σ_fg,hi)σ_μ = clamp(s_mu·μ₀, σ_mu,lo, σ_mu,hi)σ_λ = clamp(s_lam·λ₀, σ_lam,lo, σ_lam,hi)golden batch (at least n_gold milestones): SG_i' = OG − (SG_start − SG_i)·(OG − 1)/(SG_start − 1), σ_i = max(σ_hyd, σ_gold / √n_batches_i), fitted to the Gompertz curve with the generic prior

Inputs

  • OG (SG)
  • FG_target (SG)
  • SG_i (SG)
  • SG_start (SG)
  • n_batches_i

Results

  • FG₀ (SG)
  • μ₀ (SG/d)
  • λ₀ (d)
  • σ_FG (SG)
  • σ_μ (SG/d)
  • σ_λ (d)
  • FG_max (SG)
  • FG_min (SG)

Constants

A
MeadBrew calibration
FG_floor
MeadBrew calibration
λ_def
MeadBrew calibration
D
MeadBrew calibration
μ_lo
MeadBrew calibration
μ_hi
MeadBrew calibration
λ_hi
MeadBrew calibration
f_c
MeadBrew calibration
Δ_min
MeadBrew calibration
u_fg
MeadBrew calibration
u_frac
MeadBrew calibration
d_fg
MeadBrew calibration
FG_abs
MeadBrew calibration
s_fg
MeadBrew calibration
σ_fg,lo
MeadBrew calibration
σ_fg,hi
MeadBrew calibration
s_mu
MeadBrew calibration
σ_mu,lo
MeadBrew calibration
σ_mu,hi
MeadBrew calibration
s_lam
MeadBrew calibration
σ_lam,lo
MeadBrew calibration
σ_lam,hi
MeadBrew calibration
n_gold
MeadBrew calibration
σ_gold
MeadBrew calibration
σ_hyd
MeadBrew calibration

Sources

  • Zwietering MH, Jongenburger I, Rombouts FM, van 't Riet K (1990) Modeling of the bacterial growth curve. Applied and Environmental Microbiology 56(6):1875-1881
  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.2 SG
  • n_batches_i from 1

Not modelled yet

  • Temperature
  • Fermentation speed of each strain
  • Pitch rate
  • Honey that differs from batch to batch

Reading uncertainty

How much weight does each hydrometer, refractometer or sensor reading get?

σ_i = σ_hyd for a hydrometer reading and for the OG anchor at day 0σ_i = σ_ref for a refractometer reading, σ_unk for an unknown instrumentσ_i = σ_sen·√(n_d / n_ref) for sensor readings when n_d > n_ref, else σ_senn_d = (number of hourly sensor medians − 1) / sensor span in days

Inputs

  • n_d (1/d)

Results

  • σ_i (SG)

Constants

σ_hyd
MeadBrew calibration
σ_ref
MeadBrew calibration
σ_unk
MeadBrew calibration
σ_sen
MeadBrew calibration
n_ref
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • n_d from 0 1/d

Not modelled yet

  • Instrument calibration offset
  • Error in the temperature correction
  • Sensor drift

Final gravity forecast

Where will this batch finish, fitted to the readings you have logged?

SG(t) = OG − (OG − FG)·exp(−exp(μ·e/(OG − FG)·(λ − t) + 1))z_i = (SG_i − SG(t_i)) / σ_i, ρ(z) = z²/2 when |z| ≤ k, else k·(|z| − k/2)(FG, μ, λ) = argmin Σ ρ(z_i) + Σ ((θ_j − θ₀_j) / σθ_j)² / 2, solved by Levenberg-Marquardt inside the prior boundsw_i = 1 when |z_i| ≤ k, else k/|z_i|d_eff = clamp(tr((F + Σθ⁻¹)⁻¹·F), 0, 3), F = Σ w_i·J_iᵀJ_i/σ_i²β = max(1, Σ w_i·(SG_i − SG(t_i))²/σ_i² / max(1, Σ w_i − d_eff)) when n ≥ n_B, else 1Σ_post = (F/β + Σθ⁻¹)⁻¹wrms = √(Σ w_i·(SG_i − SG(t_i))² / Σ w_i)

Inputs

  • OG (SG)
  • t_i (d)
  • SG_i (SG)
  • σ_i (SG)
  • θ₀_j
  • σθ_j
  • n
  • t (d)

Results

  • FG (SG)
  • μ (SG/d)
  • λ (d)
  • SG(t) (SG)
  • w_i
  • d_eff
  • β
  • Σ_post
  • wrms (SG)

Constants

k
1.345
n_B
MeadBrew calibration

Sources

  • Zwietering MH, Jongenburger I, Rombouts FM, van 't Riet K (1990) Modeling of the bacterial growth curve. Applied and Environmental Microbiology 56(6):1875-1881
  • Huber PJ (1964) Robust estimation of a location parameter. Annals of Mathematical Statistics 35(1):73-101
  • Holland PW, Welsch RE (1977) Robust regression using iteratively reweighted least-squares. Communications in Statistics - Theory and Methods 6(9):813-827
  • Marquardt DW (1963) An algorithm for least-squares estimation of nonlinear parameters. Journal of the Society for Industrial and Applied Mathematics 11(2):431-441
  • Birge RT (1932) The calculation of errors by the method of least squares. Physical Review 40(2):207-227

Valid for

  • OG from 1 SG to 1.2 SG
  • σ_i from 0 SG

Not modelled yet

  • Temperature
  • Fermentation in several phases
  • Errors shared between readings
  • Yeast dying off

Finish date

On which day will fermentation finish, and how sure is that date?

C = 1 − ln(−ln f_c)t_f = λ + (OG − FG)/(μ·e)·Ct_r: the day after the inflection where |dSG/dt| = μ·e·u·exp(−u) falls to r_stop, u = exp(μ·e/(OG − FG)·(λ − t) + 1)ETA = max(t_f, t_r), kept at or after the last reading while the batch is still activeg = (−C/(μ·e), −(OG − FG)·C/(μ²·e), 1)h = clamp(z·√(gᵀ·Σ_post·g), h_min, h_max)band = [ETA − h, ETA + h]

Inputs

  • OG (SG)
  • FG (SG)
  • μ (SG/d)
  • λ (d)
  • Σ_post

Results

  • t_f (d)
  • t_r (d)
  • ETA (d)
  • h (d)

Constants

f_c
MeadBrew calibration
r_stop
MeadBrew calibration
z
1.645
h_min
MeadBrew calibration
h_max
MeadBrew calibration

Sources

  • Zwietering MH, Jongenburger I, Rombouts FM, van 't Riet K (1990) Modeling of the bacterial growth curve. Applied and Environmental Microbiology 56(6):1875-1881
  • Abramowitz M, Stegun IA (1964) Handbook of Mathematical Functions, National Bureau of Standards Applied Mathematics Series 55, chapter 26 (normal probability function)

Valid for

  • μ from 0 SG/d
  • λ from 0 d

Not modelled yet

  • Uncertainty that is not normally distributed
  • Temperature
  • Interventions during the process

Forecast confidence

How far can the forecast be trusted so far?

p = clamp((OG − SG_min) / max(OG − FG, 0.0001), 0, 1)a = 1 − exp(−n_eff / n_s)b = p_0 + (1 − p_0)·pq = exp(−(wrms / w_s)²) when n_eff > 0, else 1v = 1 / (1 + h / max(t_f, t_min))confidence = clamp(c_min + c_span·a·b·q·v, c_min, c_max)

Inputs

  • OG (SG)
  • FG (SG)
  • SG_min (SG)
  • n_eff
  • wrms (SG)
  • h (d)
  • t_f (d)

Results

  • confidence (%)

Constants

c_min
MeadBrew calibration
c_max
MeadBrew calibration
c_span
MeadBrew calibration
n_s
MeadBrew calibration
p_0
MeadBrew calibration
w_s
MeadBrew calibration
t_min
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • n_eff from 0
  • confidence from 15 % to 98 %

Not modelled yet

  • A calibrated probability
  • Instrument bias

Lag detection

Has fermentation started yet?

Δ_crit = max(z_lag·√2·σ, Δ_lag, f_lag·(OG − FG₀))active when OG − SG_last ≥ Δ_crit; the exit day is λ of the fit (enough readings) or the linear crossing of Δ_critotherwise status = lag_stalled when t_last > max(t_stall, λ₀ + k_stall·σ_λ)status = lag_extended when t_last > max(t_ext, λ₀ + k_ext·σ_λ), else status = in_lag

Inputs

  • OG (SG)
  • FG₀ (SG)
  • σ (SG)
  • SG_last (SG)
  • t_last (d)
  • λ₀ (d)
  • σ_λ (d)

Results

  • Δ_crit (SG)
  • status

Constants

z_lag
MeadBrew calibration
Δ_lag
MeadBrew calibration
f_lag
MeadBrew calibration
t_stall
MeadBrew calibration
k_stall
MeadBrew calibration
t_ext
MeadBrew calibration
k_ext
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • σ from 0 SG

Not modelled yet

  • Temperature
  • Yeast viability
  • Airlock activity

Stall detection

Is fermentation slower than it should be at this point?

Δt = t_last − t_prev ≥ Δt_slug, R = SG_last − FG₀ > max(R_min, f_R·(OG − FG₀)), lag exitedp = clamp((OG − SG_last) / (OG − FG₀), p_min, p_max)r_exp = μ₀·e·p·(−ln p)r_obs = (SG_prev − SG_last) / Δt, ρ = r_obs / r_expstall when Δt ≥ Δt_stall and r_obs < r_stall and ρ < ρ_stallotherwise sluggish when r_obs < r_slug and ρ < ρ_slug

Inputs

  • OG (SG)
  • FG₀ (SG)
  • μ₀ (SG/d)
  • SG_prev (SG)
  • t_prev (d)
  • SG_last (SG)
  • t_last (d)

Results

  • R (SG)
  • r_exp (SG/d)
  • r_obs (SG/d)
  • ρ

Constants

Δt_slug
MeadBrew calibration
R_min
MeadBrew calibration
f_R
MeadBrew calibration
p_min
MeadBrew calibration
p_max
MeadBrew calibration
Δt_stall
MeadBrew calibration
r_stall
MeadBrew calibration
ρ_stall
MeadBrew calibration
r_slug
MeadBrew calibration
ρ_slug
MeadBrew calibration

Sources

  • Zwietering MH, Jongenburger I, Rombouts FM, van 't Riet K (1990) Modeling of the bacterial growth curve. Applied and Environmental Microbiology 56(6):1875-1881
  • MeadBrew's own model

Valid for

  • μ₀ from 0 SG/d

Not modelled yet

  • Temperature
  • Yeast viability
  • Nutrient status
  • The cause of a stall

Step feed detection

Did the gravity rise because sugar was added?

T = max(ΔSG_min, k_σ·max(σ_prev, σ_cur))J = SG_cur − SG_path(t_cur), SG_path fitted to the readings before t_curstep feed at t_cur when SG_cur − SG_prev > T and J > Tand SG_next − SG_path(t_next) ≥ f_conf·J and the rise is not an uncorrected refractometer readingrecorded sugar additions are charged from their gravity points instead; readings after a feed are shifted down by J

Inputs

  • SG_prev (SG)
  • SG_cur (SG)
  • SG_next (SG)
  • σ_prev (SG)
  • σ_cur (SG)
  • SG_path (SG)
  • t_cur (d)
  • t_next (d)

Results

  • T (SG)
  • J (SG)

Constants

ΔSG_min
MeadBrew calibration
k_σ
MeadBrew calibration
f_conf
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • σ_cur from 0 SG

Not modelled yet

  • The type of sugar in a feed
  • The volume a feed adds
  • Time for an addition to mix in

Uncorrected refractometer readings

Was a refractometer reading logged without the alcohol correction?

B: the Brix whose alcohol-corrected refractometer gravity for OG equals SG_fit(t)SG_u = SG(B), the gravity an uncorrected refractometer would showflag a refractometer or unknown-instrument reading after lag exit when SG_obs − SG_fit(t) > r_min and |SG_obs − SG_u| ≤ toltol = tol_high when OG > OG_high, else tol_low; the last reading is skipped while there are at most n_amb readings

Inputs

  • OG (SG)
  • SG_obs (SG)
  • SG_fit(t) (SG)

Results

  • SG_u (SG)
  • tol (SG)

Constants

r_min
MeadBrew calibration
tol_low
MeadBrew calibration
tol_high
MeadBrew calibration
OG_high
MeadBrew calibration
n_amb
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • OG from 1 SG to 1.2 SG

Not modelled yet

  • Refractometer calibration offset
  • A wort correction factor for each instrument

Golden batch comparison

How does this batch track against the average of your past batches?

golden curve: past batches' milestone averages (day, SG) linearly interpolated per daya(t) = (OG − SG(t)) / (OG − FG_target), made non-decreasing after a moving-median filterlive and golden curves are aligned in the attenuation domain: lag offset, time stretch from the ratio of peak attenuation rates, then dynamic time warping on attenuation and rateSG_warp(t): the warped golden curve, non-increasing, linearly interpolatedrmse = √(mean over live readings of (SG_live − SG_warp(t))²)se = max(se_min, (t_done − t_last)·(1 − c_align)·f_se)

Inputs

  • OG (SG)
  • FG_target (SG)
  • SG_live (SG)
  • t_last (d)
  • t_done (d)
  • c_align

Results

  • a(t)
  • SG_warp(t) (SG)
  • rmse (SG)
  • se (d)

Constants

se_min
MeadBrew calibration
f_se
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • c_align from 0 to 1

Not modelled yet

  • Temperature
  • Different yeast or nutrients from batch to batch

Golden batch forecast

How are your past batches and the readings of this batch combined into one finish date?

D = rmse_align / max(rmse_fit, rmse_floor)φ = exp(−max(0, D − D_max)²)P_align = φ / max(se_align², v_min), P_fit = 1 / max(se_fit², v_min)w = P_align / (P_align + P_fit)ETA = w·ETA_align + (1 − w)·ETA_fitse² = w·(se_align² + (ETA_align − ETA)²) + (1 − w)·(se_fit² + (ETA_fit − ETA)²)h = clamp(z·se, h_min, h_max)mode = align_dominant when w ≥ w_hi, adaptive when w ≤ w_lo, else blended; diverged when φ < φ_min

Inputs

  • rmse_align (SG)
  • rmse_fit (SG)
  • ETA_align (d)
  • ETA_fit (d)
  • se_align (d)
  • se_fit (d)

Results

  • D
  • φ
  • w
  • ETA (d)
  • se (d)
  • h (d)

Constants

rmse_floor
MeadBrew calibration
D_max
MeadBrew calibration
v_min
MeadBrew calibration
z
1.645
h_min
MeadBrew calibration
h_max
MeadBrew calibration
w_hi
MeadBrew calibration
w_lo
MeadBrew calibration
φ_min
MeadBrew calibration

Sources

  • Abramowitz M, Stegun IA (1964) Handbook of Mathematical Functions, National Bureau of Standards Applied Mathematics Series 55, chapter 26 (normal probability function)
  • MeadBrew's own model

Valid for

  • se_align from 0 d
  • se_fit from 0 d

Not modelled yet

  • Correlation between the two forecasts

Process, cost and stock

Strike water

How hot should the mash water be, and how much of it goes in?

T_s = (k_s / r) × (T_m − T_g) + T_m + ΔT_lossV_s = m_g × r

Inputs

  • T_g (°C)
  • T_m (°C)
  • r
  • ΔT_loss (°C)
  • m_g (kg)

Results

  • T_s (°C)
  • V_s (L)

Constants

k_s
0.41

Sources

  • Palmer, J. J. (2017). How to Brew, 4th ed. Brewers Publications: infusion mash strike water equation (metric, L/kg)

Valid for

  • r from 0
  • m_g from 0 kg

Not modelled yet

  • Mash tun heat capacity beyond a fixed loss
  • Grain moisture
  • Altitude

Calculators

Cost of goods

What does a batch cost to make, per litre and per bottle or keg?

Y = Y_f × Y_pV_ko = V_pkg ÷ Yq_i = q_base × (V_ko ÷ V_base)^eC_i = q_i × p_iC_ing = Σ C_in = ceil(V_pkg ÷ v_unit)single-use: n_proc = ceil(n ÷ (1 − d)), C_pkg = n_proc × (c_cont + c_clos + c_lab) + n × c_secreusable keg: C_pkg = n × (P_keg ÷ N_turns + c_cip + c_seal + h_turn × w_p)C_lab = w_b × h_b + w_p × h_pC_cogs = C_ing + C_pkg + C_labc_L = C_cogs ÷ V_pkgc_u = C_cogs ÷ n

Inputs

  • V_pkg (L)
  • Y_f
  • Y_p
  • q_base
  • V_base (L)
  • e
  • p_i (EUR)
  • v_unit (L)
  • d
  • c_cont (EUR)
  • c_clos (EUR)
  • c_lab (EUR)
  • c_sec (EUR)
  • P_keg (EUR)
  • N_turns
  • c_cip (EUR)
  • c_seal (EUR)
  • h_turn (h)
  • w_b (EUR)
  • h_b (h)
  • w_p (EUR)
  • h_p (h)

Results

  • Y
  • V_ko (L)
  • q_i
  • C_i (EUR)
  • C_ing (EUR)
  • n
  • n_proc
  • C_pkg (EUR)
  • C_lab (EUR)
  • C_cogs (EUR)
  • c_L (EUR/L)
  • c_u (EUR)

Sources

  • MeadBrew's own model

Valid for

  • Y_f from 0.01 to 1
  • Y_p from 0.01 to 1
  • d from 0 to 0.5
  • V_pkg from 0 L
  • e from 0

Not modelled yet

  • Ingredient prices changing over time
  • Volume purchase discounts
  • Keg deposits
  • Working capital cost

Overhead allocation

Which share of the running costs belongs to this batch?

volume proportional: o_L = O_m ÷ V_m, O_batch = o_L × V_pkgtank-day occupancy: O_batch = (F_m ÷ D_m ÷ V_tank) × V_ko × t_res, o_L = O_batch ÷ V_pkg

Inputs

  • O_m (EUR)
  • V_m (L)
  • F_m (EUR)
  • V_tank (L)
  • t_res (d)
  • V_ko (L)
  • V_pkg (L)

Results

  • O_batch (EUR)
  • o_L (EUR/L)

Constants

D_m
MeadBrew calibration

Sources

  • MeadBrew's own model

Valid for

  • t_res from 0 d
  • V_pkg from 0 L

Not modelled yet

  • Months of different length
  • Seasonal changes in running costs
  • Idle tank capacity

Excise duty

How much excise duty does the batch owe?

V_hL = V_pkg ÷ L_hLflat per hectolitre: E_gross = r_flat × V_hLhectolitre-degree: E_gross = r_deg × A × V_hLABV tiered: E_gross = r_tier × V_hL, r_tier from the lowest tier with A ≤ A_max, else the highest tierintermediate product: E_gross = r_ip × V_hL × L_hL, d_sp = 0, r_ip falls back to a stored per-litre default when not suppliedE_net = E_gross × (1 − d_sp)e_L = E_net ÷ V_pkg

Inputs

  • V_pkg (L)
  • A (% ABV)
  • r_flat (EUR)
  • r_deg (EUR)
  • r_tier (EUR)
  • A_max (% ABV)
  • r_ip (EUR/L)
  • d_sp

Results

  • V_hL
  • E_gross (EUR)
  • E_net (EUR)
  • e_L (EUR/L)

Constants

L_hL
100L

Sources

Valid for

  • A from 0 % ABV to 100 % ABV
  • d_sp from 0 to 0.5
  • V_pkg from 0 L

Not modelled yet

  • National rate tables
  • Rates changing over time
  • Small producer eligibility rules
  • Duty suspension and bonded storage

Pricing

What are the break-even, wholesale and retail prices?

b_L = (C_cogs + O_batch + E_net) ÷ V_pkgb_u = (C_cogs + O_batch + E_net) ÷ nP_w = b_u ÷ (1 − m_w)P_r = P_w ÷ (1 − m_r)P_rg = P_r × (1 + t_vat)π_w = P_w − b_uπ_r = P_r − b_u

Inputs

  • C_cogs (EUR)
  • O_batch (EUR)
  • E_net (EUR)
  • V_pkg (L)
  • n
  • m_w
  • m_r
  • t_vat

Results

  • b_L (EUR/L)
  • b_u (EUR)
  • P_w (EUR)
  • P_r (EUR)
  • P_rg (EUR)
  • π_w (EUR)
  • π_r (EUR)

Sources

  • MeadBrew's own model

Valid for

  • m_w from 0 to 0.95
  • m_r from 0 to 0.95
  • t_vat from 0

Not modelled yet

  • Distributor fees
  • Deposit return charges
  • Rounding to price points
  • Currency conversion

Volume losses

Where was volume lost between the fermenter and the bottle, and what did it cost?

stages are logged volume adjustments, rackings, keggings and split transfers in time orderΔV_k = max(0, V_before − V_after)ℓ_k = ΔV_k ÷ V_ferm × 100c_basis = C_batch ÷ V_basis, V_basis = V_ferm without a split, else the volume before the first split transfer, or after the last one when the cost is already moved to the split childrenC_k = ΔV_k × c_basisΔV_pack = max(0, V_after − V_pkg) after the last stageΔV_tot = Σ ΔV_k + ΔV_packη = V_pkg ÷ (V_ferm − V_tr) × 100

Inputs

  • V_ferm (L)
  • V_before (L)
  • V_after (L)
  • V_pkg (L)
  • C_batch (EUR)
  • V_basis (L)
  • V_tr (L)

Results

  • ΔV_k (L)
  • ℓ_k (%)
  • c_basis (EUR/L)
  • C_k (EUR)
  • ΔV_pack (L)
  • ΔV_tot (L)
  • η (%)

Sources

  • MeadBrew's own model

Valid for

  • V_ferm from 0 L
  • V_pkg from 0 L
  • η from 0 %

Not modelled yet

  • Volume correction for temperature
  • Losses that were not logged
  • Costs that build up stage by stage

Rescaling after a volume change

How do the planned additions change when the batch volume changes?

r_V = V_new ÷ V_oldV_base = V_rack if the row is a racked-volume dose (backsweetening honey, K-meta, sorbate) and V_rack < V_old, else V_oldrescaled rows: pending finishing doses, and future-stage additions when V_new < V_old or the row is a doserescaled: q_new = round(q_old × V_new ÷ V_base, 2), otherwise q_new = q_oldΔq = q_old − q_new

Inputs

  • q_old
  • V_old (L)
  • V_new (L)
  • V_rack (L)

Results

  • r_V
  • V_base (L)
  • q_new
  • Δq

Sources

  • MeadBrew's own model

Valid for

  • V_old from 0 L
  • V_new from 0 L

Not modelled yet

  • A dose response that is not linear
  • Additions already made
  • Headspace and lees volume

Stock ledger check

Does the stock used for a batch match what the recipe planned?

b(q, g) = b(q, mL) = q × k_g, b(q, oz) = q × k_oz, b(q, lb) = q × k_lb, b(q, gal) = q × k_gal, b(q, kg) = b(q, L) = qB_exp = Σ b(q_r)B_led = Σ b(q_out) − Σ b(q_adj), packaging rows excludedτ = max(ε_abs, b(p_move, stock unit))drift if |B_exp − B_led| > τQ_exp = B_exp ÷ b(1, stock unit), Q_led = B_led ÷ b(1, stock unit), ΔQ = Q_exp − Q_ledrepair: the unique set of at most 8 recipe rows whose unit relabel closes B_led − B_exp within τ

Inputs

  • q_r
  • q_out
  • q_adj

Results

  • τ
  • Q_exp
  • Q_led
  • ΔQ

Constants

k_g
0.001
k_oz
0.0283495kg
k_lb
0.453592kg
k_gal
3.78541L
ε_abs
MeadBrew calibration
p_move
MeadBrew calibration

Sources

Valid for

  • q_r from 0
  • τ from 0

Not modelled yet

  • Density in mass and volume conversions
  • Unit changes on part of a row
  • Unit changes with more than one answer
  • Packaging rows in the stock ledger

Nutrients in a split batch

How are the remaining nutrient doses shared when a batch is split?

g_add = round(G_total ÷ n_add, 2) for each pending addition of the split partcompleted additions keep their logged doses; a part without a schedule gets a fresh schedule

Inputs

  • G_total (g)
  • n_add

Results

  • g_add (g)

Sources

  • MeadBrew's own model

Valid for

  • n_add from 1
  • G_total from 0 g

Not modelled yet

  • Dosing completed additions again
  • Doses under one gram

More