Elemental Analysis of Organic Compounds: Steps, Tests, and Formulas
Elemental analysis finds out which elements an organic compound contains and what percentage of each is present. It is the second step in identifying any unknown organic compound.
This guide covers every step, from Lassaigne’s test to the Kjeldahl and Carius methods, with solved numericals.
Elemental analysis of an organic compound is done in two stages. Qualitative analysis detects the elements carbon and hydrogen with copper(II) oxide, and nitrogen, sulphur, halogens and phosphorus with Lassaigne’s sodium fusion test. Quantitative analysis then measures each element’s percentage using the Liebig, Dumas, Kjeldahl and Carius methods, and oxygen is found by difference.
Elemental Analysis at a Glance
| Attribute | Detail |
| Definition | Detection and percentage estimation of the elements in a compound |
| Two types | Qualitative (which elements) and quantitative (how much of each) |
| Elements tested | C, H, N, S, halogens (Cl, Br, I), P; O by difference |
| Key qualitative test | Lassaigne’s test (sodium fusion test) |
| Key quantitative methods | Liebig (C, H), Dumas and Kjeldahl (N), Carius (halogens, S) |
| Modern method | Automated CHNS analyser (flash combustion) |
| Accepted accuracy in research | Within ±0.4% of the calculated value [4] |
| Main outputs | Empirical formula, purity check, choice of next tests |
| Historic milestones | Liebig’s apparatus 1831 [1]; Kjeldahl method 1883 [2]; Pregl’s Nobel Prize 1923 [3] |
What Is Elemental Analysis?
Elemental analysis is the set of laboratory methods used to identify the elements in a compound and measure their mass percentages. In organic chemistry the term usually means CHN or CHNS analysis, plus tests for halogens, phosphorus and oxygen.
| Qualitative elemental analysis | Quantitative elemental analysis | |
| Question it answers | Which elements are present? | What percentage of each element? |
| Methods | CuO test, Lassaigne’s test | Liebig, Dumas, Kjeldahl, Carius, CHNS analyser |
| Result | Present or absent | % by mass |
| Used for | Choosing the next tests | Empirical formula, purity |
Why Is Elemental Analysis Done?
Elemental analysis is done to narrow down what an unknown compound could be before you test for functional groups. It has three practical jobs:
• Rule compounds in or out. No nitrogen means you can skip amines, amides, nitriles and nitro compounds.
• Give the empirical formula. Percentages lead straight to the simplest whole-number ratio of atoms.
• Check purity. A new compound whose results differ from the calculated values is likely to contain solvent or salt.
In the seven-step method for identifying organic compounds, elemental analysis comes right after the preliminary examination and before the solubility tests.
What Are the Steps of Elemental Analysis?
The steps of elemental analysis are:
1. Prepare the sample: make it pure and completely dry.
2. Detect carbon and hydrogen: heat with dry copper(II) oxide.
3. Prepare Lassaigne’s extract: fuse the compound with sodium metal.
4. Test the extract: check for nitrogen, sulphur, halogens and phosphorus.
5. Estimate each element: use Liebig, Dumas or Kjeldahl, and Carius methods.
6. Find oxygen by difference: subtract all other percentages from 100.
7. Calculate the formula: convert percentages into the empirical and molecular formula.
Step 1: How Do You Prepare the Sample?
The sample must be pure and completely dry, because every later step assumes it contains nothing but the compound. Water raises the hydrogen and oxygen results, and leftover solvent shifts the carbon value.
• Dry solids in a desiccator or in an oven kept well below their melting point.
• Confirm purity with a sharp melting point (a range of 1–2 °C).
• Weigh accurately on an analytical balance, to at least three decimal places.
Lab tip: Analytical labs reject samples that still smell of solvent. University services ask for samples that are as pure as possible and completely dry, because trace solvents distort the results
Step 2: How Are Carbon and Hydrogen Detected?
Carbon and hydrogen are detected by heating the compound with dry copper(II) oxide. Carbon is oxidised to carbon dioxide, which turns lime water milky, and hydrogen is oxidised to water, which turns anhydrous copper(II) sulphate blue.
| Element | Product formed | Test | Positive result |
| Carbon | CO₂ (C + 2CuO → 2Cu + CO₂) | Lime water: CO₂ + Ca(OH)₂ → CaCO₃↓ + H₂O | Lime water turns milky |
| Hydrogen | H₂O (2H + CuO → Cu + H₂O) | Anhydrous CuSO₄: CuSO₄ + 5H₂O → CuSO₄·5H₂O | White powder turns blue |
Procedure: mix about 0.1 g of the compound with ten times its mass of dry CuO in a hard-glass tube. Fit a delivery tube into lime water, place anhydrous CuSO₄ near the mouth of the tube, and heat strongly.
Lab tip: Heat the CuO beforehand and cool it in a desiccator. Damp CuO turns the copper sulphate blue even when the compound has no hydrogen, as with CCl₄.
Step 3: What Is Lassaigne’s Test and How Is the Extract Made?
Lassaigne’s test (the sodium fusion test) converts covalently bonded nitrogen, sulphur and halogens into water-soluble ionic salts by fusing the compound with sodium metal. The solution formed, called Lassaigne’s extract, can then be tested with ordinary ionic reagents [7].
This step is needed because covalent elements don’t react with ionic test reagents. Chlorobenzene, for example, gives no precipitate with silver nitrate until it has been fused with sodium.
What forms during fusion:
| Element present | Sodium salt formed | Equation |
| Nitrogen | Sodium cyanide | Na + C + N → NaCN |
| Sulphur | Sodium sulphide | 2Na + S → Na₂S |
| Halogen (X) | Sodium halide | Na + X → NaX |
| Nitrogen and sulphur | Sodium thiocyanate (if sodium is limited) | Na + C + N + S → NaSCN |
How to prepare Lassaigne’s extract:
1. Heat a split-pea-sized piece of dry sodium in a fusion tube until it melts.
2. Add about 50 mg of the compound and heat until the tube is red hot.
3. Plunge the hot tube into 10–15 mL of distilled water in a china dish, where it shatters.
4. Boil for a few minutes, crush the glass and filter. The clear, alkaline filtrate is Lassaigne’s extract.
Lab tip: Use distilled water only. Tap water contains chloride ions that give a false positive in the halogen test.
Step 4: How Do You Test Lassaigne’s Extract?
Lassaigne’s extract is tested in separate portions: iron(II) sulphate for nitrogen, sodium nitroprusside or lead acetate for sulphur, iron(III) chloride when nitrogen and sulphur are both present, and silver nitrate for halogens. Phosphorus needs its own fusion with sodium peroxide.
| Element | Reagent and method | Positive result | Key reaction |
| Nitrogen | Boil with FeSO₄, cool, acidify with dil. H₂SO₄ | Prussian blue colour or precipitate | 3[Fe(CN)₆]⁴⁻ + 4Fe³⁺ → Fe₄[Fe(CN)₆]₃ |
| Sulphur | Sodium nitroprusside | Violet colour | S²⁻ + [Fe(CN)₅NO]²⁻ → [Fe(CN)₅NOS]⁴⁻ |
| Sulphur | Acetic acid, then lead acetate | Black precipitate | S²⁻ + Pb²⁺ → PbS↓ |
| N and S together | Dil. HCl, then FeCl₃ | Blood-red colour | Fe³⁺ + SCN⁻ → [Fe(SCN)]²⁺ |
| Chlorine | Boil with HNO₃, then AgNO₃ | White precipitate, soluble in NH₃ | Ag⁺ + Cl⁻ → AgCl↓ |
| Bromine | Boil with HNO₃, then AgNO₃ | Pale yellow precipitate, partly soluble in NH₃ | Ag⁺ + Br⁻ → AgBr↓ |
| Iodine | Boil with HNO₃, then AgNO₃ | Yellow precipitate, insoluble in NH₃ | Ag⁺ + I⁻ → AgI↓ |
| Phosphorus | Fuse with Na₂O₂, boil with HNO₃, add ammonium molybdate | Yellow precipitate | H₃PO₄ + 12(NH₄)₂MoO₄ + 21HNO₃ → (NH₄)₃PO₄·12MoO₃ + 21NH₄NO₃ + 12H₂O |
Why Does the Nitrogen Test Give Prussian Blue?
Cyanide ions from the extract combine with Fe²⁺ to form hexacyanidoferrate(II), [Fe(CN)₆]⁴⁻. Boiling oxidises some Fe²⁺ to Fe³⁺, and the two ions join to form iron(III) hexacyanidoferrate(II), the pigment known as Prussian blue.
Why Is the Extract Boiled with Nitric Acid Before the Halogen Test?
Boiling with nitric acid removes cyanide and sulphide ions as HCN and H₂S gas. If they stayed, they would react with silver nitrate and give precipitates that look like a halogen result.
NaCN + HNO₃ → NaNO₃ + HCN↑ and Na₂S + 2HNO₃ → 2NaNO₃ + H₂S↑
Why Does a Blood-Red Colour Appear Instead of Prussian Blue?
A blood-red colour means nitrogen and sulphur are both present and too little sodium was used, so they formed thiocyanate (SCN⁻) instead of separate cyanide and sulphide. Using excess sodium prevents this: NaSCN + 2Na → NaCN + Na₂S.
How Do You Interpret the Results?
Combine the test results to decide which class of compound to test for next. Here is how typical results translate:
| Results you observe | What it tells you | Compound classes to check next |
| Only C and H detected | Contains C, H and possibly O | Alcohols, phenols, aldehydes, ketones, acids, esters, ethers, hydrocarbons |
| Prussian blue | Contains nitrogen | Amines, amides, anilides, nitro compounds, nitriles |
| Violet with nitroprusside | Contains sulphur | Thiols, thioethers, sulphonic acids |
| Blood red with FeCl₃ | Contains N and S | Thiourea, sulphonamides, amino acids such as cysteine |
| White precipitate soluble in NH₃ | Contains chlorine | Alkyl or aryl chlorides, acid chlorides, chloroacids |
| Prussian blue and white precipitate | Contains N and Cl | Chloroanilines, chloronitrobenzenes |
Step 5: How Is Each Element Estimated Quantitatively?
Each element is converted completely into a simple compound that can be weighed or measured, and its percentage is calculated from that compound’s formula. The method depends on the element.
| Element | Method | Measured as | Formula (m = mass of compound) |
| Carbon | Liebig | CO₂ absorbed in KOH | %C = (12/44) × m(CO₂)/m × 100 |
| Hydrogen | Liebig | H₂O absorbed in CaCl₂ | %H = (2/18) × m(H₂O)/m × 100 |
| Nitrogen | Dumas | N₂ volume at STP | %N = (28/22400) × V₀/m × 100 |
| Nitrogen | Kjeldahl | NH₃ titrated with acid | %N = 1.4 × N × V/m |
| Halogen | Carius | AgX precipitate | %X = (atomic mass of X / molar mass of AgX) × m(AgX)/m × 100 |
| Sulphur | Carius | BaSO₄ precipitate | %S = (32/233) × m(BaSO₄)/m × 100 |
| Phosphorus | Magnesia mixture | Mg₂P₂O₇ | %P = (62/222) × m(Mg₂P₂O₇)/m × 100 |
| Oxygen | Difference | None | %O = 100 − (sum of all other %) |
How Does Liebig’s Method Estimate Carbon and Hydrogen?
Liebig’s method burns a weighed sample in dry oxygen over hot copper(II) oxide and traps the products. Water is absorbed in a U-tube of anhydrous CaCl₂, then CO₂ in concentrated KOH (2KOH + CO₂ → K₂CO₃ + H₂O). The mass gained by each tube gives the mass of H₂O and CO₂.
The CaCl₂ tube must come first, because KOH would absorb water as well as CO₂. If the compound contains nitrogen or halogens, a hot copper gauze or silver gauze removes them before they reach the absorbers.
How Does the Dumas Method Estimate Nitrogen?
The Dumas method heats the compound with copper(II) oxide in a CO₂ atmosphere, releasing nitrogen as N₂ gas. The gases are collected over 50% KOH in a nitrometer, where KOH absorbs the CO₂ so only nitrogen remains to be measured.
CₓHᵧN_z + (2x + y/2)CuO → xCO₂ + (y/2)H₂O + (z/2)N₂ + (2x + y/2)Cu
Correct the volume for aqueous tension and convert it to STP before using the formula: V₀ = [(P − aqueous tension) × V × 273] / (760 × T). The Dumas method works for every kind of organic nitrogen.
How Does Kjeldahl’s Method Estimate Nitrogen?
Kjeldahl’s method converts organic nitrogen into ammonium sulphate, releases it as ammonia, and measures the ammonia by titration. Johan Kjeldahl introduced it in 1883, and it is still the standard method for protein in food and nitrogen in fertilisers [2].
1. Digestion: heat with concentrated H₂SO₄, plus K₂SO₄ to raise the boiling point and CuSO₄ as a catalyst. Nitrogen becomes (NH₄)₂SO₄.
2. Distillation: add excess NaOH: (NH₄)₂SO₄ + 2NaOH → Na₂SO₄ + 2NH₃ + 2H₂O.
3. Titration: absorb the NH₃ in a known volume of standard acid, then back-titrate the leftover acid with standard NaOH.
In the formula, N is the normality of the acid and V is the volume of acid (in mL) that the ammonia neutralised. The method does not work for nitro and azo groups or for nitrogen in a ring, such as pyridine, because these are not converted into ammonium sulphate.
How Does the Carius Method Estimate Halogens and Sulphur?
The Carius method heats the compound with fuming nitric acid in a sealed hard-glass tube. Halogens end up as silver halide when silver nitrate is present, and sulphur is oxidised to sulphuric acid, then precipitated with barium chloride as BaSO₄. The precipitate is filtered, dried and weighed.
Use these mass ratios in the halogen formula: Cl 35.5/143.5, Br 80/188 and I 127/235.
How Are Phosphorus and Oxygen Estimated?
Phosphorus is oxidised to phosphoric acid and weighed either as ammonium phosphomolybdate, using %P = (31/1877) × mass/m × 100, or as Mg₂P₂O₇. Oxygen is usually found by difference.
Oxygen can also be measured directly by the Aluise (Unterzaucher) method: the compound is pyrolysed, its oxygen is converted to CO over hot carbon, and the CO reacts with iodine pentoxide (5CO + I₂O₅ → 5CO₂ + I₂). The difference method is quicker, but it adds up the errors of every other result.
Step 6: How Do You Calculate the Empirical Formula?
To get the empirical formula, divide each element’s percentage by its atomic mass, divide every result by the smallest value, and round to whole numbers. Multiplying by molar mass ÷ empirical formula mass then gives the molecular formula.
Worked example: 0.230 g of a compound containing C, H and O gave 0.440 g of CO₂ and 0.270 g of H₂O. Its molar mass is 46 g mol⁻¹.
| Element | Percentage | ÷ Atomic mass | ÷ Smallest | Ratio |
| C | (12/44) × (0.440/0.230) × 100 = 52.17% | 4.348 | 2.00 | 2 |
| H | (2/18) × (0.270/0.230) × 100 = 13.04% | 12.94 | 5.95 | 6 |
| O | 100 − 65.21 = 34.78% | 2.174 | 1.00 | 1 |
The empirical formula is C₂H₆O, with a mass of 46, the same as the molar mass, so the molecular formula is also C₂H₆O. The results agree with ethanol’s calculated values (C 52.14%, H 13.13%) to within 0.1%.
Elemental analysis can’t distinguish ethanol from its isomer dimethyl ether, because both are C₂H₆O. That is why the mole concept gets you the formula, but functional group tests are still needed to get the structure.
Solved Numericals on Elemental Analysis
| Problem | Working | Answer |
| Dumas: 0.25 g gives 40.0 mL N₂ at 300 K and 750 mm Hg (aqueous tension 27 mm) | V₀ = (723 × 40.0 × 273)/(760 × 300) = 34.63 mL; %N = (28/22400) × (34.63/0.25) × 100 | 17.31% N |
| Kjeldahl: NH₃ from 0.30 g neutralises 20.0 mL of 0.5 N H₂SO₄ | %N = (1.4 × 0.5 × 20.0)/0.30 | 46.67% N (matches urea, 46.65%) |
| Carius (halogen): 0.218 g gives 0.376 g AgBr | %Br = (80/188) × (0.376/0.218) × 100 | 73.39% Br (close to bromoethane, 73.3%) |
| Carius (sulphur): 0.20 g gives 0.466 g BaSO₄ | %S = (32/233) × (0.466/0.20) × 100 | 32.0% S |
Exam tip: After solving, compare your answer with a real compound that would fit. If your percentages add up to more than 100%, recheck the formula factors and units.
Dumas or Kjeldahl: Which Method Should You Use?
Use the Dumas method for any nitrogen compound, especially nitro, azo, or heterocyclic ones. Use Kjeldahl’s method for routine analysis of many samples, such as food protein, fertilizers, and soil.
| Point | Dumas method | Kjeldahl method |
| Nitrogen converted to | Free N₂ gas | (NH₄)₂SO₄, then NH₃ |
| Measured by | Gas volume | Acid–base titration |
| Works for | All nitrogen compounds | Not nitro, azo or ring nitrogen |
| Best for | Research and pharmaceutical compounds | Food, fertilisers, soil |
How Do Modern CHNS Analysers Work?
A CHNS analyser burns a few milligrams of sample at about 1000 °C in pure oxygen, then separates and measures the resulting CO₂, H₂O, N₂ and SO₂ automatically. Each run takes a few minutes and reports all four percentages together.
After combustion, the gases pass over hot copper, which removes excess oxygen and reduces nitrogen oxides to N₂ [9]. They are then separated by gas chromatography and measured with a thermal conductivity detector.
Most chemistry journals require new compounds to give results within ±0.4% of the calculated values [4]. However, a 2022 study in ACS Central Science sent the same five compounds to 18 laboratories and found that more than 10% of the carbon and nitrogen results fell outside that limit [4]. So even professionals treat elemental analysis as one piece of evidence, alongside NMR and mass spectrometry.
What Are the Limitations of Elemental Analysis?
Elemental analysis gives a compound’s composition but not its structure, so isomers give identical results. The classical tests also have specific blind spots:
• Fluorine can’t be detected with silver nitrate because AgF is soluble in water.
• Volatile liquids can evaporate before they fuse with sodium, giving false negatives.
• Diazonium salts lose nitrogen as N₂ on heating, so they can fail the nitrogen test.
• Kjeldahl’s method misses nitro, azo, and ring nitrogen.
• Oxygen found by difference carries the errors of every other measurement.
Safety Precautions
| Hazard | Precaution |
| Sodium metal | Store under kerosene, cut and handle with forceps, use a small piece only |
| Shattering fusion tube | Work behind a safety screen and wear goggles |
| HCN and H₂S gas | Boil the extract with nitric acid only in a fume cupboard |
| Concentrated and fuming acids | Wear gloves, goggles and a lab coat for Kjeldahl and Carius work |
| Sealed Carius tubes under pressure | Open only when fully cool, behind a shield, by trained staff |
| Silver, lead and barium waste | Collect separately and never pour it down the sink |
Common Mistakes in Elemental Analysis
| Mistake | What goes wrong | Fix |
| Tap water used for the extract | False chlorine result | Use distilled water |
| Nitric acid boil skipped | CN⁻ and S²⁻ precipitate with AgNO₃ | Boil with dilute HNO₃ first |
| Too little sodium | NaSCN forms and Prussian blue fails | Use excess sodium |
| Green colour taken as negative | Nitrogen is missed | Repeat with more extract and proper acidification |
| U-tubes swapped in Liebig’s method | KOH absorbs water as well, so %C comes out high | Put CaCl₂ before KOH |
| Aqueous tension ignored | %N comes out too high | Subtract it before converting to STP |
| Kjeldahl used for nitro compounds | Nitrogen comes out too low | Use the Dumas method |
Exam Corner: MCQs and Memory Tricks
Memory tricks
• U-tube order: “Water first, then CO₂”, so CaCl₂ comes before KOH.
• Silver halides: white, pale yellow, yellow for Cl, Br, I, getting darker and less soluble in ammonia down the group.
• Carius factors: Cl 35.5/143.5, Br 80/188, I 127/235, S 32/233.
ORGANIC CHEMISTRY MCQs
Lassaigne’s extract is prepared by fusing the compound with:
(a) potassium
(b) sodium
(c) calcium
(d) magnesium.
Answer: (b)
Explanation: Sodium converts covalent N, S and X into ionic salts.
Prussian blue is:
(a) Fe(CN)
(b)Na₄[Fe(CN)₆]
(c) Fe₄[Fe(CN)₆]₃
(d) Fe(SCN)₃
Answer: (c)
Explanation: Prussian blue is ferric ferrocyanide, with the chemical formula Fe₄[Fe(CN)₆]₃. It is formed when ferric ions (Fe³⁺) react with ferrocyanide ions [Fe(CN)₆]⁴⁻, producing a deep blue precipitate. It is used in Lassaigne’s test to detect nitrogen in organic compounds.
3. Before the halogen test, the extract is boiled with:
(a) dil. HCl
(b) dil. HNO₃
(c) dil. H₂SO₄
(d) acetic acid
Answer: (b)
Explanation: HNO₃ removes CN⁻ and S²⁻ without adding chloride ions.
In the Carius method, sulphur is weighed as:
(a) PbS
(b) Na₂S
(c) BaSO₄
(d) H₂SO₄
Answer: (c)
Explanation: In the Carius method, sulphur is oxidised to sulphuric acid and then precipitated as barium sulphate (BaSO₄) by adding barium chloride. The precipitate is filtered, dried, and weighed to determine the sulphur content.
FAQs Related to Elemental Analysis
Key Takeaways
• Elemental analysis has two stages: detection (qualitative) and percentage estimation (quantitative).
• Carbon and hydrogen are detected with CuO; N, S and halogens with Lassaigne’s sodium fusion test.
• Nitrogen is estimated by the Dumas or Kjeldahl method, halogens and sulphur by the Carius method.
• Oxygen is usually found by difference.
• The percentages give the empirical formula, but not the structure.
Once you know the elements, the next step is solubility classification, covered in our guide to identifying organic compounds step by step. More lab guides are in the organic chemistry section.


