Gallic acid is commonly used in the pharmaceutical industry.[4] It is used as a standard for determining the phenol content of various analytes by the Folin-Ciocalteau assay; results are reported in gallic acid equivalents.[5] Gallic acid can also be used as a starting material in the synthesis of the psychedelic alkaloid mescaline.