Melatonin is a small molecule
Melatonin’s molecular formula is C13H16N2O2: one molecule contains 13 carbon atoms, 16 hydrogen atoms, two nitrogen atoms and two oxygen atoms. ChEBI records an average molecular mass of about 232.28. Melatonin is an indole-containing molecule with an acetamide group, not a protein assembled from a chain of amino-acid residues. [1]
A molecular formula counts atoms but does not show how they are connected. The structural description supplies that missing information. In melatonin, an indole ring system carries a methoxy group and a two-carbon side chain that ends in an acetamide arrangement. [1]
Reading N-acetyl-5-methoxytryptamine
The name N-acetyl-5-methoxytryptamine gives a compact description of the molecule. The tryptamine portion identifies the indole-containing backbone and its side chain. “5-methoxy” identifies a methoxy group at a particular position on the ring. “N-acetyl” identifies an acetyl group attached through the side-chain nitrogen. [1]
These terms are structural coordinates, not claims about how rapidly a supplement works. The same chemical identity can appear in different dosage forms. Capsule ingredients, release design and the amount taken are additional facts that a structural formula cannot reveal. [1]
How the structure connects to biosynthesis
In the body’s pathway, serotonin is converted to N-acetylserotonin, then to melatonin through a methylation step. That sequence helps explain the acetyl and methoxy features in the final molecule. It does not mean that taking any precursor will predictably increase melatonin or improve sleep. [2][3]
NCCIH describes melatonin as a hormone involved in circadian timing and sleep. Its physiological role is a separate level of explanation from its atomic structure. To understand a sleep product, you need both its identity and evidence about the intended use; knowing the formula alone answers neither the timing nor the safety question. [2][3]
Reading the formula without confusing units
For a hypothetical chemistry exercise, compare C13H16N2O2 with a bottle marked 1 mg per tablet. The formula describes each melatonin molecule; the milligram number describes the mass in the tablet. Neither the number 13 nor the molecular-mass value is a dose recommendation. Keeping formula, molecular mass and product amount in separate columns prevents a common category error. [1]
| Notation | Meaning |
|---|---|
| C13H16N2O2 | Atom counts in one molecule |
| About 232.28 g/mol | Molar mass, not a tablet amount |
| 1 mg per hypothetical tablet | A product quantity; no recommendation implied |

Sources for this article
- melatonin (CHEBI:16796)
Source consulted: 2026-09-20. This is a reference resource, not a claim that we conducted the studies or tested a product. - Physiology of the Pineal Gland and Melatonin - Endotext - NCBI Bookshelf
Source consulted: 2026-09-20. This is a reference resource, not a claim that we conducted the studies or tested a product. - Melatonin: What You Need To Know | NCCIH
Source consulted: 2026-09-20. This is a reference resource, not a claim that we conducted the studies or tested a product.