Chemical oxygen demand (COD) is an indirect measurement of the amount of organic matter in a sample. With this test, you can measure virtually all organic compounds that can be digested by a digestion reagent. COD contrasts with biochemical oxygen demand (BOD), which relies on the use of microorganisms to break down the organic material in the