Piper Diagram Maker for Water Chemistry
Paste major-ion analyses and get a Piper trilinear diagram that classifies each sample by water type. Concentrations are converted to milliequivalent percentages for you.
What a Piper diagram shows
A Piper plot is three diagrams in one. The lower-left triangle plots the major cations — calcium, magnesium, and sodium plus potassium. The lower-right triangle plots the major anions — chloride, sulphate, and bicarbonate plus carbonate. Each sample is then projected up into the central diamond, which combines both and is where the classification is actually read.
Crucially, the axes are milliequivalent percentages, not mg/L. Ions have to be converted by dividing concentration by equivalent weight before the proportions mean anything, because a milligram of sodium and a milligram of calcium do not carry the same charge. Paste raw mg/L and the conversion is done for you; a poor charge balance is flagged rather than quietly plotted.
Data
Paste straight from Excel or Google Sheets — include the header row and the columns are matched by name, in any order.
| # | Sample(opt) | Group(opt) | Camg/L | Mgmg/L | Namg/L | Kmg/L(opt) | Clmg/L | SO4mg/L | HCO3mg/L | CO3mg/L(opt) | TDSmg/L(opt) | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | ||||||||||||
| 2 | ||||||||||||
| 3 | ||||||||||||
| 4 |
0 rows of data
Loading the plotting engine…
Enter data on the left to plot it
SVG is vector — resize it in Illustrator or Inkscape without losing quality. PNG 4× is roughly 600 dpi at figure width.
Free downloads carry a small “made with strataplot.com” credit along the bottom edge. The plot on screen is never watermarked. Remove it
Export Piper + Stiff + Schoeller
Renders all three hydrochemical diagrams from the table above and downloads them as one zip.
Options
This plot has no adjustable options yet.
Your data is processed entirely in this browser tab. Nothing is uploaded to a server, so confidential client data stays confidential.
How to read the diamond
Position in the diamond names the water type. Samples near the left corner are Ca–HCO₃ waters: typical fresh, recently recharged groundwater in a carbonate or silicate aquifer. Near the right corner are Na–Cl waters: seawater, evaporite dissolution, or old, deep, stagnant brine. The top is Ca–SO₄, which usually means gypsum or anhydrite dissolution, or mine drainage. The bottom is Na–HCO₃, the classic signature of a water that has been through cation exchange on clays.
The pattern across samples often says more than any single point. Samples strung out along a straight line in the diamond indicate simple mixing between two end members — freshwater and seawater in a coastal aquifer, for instance — and the position along that line estimates the mixing fraction. A curve away from the mixing line means a reaction is happening as well: ion exchange, dissolution, or sulphate reduction.
Who uses one
Hydrogeologists mapping hydrochemical facies and flow paths, environmental consultants baselining groundwater monitoring networks, water utilities tracking source stability, and anyone investigating saline intrusion or leachate migration.
Common questions
- Should I enter mg/L or meq/L?
- Either. Enter mg/L — which is what a lab certificate reports — and the conversion to milliequivalents is done for you.
- What charge balance error is acceptable?
- Under 5% is normally considered good for a routine major-ion analysis; over about 10% suggests a missing ion or an analytical problem and the sample should be treated with suspicion.