caustic extraction test

The caustic extraction test is the standard analytical procedure used on oil-based and synthetic-based drilling fluid systems to measure the concentration of excess lime (calcium hydroxide, Ca(OH)2) dissolved in the water phase of the mud, quantifying the alkalinity reserve that buffers the mud system against acid gas contamination, stabilizes emulsion chemistry, and prevents corrosion of downhole steel tubulars during drilling operations in Western Canada Sedimentary Basin wells, by extracting a measured volume of the mud's aqueous phase with a caustic (potassium hydroxide) solution and then titrating the extract against a standardized acid to determine the total hydroxide alkalinity expressed in pounds per barrel (lb/bbl) or kilograms per cubic metre (kg/m3) of excess lime equivalent. The test is distinct from the standard alkalinity titrations (Pm and Pf) used on water-based muds: in an oil-based or synthetic-based drilling fluid, the water phase is emulsified in the continuous oil phase and cannot be directly titrated without first breaking the emulsion; the caustic extraction test uses a strong base (typically 2 N potassium hydroxide solution) to chemically break the oil-water emulsion and extract the aqueous alkalinity into the KOH phase, from which a measured aliquot is titrated with 0.02 N sulfuric acid to a phenolphthalein endpoint (pink to colorless transition) to determine the hydroxide alkalinity. In Western Canada Sedimentary Basin oil-based mud programs for Montney and Duvernay horizontal wells, the target excess lime concentration is typically 3 to 6 lb/bbl (8.5 to 17 kg/m3) as a buffer against hydrogen sulfide (H2S) and carbon dioxide (CO2) acid gas influxes that are common in WCSB deep sour formations; when H2S contacts the lime in the aqueous phase of the OBM, the reaction Ca(OH)2 plus H2S produces calcium sulfide and water, consuming one mole of lime per mole of H2S and neutralizing the acid gas before it can lower mud pH or corrode the drill string. The caustic extraction test result is used by the mud engineer to determine whether the lime reserve is within the design window: values below 2 lb/bbl indicate insufficient alkalinity buffer and require lime additions before drilling into the next sour zone; values above 8 lb/bbl indicate excess lime that may precipitate calcium carbonate or calcium sulfate scale in the mud system if CO2 is encountered, and dilution is required to bring the lime content back within specification. The caustic extraction test is run twice per 12-hour tour on active WCSB OBM programs in sour service, with additional tests whenever a gas kick is circulated out or when mudlog total gas units exceed 500 units, providing real-time confirmation that the chemical buffer is intact after each acid gas exposure. Understanding caustic extraction test procedure, the KOH emulsion-break extraction chemistry, the titration endpoint and calculation, the target lime window for WCSB sour service OBM systems, and the relationship between excess lime and mud pH stability gives WCSB drilling fluid engineers, mud engineers, and well site supervisors the analytical tool to maintain OBM alkalinity within the specification that protects the drill string from acid gas corrosion and maintains emulsion stability throughout the drilling of deep sour WCSB Montney, Duvernay, and Devonian reef wells.

  • Caustic extraction test procedure for WCSB oil-based mud alkalinity measurement: The API RP 13B-2 standard procedure for excess lime in OBM uses the following steps: (1) add 10 mL of 2 N KOH solution to a 1 mL whole mud sample in a titration flask; (2) mix vigorously for 60 seconds to break the emulsion and transfer aqueous alkalinity into the KOH phase; (3) add 40 mL distilled water and 4 drops of phenolphthalein indicator; (4) titrate with 0.02 N H2SO4 until the pink color disappears; (5) excess lime (lb/bbl) = mL H2SO4 used x 0.26. A result of 15 mL H2SO4 consumed gives 15 x 0.26 = 3.9 lb/bbl excess lime, within the WCSB sour service target of 3 to 6 lb/bbl. The KOH extraction step is critical: insufficient mixing time (less than 30 seconds) gives low and irreproducible results because the emulsion is incompletely broken, leaving alkalinity trapped in unextracted water droplets.
  • Lime buffer consumption during H2S influx events in WCSB sour OBM wells: During a H2S kick in a WCSB Triassic Halfway or Devonian Slave Point sour zone, hydrogen sulfide entering the OBM from the formation reacts with the excess lime in the aqueous phase at a stoichiometric rate of 34 grams of Ca(OH)2 consumed per 34 grams of H2S (1:1 molar ratio). A 10 m3 OBM system containing 3 lb/bbl (8.5 kg/m3) excess lime holds a total lime buffer of 85 kg; a gas influx introducing 200 m3 of H2S at standard conditions (approximately 0.3 kg H2S) would consume less than 1% of this buffer. Larger influxes or sustained slow seepage from reservoir H2S can deplete the lime buffer over hours; the caustic extraction test result before and after a gas influx quantifies the lime consumed and guides the immediate lime addition required to restore the buffer before continued drilling.
  • Relationship between excess lime and OBM emulsion stability in WCSB operations: Excess lime in the OBM aqueous phase performs a secondary function beyond acid gas neutralization: it maintains the alkalinity of the water phase at pH 11.5 to 12.5, which is the required pH range for the tall oil fatty acid and oxidized tall oil emulsifiers used in most WCSB OBM formulations to maintain emulsion stability (electrical stability above 400 V). At pH below 10, tall oil emulsifiers partially hydrolyze and the emulsion stability voltage drops below 200 V, increasing the risk of emulsion inversion (water-in-oil converting to oil-in-water) that would cause an OBM system failure. The caustic extraction test therefore provides an indirect check on emulsion stability; mud engineers correlate caustic extraction results with electrical stability measurements to confirm both the alkalinity buffer and emulsion integrity are maintained simultaneously.
  • CO2 contamination effect on caustic extraction test results in WCSB OBM programs: Carbon dioxide influxes from WCSB Devonian carbonate and coal-measure formations react with the excess lime in OBM to form calcium carbonate: Ca(OH)2 plus CO2 produces CaCO3 plus H2O, consuming lime at a rate of 74 grams of Ca(OH)2 per 44 grams of CO2. Unlike H2S, which produces the soluble calcium sulfide that remains in the mud, CO2 produces insoluble calcium carbonate that precipitates as a fine white solid and can be detected in the mud retort as a change in oil, water, and solids fractions. A caustic extraction test result that drops suddenly without a corresponding H2S gas detection increase suggests CO2 consumption of the lime buffer; the mud engineer increases lime additions and monitors the next caustic extraction result to confirm lime recovery before continuing to drill into the CO2 zone.
  • Caustic extraction test frequency and documentation requirements in WCSB OBM well programs: WCSB OBM programs for wells with H2S potential (H2S concentration above 10 ppm in formation gas, per AER Directive 036) require caustic extraction tests as part of the daily mud check program, with results documented in the mud report alongside Pm, Pf, and electrical stability measurements. Test frequency escalates from twice per tour (standard) to every 3 hours when drilling through a confirmed sour zone or when the mudlog H2S detector shows sustained readings above 20 ppm at the shale shaker; the test results are entered in the IADC daily drilling report and retained in the well file as evidence of OBM alkalinity maintenance for AER compliance review after well completion.

Lime Buffer Depletion Detected by Caustic Extraction Testing on a WCSB Triassic Well

A northeast British Columbia Halfway Formation well drilled with a 13.5 ppg OBM system encountered a gas influx at 3,240 m MD that was circulated out under well control procedures. The pre-kick caustic extraction test had shown 4.2 lb/bbl excess lime. Immediately after circulating out the kick, the mud engineer ran a caustic extraction test and obtained a result of 1.4 lb/bbl, indicating that 2.8 lb/bbl of lime had been consumed by the H2S in the kick gas (wellsite H2S detector had reached 180 ppm at the shale shaker during circulation). The mud engineer calculated that the 10.5 m3 active system required 29.4 kg of hydrated lime addition to restore the buffer to 4.0 lb/bbl, added the lime in two 15 kg increments over 30 minutes with full circulation, and confirmed restoration with a caustic extraction test result of 3.9 lb/bbl before the company drilling engineer authorized resumption of drilling. The 40-minute post-kick lime treatment delay prevented drilling into the next sour sub-zone with an inadequate alkalinity buffer that could have failed to protect the drill string collars in the H2S exposure zone.

Fast Facts: Caustic Extraction Test
  • Purpose: Measures excess lime (Ca(OH)2) in the aqueous phase of oil-based drilling fluid
  • Method: KOH emulsion break extraction; titrate with 0.02 N H2SO4 to phenolphthalein endpoint
  • Calculation: Excess lime (lb/bbl) = mL H2SO4 consumed x 0.26 (API RP 13B-2)
  • WCSB sour service target: 3 to 6 lb/bbl; below 2 lb/bbl requires immediate lime addition
  • Frequency: Twice per tour standard; every 3 hours when drilling through sour zones
  • Reaction: Ca(OH)2 + H2S = CaS + H2O; 1:1 molar consumption rate

Oil-based mud is the continuous-oil-phase drilling fluid system in which the caustic extraction test measures aqueous phase alkalinity; WCSB Montney and Duvernay horizontal wells use 13 to 16 ppg OBM formulations with diesel or low-toxicity mineral oil as the continuous phase, emulsified brine as the dispersed aqueous phase, and excess lime as the acid gas buffer measured by the caustic extraction test at least twice per 12-hour tour. Excess lime is the calcium hydroxide maintained in the OBM water phase above the stoichiometric requirement to buffer expected acid gas influx volumes; the caustic extraction test result is the direct measure of the excess lime concentration that the mud engineer uses to maintain the alkalinity window of 3 to 6 lb/bbl in WCSB sour service OBM programs. Electrical stability is the secondary OBM quality parameter measured in parallel with the caustic extraction test, reflecting emulsion integrity through the voltage required to pass current through the oil-water emulsion; falling electrical stability combined with falling caustic extraction test values indicates simultaneous emulsion destabilization and alkalinity depletion from acid gas contamination. Hydrogen sulfide is the primary acid gas that consumes OBM excess lime in WCSB sour zone drilling operations, reacting with calcium hydroxide at a 1:1 molar ratio; the caustic extraction test quantifies the lime consumed by H2S influx events and guides the lime addition volume required to restore the buffer before the next sour zone is entered. Alkalinity in OBM context is the total base reserve in the aqueous phase, measured as excess lime by the caustic extraction test; maintaining adequate OBM alkalinity is a regulatory requirement for WCSB wells drilled through AER Directive 036 H2S-designated sour zones, where OBM alkalinity records are retained as part of the well completion compliance documentation submitted to the AER.