Microbrew.it's default mash-pH model and the one every stored recipe pH was computed with. It is a house model, not anyone's published method: the grist's distilled-water pH is the plain mass average of its malts, and water alkalinity and added acid each shift it by a linear buffer term. pH_grist = Σ m_i × DI-pH_i ÷ Σ m_i pH_mash = pH_grist + RA × V ÷ (B × m) − A ÷ (B × m) m_i, DI-pH_i: each malt's mass (kg) and distilled-water pH (see Malt DI pH colour model) RA: residual alkalinity of the mash water, mEq/L (1 mEq/L = 50 ppm as CaCO₃) V: mash water, L; m: total grist, kg B: grist buffering capacity, the mass-weighted average of the malts', mEq/(kg·pH) A: acid added, mEq The alkalinity term is Troester's formula 23 and spends the whole reported alkalinity. Because each malt counts only by mass, a small charge of strongly buffered malt (acidulated, roast) is under-weighted: 1 % acid malt moves this model about 0.03 pH where measurements say nearer 0.08. The charge-weighted model fixes that; the Braukaiser and deLange models implement their authors' methods.