Skip to content

cseka7/coffeewatercalculator

Repository files navigation

☕ Coffee Water Calculator

This is a browser-based calculator for customizing brewing water for coffee.
It helps determine how much of each mineral solution you need to achieve ideal target water profiles.


🔧 Features

  • Define stock solution concentrations (MgSO₄·7H₂O, NaHCO₃, CaCl, KHCO₃)
  • Set desired target ppm (mg/l) values for:
    • Magnesium (Mg²⁺)
    • Calcium (Ca²⁺)
    • Sodium (Na⁺)
    • Potassium (K⁺)
  • Calculates:
    • Required ml of each stock solution per liter of base water
    • Total bicarbonate (HCO₃⁻)
    • Total hardness and alkalinity (as CaCO₃)

💾 Presets & Local Storage

  • You can save custom profiles (presets) in your browser.
  • Use Export / Import to back up or restore profiles.
  • Presets and concentrations are stored using LocalStorage.

⚠️ Clearing cookies or site data will remove saved settings. Use export to preserve your data!


📦 Usage

You can use this tool online by hosting it with:

Or simply open the HTML file in your browser.


📁 Files

  • index.html – the calculator UI and logic (standalone)
  • presets.json – optional backup format for importing/exporting recipes

📬 Feedback & Suggestions

Pull requests and feature suggestions are welcome!
You can also fork and modify the calculator for your own needs.

Enjoy your perfect brew! ☕

About

This tool helps you calculate how much of each stock solution (MgSO₄·7H₂O, NaHCO₃, CaCl, KHCO₃) you need to add to distilled or deionized water in order to reach your desired mineral content for coffee brewing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors