Acetoacetic acid (also acetoacetate and diacetic acid) is the organic compound with the formula CH3COCH2COOH. It is the simplest beta-keto acid, and like other members of this class, it is unstable. The methyl and ethyl esters, which are quite stable, are produced on a large scale industrially as precursors to dyes. Acetoacetic acid is a weak acid.