The formula of ascorbic acid (vitamin C) is C₆H₈O₆: six carbon atoms, eight hydrogen atoms and six oxygen atoms in every molecule. If you are asked to write, draw, calculate or check that formula, the steps below take you from a plain count of atoms through the molecular and empirical formulas to the structure and the molar mass, and finish with the numbers you need for a solution or a titration. You only need paper, a periodic table and a calculator; nothing needs to be heated, mixed or measured in a lab.

What You'll Need

  • A periodic table (printed or on screen) showing atomic numbers and standard atomic weights
  • Paper and a pencil for the atom tally and the structure sketch
  • A calculator, or a phone set to scientific mode
  • Optional: a bottle of vitamin C tablets with the label visible, so you can compare the formula with what the label says

Step-by-Step

  1. Start from the name, not the letters. Ascorbic acid belongs to a small family of compounds with the suffix "-ose" or a sugar-like chain of carbons. Knowing it is a six-carbon lactone (a cyclic ester formed from a sugar acid) tells you to expect six carbons in the formula, which is the anchor for everything else.
  2. Write the atom count in three columns. Label them C, H and O. Because ascorbic acid is a simple molecular compound, its molecular formula is the default starting point: C₆H₈O₆. Put the 6, 8 and 6 beside the three symbols and you have the molecular formula done. Keep this column as a check for later.
  3. Confirm the count from the structure if your course expects it. The carbon skeleton is a five-membered ring containing one oxygen, with a two-carbon side chain ending in an OH group. Walking the skeleton gives five carbons in the ring plus one in the side chain — six in total. The oxygen count comes from one ring oxygen, two hydroxyl oxygens on the chain, and two more hydroxyls on the ring, giving six. Hydrogens attached to carbon and to oxygen complete the eight. If your tally does not land on 6-8-6, the error is nearly always a missed hydrogen on a hydroxyl group.
  4. Check the empirical formula. Divide each subscript by the highest common factor. For C₆H₈O₆ the only common factor of 6, 8 and 6 is 2, so the empirical formula is C₃H₄O₃. Note that this is not the same as the molecular formula — a frequent slip is to assume they always match.
  5. Work out the molar mass. Multiply each count by the standard atomic weight on your periodic table: carbon 12.01, hydrogen 1.008, oxygen 16.00. So 6 × 12.01 = 72.06, 8 × 1.008 = 8.064, 6 × 16.00 = 96.00. Add them: 72.06 + 8.064 + 96.00 = 176.124, which rounds to 176.12 g/mol. Use the values printed on your own table if your course specifies them; the third decimal place may shift slightly.
  6. Show the percentage composition. Divide each element's contribution by the molar mass and multiply by 100. Carbon 72.06 ÷ 176.12 ≈ 40.9%, hydrogen 8.064 ÷ 176.12 ≈ 4.6%, oxygen 96.00 ÷ 176.12 ≈ 54.5%. The three figures should add to about 100% — a quick arithmetic check.
  7. Give the formula for a salt or supplement if that is the question. Ascorbic acid itself is the acid; when asked about a vitamin C supplement labelled "sodium ascorbate" or "calcium ascorbate", note that these are salts of the same acid and their formulas differ. Only state a salt formula you can verify, for example sodium ascorbate, C₆H₇NaO₆, formed when one acidic hydrogen is replaced by sodium.
  8. Write the oxidation note. Ascorbic acid is a reducing agent: vitamin C loses electrons and converts to dehydroascorbic acid, C₆H₆O₆, losing two hydrogens in the process. This is why the same acid appears with two different formulas in food chemistry — the reduced form and the oxidised form. Keep the two labelled separately.
  9. Solve a simple mole problem with it. For a 500 mg tablet, convert to grams (0.500 g) and divide by 176.12 g/mol: that gives about 0.00284 mol, or 2.84 mmol. This is the calculation that turns a formula into a practical answer for solution-making or titration.
  10. Cross-check the whole answer. Re-read the question: does it ask for molecular formula, empirical formula, structure, molar mass or percentage composition? Answering the wrong one of these is the most common reason a correct calculation still loses marks.

Common Mistakes

Mixing up the molecular and empirical formulas is the first pitfall; C₃H₄O₃ is not the formula of the compound, only its simplest ratio. Writing the hydrogens as a single digit or dropping one hydroxyl group changes the count from C₆H₈O₆ to something that no longer balances. Using 12 or 16 as exact atomic weights is acceptable in a rough calculation but will cost precision, so use 12.01 and 16.00 unless you are told otherwise. Don't write the empirical formula and then use its molar mass for a mole calculation, because it is half the real value. And do not assume the salt forms (sodium or calcium ascorbate) share the acid's formula — they carry an extra metal atom and one fewer acidic hydrogen.

Tips

Write the formula element by element in the order C, H, O — that is the convention for organic compounds and it makes checking easier. If you draw the ring, number the carbons so you can point to the enediol group (the two adjacent carbons each bearing an OH), since that is where the two lost hydrogens come from during oxidation. Store the molar mass 176.12 g/mol in your notes: it is the number you will reuse for concentrations, titrations and dietary calculations. On a label, vitamin C is often given as ascorbic acid, sodium ascorbate or "vitamin C equivalent"; convert only after you know which form the label names. If you are working for an exam, show the tally, the molar mass sum and the percentage figures line by line, because partial credit is often awarded for the method even when a digit is wrong.

Troubleshooting

If your percentage composition does not add to roughly 100%, check for a rounding error or a mistyped atomic weight before anything else. If the structure you draw will not close into a five-membered ring with a two-carbon chain, count your carbons again — a six-carbon sugar chain is easy to misdraw as five or seven. If a practice answer key disagrees with your molar mass, compare the atomic weights used; 176.12 g/mol is standard, but a key built on whole-number weights (12 and 16) will show 176. If a mole calculation gives a wildly wrong answer, check that you converted milligrams to grams and did not divide by the empirical mass. If you are unsure which form of vitamin C a question means, look for words like "reduced", "oxidised", "sodium" or "calcium" before choosing the formula, and if the question is genuinely ambiguous, say which form you are assuming and why.

Frequently Asked Questions

What is the formula of ascorbic acid?

C₆H₈O₆ — six carbons, eight hydrogens and six oxygens, with a molar mass of about 176.12 g/mol.

Is the empirical formula the same as the molecular formula?

No. The molecular formula is C₆H₈O₆; the empirical formula is C₃H₄O₃, the simplest whole-number ratio.

What does ascorbic acid turn into when it oxidises?

It loses two hydrogens and becomes dehydroascorbic acid, C₆H₆O₆. The process is reversible in the body, which is why both forms count as vitamin C activity.

Is sodium ascorbate the same formula?

No. Sodium ascorbate is the salt, C₆H₇NaO₆, with one sodium atom replacing an acidic hydrogen. Read the supplement label to see which form it names.

How many moles are in 1 g of ascorbic acid?

About 0.00568 mol, from 1 ÷ 176.12. For 500 mg, that is about 0.00284 mol.

Why does the hydrogen count change in different formulas?

Because the two acidic hydrogens on the enediol group can be lost — to a base to form a salt, or to an oxidising agent to form dehydroascorbic acid. The carbon and oxygen counts stay the same.