Caffeine (C₈H₁₀N₄O₂)

The chemical formula of caffeine is C₈H₁₀N₄O₂. It is classed as an organic compound.

Its molar mass (mass of one mole), calculated from standard atomic weights, is about 194.19 g/mol.

At room temperature (25 °C, 1 atm) it is a solid.

A compound found in coffee and tea leaves.

FormulaC8H10N4O2
Molar mass (g/mol)194.19
TypeOrganic compound
State at 25 °Csolid
Japanese nameカフェイン
PubChem CID2519

Elements and number of atoms

ElementAtomsAtomic weightSubtotal
C Carbon812.01196.088
H Hydrogen101.00810.080
N Nitrogen414.00756.028
O Oxygen215.99931.998

Molar mass calculation

12.011×8 + 1.008×10 + 14.007×4 + 15.999×2 = 194.19 g/mol

Molar masses are calculated from the IUPAC abridged standard atomic weights and shown to two decimal places.

This guide is for looking up names and formulas. It does not give preparation methods or experiment procedures. Always handle chemicals according to their labels and your teacher's instructions.

Related: Organic compound

← Previous: Calcium chlorideNext: Ascorbic acid (vitamin C) →

Frequently asked questions

What is the formula of caffeine?
C₈H₁₀N₄O₂.
What is C₈H₁₀N₄O₂?
It is the formula of caffeine.
What is the molar mass of caffeine?
About 194.19 g/mol.

Learn with a quiz Back to the list

Sources

Checked: 2026-11-30