The chemical name of vinegar is acetic acid and its chemical formula is CH₃COOH, also known as ethanoic acid.