What is the chemical formula of citric acid?

The story behind the answer

The chemical formula of citric acid is C6H8O7.

That formula records the atoms in one molecule: six carbon atoms, eight hydrogen atoms and seven oxygen atoms. Citric acid is a weak organic acid with three carboxylic acid groups, which help explain its behavior in lemon juice and other acidic foods. Its molar mass is about 192.12 grams per mole in the anhydrous form.

C6H8O7 is different from C6H12O6, the formula commonly associated with glucose and fructose. It is also unrelated to NaCl, table salt, or H2O, water. Citric acid may occur as an anhydrous compound or as a monohydrate containing water of crystallization, but the formula given for the acid itself remains C6H8O7.

The compound occurs naturally in citrus fruits and is also an intermediate in the citric acid cycle, a central pathway in aerobic cellular metabolism. Beyond lemonade, it is used as a flavoring agent, preservative, acidity regulator, chelating agent and descaling ingredient.

Source: Wikipedia · fact-checked Aug. 2026

Add question to a list

Choose a list to keep this question in: