Practical guide

Calculate Water Hardness from Calcium and Magnesium: Keep the Mass Basis

Use compatible calcium and magnesium results, convert their mass bases to a calcium-carbonate equivalent, and label the calculated estimate. Four complete fictional records show valid arithmetic, a calcium-hardness input, an ND gap and a sample mismatch.

Readers interpreting a named water report or laboratory calculation record · 8 minute read · Published

Start with two compatible mineral results

For ordinary calcium-and-magnesium hardness, convert each mineral result to the same calcium-carbonate-equivalent basis before adding. Do not add a calcium result in mg/L as Ca to a magnesium result in mg/L as Mg and call that sum total hardness. The names and units refer to different quantities.

NEMI’s public summary of Standard Methods 2340B describes calculating hardness from separate calcium and magnesium determinations. This guide explains a reading estimate using that principle and rounded published molecular weights. It does not reproduce the full licensed method or replace the laboratory’s reported result. [4]

Use results for the same sample, sampling point and period, with compatible preparation and units. Keep the laboratory’s method, flags and reporting limits. If you have a reported total-hardness result already, copy it with its definition rather than overwrite it with your own calculation.

  1. Copy the sample identifier, collection date and calcium row exactly, including “as Ca” or “as CaCO3”.
  2. Copy the corresponding magnesium row and its mass basis. Confirm that the two rows refer to the same sample.
  3. Convert concentration units if needed: 1 mg/L = 1,000 µg/L. Preserve an ND flag through the conversion.
  4. Identify whether each number is a mineral concentration or an already-converted hardness equivalent. Use the matching calculation below.

Why the calcium-carbonate basis changes the number

“As CaCO3” is an equivalent reporting basis. It does not say that the water contains that many milligrams of intact calcium-carbonate molecules per litre. For the ordinary Ca/Mg calculation, each mole of calcium or magnesium is expressed as a mole-equivalent amount of CaCO3. This puts their hardness contributions on a common mass basis.

The cited PubChem records give rounded molar masses of 100.09 g/mol for calcium carbonate, 40.08 g/mol for calcium and 24.305 g/mol for magnesium. Dividing the reference mass by each mineral mass gives approximately 2.497 and 4.118. These are approximate coefficients derived here from those stated values, not extra precision recovered from a rounded laboratory report. [1] [2] [3]

Calcium contribution as CaCO3 ≈ calcium as Ca × (100.09 / 40.08)
                              ≈ calcium as Ca × 2.497
Magnesium contribution as CaCO3 ≈ magnesium as Mg × (100.09 / 24.305)
                               ≈ magnesium as Mg × 4.118
Ca/Mg hardness estimate (mg/L as CaCO3)
  ≈ 2.497 × Ca (mg/L as Ca) + 4.118 × Mg (mg/L as Mg)

A mass-basis conversion is different from a concentration-unit conversion. Changing µg/L to mg/L does not change “as Ca” into “as CaCO3”. Also, a calcium-hardness value already stated as CaCO3 must not be multiplied by the calcium factor again.

Two complete fictional calculations

All records in this section are invented teaching examples. They are not laboratory observations, tests of a utility or evidence about a product.

Invented compatible calcium and magnesium records
RecordComplete inputCalculationReading outcome
C1: one sampleSample FICTION-C1; Ca 40.0 mg/L as Ca; Mg 10.0 mg/L as Mg; same date and preparation2.497×40.0 =99.88;4.118×10.0 =41.18; sum 141.06Approximate Ca/Mg hardness 141 mg/L as CaCO3, rounded for the stated inputs
C2: calcium already convertedSample FICTION-C2; calcium hardness 100 mg/L as CaCO3; Mg 10.0 mg/L as Mg; same date and preparation100 +4.118×10.0 =141.18Approximate combined contribution 141 mg/L as CaCO3; do not reconvert the 100

On a phone, scroll within the table to read the last column. Keyboard users can focus the table region and use the arrow keys.

For C1, adding 40.0 +10.0 gives 50.0 mg/L of the two minerals’ stated masses. That is not the same quantity as 141.06 mg/L as CaCO3. The different answer follows from the reporting basis, not from creating additional mineral mass in the sample.

For C2, multiplying 100 by 2.497 would convert the calcium contribution a second time. The incorrect calculation 249.7 +41.18 =290.88 illustrates the error. Keep “calcium hardness” and “calcium as Ca” as different input types.

Keep the unrounded arithmetic in your working note and label the displayed result as an estimate. More calculator digits do not establish the uncertainty of the underlying tests.

Two records that do not produce a complete total

Fictional C3: sample FICTION-C3 reports calcium 10.0 mg/L as Ca, while magnesium is ND with a legend saying “not detected at or above 0.10 mg/L”. The known calcium contribution is approximately 2.497×10.0 =24.97 mg/L as CaCO3. The magnesium concentration was not supplied as a measured number. Preserve ND and its 0.10 mg/L reporting boundary; do not enter measured zero and announce an exact 24.97 total.

The ND guide explains why a reporting limit is not a second measured concentration. A laboratory may use its own convention when calculating a result from censored inputs. Ask which convention it used; this page does not prescribe zero, half the limit or another substitution.

Fictional C4: calcium 40.0 mg/L comes from tap A on 3 November; magnesium 10.0 mg/L comes from tap B on 10 November. The arithmetic would still return 141.06, but it would describe a constructed combination of two records. It would not be a measured or calculated result for either actual sample. Obtain compatible rows before calling it a sample’s hardness.

If a compatible laboratory total differs from your estimate, keep both values with their methods. Do not label the laboratory wrong from the difference alone. EPA 130.2 notes that other metal ions can affect its titration endpoint, and its original interference table identifies some substances that titrate as hardness. A simple Ca/Mg calculation and an actual method result need not answer every preparation or interference question. [5]

A useful clarification request names the sample, the two mineral results, the reported total and their methods: “Are these rows based on the same sample and preparation, and how was total hardness determined?”

Save the inputs and the calculation separately

REPORT: issuer / original URL / issue date / page
SAMPLE: identifier / location / collection date / preparation
CALCIUM: result / units / as-basis / flag / reporting limit / method
MAGNESIUM: result / units / as-basis / flag / reporting limit / method
LAB HARDNESS, IF PRESENT: result / units / method / definition
MY CALCULATION: input conversion / coefficients / unrounded output
DISPLAY: rounded estimate, explicitly labelled mg/L as CaCO3
UNRESOLVED: missing input, ND convention or preparation question

Download the blank calcium/magnesium calculation record. Keep the issuer’s results unchanged and put your estimate in a separate field.

For a worksheet based on EDTA titration, use the titrant-factor and sample-volume guide. That calculation starts from different inputs. Neither workflow establishes current tap safety, chooses treatment equipment or supplies a clinical intake target.

Check the field before accepting the number

The correct outcome can be an unresolved calculation when the necessary result was not reported.

Case 1

Ca 40.0 mg/L as Ca and Mg 10.0 mg/L as Mg, same sample: is 50.0 the hardness as CaCO3?

Show answer and explanation for case 1

No.

No. Using the stated approximate coefficients, the Ca/Mg estimate is 99.88 +41.18 =141.06 mg/L as CaCO3, displayed as approximately 141. The 50.0 sum has a different mass basis.

Case 2

Calcium hardness 100 mg/L as CaCO3 and magnesium 10.0 mg/L as Mg: should I multiply both numbers?

Show answer and explanation for case 2

No.

No. Calcium is already on the common equivalent basis. Keep 100 and add approximately 41.18 from magnesium. The estimate is 141.18 mg/L as CaCO3 before display rounding.

Sources and further reading

  1. PubChem — calcium carbonate molecular formula and weightComplete public JSON checked 12 November 2026: CCaO3, 100.09 g/mol. The equivalent-mass derivation uses this rounded property value.
  2. PubChem — calcium formula and weightComplete public JSON checked 12 November 2026: Ca, 40.08 g/mol; a mass of calcium is different from a calcium-carbonate equivalent.
  3. PubChem — magnesium formula and weightComplete public JSON checked 12 November 2026: Mg, 24.305 g/mol.
  4. NEMI — Standard Methods 2340B public summaryThe public summary describes hardness calculated from separate calcium and magnesium determinations. The full licensed method was not accessed; the rounded coefficients here are transparently derived from the cited molecular weights.
  5. EPA 130.2 original method via NEMIDated 1978/1982 editorial revision. Sections 2, 8 and 9 distinguish the calcium/magnesium basis, titration calculation and a synthetic interlaboratory example. Other metals can interfere; this is not a current home-water report or a DIY procedure.