Brew calculations
How BrewForge calculates a brew: OG, color, IBU (Tinseth with hopstand), FG and attenuation, ABV, water volumes, strike temperature, mash pH, water ions, efficiency, fermentation progress, spunding, priming sugar, keg pressure, calories and cost.
This page collects the formulas behind the numbers on the brew page, in the order you meet them. Gravity is calculated in SG; °Plato values are converted with the formula at the end of the page.
Recipe
Original gravity
points = kg × PPG × 8.3454 × efficiency / (100 × litres)
OG = 1 + Σ points / 1000
Only fermentables added at mash, lauter or boil count. Sugars, extracts and boil additions use 100 % efficiency, mashed malts the brewhouse efficiency. Without a potential, a malt counts as 36 PPG.
Example: 5 kg Pilsner malt at 37 PPG, 72 % efficiency, 23 L → 5 × 37 × 8.3454 × 72 / 2300 = 48.3 points → OG 1.048.
Pre-boil gravity works the same way with the mash efficiency, the mashed fermentables only and the pre-boil volume, cooled (minus the cooling shrinkage).
When the volumes of your equipment don't reach the batch size exactly, OG, FG, IBU and color are scaled to the batch size: OG = 1 + (OG − 1) × batch size / cold fermenter volume.
brewhouse = mash efficiency × hot fermenter volume / post-boil volume
Your equipment profile stores one of the two; BrewForge derives the other. Example: 80 % mash efficiency, 24 L of 26 L post-boil reach the fermenter → 80 × 24/26 = 73.8 %.
Color
EBC = (Σ malt EBC × kg / Σ kg) × (OG in °P / 10) + 1.5 × boil hours
SRM = EBC / 1.97
Example: 4.5 kg at 3.5 EBC and 0.5 kg at 15 EBC → weighted 4.65 EBC; OG 12 °P and 60 min boil → 4.65 × 1.2 + 1.5 = 7.1 EBC.
Bitterness (IBU)
utilization = 1.65 × 0.000125^(boil gravity − 1) × (1 − e^(−0.04 × minutes)) / 4.15
IBU = alpha acid/100 × grams × 1000 / litres × utilization
- Boil gravity is the average of pre-boil and post-boil gravity.
- First wort and mash hops count with the boil time + 10 minutes; mash hops then get 20 % of that. Dry hops add no IBU.
- Whirlpool hops, and all boil and first wort hops after flameout (not only late additions), keep isomerizing during the hopstand. That part is weighted by temperature:
factor = 2.39·10¹¹ × e^(−9773 / (°C + 273.15)), at most 1. With a hopstand curve, BrewForge integrates minute by minute along the curve. A whirlpool hop added at minutemafter flameout isomerizes frommto the end of the hopstand (flat:hopstand − mminutes; curve: the curve's temperatures frommon), its utilization counted from when it went in. The default hopstand is 80 °C for 20 minutes. - The hop utilization of your equipment profile (default 100 %) multiplies the result.
Example: 30 g at 6 % AA, 60 min, 23 L, boil gravity 1.045 → utilization 0.241 → 0.06 × 1304 × 0.241 = 18.9 IBU, plus 0.2 IBU from the default hopstand.
BU:GU = IBU / ((OG − 1) × 1000). Example: 32 IBU at OG 1.067 → 0.48.
Final gravity
wort fermentability = 77 − 2.25 × (mash temperature − 67.5), between 60 and 90
effective attenuation = yeast attenuation × fermentability / 77 (above 77: + (fermentability − 77) × 0.25)
FG points = fermentable points × (1 − effective attenuation) + non-fermentable points
- The mash temperature is the saccharification rest between 62.5 and 72.5 °C; several rests are weighted. Rests longer than 45 minutes add a little fermentability.
- The yeast attenuation is the highest of your yeasts (75 % if none is set). Sugars ferment fully; non-fermentable additions such as lactose stay in the beer.
- Crystal, roasted and dextrin malts leave unfermentable sugar:
+ share of the grist in % × factor × wort OG points / 50FG points, with factors from 0.06 (pale crystal) to 0.15 (dark crystal and roast). A 1.050 wort gets the factors as they are, a 1.090 wort 1.8 times. - A manual FG replaces the result.
Example: base malt only, 75 % attenuation, one 45-minute rest at 65 °C → fermentability 82.6 → 75 + 5.6 × 0.25 = 76.4 %. OG 1.050 → FG 1 + 50 × 0.236 / 1000 = 1.012.
ABV and attenuation
ABV = 76.08 × (OG' − FG) / (1.775 − OG') × FG / 0.794, with OG' = OG + sugar added during fermentation (alternate formula; the simple (OG − FG) × 131.25 reads low for strong beers)
apparent attenuation = (OG − FG) / (OG − 1) × 100
Example: OG 1.050, FG 1.010 → 76.08 × 0.040 / 0.725 × 1.010 / 0.794 = 5.34 % ABV (simple formula 5.25 %); 80 % attenuation.
Style fit
Style fit uses the same volume-adjusted OG, FG, ABV, IBU and color as the recipe sections. A value is in range between the style's minimum and maximum, close (amber) within 10 % of the range's width outside it, and out of range (red) beyond that. Example: IBU 18–28 → close from 17 to 29.
Volumes
strike water = kg grain × water:grain ratio + mash tun dead space (limited by the mash tun size and minimum fill and the hot water tank, see vessel limits)
post-boil = batch / (1 − cooling shrinkage) + trub loss · pre-boil = post-boil + boil-off
sparge water = pre-boil + grain absorption + mash tun loss − strike water
Then the flow: pre-boil = strike + sparge − absorption − mash tun loss → post-boil = pre-boil − boil-off → to fermenter (hot) = post-boil − trub loss → fermenter (cold) = hot × (1 − shrinkage) + top-up → packaged = fermenter − fermenter loss.
Defaults when the profile leaves them empty: absorption 1.0 L/kg, water:grain 3.0 L/kg, boil-off 4 L/h, trub 1 L, cooling shrinkage 4 %.
Mash
strike = target + 0.4 / ratio × (target − grain temperature) + tun thermal mass / strike litres × (target − grain temperature)
ratio is all strike water per kg grain, dead space included. The target is the first mash step.
The recipe shows it in whole degrees of your temperature unit (the API returns °C to 0.1).
Example: 67 °C target, grain at 20 °C, 3.0 L/kg, no tun mass → 67 + 0.133 × 47 = 73.3 °C, shown as 73 °C or 164 °F.
infusion litres = (target − current) × (water L + 0.4 × kg grain) / (water temperature − target) (water 100 °C by default)
Decoction: the heat needed is (target − current) × (water L + 0.4 × kg), divided by (return temperature − current); the thick mash pulled is that times (water L + 0.67 × kg) / (water L + 0.4 × kg). Return temperature 98 °C by default.
grist pH = 5.72 − 0.0337 × Σ (share of grist × malt acidity)
pH = grist pH + (0.037 + 0.014 × litres/kg) × (residual alkalinity − acid mEq / mash litres)
Malt acidity depends on the malt type and color (base, crystal, roast, wheat), following the MPH water calculator. Residual alkalinity uses the mash water after salts. Acidulated malt counts as 3 % lactic acid. Only salts and acid that go into the mash count.
Water
ion mg/L = source ion + Σ (mg/L per g/L of the salt × grams / total water litres)
Per gram in one litre: gypsum Ca 232.8, SO₄ 557.7 · calcium chloride (dihydrate) Ca 272.6, Cl 482.3 · Epsom salt Mg 98.6, SO₄ 389.8 · table salt Na 393.4, Cl 606.6 · baking soda Na 273.7, HCO₃ 726.3 · chalk counts half (it dissolves poorly in the mash).
Example: 6 g gypsum in 30 L → SO₄ + 557.7 × 0.2 = +111.5 mg/L.
- Blend:
ion = first water × share + second water × (1 − share). From conductivity:share = (blend − second) / (first − second). - Residual alkalinity (shown as CaCO₃):
RA = HCO₃/61.016 + CO₃ − (Ca/20)/2.8 − (Mg/12.15)/5.6mEq/L, × 50.04, with the carbonate from the water pH. The mash pH estimate uses the same value. - Acidulated malt suggestion: the amount that brings this mash pH model to 5.4, at most 10 % of the grist (details).
Brew day
potential = Σ grams × 0.00220462 × PPG
efficiency = (gravity − 1) × 1000 × litres × 0.264172 / potential × 100
Mash efficiency uses pre-boil gravity and the cooled pre-boil volume over the mashed fermentables. Brewhouse efficiency uses OG and the cold fermenter volume over everything in the mash and boil; sugars and extracts are taken out of the comparison.
Example: 5 kg at 37 PPG, OG 1.048 with 23 L in the fermenter → 291.6 / 407.9 = 71.5 %.
The German Sudhausausbeute (SHA) is derived from these: SHA = mash efficiency × extract yield of the grain bill, with extract yield = weighted PPG of the mashed malts ÷ 46.21 (about 80 %). Without a measured mash efficiency, the brewhouse efficiency goes back through the kettle loss first (× post-boil volume ÷ hot fermenter volume). Formulas and a worked example: Efficiency: international or Sudhausausbeute.
boil-off per hour = (pre-boil − post-boil volume) / boil hours
fermenter volume = (post-boil − trub loss) × (1 − cooling shrinkage) + top-up
post-boil gravity = 1 + pre-boil sugar / cooled post-boil volume, where sugar = (gravity − 1) × litres
With only part of the chain measured and Keep efficiency: an OG alone gives fermenter volume = recipe sugar / (OG − 1), a volume alone gives OG = 1 + recipe sugar / volume.
Measured values count as on target within ±0.002 SG, ±3 % volume, ±1 °C, ±0.1 pH and ±5 % boil time.
Ready-by date
The latest brew day for a ready-by date is the ready-by date minus the recipe's fermentation days (fermenting stages incl. ramps) and its total conditioning days. The full formula with an example is under Plan back from a ready-by date.
Fermentation
- Fermentation day: days since the brew date, rounded up, starting at day 1.
- Progress:
(OG − current) / (OG − target FG) × 100, 0–100 %. - Stable gravity: at least two readings in the 24 hours before the latest, spanning ≥ 20 hours, within 0.001 SG.
- FG projection: a least-squares line through the last 24 hours of readings (≥ 10 readings, ≥ 36 hours of history), extended from its value at the latest reading to the target FG, so one noisy reading does not move the estimate; hidden beyond 21 days.
trigger gravity = planned FG + ((CO₂ at stage pressure − CO₂ already dissolved) / 0.54 + 4) / 1000
Example: 15 psi at 10 °C = 2.3 vol, 1.2 vol dissolved → 2.0 points; planned FG 1.014 → 1.020.
Carbonation
CO₂ already in the beer = 3.0378 − 0.050062 × °F + 0.00026555 × °F²
sugar g = (target vol − CO₂ in beer) × litres × factor with table sugar 4.0, corn sugar 4.3, dry malt extract 5.33, honey 4.9
psi = −16.6999 − 0.0101059 × °F + 0.00116512 × °F² + 0.173354 × °F × vol + 4.24267 × vol − 0.0684226 × vol²
Examples: 2.5 vol in 20 L at 20 °C with corn sugar → (2.5 − 0.86) × 20 × 4.3 = 140.9 g. 2.5 vol at 4 °C → 11.9 psi (0.82 bar).
Results
Nutrition
real extract = 0.1808 × OG °P + 0.8192 × FG °P · ABW = 0.79336 × ABV / FG
kcal per 100 ml = (6.9 × ABW + 4 × (real extract − 0.1)) × FG · carbs g per 100 ml = (real extract − 0.1) × FG
Example: OG 1.050, FG 1.010 → 153 kcal and 14.2 g carbs per 330 ml.
Batch cost: see Results. Beer age and evaluation scores (BJCP and Lagerbernd): see Results and Evaluations.
Units
°P = 260.4 − 260.4 / SG and SG = 260.4 / (260.4 − °P). Example: 1.050 = 12.4 °P.