carbonate test
The carbonate test is a titration procedure performed on drilling fluid filtrate and produced water samples to measure the concentrations of carbonate (CO3 2-) and bicarbonate (HCO3-) ions in the aqueous phase, providing the alkalinity data that drilling fluid engineers use to evaluate mud pH stability, assess cement contamination potential, diagnose calcium carbonate scale risk, and troubleshoot mud property changes caused by bicarbonate-rich formation water influx. In Western Canada Sedimentary Basin drilling operations, the carbonate test is performed daily on water-based mud filtrate as part of the API Recommended Practice 13B-1 standard mud test sequence, using a two-endpoint potentiometric or colorimetric titration of a measured filtrate volume with standardized sulfuric acid: titrating from the natural sample pH to pH 8.3 (phenolphthalein endpoint, measured as volume P in mL) yields the carbonate alkalinity, while continuing from pH 8.3 to pH 4.5 (methyl orange or bromocresol green endpoint, measured as volume M in mL) gives the total alkalinity from which bicarbonate alkalinity is calculated as (M minus P) times the acid normality factor, with results reported as mg/L of CO3 and HCO3 or as mL of acid per mL of filtrate (the Pf and Pm values used in API MBT reports). Carbonate and bicarbonate contamination in WCSB water-based mud systems most commonly originates from one of three sources: CO2 influx from the formation reducing mud pH and generating carbonic acid that dissociates to bicarbonate; cement contamination from a freshly cemented casing string where highly alkaline cement filtrate (pH 12 to 13) dissolves CO2 from the atmosphere or from the formation to produce high-carbonate-alkalinity mud filtrate; and formation water breakthrough from high-bicarbonate aquifer formations such as the Belly River Group or Paskapoo Formation freshwater sands in shallow Alberta drilling where bicarbonate alkalinity of 500 to 2,000 mg/L is common. High bicarbonate contamination of water-based mud causes deflocculation of the clay mineral suspension because bicarbonate anions replace the calcium ions that cross-link clay platelet edge sites, dispersing clay into fine colloidal particles that increase plastic viscosity and yield point beyond design parameters, potentially causing excessive equivalent circulating density and lost circulation in low-fracture-gradient WCSB Foothills intervals. Mud engineers treat bicarbonate contamination by adding calcium chloride or calcium sulfate (gypsum) to precipitate carbonate as calcium carbonate, effectively removing the bicarbonate from solution and restoring the calcium-clay flocculation that maintains stable mud rheology at the design plastic viscosity and yield point; treatment quantities are calculated from the carbonate test result using the stoichiometry of the CaCO3 precipitation reaction. The Pf and Mf alkalinity values from the carbonate test are also used in the API filtrate excess lime calculation (Excess lime = Pf minus 0.5 Mf, in units of mL of 0.02N H2SO4 per mL filtrate), which estimates the amount of undissolved lime (Ca(OH)2) held in suspension in the mud as a pH buffer reserve for protecting against CO2 and H2S gas influx in WCSB Foothills sour drilling operations where unexpected acid gas kicks could deplete mud alkalinity before surface detection and well shut-in. For produced water and injection water analysis in WCSB production facilities, the carbonate test provides the alkalinity values used as input to scale saturation index calculations under AER Directive 017 measurement and reporting requirements, with bicarbonate alkalinity combined with calcium ion concentration, total dissolved solids, and temperature in the Langelier Saturation Index or more rigorous Pitzer ion-interaction thermodynamic model to predict calcite scale deposition tendency at each point in the production and injection network. Understanding the carbonate test procedure, the stoichiometry of bicarbonate contamination treatment, the interpretation of Pf and Mf values in the context of mud alkalinity balance, and the application of alkalinity data to scale prediction and formation water characterization gives drilling fluid engineers, production chemists, and water analysis technicians the foundational water chemistry tool used across WCSB drilling, completions, and production operations.
- Two-endpoint titration procedure (API 13B-1): A 1.0 mL filtrate sample is titrated with 0.02N sulfuric acid using a digital burette. Phenolphthalein indicator turns colourless at pH 8.3 (endpoint P, mL acid consumed); methyl orange or bromocresol green changes colour at pH 4.5 (endpoint M, total mL consumed). Carbonate alkalinity (CO3 as mg/L CaCO3) equals 1,000 times P; bicarbonate alkalinity (HCO3 as mg/L CaCO3) equals 1,000 times (M minus 2P). Both concentrations are recorded on the daily mud report submitted to the AER under well drilling obligations.
- Bicarbonate contamination from Belly River and Paskapoo aquifers: Shallow freshwater-bearing sandstone formations in the WCSB Alberta basin, particularly the Belly River Group and Paskapoo Formation, contain formation water with bicarbonate alkalinity of 500 to 2,500 mg/L as HCO3. Drill-in with unweighted water-based gel-salt mud into these formations introduces high-bicarbonate water into the mud system, rapidly increasing Mf alkalinity and driving clay deflocculation that raises plastic viscosity and yield point by 30 to 80% within one circulation cycle. The carbonate test alerts the mud engineer within hours of breakthrough onset, enabling preemptive calcium chloride treatment before rheological excursions cause ECD problems.
- Cement contamination diagnosis: After cementing an intermediate or production casing string in a WCSB well, cement filtrate entering the wellbore through the float equipment or channelled cement creates highly alkaline mud with Pf values above 3 to 5 mL (versus normal operating range of 0.5 to 1.5 mL). High Pf combined with rising pH above 11 and increased mud weight (from calcium hydroxide precipitation) are the diagnostic triad for cement contamination; the standard treatment is increasing CO2 in makeup water (carbonation) or adding sodium bicarbonate to neutralize excess lime and restore Pf to the design range of 0.8 to 1.2 mL.
- Excess lime calculation for sour well alkalinity buffer: The excess lime value (Pf minus 0.5 Mf) estimates the undissolved Ca(OH)2 in mud suspension that provides a pH buffer reserve against CO2 and H2S influx in WCSB Foothills sour drilling. AER Directive 036 for sour well drilling requires maintenance of mud alkalinity sufficient to maintain mud pH above 10.5 throughout the well program; excess lime values are calculated from the daily carbonate test and used to schedule lime additions to the active mud system before alkalinity reserves are depleted to below 0.5 mL excess lime equivalent.
- Produced water alkalinity for scale prediction: In WCSB waterflood operations, monthly carbonate test analysis of produced water from individual well streams and commingled battery headers provides the bicarbonate alkalinity input to OLI or NORSOK M-506 scale prediction models. Bicarbonate alkalinity trending above 1,000 mg/L at a producer, combined with calcium above 1,500 mg/L and measured wellhead LSI above plus 1.0, triggers an immediate review of the scale inhibitor program and may prompt a downhole inhibitor squeeze treatment before calcite scale causes significant perforation damage.
Bicarbonate Contamination Treatment on a WCSB Horizontal Montney Well
While drilling the Montney horizontal lateral in northeast British Columbia at 3,200 m measured depth, a WCSB operator's mud engineer observed a rapid increase in Mf alkalinity from 1.1 to 4.8 mL over a single 6-hour circulation cycle, accompanied by plastic viscosity rising from 18 to 27 mPa-s and yield point increasing from 14 to 23 Pa. The carbonate test identified a bicarbonate influx of approximately 1,400 mg/L HCO3, consistent with a minor Doig Formation siltstone aquifer penetration 120 m back in the lateral. Treatment: 0.3% calcium chloride added to the active pit (equivalent to 900 kg of dry CaCl2) precipitated the bicarbonate as calcium carbonate, reducing Mf alkalinity to 1.3 mL within 2 circulation cycles. Plastic viscosity returned to 19 mPa-s and the drill ahead continued without further incident. Total treatment cost was $2,400 in CaCl2 product plus 4 hours of drilling time at $8,000 per hour rig cost, compared to an estimated $180,000 cost for a wiper trip and reaming run if the yield point excursion had progressed to a hole-cleaning problem or stuck-pipe event.
- Standard: API RP 13B-1 (water-based mud); daily test requirement in WCSB drilling programs
- Titrant: 0.02N sulfuric acid; endpoints at pH 8.3 (P) and pH 4.5 (M)
- Results reported: Pf (carbonate alkalinity, mL); Mf (total alkalinity, mL); CO3 and HCO3 in mg/L as CaCO3
- Excess lime formula: Pf minus 0.5 Mf (buffer reserve against CO2/H2S influx)
- Contamination sources: CO2 influx; freshwater aquifer (Belly River, Paskapoo); cement filtrate
- Treatment for high HCO3: Calcium chloride or gypsum addition to precipitate CaCO3
Related Terms
Carbonate ion and bicarbonate ion are the two species measured by the carbonate test titration, with their relative concentrations determined by the pH of the mud filtrate or produced water sample at the time of analysis and their absolute concentrations calculated from the P and M endpoint volumes. Alkalinity is the broader water chemistry concept encompassing all acid-neutralizing species in solution; in WCSB drilling fluids and produced waters, bicarbonate and carbonate dominate total alkalinity, with hydroxide contributing only in very high-pH cement-contaminated muds above pH 12. Mud filtrate is the aqueous phase that permeates through the filter cake into the formation, and its carbonate alkalinity determined by the carbonate test is used to assess cement compatibility, formation damage potential from CaCO3 precipitation in near-wellbore pores, and the risk of drilling fluid-induced scale in the producing interval. Calcium test is the complementary drilling fluid water analysis that measures dissolved calcium ion concentration in mud filtrate, used together with the carbonate test to calculate the calcium-bicarbonate product and assess whether CaCO3 precipitation is occurring in the mud system or in the near-wellbore formation. Langelier Saturation Index is calculated from carbonate test alkalinity data combined with calcium concentration, total dissolved solids, and temperature to predict calcite scale precipitation tendency in WCSB produced water and injection water systems, guiding scale inhibitor program design at battery and central processing facilities.