ComparisonEveryday science

Nitrogen vs Oxygen: The Two Main Gases in the Air Compared

Photograph of oxygen, the element with atomic number 8
Photograph of oxygen, the element with atomic number 8. Image: James St. John (CC BY 2.0), via Wikimedia Commons

Nitrogen (N) and oxygen (O) are the two main gases in Earth’s air, together making up about 99% of dry air by volume. Nitrogen is the more common gas, and it is mostly unreactive. Oxygen is reactive and is needed for breathing and burning. Both exist as diatomic molecules, N2 and O2.

Nitrogen vs Oxygen at a glance

FeatureNitrogenOxygen
Share of dry air78.08% by volume20.95% by volume
Bond between the two atomsTriple bond, about 945 kJ/molDouble bond, about 498 kJ/mol
ReactivityUnreactive at room temperature, so it is called inertReactive, supports burning, rusting and respiration
Boiling point−195.79 °C (−320.42 °F)−182.96 °C (−297.33 °F)
Color of the liquidColorlessPale blue
MagnetismNot attracted to a magnet (diamagnetic)Weakly attracted to a magnet (paramagnetic)
Role in living thingsPart of proteins and DNAUsed in respiration to release energy from food
Main industrial usesAmmonia for fertilizer, food packaging, cryogenic coolingSteelmaking, welding, medical oxygen

The main difference: nitrogen is inert, oxygen is reactive

Nitrogen and oxygen sit next to each other in the periodic table, and their atoms are similar in size. Their behavior differs because of how strongly each atom holds shared electrons. Electronegativity is a measure of how strongly an atom pulls on shared electrons. Oxygen has an electronegativity of about 3.44 on the Pauling scale, while nitrogen has about 3.04, so oxygen attracts electrons more strongly.

The bonds in the molecules show the difference clearly. Nitrogen atoms share three pairs of electrons in a triple bond, which takes about 945 kJ/mol to break. Oxygen atoms share two pairs in a double bond, which takes about 498 kJ/mol. Because the nitrogen bond is so strong, N2 rarely reacts at room temperature, and the gas is called inert.

Reactivity also depends on conditions. Nitrogen does react at very high temperatures, such as inside lightning or a car engine, where it forms small amounts of nitrogen oxides. Oxygen reacts with many substances even at room temperature, although often slowly, and much faster when heated.

Oxygen reacts with many substances. It combines with carbon in fuels, with iron to form rust, and with the sugar in food during respiration. The general reaction for respiration is C6H12O6 + 6 O2 → 6 CO2 + 6 H2O, where oxygen is consumed to release energy from glucose.

Physical properties: boiling points and color

Both gases are colorless and odorless as gases, but their liquids differ. Liquid nitrogen boils at −195.79 °C (−320.42 °F), while liquid oxygen boils at −182.96 °C (−297.33 °F). Oxygen therefore liquefies at a slightly higher temperature than nitrogen. The two boiling points are close enough that both liquids must be kept very cold to stay liquid.

Liquid oxygen has a visible pale blue color, which is a useful way to tell the two liquids apart. Liquid nitrogen is colorless and looks like clear water. Density also differs slightly: at 0 °C and standard pressure, nitrogen gas has a density of about 1.25 g/L and oxygen gas about 1.43 g/L, so oxygen is a little heavier.

These differences matter in industry. Both gases are separated from liquid air by cooling air until it liquefies, then letting the parts boil off at different temperatures. Engineers rely on the boiling point gap to collect each gas in a pure form.

Atomic mass also separates the two. IUPAC gives the standard atomic weight of nitrogen as about 14.007 and of oxygen as about 15.999. The O2 molecule is therefore about 14% heavier than N2, with molar masses of about 32.00 g/mol and 28.01 g/mol. That extra mass is one reason oxygen is a little denser as a gas.

Magnetism and roles in living things

Oxygen is paramagnetic. Its molecules have unpaired electrons, so liquid oxygen is drawn into a strong magnetic field and can be seen to cling to a magnet. Nitrogen molecules have no unpaired electrons and are diamagnetic, so they are repelled very slightly and not visibly affected by ordinary magnets.

In living things, the two gases have very different jobs. Oxygen is needed for respiration, the process that releases energy from food. Nitrogen does not take part in respiration, but it is built into amino acids and proteins, and into the bases that make up DNA. Plants and animals get their nitrogen from food or from bacteria that fix it from the air.

What they have in common

Both elements are nonmetal gases at room temperature, and both are essential to life. Both are sold in cylinders and used widely in industry, which is why people sometimes group them together. Both are also found as diatomic molecules, so each atom bonds to one partner rather than existing alone.

People confuse the two because they share the air almost entirely. Together they make up about 99% of dry air, and the other gases, such as argon and carbon dioxide, are present in much smaller amounts. Nitrogen is often described as the diluent that makes oxygen safe to breathe at normal levels.

Both gases are useful in different ways. Nitrogen is used to make ammonia, the starting point for most fertilizers, and to keep food fresh in chip bags and other packaging. Oxygen is used in steelmaking, welding and medical treatment, where a higher supply of oxygen helps patients who cannot get enough from ordinary air.

How to tell them apart: a worked example

A simple rule of thumb is that nitrogen dominates the air and oxygen is the reactive part. Dry air is about 78% nitrogen and 21% oxygen, so in every 100 parts of dry air there are about 4 parts nitrogen for each part oxygen. This ratio is a quick way to remember which gas is more common.

Here is a worked example with numbers. Take 1,000 mL of dry air. Nitrogen makes up 78.08%, so 1,000 × 0.7808 = 780.8, or about 781 mL. Oxygen makes up 20.95%, so 1,000 × 0.2095 = 209.5, or about 210 mL. The remaining 9 mL is mostly argon, with traces of carbon dioxide and other gases.

When you need to say which gas is the reactive one, remember that oxygen drives burning, rusting and respiration, while nitrogen stays out of most reactions. The two gases are therefore best understood as partners in the air, with one acting as the active gas and the other as the stable background.

The boiling point gap also gives a practical clue. When liquid air warms, nitrogen boils off first because it has the lower boiling point, leaving a liquid that is richer in oxygen. This is the same principle used to separate the two gases in industry.

Frequently asked questions

Which is more common in air, nitrogen or oxygen?

Nitrogen is more common. Dry air is about 78.08% nitrogen and 20.95% oxygen by volume, so nitrogen is the larger share by a wide margin.

Is nitrogen or oxygen more reactive?

Oxygen is much more reactive. Its molecule has a weaker double bond, and it takes part in burning, rusting and respiration, while nitrogen’s triple bond makes it unreactive under normal conditions.

Why is liquid oxygen blue but liquid nitrogen colorless?

Liquid oxygen absorbs a little red light, so it looks pale blue. Liquid nitrogen does not absorb visible light in the same way, so it appears colorless.

Is oxygen magnetic?

Oxygen is weakly paramagnetic, which means it is drawn into a magnetic field. Liquid oxygen can be seen to cling to a strong magnet, while nitrogen is not attracted to one.

Can people breathe pure nitrogen?

No. Pure nitrogen contains no oxygen, so breathing it causes suffocation within minutes. The air people breathe works because oxygen is diluted by nitrogen to a safe level, not because nitrogen supplies breathing.

Sources and further reading

  • IUPAC, "Periodic Table of Elements"
  • W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
  • N. N. Greenwood and A. Earnshaw, "Chemistry of the Elements" (2nd ed., 1997)

Cite this page

“Nitrogen vs Oxygen: The Two Main Gases in the Air Compared.” Atoms & Forces, https://science.bigworldlist.com/compare/nitrogen-vs-oxygen/.

More about Nitrogen