Why Formulate DIY Water? The Zero-Scale & High-Extraction Mandate
Water represents 98.2% to 98.8% of an espresso shot and over 98.5% of a filter brew. As established in our master pillar guide to Mineral Chemistry for Espresso Machines, it is not merely an inert carrier fluid; it is an active chemical solvent whose dissolved ionic mineral species dictate which aromatic volatiles, organic acids, and melanoidins are extracted from the coffee bedโand which are left behind.
For owners of prosumer espresso machines (hardware comparison matrix), municipal tap water presents an inescapable engineering dilemma:
- The Scaling Extreme: Unfiltered or simply "carbon-filtered" tap water carries high concentrations of dissolved calcium ($\text{Ca}^{2+}$) and bicarbonate ($\text{HCO}_3^-$). Inside a steam boiler operating at 120°Cโ130°C (1.2โ1.8 bar pressure), these ions precipitate into solid crystalline calcium carbonate ($\text{CaCO}_3$). A mere 1.0mm layer of limescale insulates heating elements, inflates heat-up times by over 50% (as modeled in our Heat-Up Calculator), and clogs delicate 0.6mm flow restrictor gicleurs.
- The Acid Etching Extreme: Feeding pure distilled water or raw Reverse Osmosis permeate (TDS < 10 ppm) is equally catastrophic. Unbuffered ultra-pure water absorbs atmospheric carbon dioxide to form carbonic acid ($\text{H}_2\text{CO}_3$), driving pH down to 5.2โ5.6. In this acidic state, the Langelier Saturation Index (LSI) drops below -2.5, causing aggressive pitting corrosion of copper boilers and brass group castings (detailed in our boiler metallurgy guide). Furthermore, pure deionized water lacks sufficient electrical conductivity to trigger autofill water level probes, leading to boiler dry-firing and element burnout.
DIY Remineralized Water solves both problems simultaneously. By starting with an ultra-pure blank canvas (commercial distilled water, deionized water, or ZeroWater filtered permeate) and adding calibrated quantities of two inexpensive, food-grade mineral saltsโEpsom Salt (Magnesium Sulfate Heptahydrate) and Baking Soda (Sodium Bicarbonate)โyou create water that extracts vibrant fruity sweetness while remaining 100% immune to limescale precipitation.
Commercial mineral remineralization packets (e.g., Third Wave Water) cost approximately $1.25 to $1.50 per gallon. While convenient for travel, a typical home barista consuming 2 to 3 gallons weekly spends over $150 annually on pre-packaged minerals. A 2-lb bag of USP pharmaceutical Epsom salt ($11) and a box of baking soda ($4) provide sufficient mineral inventory to formulate over 800 gallons of custom waterโreducing your mineral cost to less than $0.02 per gallon while granting total freedom to tune mineral ratios to specific roast profiles.
Stoichiometric Chemistry: Molar Mass Math & "ppm as CaCO3" Conversions
To formulate DIY coffee water with laboratory rigor, one must abandon vague volumetric kitchen scoops and understand the stoichiometric math that governs mineral concentration. In water chemistry, all mineral concentrations are standardized to parts per million as Calcium Carbonate equivalent ($\text{ppm as CaCO}_3$). This standardization allows chemical engineers to directly compare the acid-neutralizing capacity of bicarbonate with the extraction power of magnesium on an equivalent charge basis.
Why Equivalent Weight Matters: Because $\text{Ca}^{2+}$ carries a valency of 2, 1 mole of $\text{CaCO}_3$ contributes 2 equivalents of charge. Therefore, 1 milliequivalent per liter (1 meq/L) equals exactly 50.043 mg/L (or 50.043 ppm as $\text{CaCO}_3$).
1. General Hardness (GH) Stoichiometry: Epsom Salt ($\text{MgSO}_4\cdot 7\text{H}_2\text{O}$)
Food-grade Epsom salt is not anhydrous magnesium sulfate; it is Magnesium Sulfate Heptahydrate, meaning each molecule of $\text{MgSO}_4$ is bound to seven water molecules in its crystalline lattice. When calculating how many grams of Epsom salt to dissolve, the mass of those seven water molecules must be factored in:
Practical Multiplier: To achieve 1.0 ppm of GH as $\text{CaCO}_3$, you must dissolve exactly 2.462 mg of Epsom salt per liter of water ($\frac{1}{0.4061} = 2.4624$).
2. Carbonate Alkalinity (KH) Stoichiometry: Baking Soda ($\text{NaHCO}_3$) & Potassium Bicarbonate ($\text{KHCO}_3$)
Carbonate Alkalinity (KH) quantifies the concentration of bicarbonate ($\text{HCO}_3^-$) ions that neutralize hydrogen ions ($\text{H}^+$) in solution. Because each bicarbonate molecule carries a valency of 1 (accepting a single proton: $\text{HCO}_3^- + \text{H}^+ \leftrightarrow \text{H}_2\text{CO}_3$), its equivalent weight equals its molar mass:
The Potassium Bicarbonate Beauty: Notice that for Potassium Bicarbonate ($\text{KHCO}_3$), the conversion factor is exactly 0.5000. This means that 1.0 mg/L of $\text{KHCO}_3$ yields exactly 0.50 ppm KH as $\text{CaCO}_3$, making mental math instantaneous!
Mineral Selection: Magnesium Sulfate vs. Bicarbonate Buffers
Why does the specialty coffee world converge on Epsom Salt and Baking Soda rather than calcium chloride ($\text{CaCl}_2$) or sodium hydroxide ($\text{NaOH}$)? The answer lies in the intersection of extraction physics, flavor chemistry, and metallurgical safety:
Magnesium ($\text{Mg}^{2+}$) vs. Calcium ($\text{Ca}^{2+}$)
Magnesium has a substantially smaller ionic radius (72 pm) than calcium (100 pm). Consequently, magnesium boasts a much higher charge density ($q/r$), allowing it to bind more aggressively to oxygen-rich polar flavor compounds in the coffee bean, including citric, malic, and quinic acids. Furthermore, while calcium forms tenacious crystalline scale ($\text{CaCO}_3$) that coats boiler walls, magnesium carbonate ($\text{MgCO}_3$) is vastly more soluble and remains dissolved even at 130°C.
Potassium ($\text{K}^+$) vs. Sodium ($\text{Na}^+$)
Both Baking Soda ($\text{NaHCO}_3$) and Potassium Bicarbonate ($\text{KHCO}_3$) deliver identical bicarbonate ($\text{HCO}_3^-$) buffering capacity. However, at higher buffer levels (> 50 ppm KH), sodium can impart a subtle salty or heavy mouthfeel that muddies delicate washed floral notes. Potassium is an endogenous mineral naturally abundant in coffee cherries and exhibits total sensory neutrality in the cup. While Baking Soda is instantly available in any pantry, serious cuppers often prefer Potassium Bicarbonate.
Some online forums suggest using pickling salt or calcium chloride ($\text{CaCl}_2$) to introduce calcium hardness. Never introduce chloride ions ($\text{Cl}^-$) into an espresso machine. Under boiler heat and pressure, chlorides dissolve the passive chromium oxide protective layer of AISI 304/316L stainless steel and copper boilers, triggering catastrophic stress corrosion cracking (SCC) and pinhole leaks that destroy machines permanently. The SCA maximum allowable chloride threshold is < 30 ppm (and manufacturers like La Marzocco require < 0 ppm for warranty validity).
The 2-Bottle Concentrate Protocol: Eliminating Scale Error
The primary reason home baristas fail at DIY water is the kitchen scale measurement error. To formulate 1 gallon (3.785 liters) of water with 75 ppm GH and 40 ppm KH, you would need to directly weigh 0.70 grams of Epsom salt and 0.25 grams of Baking Soda.
Most standard 0.1g kitchen scales have a margin of error of ±0.1g. Attempting to measure 0.25g on a 0.1g scale can easily result in dosing 0.15g (-40% error) or 0.35g (+40% error). A 40% error in carbonate alkalinity completely alters cup balance, shifting an espresso from bright fruit sweetness to dull, chalky flatness.
The solution is the BaristaGeek 2-Bottle Stock Concentrate Protocol. By weighing large, bulk quantities of minerals (10.00g and 24.65g) where 0.05g represents less than 0.3% error, dissolving them into two 1-liter glass bottles of pure distilled water, and dosing with a 50ml graduated syringe, you achieve pharmaceutical volumetric precision:
The Carbonate Buffer Stock
Concentrate Strength: Dissolving 8.40g of $\text{NaHCO}_3$ (or 10.00g of $\text{KHCO}_3$) in 1,000ml produces an exact concentration of 5,000 ppm KH as $\text{CaCO}_3$ (5.0 mg/ml).
The Magnesium Hardness Stock
Concentrate Strength: Dissolving 24.65g of Epsom salt in 1,000ml produces an exact concentration of 10,000 ppm GH as $\text{CaCO}_3$ (10.0 mg/ml).
$$V_A = \frac{\text{Target KH} \times 3.7854}{5,000} \times 1,000 = \text{Target KH} \times 0.7571 \;\text{ml}$$
$$V_B = \frac{\text{Target GH} \times 3.7854}{10,000} \times 1,000 = \text{Target GH} \times 0.3785 \;\text{ml}$$
Master DIY Water Recipes for 1 Gallon Distilled Water
Below is the master compendium of bench-tested DIY espresso water profiles, calibrated specifically for a standard 1-Gallon (3.785 L) jug of distilled or ZeroWater permeate. Simply dose the indicated milliliters from Bottle A and Bottle B into your gallon jug, cap, and shake:
| Water Profile / Target | Target GH (ppm) | Target KH (ppm) | Bottle A (Buffer) | Bottle B (Hardness) | Best For & Sensory Notes |
|---|---|---|---|---|---|
SCA Standard Ideal Daily Prosumer | 68 ppm | 40 ppm | 30.3 ml | 25.7 ml | The universal standard. Balances juicy malic acidity with silky body; completely scale-free at steam temperatures. |
Barista Hustle #7 (The Sweet Spot) Community Benchmark | 80 ppm | 40 ppm | 30.3 ml | 30.3 ml | Equal-dose simplicity (30ml from each bottle). Extra magnesium enhances sweetness and body in medium-light espresso. |
Scott Rao Light-Roast Profile High Extraction Clarity | 90 ppm | 30 ppm | 22.7 ml | 34.1 ml | Lower buffer lets delicate fruit floral acidity sing (Ethiopia washed, Kenya SL28). High magnesium boosts extraction yield. |
Boiler-Safe E61 Preservation Maximum Protection | 55 ppm | 45 ppm | 34.1 ml | 20.8 ml | Optimized for dual-boiler machines that idle 8+ hours daily. Higher buffer ensures LSI stays zero or slightly positive at 125ยฐC. |
Melbourne Filter & Cupping Profile Pour-Over Craft | 50 ppm | 20 ppm | 15.1 ml | 18.9 ml | Ultra-clean filter water for V60 (recipe guide) and Chemex. Low buffer allows natural terroir to emerge completely unmuted. |
When dosing with a standard 50ml oral or laboratory syringe, don't worry about measuring fractions like 30.3 ml. Rounding to 30 ml of Bottle A and 30 ml of Bottle B yields 79.2 ppm GH and 39.6 ppm KHโa deviation of under 1% that is entirely imperceptible in blind sensory triangle cupping.
Single-Jug Gram Dosing: Direct 0.01g Measurements
If you possess a laboratory-grade digital pocket scale with calibrated 0.01-gram sensitivity and do not wish to store liquid concentrate bottles in your refrigerator, you can weigh dry salts directly into your water jugs.
Below are the exact dry weights in grams for both 1 US Gallon (3.785 L) and standard European 5-Liter (5.000 L) water containers:
| Target Profile | Target (GH / KH) | Epsom Salt (1 Gallon) | Baking Soda (1 Gallon) | Epsom Salt (5 Liters) | Baking Soda (5 Liters) |
|---|---|---|---|---|---|
| SCA Ideal | 68 / 40 ppm | 0.63 g | 0.25 g | 0.84 g | 0.34 g |
| Barista Hustle #7 | 80 / 40 ppm | 0.75 g | 0.25 g | 0.99 g | 0.34 g |
| Scott Rao Light | 90 / 30 ppm | 0.84 g | 0.19 g | 1.11 g | 0.25 g |
| Boiler Safe E61 | 55 / 45 ppm | 0.51 g | 0.29 g | 0.68 g | 0.38 g |
Sensory Extraction Physics: Divalent Magnesium vs. Acid Buffering
How do these two mineral salts translate into flavor in the cup? The relationship between General Hardness (GH) and Carbonate Alkalinity (KH) can be conceptualized as an accelerator and brake dynamic:
Divalent magnesium ions ($\text{Mg}^{2+}$) possess high polar charge affinity for volatile organic compounds in roasted coffee. In our extraction yield refractometer lab trials, increasing GH from 30 ppm to 80 ppm with Epsom salt lifted Total Dissolved Solids (TDS) by +0.35% and overall extraction yield (EY%) from 19.2% to 20.6% on identical grind settings. Magnesium binds specifically to light-roast fruit acids, enhancing crisp green-apple (malic) and juicy citrus (citric) notes.
Bicarbonate ($\text{HCO}_3^-$) does not extract flavor; it alters your tongue's perception of acidity by buffering hydrogen ions. If KH is too low (< 25 ppm), high-acid coffees (e.g., washed Kenyas or high-elevation Ethiopians like our Yirgacheffe benchmark) taste aggressively sharp, sour, and astringent. If KH is too high (> 70 ppm), the buffer consumes all organic acids, turning a vibrant $30/lb Geisha into flat, chalky, generic brown liquid with zero sweetness.
Cup Profile: Razor-sharp, vinegar-like acidity, hollow mid-palate, dry finish. High risk of boiler corrosion.
Cup Profile: Lush fruit sweetness, crisp floral clarity, syrupy mouthfeel, zero astringency. 100% boiler safe.
Cup Profile: Muted acidity, chalky cardboard finish, flat sweetness, high boiler scaling risk if calcium is present.
Thermodynamic Boiler Safety: Scale Prevention & LSI Equilibrium
The ultimate defense of DIY water formulated with Epsom salt is the solubility product differential between Calcium Carbonate and Magnesium Carbonate.
In our Langelier Saturation Index (LSI) study, we showed that the saturation pH ($\text{pH}_s$) of water determines whether calcium carbonate precipitates ($\text{LSI} > 0$) or dissolves ($\text{LSI} < 0$):
The Secret: The constant $C$ in the LSI formula represents Calcium Hardness ($\text{Ca}^{2+}$), NOT Total Hardness! Because DIY Epsom water contains 0.0 ppm of dissolved Calcium, solid $\text{CaCO}_3$ cannot precipitate regardless of boiler temperature!
Magnesium carbonate ($\text{MgCO}_3$) has a solubility product constant ($K_{\text{sp}}$) of approximately $3.5 \times 10^{-8}$, whereas calcium carbonate has a $K_{\text{sp}}$ of $3.36 \times 10^{-9}$โmore than an entire order of magnitude less soluble. At 130°C, while calcium forms a cement-like insulating crust on heating elements, magnesium ions remain safely suspended in the liquid aqueous phase.
Formulating DIY water in 1-gallon jugs requires dedicated coffee station ergonomics. If your machine features a top-rear reservoir lid (e.g., ECM Synchronika or Rancilio Silvia Pro X), lifting an 8.3-lb gallon jug requires at least +10.0 to +12.0 inches of vertical clearance above the machine chassis. To verify whether your kitchen cabinets allow comfortable pouring without sliding your 65-lb machine, consult our Under-Cabinet Clearance Guide and test your kitchen dimensions in the Cabinet Clearance Checker.
Metrology & Verification: Drop Titration vs. TDS Meters
Once you have dosed your 1-gallon jug, how do you verify that your water matches the target specifications?
Liquid Drop Titration (API Test Kit)
An inexpensive API GH & KH Liquid Drop Kit is the most reliable tool. In a standard 5ml vial test, each drop equals 17.86 ppm (1.0 °dH). For higher resolution, double the water sample to 10.0 ml: each drop of titrant then equals exactly 8.93 ppm as $\text{CaCO}_3$. In a 75 GH / 40 KH formulation, your KH vial will transition from blue to yellow at exactly drop 4.5, and GH from orange to green at drop 8.5.
Handheld Digital TDS Meter
A digital TDS meter cannot distinguish between magnesium and bicarbonate, but it serves as an instant verification that minerals were added. For a 75 GH / 40 KH recipe, pure distilled water (0โ2 ppm) will read between 115 and 135 ppm TDS on a standard 0.5-conversion conductivity meter (e.g., HM Digital TDS-3). If your meter reads 0 ppm, you forgot to dose; if it reads > 250 ppm, you overdosed.
Verified Mineral Salts, Precision Scales & Reagent Glassware
To implement the 2-Bottle Concentrate Protocol accurately at home, you need pure food-grade salts free of perfumes, dyes, or anti-caking agents, along with calibrated measurement tools. Below is the verified hardware audited on our engineering bench:
Epsoak USP Pharmaceutical Food-Grade Epsom Salt (MgSO4ยท7H2O, 2 lbs)
100% pure magnesium sulfate heptahydrate; provides divalent magnesium cations to extract fruit aromatics without forming calcium limescale
Pure Food-Grade Potassium Bicarbonate (KHCO3, 1 lb)
Premium alternative to baking soda; buffers aggressive acids without adding sodium ions or saltiness, preserving pure cup clarity
Arm & Hammer Pure Baking Soda (Sodium Bicarbonate, NaHCO3, 1 lb)
Universal, inexpensive kitchen bicarbonate; creates stable 40 ppm KH buffer that protects copper and stainless boilers from acid pitting
Smart Weigh / AWS Blade Precision 0.01g Digital Pocket Gram Scale
Essential for laboratory concentrate preparation; 0.01g sensitivity eliminates bulk measurement deviations when weighing mineral salts
Corning Pyrex 1000ml Reagent Media Storage Glass Bottles (2-Pack)
Borosilicate laboratory glass bottles with GL45 leakproof caps for stable storage of Bottle A (Buffer) and Bottle B (Hardness) stock concentrates
API GH & KH Liquid Drop Titration Test Kit
Direct chemical colorimetric titration; verifies exact General Hardness and Carbonate Alkalinity in mixed gallons with single-drop resolution

Sabbir Ahmed
Founder & Hardware Extraction LeadSabbir Ahmed is the founder and lead hardware benchmarking engineer at BaristaGeek. An electrical engineer and specialty coffee researcher, he applies Scace 2 thermocouple telemetry, fluid mechanics, and laboratory-grade instrumentation to demystify prosumer espresso hardware.
