Skip to content

Compound · 4 elements

Caffeine C₈H₁₀N₄O₂

The stimulant in coffee and tea.

Formula: C₈H₁₀N₄O₂

Molar mass: 194.19 g/mol

Elements: Carbon (C), Hydrogen (H), Nitrogen (N), Oxygen (O)

Molar mass, step by step

ElementAtomsAtomic massContribution (g/mol)Mass %
Carbon C812.01196.08849.48%
Hydrogen H101.008010.0805.19%
Nitrogen N414.00756.02828.85%
Oxygen O215.99931.99816.48%
Total194.194100%

Atomic masses: IUPAC/CIAAW 2024 abridged standard atomic weights. Open in the molar mass calculator → · What is a mole? →

Safety

The hazard classification for caffeine (GHS pictograms, signal word and H statements) is listed with its sources in PubChem’s safety section: PubChem, CID 2519 →. Element Atlas does not make its own hazard assessment.

Frequently asked questions

What is the formula of caffeine?

C₈H₁₀N₄O₂. Each formula unit contains 8 carbon, 10 hydrogen, 4 nitrogen, 2 oxygen atoms.

What is the molar mass of C₈H₁₀N₄O₂?

The molar mass of caffeine (C₈H₁₀N₄O₂) is 194.19 g/mol: 8 × C (12.011) + 10 × H (1.008) + 4 × N (14.007) + 2 × O (15.999).

What elements are in caffeine?

4 elements: carbon, hydrogen, nitrogen and oxygen. The largest share by mass is carbon (about 49.5%).

Related compounds

Nitric acid HNO₃Sodium bicarbonate NaHCO₃Glucose C₆H₁₂O₆Sucrose C₁₂H₂₂O₁₁Ethanol C₂H₅OHAcetic acid CH₃COOH

See also: all compounds, ionic compound formula, stoichiometry calculator.