How to use the Piper Diagram & Water Chemistry – Charge Balance
Free · works offline · no sign-up
Major-ion water chemistry with charge balance, Piper diagram, water type, groundwater flow from three wells and field stabilisation tests. Free.
What it does
What is dissolved in water, and what it means: published laboratory results near you, field readings checked for the usual meter mistakes, the purge of a well until the readings settle, alkalinity by titration (inflection point, Gran, fixed end point and the low-alkalinity method, with carbonate speciation), oxygen saturation with salinity and pressure, major-ion chemistry with charge balance, Piper, Stiff and Schoeller diagrams, activity-corrected carbonate species, CO₂ pressure and calcite, aragonite and gypsum saturation indices (WATEQ4F equations, checked against its printed test outputs), the full ion-pair speciation (CaSO₄⁰, CaHCO₃⁺, MgSO₄⁰, NaSO₄⁻ and 23 more species, plus phosphate with its eleven species and sulphide as H₂S, HS⁻ and S²⁻) with saturation indices for seventeen minerals including hydroxyapatite and fluorapatite, checked against WATEQ4F's printed results for seawater, a surface water and a groundwater, irrigation suitability, a laboratory report set beside the WHO and US EPA drinking-water values, and many analyses at once on one Piper diagram. Every card has a short "What is this? (start here)" note for beginners.
What you need
Your phone. For field readings, a pH, conductivity, temperature or oxygen meter; for alkalinity, a titrator; for the chemistry, a laboratory analysis.
How to use it
- Read the top card for published nitrate, arsenic and fluoride results near you.
- Type meter readings into FIELD READINGS and tap CHECK; save each to the log and export CSV or GeoJSON.
- Sampling a well: start the purge timer, add a reading at each beep (with turbidity if you read it), and sample when the USGS five-reading test says stable.
- Alkalinity: type the sample volume, acid normality and titrant volume, or paste the whole titration. The inflection point, Gran, the fixed end points (pH 4.5 and the Standard Methods suggestion) and the low-alkalinity (2B − C) result are shown side by side; choose which to use, then copy the bicarbonate into the analysis. Under 20 mg/L, use Gran or the low-alkalinity method.
- Type the major ions and tap ANALYSE or Work it out; add conductivity for the FAO irrigation classes.
- Ion pairs and minerals: with the ions, pH and temperature typed in, add fluoride, silica, ammonium, boron, strontium, phosphate (as PO₄) or sulphide (as H₂S) if you have them and tap Work out the species. You get the share of each ion that is free or paired, the saturation index of calcite, aragonite, dolomite, magnesite, gypsum, anhydrite, epsomite, fluorite, halite, the silica minerals, brucite, chrysotile and the two apatites, and a CSV of every species. Load WATEQ4F test 4 or test 2 (the one with phosphate and sulphide) shows a published example.
- Type metals into the laboratory-report card, or open the lab's CSV or a Water Quality Portal file, and tap Compare; export it as CSV or a Water Quality Portal result file.
- Many samples: open a CSV with one sample per row (or a Water Quality Portal result file, GeoJSON or KML) in "Many samples on one Piper diagram", or add each analysis you type. Each sample gets its charge balance, water type, hardness, dissolved solids and SAR, and a numbered point on the Piper diagram. Export CSV, WQP CSV, GeoJSON, KML or the Piper SVG.
- Field log: export CSV, GeoJSON or KML, and open those files again on another phone.
Reading the answer
A field reading can show that water is unfit to drink; it can never show that water is safe. Germs, and many poisons, need a certified laboratory. Values above a WHO or EPA value are shown in red.
Methods
USGS National Field Manual A6.0, A6.2, A6.6; USGS OWQ Technical Memoranda 2011.03 and WQ2012.05; Standard Methods 2320 B (Table 2320:I and the low-alkalinity method), 2510 B, 1030 E; Ball and Nordstrom (1991) WATEQ4F, USGS Open-File Report 91-183 (Table 2 constants, the program's activity, mass-balance, alkalinity and water-activity steps, and its printed test cases 1, 2 and 4); Piper (1944); Hem (1985); WHO (2022); 40 CFR 141 and 143; FAO Irrigation and Drainage Paper 29. Files: CSV, GeoJSON, KML and Water Quality Portal (WQX) result CSV, each read back as well as written; Piper SVG; species and saturation-index CSV. Phosphate and sulphide use WATEQ4F's own data-base values (Attachment B) where they differ from its Table 2, because only those reproduce its printed results; beyond those printed tests they are checked against PHREEQC (USGS) on eight more waters from 5 to 35 °C and pH 5.5 to 9.3: every phosphate and sulphide species within 0.3 % and both apatite indices within 0.003. Iron, aluminium, manganese, trace-metal (including metal bisulphide) and organic complexes are not speciated (they need a redox potential or data the page does not hold), and the equations stop at about seawater strength. The page runs a self-test against published worked examples.
Open the Piper Diagram & Water Chemistry – Charge Balance — free →