📘 CodingMarble Learn

Painkillers: How Aspirin Is Made and Checked

Drug molecules are built from functional groups such as -OH, -COOH, ester and amide. Retrosynthesis works backwards from the target. Aspirin is made by acetylating the -OH of salicylic acid with acetic anhydride (an ester forms by addition then elimination, with an acid catalyst). Purity is checked by melting point, an iron(III) chloride test and thin-layer chromatography, where Rf = distance of spot / distance of solvent front.

🎬 Step-by-step story

  1. This is salicylic acid. A six-carbon ring carries an OH group (purple) and a COOH group (red). It comes from willow bark but hurts the stomach.
  2. Chemists think backwards. To make aspirin (target), they ask: which two simple molecules can join to give it? Answer: salicylic acid and acetic anhydride.
  3. Watch the exchange. Acetic anhydride hands its acetyl piece to the OH on the ring. The OH becomes an ester, and acetic acid leaves.
  4. Compare two groups. Aspirin has an ester (orange) and an acid. Paracetamol has an amide (green) and an OH. Ester and amide are both made from an acid-type piece.
  5. Is the product pure? On a TLC plate the crude sample shows two spots, the pure sample shows one. Rf is how far the spot travelled compared with the solvent.
  6. Your turn. Slide the spot distance and the solvent distance, and watch Rf = spot / solvent change. Pure aspirin sits near 0.55.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why does salicylic acid change into aspirin?

Its -OH takes an acetyl piece from acetic anhydride and becomes an ester. Watch the piece move across in the 3D.

Why do chemists plan backwards?

The target is known, so it is easier to ask which simple molecules can join to make it. The arrow in step 1 shows the plan.

How do I see the -OH and -COOH in the molecule?

The purple halo is the phenol -OH, the red halo is the -COOH.

How is an amide different from an ester?

An amide has nitrogen (-CONH-), an ester has oxygen (-COO-). Compare the green and orange halos.

Why does the crude sample show two spots?

It contains aspirin and left-over salicylic acid. They stick to the plate differently, so they travel different distances.

Can Rf change?

Yes, with a different solvent or plate. Slide the distances to see it, but for the same conditions it is fixed.

Functional groups in drug molecules

A functional group is a small group of atoms that decides how a molecule behaves. A drug works because its groups fit and react in the body. Four are important here:

Salicylic acid has a phenol -OH and a -COOH. Aspirin (acetylsalicylic acid) has an ester and a -COOH. Paracetamol has a phenol -OH and an amide. Ibuprofen has a -COOH.

Simple retrosynthesis

Retrosynthesis means planning a synthesis backwards. You start from the target molecule, find the bond you can make easily, and break it on paper to see which simple starting molecules you need. We draw this with an open arrow pointing from target to starting materials.

Aspirin: the ester bond is the one we can make. Break it on paper and you get the alcohol-type piece (the -OH of salicylic acid) and an acetyl piece. A safe, cheap source of acetyl is acetic anhydride. Paracetamol: break the amide bond and you get 4-aminophenol and an acetyl source.

Ester and amide formation: the mechanism

Both reactions are nucleophilic acyl substitution. The mechanism has two parts: addition then elimination.

  1. The carbonyl carbon (C=O) of the acetyl group is slightly positive. The oxygen of the -OH (or the nitrogen of an -NH2) has a lone pair and attacks this carbon. This is the nucleophile.
  2. The C=O bond opens and a short-lived tetrahedral intermediate forms.
  3. The C=O bond reforms and the leaving group (here acetate, from the anhydride) leaves. A proton moves. The product is an ester (from -OH) or an amide (from -NH2), and acetic acid is the by-product.

A few drops of strong acid (phosphoric or sulfuric) act as a catalyst: they make the carbonyl carbon even more positive so the attack is faster. Amines are better nucleophiles than alcohols, so amide formation is easier.

Extracting and synthesising aspirin

Where it started: bark of the willow tree (Salix) contains salicin, which the body turns into salicylic acid. People used it for pain for centuries, but it irritates the stomach. Chemists changed the -OH into an ester, which gave the gentler aspirin.

Lab synthesis (typical school scale):

  1. Put 2.0 g salicylic acid in a dry flask. Add 4 mL acetic anhydride and 4-5 drops of concentrated phosphoric acid (in a fume cupboard, with goggles and gloves).
  2. Warm gently in a water bath at about 70 °C for 10-15 minutes.
  3. Add cold water carefully to destroy extra anhydride, then cool in ice so crystals form.
  4. Filter the crystals with suction, wash with cold water and dry.
  5. Recrystallise from an ethanol-water mixture to make it purer.

Yield. Molar masses: salicylic acid 138 g/mol, aspirin 180 g/mol, ratio 1:1. From 2.0 g: 2.0 / 138.1 = 0.0145 mol, so the theoretical mass is 0.0145 x 180.2 = 2.61 g. Percent yield = actual / theoretical x 100.

Purity checks: melting point, chromatography and Rf

Melting point. Pure aspirin melts sharply near 135 °C. Impure samples melt lower and over a range. Iron(III) chloride test. Left-over salicylic acid (a phenol) turns purple; pure aspirin stays yellow-brown.

Thin-layer chromatography (TLC). Put small spots of the samples on a pencil line on a silica plate. Stand the plate in a little solvent. The solvent climbs and carries each substance a different distance, because some stick to the silica more than others. When the solvent is near the top, mark the solvent front.

Rf = distance moved by the spot / distance moved by the solvent front. It is always between 0 and 1 and has no unit. Under the same conditions, the same substance gives the same Rf, so you can compare a sample spot with a known reference. One spot suggests a pure sample; two or more spots mean a mixture.

Try it

Safe version at home: draw a pencil line on a coffee filter strip, put a dot of black felt-tip ink on it, stand the strip in 1 cm of water and watch the colours separate. Measure the distance of one colour and of the water front, then divide to find its Rf. In the 3D, move the sliders and see how Rf changes.

Key formulas and definitions

Worked examples

1. A spot travels 3.3 cm and the solvent front travels 6.0 cm. Find Rf.

Rf = 3.3 / 6.0 = 0.55.

2. Name the functional groups in aspirin.

A benzene ring, an ester (-OCOCH3) and a carboxylic acid (-COOH).

3. How many moles of aspirin form from 2.0 g of salicylic acid (M = 138 g/mol), if the reaction is 1:1?

Moles of salicylic acid = 2.0 / 138 = 0.0145 mol, so 0.0145 mol of aspirin (at 100% yield).

4. Find the theoretical mass of aspirin (M = 180 g/mol) from 2.0 g salicylic acid.

0.0145 mol x 180 g/mol = 2.61 g.

5. A student gets 1.8 g of aspirin from a theoretical 2.61 g. Find the percent yield.

1.8 / 2.61 x 100 = 69%.

6. A TLC plate of crude aspirin shows spots at Rf 0.55 and 0.30. The pure reference gives one spot at 0.55. What does this tell you?

The 0.55 spot matches aspirin. The 0.30 spot is another substance (probably left-over salicylic acid), so the crude sample is impure.

Common mistakes

Practice quiz

1. Which group is in aspirin besides -COOH?
2. Retrosynthesis means:
3. Rf is:
4. Which reagent gives the acetyl group to salicylic acid?
5. Two spots on a TLC plate of the product show that it is:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

How is aspirin made from salicylic acid?

Salicylic acid is warmed with acetic anhydride and a little acid catalyst. The -OH group becomes an ester (acetyl group added) and acetic acid is formed.

What is the Rf value?

It is the distance moved by a spot divided by the distance moved by the solvent front on a chromatography plate. It lies between 0 and 1.

What is the difference between an ester and an amide?

An ester comes from an acid and an alcohol (-OH); an amide comes from an acid and an amine (-NH2). Amides are more stable.

Where this is taught

Germany (Bavaria)Jahrgangsstufe 11Pharmacy

Learn first

Learn next

Related lessons

All Chemistry lessons