| |

Elemental Analysis of Organic Compounds: Methods & Formulas

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

AttributeDetail
DefinitionDetection and percentage estimation of the elements in a compound
Two typesQualitative (which elements) and quantitative (how much of each)
Elements testedC, H, N, S, halogens (Cl, Br, I), P; O by difference
Key qualitative testLassaigne’s test (sodium fusion test)
Key quantitative methodsLiebig (C, H), Dumas and Kjeldahl (N), Carius (halogens, S)
Modern methodAutomated CHNS analyser (flash combustion)
Accepted accuracy in researchWithin ±0.4% of the calculated value [4]
Main outputsEmpirical formula, purity check, choice of next tests
Historic milestonesLiebig’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 analysisQuantitative elemental analysis
Question it answersWhich elements are present?What percentage of each element?
MethodsCuO test, Lassaigne’s testLiebig, Dumas, Kjeldahl, Carius, CHNS analyser
ResultPresent or absent% by mass
Used forChoosing the next testsEmpirical 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.

ElementProduct formedTestPositive result
CarbonCO₂ (C + 2CuO → 2Cu + CO₂)Lime water: CO₂ + Ca(OH)₂ → CaCO₃↓ + H₂OLime water turns milky
HydrogenH₂O (2H + CuO → Cu + H₂O)Anhydrous CuSO₄: CuSO₄ + 5H₂O → CuSO₄·5H₂OWhite 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 presentSodium salt formedEquation
NitrogenSodium cyanideNa + C + N → NaCN
SulphurSodium sulphide2Na + S → Na₂S
Halogen (X)Sodium halideNa + X → NaX
Nitrogen and sulphurSodium 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.

ElementReagent and methodPositive resultKey reaction
NitrogenBoil with FeSO₄, cool, acidify with dil. H₂SO₄Prussian blue colour or precipitate3[Fe(CN)₆]⁴⁻ + 4Fe³⁺ → Fe₄[Fe(CN)₆]₃
SulphurSodium nitroprussideViolet colourS²⁻ + [Fe(CN)₅NO]²⁻ → [Fe(CN)₅NOS]⁴⁻
SulphurAcetic acid, then lead acetateBlack precipitateS²⁻ + Pb²⁺ → PbS↓
N and S togetherDil. HCl, then FeCl₃Blood-red colourFe³⁺ + SCN⁻ → [Fe(SCN)]²⁺
ChlorineBoil with HNO₃, then AgNO₃White precipitate, soluble in NH₃Ag⁺ + Cl⁻ → AgCl↓
BromineBoil with HNO₃, then AgNO₃Pale yellow precipitate, partly soluble in NH₃Ag⁺ + Br⁻ → AgBr↓
IodineBoil with HNO₃, then AgNO₃Yellow precipitate, insoluble in NH₃Ag⁺ + I⁻ → AgI↓
PhosphorusFuse with Na₂O₂, boil with HNO₃, add ammonium molybdateYellow precipitateH₃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 observeWhat it tells youCompound classes to check next
Only C and H detectedContains C, H and possibly OAlcohols, phenols, aldehydes, ketones, acids, esters, ethers, hydrocarbons
Prussian blueContains nitrogenAmines, amides, anilides, nitro compounds, nitriles
Violet with nitroprussideContains sulphurThiols, thioethers, sulphonic acids
Blood red with FeCl₃Contains N and SThiourea, sulphonamides, amino acids such as cysteine
White precipitate soluble in NH₃Contains chlorineAlkyl or aryl chlorides, acid chlorides, chloroacids
Prussian blue and white precipitateContains N and ClChloroanilines, 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.

ElementMethodMeasured asFormula (m = mass of compound)
CarbonLiebigCO₂ absorbed in KOH%C = (12/44) × m(CO₂)/m × 100
HydrogenLiebigH₂O absorbed in CaCl₂%H = (2/18) × m(H₂O)/m × 100
NitrogenDumasN₂ volume at STP%N = (28/22400) × V₀/m × 100
NitrogenKjeldahlNH₃ titrated with acid%N = 1.4 × N × V/m
HalogenCariusAgX precipitate%X = (atomic mass of X / molar mass of AgX) × m(AgX)/m × 100
SulphurCariusBaSO₄ precipitate%S = (32/233) × m(BaSO₄)/m × 100
PhosphorusMagnesia mixtureMg₂P₂O₇%P = (62/222) × m(Mg₂P₂O₇)/m × 100
OxygenDifferenceNone%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⁻¹.

ElementPercentage÷ Atomic mass÷ SmallestRatio
C(12/44) × (0.440/0.230) × 100 = 52.17%4.3482.002
H(2/18) × (0.270/0.230) × 100 = 13.04%12.945.956
O100 − 65.21 = 34.78%2.1741.001

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

ProblemWorkingAnswer
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) × 10017.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.3046.67% N (matches urea, 46.65%)
Carius (halogen): 0.218 g gives 0.376 g AgBr%Br = (80/188) × (0.376/0.218) × 10073.39% Br (close to bromoethane, 73.3%)
Carius (sulphur): 0.20 g gives 0.466 g BaSO₄%S = (32/233) × (0.466/0.20) × 10032.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.

PointDumas methodKjeldahl method
Nitrogen converted toFree N₂ gas(NH₄)₂SO₄, then NH₃
Measured byGas volumeAcid–base titration
Works forAll nitrogen compoundsNot nitro, azo or ring nitrogen
Best forResearch and pharmaceutical compoundsFood, 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

HazardPrecaution
Sodium metalStore under kerosene, cut and handle with forceps, use a small piece only
Shattering fusion tubeWork behind a safety screen and wear goggles
HCN and H₂S gasBoil the extract with nitric acid only in a fume cupboard
Concentrated and fuming acidsWear gloves, goggles and a lab coat for Kjeldahl and Carius work
Sealed Carius tubes under pressureOpen only when fully cool, behind a shield, by trained staff
Silver, lead and barium wasteCollect separately and never pour it down the sink

Common Mistakes in Elemental Analysis

MistakeWhat goes wrongFix
Tap water used for the extractFalse chlorine resultUse distilled water
Nitric acid boil skippedCN⁻ and S²⁻ precipitate with AgNO₃Boil with dilute HNO₃ first
Too little sodiumNaSCN forms and Prussian blue failsUse excess sodium
Green colour taken as negativeNitrogen is missedRepeat with more extract and proper acidification
U-tubes swapped in Liebig’s methodKOH absorbs water as well, so %C comes out highPut CaCl₂ before KOH
Aqueous tension ignored%N comes out too highSubtract it before converting to STP
Kjeldahl used for nitro compoundsNitrogen comes out too lowUse 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

No. Elemental analysis gives the elements present and their percentages, which leads to the empirical formula, but it cannot tell isomers apart. Ethanol and dimethyl ether both give C₂H₆O. Solubility tests, functional group tests or spectroscopy are needed to confirm the structure.

Sodium is reactive enough to break the covalent bonds in the compound and form ionic NaCN, Na₂S, and NaX, yet calm enough to handle safely in a fusion tube. Potassium reacts far more violently with air and water, which makes the fusion and the quenching step dangerous.

Lassaigne’s extract is alkaline because the excess sodium reacts with water during quenching to form sodium hydroxide: 2Na + 2H₂O → 2NaOH + H₂. That is why the extract must be acidified before the lead acetate, iron(III) chloride and silver nitrate tests.

During fusion, fluorine is converted to sodium fluoride, but the silver nitrate test cannot detect it. Silver fluoride is soluble in water, so no precipitate forms. Fluorine is detected instead by other methods, such as ion-selective electrodes or mass spectrometry.

Kjeldahl digestion converts only reduced nitrogen, as in amines and amides, into ammonium sulphate. Nitrogen in nitro and azo groups, and nitrogen in aromatic rings such as pyridine, is not fully converted to ammonium sulphate under these conditions, so the method gives results that are too low.

Most chemistry journals accept found values within ±0.4% (absolute) of the calculated percentage for each element. In school and college practicals, agreement within about 0.5% is usually treated as good, as long as the sample was pure and dry.

Yes. Automated CHNS analyzers are routine in pharmaceutical, polymer, fuel, and food laboratories, and many journals still ask for elemental analysis of new compounds. NMR and mass spectrometry now determine structure, while elemental analysis confirms bulk composition and purity.

Lassaigne’s test is a classical qualitative test that shows whether N, S, or halogens are present. A CHNS analyzer is an automated quantitative instrument that measures the exact percentages of C, H, N, and S from a few milligrams of sample in one run.

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.

Similar Posts