Stearic Acid Molecular Formula: C18H36O2 Explained
In this article
Stearic acid's molecular formula is C18H36O2. That means each molecule contains 18 carbon atoms, 36 hydrogen atoms, and 2 oxygen atoms. This saturated fatty acid is common in soaps, cosmetics, and food additives, and knowing its formula helps you understand its structure, reactions, and why it behaves the way it does. Below is a step-by-step way to derive and verify that formula yourself, plus what it tells you about the molecule.
What You'll Need
- A periodic table (or an online version) to check atomic weights.
- Pen and paper (or a text editor) to draw the structure and count atoms.
- A calculator for molar mass calculations (optional but handy).
- Knowledge of basic organic chemistry: what a carboxyl group (−COOH) is, and what a saturated hydrocarbon chain is.
Step-by-Step
- Recognize the source name. “Stearic” comes from the Greek stear, meaning tallow or fat. It’s a fatty acid, which means it has a long hydrocarbon chain ending in a carboxylic acid group (−COOH).
- Know the general formula for saturated fatty acids. A saturated fatty acid with no double bonds has the general formula CnH2n+1COOH or, written as a condensed formula, CnH2nO2 when n is the number of carbons in the chain excluding the carboxyl carbon. For stearic acid, the chain has 17 carbons (n=17), plus the carboxyl carbon makes 18 total.
- Count the carbons. Stearic acid has 18 carbon atoms in total. That’s fixed: the name “octadecanoic acid” (the IUPAC name) tells you directly because “octadec” means 18.
- Count the hydrogens. For a saturated chain with 18 carbons and one carboxyl group, the number of hydrogens is 2×18 = 36. That’s because each carbon in the chain has two hydrogens (except the first carbon, which has three, and the carboxyl carbon, which has none). The formula C18H36O2 fits the general saturated fatty acid pattern CnH2nO2 with n=18.
- Count the oxygens. There are exactly two oxygen atoms, both in the carboxyl group: one in the carbonyl (C=O) and one in the hydroxyl (O−H). That’s true for all simple fatty acids.
- Write the formula. Combine the counts: C18H36O2. That’s the molecular formula. Some sources also write it as CH3(CH2)16COOH, which is the condensed structural formula. Both are correct; the molecular formula just shows the atom counts, while the structural formula shows how they’re arranged.
- Verify with molar mass. Add up atomic weights: carbon ~12.01, hydrogen ~1.008, oxygen ~16.00. So (18×12.01) + (36×1.008) + (2×16.00) = 216.18 + 36.288 + 32.00 = 284.47 g/mol. The accepted molar mass of stearic acid is 284.48 g/mol. If your calculation is close, you’ve got the right formula.
- Check saturation. The formula C18H36O2 has no missing hydrogens compared to the saturated maximum. For a fatty acid with 18 carbons, the maximum number of hydrogens is 36 (since each double bond would remove two hydrogens). If you see C18H34O2, that would be oleic acid (one double bond). So the formula tells you stearic acid is fully saturated.
Common Mistakes
- Confusing molecular formula with structural formula. The molecular formula doesn’t show how atoms are connected. Don’t write C18H36O2 and think it’s a chain with oxygen in the middle; the oxygens are only at one end.
- Miscounting hydrogens. A common error is thinking each carbon has two hydrogens, so 18 carbons give 36 hydrogens, but forgetting that the carboxyl carbon has no hydrogens and the terminal methyl group has three. Actually, the count works out because the chain has 17 CH2 groups (34 H) plus one CH3 (3 H) plus one OH (1 H) = 38, but wait – the carboxyl carbon has no hydrogen, so you subtract one? Let’s do it carefully: CH3(CH2)16COOH. That’s 3 + (16×2) + 1 (from the OH) = 3 + 32 + 1 = 36. Yes, the OH hydrogen counts, but the carboxyl carbon’s hydrogen is not there. So the total is 36. Many people forget the OH hydrogen or double-count the carboxyl hydrogen. Always write the condensed structure and count.
- Assuming all fatty acids have the same formula. Stearic acid is saturated; palmitic acid (C16H32O2) has 16 carbons, and oleic acid (C18H34O2) has one double bond. Don’t generalize.
- Using the wrong name. “Stearic acid” is specifically C18H36O2. Octadecanoic acid is the same. But stearic acid is not the same as stearate (which is the ionized form, C18H35O2⁻).
Tips
- Remember the general formula for saturated fatty acids: CnH2nO2. For stearic acid, n=18. That’s a quick way to derive it without memorizing.
- Use the IUPAC name to double-check: octadecanoic acid. “Octadec” = 18, “anoic” = saturated, “oic acid” = carboxylic acid. So you know it’s C18 and saturated.
- When drawing the structure, start with the carboxyl group: HOOC−. Then attach a chain of 17 carbons: −(CH2)16−CH3. Count atoms from that drawing to avoid mistakes.
- If you’re doing stoichiometry (e.g., saponification reactions), always write the molecular formula first and balance the equation with it. For example, stearic acid + NaOH → sodium stearate + water. The formula helps you balance: C18H36O2 + NaOH → C18H35O2Na + H2O.
- For lab work, check the melting point: pure stearic acid melts at about 69°C. If your sample melts much lower, it might be impure or mixed with other fatty acids.
Troubleshooting
If your molar mass calculation doesn’t match 284.48 g/mol: Recheck the atomic weights you used. Some periodic tables round to whole numbers (C=12, H=1, O=16), which gives 284. That’s fine. If you get 282 or 286, you likely miscounted atoms. Write the formula again and count each element.
If you see a formula like C18H36O2 but you’re told it’s unsaturated: That’s impossible. Unsaturation (double bonds) reduces the hydrogen count. If someone says stearic acid is unsaturated, they’re wrong. Check the source.
If you’re using a database and it gives a different formula: Make sure you’re looking at the neutral acid, not a salt or ester. For example, sodium stearate has formula C18H35O2Na. Also, check if the database lists the monohydrate or a derivative.
If you’re trying to balance a reaction and the hydrogens don’t add up: Remember that in acid-base reactions, the acidic hydrogen (the one on the carboxyl group) is the one that leaves. So in saponification, stearic acid loses one H to become stearate. The molecular formula for the acid includes that H; the anion does not.
If you’re melting stearic acid and it doesn’t melt at 69°C: It might be a mixture of fatty acids. Pure stearic acid has a sharp melting point. If it’s a candle or soap ingredient, it’s often blended with palmitic acid. That’s not a formula problem, but a purity issue.
Frequently Asked Questions
Is stearic acid the same as stearate?
No. Stearic acid is the neutral molecule C18H36O2. Stearate is its conjugate base, C18H35O2⁻, formed when the acid loses a hydrogen ion. In soaps, you have sodium stearate or potassium stearate.
Why does stearic acid have 36 hydrogens and not 38?
Because the carboxyl carbon has no hydrogen attached. In the chain, the terminal methyl group has 3 hydrogens, the 16 methylene groups have 2 each (32 total), and the hydroxyl group has 1. That adds to 3 + 32 + 1 = 36. The carboxyl carbon itself is bonded to two oxygens and one carbon, so no hydrogen there.
What is the difference between stearic acid and oleic acid?
Stearic acid is saturated (no double bonds) with formula C18H36O2. Oleic acid has one double bond between carbons 9 and 10, so it has two fewer hydrogens: C18H34O2. That double bond makes oleic acid liquid at room temperature, while stearic acid is solid.
How do I write the structural formula?
The condensed structural formula is CH3(CH2)16COOH. That shows a methyl group, 16 methylene groups, and a carboxyl group. You can also draw it as a zigzag line with 18 carbons, with a double-bonded oxygen and a hydroxyl on the last carbon.
Is stearic acid safe to eat?
Yes, it’s a common food additive (E570) used as an anti-caking agent or thickener. It’s a natural component of many animal and plant fats. However, like any fat, it’s high in calories and should be consumed in moderation.
Why is stearic acid used in candles?
Because it’s a hard, waxy solid with a high melting point (~69°C). It helps candles burn more slowly and reduces dripping. Its long hydrocarbon chain makes it a good fuel.