When EDTA (or its salt) is added to water or drilling fluid filtrate containing both calcium and magnesium, it combines first with calcium. Calcium can be determined with EDTA when the pH of the sample is sufficiently high so that magnesium is precipitated as the hydroxide and an indicator specific for calcium is used. Several indicators give color changes when all of the calcium has been complexed by EDTA at a pH of 12 to 13. An endpoint obscured by dark organic components can be remedied by oxidizing with a reagent such as sodium hypochlorite.
mg/L
1. EDTA solution (CAS No. 6381-92-6), 0.01 mol/L;
2. Calcium buffer solution, 1 mol/L (1N) sodium hydroxide (CAS No. 1310-73-2);
3. Calcium indicator, hydroxynaphthol blue (CAS No. 63451-35-4);
4. Sodium hypochlorite (CAS No. 7681-52-9) solution, 5.25 % mass fraction in deionized or distilled water;
5. Acetic acid (CAS No. 64-19-7), glacial;
6. Deionized or distilled water;
7. Erlenmeyer, 150 mL;
8. Graduated pipettes, 5 mL (TD) and 10 mL (TD);
9. Volumetric pipettes, 1 mL (TD), 2 mL (TD), and 5 mL (TD);
10. pH paper strip
11. Hot plate;
1. Measure 1 mL of filtrate into the erlenmeyer. [If filtrate is clear, or is only lightly colored, omit steps 2 to 5]
2. Add 10 mL sodium hypochlorite solution and mix;
3. Add 1 mL glacial acetic acid and mix;
4. Boil the sample for 5 min. Maintain the sample by adding deionized water as required during boiling. Boiling is required to remove excess chlorine. The absence of chlorine can be verified by immersing a strip of pH paper in the sample. If the paper is bleached white, continued boiling is required. A sufficiently boiled sample shows a pH of 5.0.
5. Rinse the inside of the beaker with deionized water and dilute the sample to 50 mL with deionized water. Add approximately 2 mL buffer solution and swirl to mix;
6. Dilute the sample to approximately 50 mL with deionized or distilled water. Add 1 mL to 2 mL of calcium buffer solution or sufficient sodium hydroxide to produce a pH of 12 to 13;
7. Add sufficient calcium indicator (0.1 g to 0.2 g) to produce a pink to wine-red color if calcium is present. The addition of too much indicator may obscure the endpoint;
8. While stirring, titrate with the EDTA solution to the proper endpoint. Calcium indicators produce a change from red to blue. The endpoint is best described as the point at which additional EDTA produces no further red to blue color change. The titration volume of EDTA, VEDTA.

Where VEDTA is the titration volume of EDTA solution, expressed in milliliters (1 mL ≡ 400 mg Ca2+); Vf is the volume of the filtrate sample, expressed in milliliters.