CompoundAcids and bases
Citric Acid (C6H8O7): Formula, Sources and Everyday Uses

Citric acid (C6H8O7) is a white, crystalline weak acid that gives lemons, limes and other citrus fruits their sour taste. Its molar mass is 192.12 g/mol. Each molecule can release three hydrogen ions in water, so it is described as triprotic, and it is widely used as a food acidulant and preservative.
Contents
What is citric acid?
Citric acid is an organic compound, so its molecules are built from chains of carbon atoms. Its formula, C6H8O7, shows six carbon atoms, eight hydrogen atoms and seven oxygen atoms in each molecule. The systematic IUPAC name is 2-hydroxypropane-1,2,3-tricarboxylic acid, which describes a three-carbon backbone carrying three carboxyl groups and one hydroxyl group.
Each carboxyl group (COOH) can release a hydrogen ion (H+), which is what makes the compound an acid. The name comes from the Latin citrus, meaning citrus tree, and the acid is found in many fruits, not only lemons. Its three acidic hydrogens are the reason chemists classify it with the carboxylic acids, a family that also includes acetic acid in vinegar.
The central carbon atom of citric acid carries two identical arms, each made of a CH2 group and a COOH group. Because of this symmetry the molecule has no mirror-image form, so it is not chiral. This makes it simpler to handle than many other organic acids that exist in two forms.
Structure and bonding
The molecule is held together by covalent bonds, in which pairs of atoms share electrons. Carbon atoms form the skeleton, and oxygen and hydrogen atoms attach to it at the carboxyl and hydroxyl groups. The carboxyl groups contain a C=O double bond and a C–O–H single bond, and it is the O–H bond that can break to release a proton.
The three carboxyl groups make citric acid unusually good at binding metal ions. Oxygen atoms with lone pairs of electrons can grip a metal ion such as calcium or iron from several sides at once, forming a ring-shaped complex. Chemists call this type of binding chelation, from the Greek word for a claw.
Because of its many oxygen atoms and O–H groups, citric acid forms many hydrogen bonds with water. This explains why it dissolves so readily and why the solid is stable at room temperature. In the crystal, the molecules pack together in a regular, repeating pattern that gives the familiar sharp-edged crystals.
Physical properties
Citric acid is an odorless, white crystalline solid with a sharp, sour taste. It melts at 153 °C (307 °F), but it begins to decompose at about that temperature, so it does not boil in a normal way. Heating it strongly breaks the molecule apart rather than turning it into a clean vapor.
The solid is dense for a small organic molecule, with a density of about 1.67 g/cm³. It is very soluble in water and also dissolves in ethanol. The table below lists the main data for the anhydrous acid.
| Property | Value |
|---|---|
| Molar mass | 192.12 g/mol |
| Melting point | 153 °C (307 °F), with decomposition |
| Density | About 1.67 g/cm³ |
| Solubility in water | Very high |
| pKa values at 25 °C | About 3.13, 4.76 and 6.40 |
The three pKa values show that citric acid is a weak acid. The first hydrogen ion is released most easily, while the third is held more tightly. Because of this, citric acid can act as a buffer, helping to hold the pH of a solution steady when a small amount of acid or base is added.
Chemical properties and reactions
Citric acid reacts with bases to form citrate salts and water, in the same way as other acids. In water it loses its hydrogen ions one at a time, with each step described by a reversible equilibrium.
C6H8O7 ⇌ H+ + C6H7O7⁻
The first step is shown above. Two further steps release the second and third hydrogen ions, forming hydrogen citrate and then citrate. In a solution where most of the acid has lost all three hydrogen ions, the citrate ion carries a 3− charge.
Citric acid reacts with carbonates and bicarbonates to release carbon dioxide gas. This reaction, which causes fizzing, is the basis of effervescent tablets and bath bombs. Sodium bicarbonate and citric acid are both solids, so the reaction only starts when they dissolve.
C6H8O7 + 3 NaHCO3 → Na3C6H5O7 + 3 CO2 + 3 H2O
The same type of reaction explains how citric acid removes limescale. Limescale is mostly calcium carbonate, and citric acid turns it into soluble calcium citrate, carbon dioxide and water. This is why citric acid is a common ingredient in descaling products for kettles.
Where citric acid comes from
Citric acid occurs naturally in many plants, most famously in citrus fruits such as lemons, limes and oranges. Lemon and lime juice each contain about 5 percent citric acid by weight. The acid is also present in small amounts in many berries, in pineapple and in some vegetables.
The Swedish-German chemist Carl Wilhelm Scheele was the first to isolate it, in 1784, from lemon juice. For much of the 19th and 20th centuries it was extracted from citrus juice, but this became too expensive for large-scale supply. Today most citric acid is made by fermentation, in which the mold Aspergillus niger feeds on a sugar solution such as corn or molasses syrup and excretes citric acid. The acid is then separated from the broth, purified and dried into crystals.
Citric acid also has a central role inside living cells. The citric acid cycle, also called the Krebs cycle, is a series of reactions in which cells break down food molecules to release energy. The citrate ion is one of its intermediates, which is why the cycle is named after it. Cells make this citrate, but the citric acid sold as an ingredient is made by industry.
Uses of citric acid
Food is the largest use. Citric acid adds a sharp, fresh taste to candies, jams, soft drinks and sauces, and it is listed as food additive E330. It also works as a preservative because it lowers the pH of food, which slows the growth of bacteria and molds. Many canned fruits and frozen products contain it for this reason.
Cleaning products make heavy use of its chelating ability. It binds calcium and magnesium ions in hard water, so soaps and detergents work better, and it is a safer alternative to strong acids for removing limescale and rust stains. Cosmetics and personal-care products use it to adjust pH, and bath bombs use it together with sodium bicarbonate to release fizz when the bomb meets water.
Citric acid also appears in medicine and industry. Some medicines and vitamin tablets use citrate salts for their taste or to help the body absorb minerals. Industrial users add it to metal finishing baths, to textile processing and to some photographic chemicals, where its ability to bind metal ions is valuable.
Safety and the environment
Citric acid has low toxicity, and food-grade citric acid is safe in the amounts used in food and drinks. Its main hazard in the lab or workshop is irritation. Dust from the crystals can irritate the eyes, nose and throat, and concentrated solutions can sting the skin. Gloves and eye protection are sensible when handling large amounts of the powder.
If it gets into the eyes, they should be rinsed with plenty of water for several minutes, and any continuing irritation should be checked by a doctor. Citric acid should be stored in a dry, sealed container, because it absorbs moisture from the air and clumps.
Citric acid is readily biodegradable, meaning that microorganisms break it down in soil and water. In normal amounts it does not persist in the environment. Large releases can still lower the pH of local water, so industrial wastewater is usually treated before it is discharged.
See also acetic acid, another common food acid, and carbon dioxide, the gas released when citric acid reacts with bicarbonate.
Frequently asked questions
What is the formula of citric acid?
The formula of citric acid is C6H8O7. Each molecule has six carbon atoms, eight hydrogen atoms and seven oxygen atoms. Its molar mass is 192.12 g/mol, and it has three carboxyl groups that can release hydrogen ions.
Why do lemons taste sour?
Lemons taste sour mainly because they contain citric acid, which releases hydrogen ions on the tongue. Lemon and lime juice are each about 5 percent citric acid by weight. The exact sourness also depends on sugar and other acids in the fruit.
Is citric acid a strong acid?
No, citric acid is a weak acid. Its first pKa is about 3.13, so it only partly releases hydrogen ions in water. It can release all three of them in turn, which is why it is called triprotic.
Is citric acid safe to eat?
Yes, food-grade citric acid is safe in the amounts used in food and drinks. It is also made naturally by the body during the citric acid cycle, a set of reactions that release energy from food. Concentrated powder can irritate the eyes and skin, so it should be rinsed off with water if it gets on them.
How is citric acid made?
Most citric acid is made by fermenting sugar with the mold Aspergillus niger in large tanks. Historically it was extracted from citrus fruit juice. Both routes give the same compound, which is then purified and dried into a white crystalline solid.
What is citric acid used for?
Citric acid is used to add tartness and preserve foods, to flavor soft drinks, and to dissolve limescale in kettles and cleaning products. It also acts as a chelating agent, which means it binds metal ions such as calcium and iron so they do not cause cloudiness or stains.
Sources and further reading
- OpenStax, "Chemistry 2e"
- W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
- Encyclopaedia Britannica, "Citric acid"
Cite this page
“Citric Acid (C6H8O7): Formula, Sources and Everyday Uses.” Atoms & Forces, https://science.bigworldlist.com/compounds/citric-acid/.