Skip to main content

Brew Lab

Coffee Brewing Water Calculator

Convert hardness units, build SCA-target brew water from distilled water and a pinch of Epsom salt and baking soda, or blend bottled waters to hit your target — the mineral chemistry that decides whether a great bean actually tastes great.

Choose a tool

Target water (from distilled)

Target GH (hardness)
ppm
Target KH (buffer)
ppm
Final water volume
L

SCA default: 68 ppm GH / 40 ppm KH. Start from distilled or RO water and dose the concentrates below.

GH × KH target zone

0.167 g Epsom

direct dose (or use the stock below)

0.067 g baking soda

direct dose (or use the stock below)

Easier: dose from a stock solution

68.0 mL Epsom stock

2.46 g Epsom / L stock

40.0 mL soda stock

1.68 g baking soda / L stock

0.167g / 0.067g Epsom / baking soda
Educational estimate, not a lab analysis. Use food-grade Epsom salt (magnesium sulfate) and food-grade baking soda (sodium bicarbonate) only, weigh with a clean scale, and store stock solutions in a sealed, labeled, refrigerated bottle for no more than a couple of weeks.

How the math works

Unit converter

°dH = ppm ÷ 17.85

gpg = ppm ÷ 17.1

mmol/L = ppm ÷ 100.09 (molar mass of CaCO₂)

Recipe builder

Each mineral's dose is derived from its molar mass using the standard "ppm as CaCO₂" equivalent-weight method — the same one water-testing labs and the SCA use:

g Epsom (MgSO₄·7H₂O) / L = target GH × 0.0024618

g baking soda (NaHCO₃) / L = target KH × 0.0016785

At the SCA default (GH 68 ppm, KH 40 ppm, 1 L), that's 0.167 g of Epsom salt and 0.067 g of baking soda — too small to weigh reliably on most kitchen scales, which is why the tool also shows a 2.46 g/L Epsom stock and a 1.68 g/L baking-soda stock (the latter matches Barista Hustle's own published buffer-stock recipe almost exactly). Dosed at 1000 ppm per liter of stock, the milliliters of stock needed per liter of final water conveniently equal the target ppm itself — 68 mL Epsom stock, 40 mL soda stock, for that same 68/40 target.

Bottled blend

With two chosen waters and an implicit third "top up with distilled" component, GH and KH become a genuine 2-equation, 2-unknown linear system:

xᴸ × GHᴸ + xᵇ × GHᵇ = target GH

xᴸ × KHᴸ + xᵇ × KHᵇ = target KH

Solved via Cramer's rule for xᴸ and xᵇ (the fractions of water A and B), with the remainder topped up with distilled water. Our own worked example below blends Volvic and FIJI Water to hit GH 65 / KH 70 ppm simultaneously — something neither water reaches alone.

Worked examples

SCA target recipe (1 L)

From distilled water, GH 68 / KH 40 ppm.

Epsom (direct)
0.167 g
Baking soda (direct)
0.067 g
Epsom stock dose
68 mL
Soda stock dose
40 mL

Unit converter anchor

100 ppm CaCO₂, converted to every unit.

°dH
5.60
gpg
5.85
mmol/L
1.00

Bottled blend

Volvic + FIJI Water, target GH 65 / KH 70 ppm.

Volvic
57%
FIJI Water
28%
Distilled
15%
Result
GH 65 / KH 70

Why water is 90% of your cup (literally)

Brewed coffee is somewhere between 98% and 99% water by weight. Every flavor compound you paid for — the acidity, the sweetness, the body — is being extracted into, carried by, and ultimately tasted through that water. Christopher Hendon and Maxwell Colonna-Dashwood's book Water for Coffee was the first widely-read work to make the coffee world take this seriously as chemistry rather than folklore: the specific dissolved minerals in your water — not just how "clean" it tastes on its own — measurably change how much flavor gets extracted from the same beans, same grind, same brew method. Two baristas can run an identical recipe on the identical bag of coffee and get a noticeably different cup purely because their tap water differs.

That's the entire premise of this page: water isn't a neutral solvent, it's an active ingredient, and it's the one variable most home brewers never touch at all.

The two numbers that matter: GH and KH

Water hardness for brewing purposes comes down to two figures, both conventionally reported "as CaCO₂" (calcium carbonate equivalent) in parts per million:

  • GH (general hardness) — mostly calcium (Ca²⁺) and magnesium (Mg²⁺). These divalent metal ions are what actually bind to and help pull flavor compounds — acids, sugars, aromatics — out of the ground coffee during brewing. Calcium tends to read as body and sweetness; magnesium reads more as brightness and fruit-forward acidity, which is why this tool's Recipe Builder models GH specifically via magnesium (Epsom salt) — it's the more expressive lever for specialty coffee's fruited, acidic profiles.
  • KH (carbonate hardness, alkalinity, or "buffer") — mostly bicarbonate (HCO₃⁻). Buffer resists pH change. A little is stabilizing; too much actively fights the acids coffee is releasing as it extracts, neutralizing them and flattening the cup's brightness. It's also the mineral most directly responsible for limescale, since heated bicarbonate precipitates into solid calcium carbonate inside boilers and lines.

The SCA (Specialty Coffee Association) Water Quality Standard targets roughly 68 ppm GH (about 4 grains, described as "medium-soft") with an acceptable range of 50–175 ppm, and a KH range of 40–75 ppm — deliberately lower than GH, so there's enough buffer to keep brewing stable without smothering acidity. That's the target every default on this page is built around.

Three ways to get there

This page is one instrument with three modes, because "the right water" means different things depending on what you're starting from:

  • Unit Converter — if you've already got a reading from a test strip, a TDS/hardness meter, or a bottled water's label, but it's in a unit you don't normally think in (German degrees, US grains per gallon, millimoles per liter), this tab translates it instantly, bidirectionally, in any direction.
  • Recipe Builder — the most precise route: start from distilled or reverse-osmosis water (0 ppm, a truly blank canvas) and dose in exactly the Epsom salt and baking soda needed to land on your target GH and KH. This is the same approach behind commercial "third-wave water" mineral packets, just transparent about the actual chemistry and dosed to YOUR target instead of a fixed one.
  • Bottled Blend — the no-scale route: if you'd rather buy water than weigh minerals, blending two bottled waters (or one bottled water with distilled) can hit a target GH and KH simultaneously, using the same linear-algebra idea a chemist would use to titrate a solution.

The Recipe Builder, in detail

Starting from distilled water removes every unknown — whatever's in your tap water (chlorine, fluoride, an unpredictable Ca:Mg:HCO₃ ratio you don't control) simply isn't there anymore. From that blank slate, two food-safe minerals do all the work:

  • Epsom salt (magnesium sulfate heptahydrate, MgSO₄·7H₂O) supplies the Mg²⁺ that drives GH. It's inexpensive, widely available, and its sulfate counter-ion is flavor-neutral at these concentrations.
  • Baking soda (sodium bicarbonate, NaHCO₃) supplies the HCO₃⁻ that drives KH directly — no conversion needed, since baking soda's whole job as a leavening agent already IS being a bicarbonate source.

The dose for each is derived from its molar mass using the "equivalent weight" method (see "How the math works" above) — the same method any water-testing lab uses to express an ion concentration "as CaCO₂". Because the resulting direct doses are genuinely tiny (a fraction of a gram per liter), the tool also shows a practical stock-solution version: dissolve a scale-friendly amount in 1 L of water once, then dose small, syringe-measurable milliliters of that stock into each batch of brewing water going forward. This mirrors the approach Barista Hustle has published for exactly this reason — our 1.68 g/L baking-soda stock figure, worked out independently from first-principles molar masses above, lines up with their published number almost to the decimal.

The Bottled Blend, in detail

Not everyone wants to keep Epsom salt and baking soda stock bottles in the fridge. Bottled water is a reasonable shortcut — but a single bottled water rarely lands exactly on the SCA target, because its GH-to-KH ratio is fixed by whatever aquifer it came from. Volvic, for instance, is soft on both axes; evian is hard on both. Neither alone sits inside the SCA box.

Blending two DIFFERENT waters (plus distilled to top up) gives two independent levers instead of one, which is usually enough to solve for both GH and KH at once — the same 2-equation, 2-unknown system a chemist solves when titrating a mixture to a target concentration. When a chosen pair genuinely can't reach the target (the target sits outside the region the two waters can reach through a non-negative blend), the tool says so honestly and shows the closest reachable blend instead of quietly forcing a number that isn't real.

Scale risk: a qualitative note

Because KH (buffer/bicarbonate) is the direct precursor to limescale, brewing water on the higher end of — or above — the SCA's KH range will generally scale a machine faster than water at or below it, all else equal. This page treats that relationship qualitatively; it is not an LSI (Langelier Saturation Index) calculator, which would need temperature, pH and full mineral content together to predict an actual scaling or corrosion rate for a specific machine. Whatever water you land on here, routine descaling is still the right maintenance habit — see our descaling guide for the chemistry and a machine-by-machine protocol.

Methodology & limitations

  • Atomic weights are rounded to 1 decimal (Mg 24.3, Na 23.0, etc.) — appropriate for a DIY kitchen recipe, not a certified lab analysis. The molar masses and full derivation are documented in this tool's source and test suite for anyone who wants to check the arithmetic.
  • GH is modeled via magnesium only, not a calcium/magnesium split — a deliberate simplification that matches how most published DIY coffee-water recipes work, and keeps the Recipe Builder to two concentrates instead of three.
  • The mineral table is a small, curated set, sourced from each brand's own published mineral analysis (see the citations under "How the math works" and the source code). Bottled water mineral content can vary batch-to-batch and by bottling source — treat the Bottled Blend tab as a strong starting point, not a guaranteed lab-exact result.
  • This is a flavor and scale-risk tool, not a safety or medical one. Use food-grade minerals only, and see the disclaimer above.

For the brewing side of the equation once your water's dialed in, our Brew Ratio Studio and Espresso Dial-In Lab turn a good water base into a locked-in recipe, and our specialty coffee lineup gives that water something worth extracting.

Frequently asked questions

What water hardness is actually best for brewing coffee?
The SCA (Specialty Coffee Association) Water Quality Standard targets a general hardness (GH) of about 68 ppm as CaCO₂ (roughly 4 grains, "medium-soft"), inside an acceptable band of 50–175 ppm, alongside a buffer/alkalinity (KH) of 40–75 ppm. Too little hardness (like plain distilled water) under-extracts and tastes flat and thin — there's nothing for coffee's flavor compounds to bind to. Too much hardness over-extracts, dulls acidity, and risks scale buildup in your machine. The Recipe Builder tab above starts you exactly at the SCA target; the Unit Converter and Bottled Blend tabs help you measure or build toward it with whatever water or test kit you have.
What's the difference between GH and KH?
GH (general hardness) measures dissolved calcium and magnesium — the minerals that give coffee body and let flavor compounds bind and extract properly. KH (carbonate hardness, or alkalinity/buffer) measures bicarbonate, which resists pH swings. A little buffer stabilizes brewing; too much mutes the bright, acidic notes that make specialty coffee interesting, because it's actively neutralizing the acids as they're extracted. That's why the SCA standard keeps KH deliberately lower than GH — enough buffer to avoid off-flavors, not so much that it flattens the cup.
Can I just use distilled or reverse-osmosis water?
Not on its own — pure distilled/RO water (0 ppm GH and KH) has nothing for coffee's flavor compounds to bind to and tends to brew flat, sour, and thin, and it can actually corrode some espresso machine boilers over time from having zero buffering capacity. It IS the correct starting point, though: every recipe on the Recipe Builder tab above assumes you're building UP from distilled water with a small, precise mineral dose, which is exactly what "third-wave" DIY water recipes and products like Third Wave Water do under the hood.
Why do I need a stock solution instead of just weighing the minerals directly?
Because the direct dose is genuinely tiny. Hitting the SCA target in 1 L of water takes only about 0.167 g of Epsom salt and 0.067 g of baking soda — well below what most kitchen scales can weigh accurately (even a good 0.01 g scale is right at its noise floor there). The standard fix, used by Barista Hustle's published water calculator among others, is a concentrated stock solution: dissolve a scale-friendly amount (our Recipe Builder uses 2.46 g Epsom or 1.68 g baking soda per liter of stock) and then dose small, easy-to-measure milliliters of THAT into your final water with a syringe. The Recipe Builder tab shows both numbers.
Does water hardness really cause scale in my espresso machine?
Yes — carbonate hardness (KH) is the direct driver of limescale, because dissolved bicarbonate precipitates out as solid calcium carbonate when it's heated, coating boiler elements and clogging narrow lines. This is a qualitative brewing-water concern, not a scaling-rate prediction: the SCA's KH range (40–75 ppm) already sits well below tap water in many hard-water regions specifically to keep this risk low. If you're on very hard tap water, regular descaling matters regardless of what you brew with — see our descaling guide linked below.
Can bottled water hit the SCA target on its own?
Sometimes, but not reliably — and this is exactly why the Bottled Blend tab exists. Most bottled waters' natural GH-to-KH ratio doesn't line up with the SCA's, so a single bottled water at the right hardness often carries too much (or too little) buffer alongside it. Blending two different waters (or one bottled water with distilled) gives you two independent levers instead of one, which is often enough to land inside the target box on both axes at once — our own worked example blends Volvic and FIJI Water to hit GH 65 / KH 70 ppm simultaneously. When a pairing genuinely can't reach your target, the tool says so honestly instead of quietly rounding the number.
Is this the same as an LSI scaling calculator?
No, and deliberately so. LSI (Langelier Saturation Index) calculators predict a water's actual scaling/corrosion tendency inside specific equipment using temperature, pH, alkalinity and TDS together — a plumbing/equipment-protection tool. This page is a brewing-water instrument: it targets the SCA's flavor-oriented GH/KH range and treats scale risk qualitatively (more KH = more scale risk, in general), because that's the honest scope of what "ppm as CaCO₂" hardness numbers alone can tell you.
Educational estimate, not a lab analysis or a substitute for professional water testing. Always use food-grade minerals and clean equipment.