MoleculeSensei
EN

Diazomethane

CH₂N₂

Diazomethane (CH₂N₂) is an organic compound with an azo group and a diazo group. A yellow, toxic and explosive gas used in the lab to convert carboxylic acids into methyl esters.

Updated 3–5 min readFree 3D model, no sign-upSources

Show

Appearance

MoleculeSensei

Diazomethane. Drag to rotate; click the model, then scroll or use + and − to zoom; click an atom to identify it.

PubChem 3D conformer (CID 9550), a computed low-energy shape; flexible molecules adopt many conformations.

Key points

  • Molecular formula CH₂N₂; molar mass 42.04 g/mol.
  • Functional groups: azo group and diazo group.
  • Carbon hybridization: 1 sp².
  • 0 H-bond donors and 1 acceptors.

Structure of diazomethane

Diazomethane has the molecular formula CH₂N₂: 1 carbon atom, 2 hydrogen atoms and 2 nitrogen atoms, with no rings. Its systematic (IUPAC) name is diazomethane.

N+N−CHH
Lewis structure: every atom, bond and lone pair.

The Lewis structure shows every atom and lone pair. Switch to the 3D model to see how the atoms are arranged in space.

CH₂N₂ Lewis structure

Count valence electrons: 2 × 5 (N), 1 × 4 (C) and 2 × 1 (H) = 16. Carbon forms four bonds, nitrogen three, hydrogen one.

The structure uses 4 bonds (12 electrons) and 2 lone pairs (4 electrons): 12 + 4 = 16.

Shape and hybridization

Diazomethane contains 1 sp² carbon atom. sp³ carbons are tetrahedral (about 109.5°), sp² carbons trigonal planar (about 120°) and sp carbons linear (180°).

NNCHHSchematic 3D framework projection
Projection of the specified model; rotate the interactive view to inspect depth.

There are no freely rotatable single bonds between heavy atoms, so the shape is fairly rigid.

Functional groups

azo group (an N=N double bond between two carbon groups) and diazo group (a C=N⁺=N⁻ unit).

Functional groups decide most of a molecule’s reactions and physical properties; the carbon skeleton mainly sets its size and shape.

Polarity and intermolecular forces

Diazomethane is polar: its polar bonds are not arranged symmetrically. It has no hydrogen-bond donors but 1 acceptor site, so it can accept hydrogen bonds from water.

Its XLogP3 of 1.6 indicates moderate lipophilicity.

About diazomethane

A yellow, toxic and explosive gas used in the lab to convert carboxylic acids into methyl esters. It is usually generated in solution just before use. The C-N-N unit is linear, and its bonding is described by resonance between charge-separated forms.

Structure data: PubChem CID 9550, 3D conformer generated by PubChem (MMFF94s). Model atoms are coloured by element; hydrogens are shown.

Common questions

What is the molecular formula of Diazomethane?

CH₂N₂, with a molar mass of 42.04 g/mol.

How many valence electrons are in CH₂N₂?

16.

What functional groups does Diazomethane have?

Azo group and diazo group.

Is Diazomethane chiral?

No. It has no stereocentre.

Is Diazomethane polar?

Yes. Its bond dipoles do not cancel.