molecalculator

Moles & Molar Mass

Dioxide Concentration Calculator: CO₂ in Air

Calculator No. 01-5397 · Updated · Formula and assumptions shown below

CO2 concentration 10 ppm by volume
CO2 concentration
0.0010 % by volume
= Amount of CO2 ÷ Total amount of gas × 100
Amount of CO2
0.00001 mol
Set in the form below
Total amount of gas
1 mol
Set in the form below
You enter
Amount of CO2 (mol), Total amount of gas (mol)
You get
CO2 concentration (ppm by volume), CO2 concentration (% by volume)
Rounding
0 dp · 4 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This calculator estimates carbon dioxide (CO₂) concentration in air from the amount of CO₂ and the total gas volume, returning the result in parts per million (ppm) by volume. For example, outdoor air is commonly around 400–430 ppm today, while indoor readings vary with ventilation and occupancy; the result is meaningful only when both volumes use the same conditions.

Formula

For an ideal gas mixture, the volume fraction equals the mole fraction when all gases are compared at the same temperature and pressure. The calculator therefore uses:

CO₂ concentration (ppm) = n / ntotal × 1,000,000

  • n is the amount of carbon dioxide, in moles (mol).
  • ntotal is the total amount of gas in the mixture, in moles (mol), including CO₂.
  • 1,000,000 converts a dimensionless fraction to parts per million.

The second output is the same fraction expressed as a percentage: n / ntotal × 100. Since both inputs are amounts in moles, no gas-volume conversion is required. If your measurements are volumes rather than amounts, they must refer to the same temperature and pressure for their ratio to represent the gas-phase mole fraction.

Worked Example

Using the calculator’s defaults, n = 0.000010 mol and ntotal = 1 mol:

  1. Mole fraction = 0.000010 mol / 1 mol = 0.000010.
  2. Concentration = 0.000010 × 1,000,000 = 10 ppm by volume.
  3. As a percentage: 0.000010 × 100 = 0.0010% by volume.

The percentage is small because a ppm is one part in a million. The calculator reports the ppm output to the nearest whole ppm, so very low concentrations can round to zero; use more precise input values and interpret the displayed precision accordingly.

Assumptions

  • The gas mixture behaves ideally, so mole fraction equals volume fraction at a shared temperature and pressure.
  • The total amount includes the CO₂ being measured and is greater than zero.
  • Inputs refer to the same sample and the same basis: dry gas or wet gas. Do not mix the two.
  • This is a concentration calculation, not a sensor calibration or a direct measurement method.

What CO₂ Concentration Means

Carbon dioxide concentration describes how much CO₂ is present relative to the whole gas mixture. In air-quality contexts, it is usually reported as ppm by volume, also called ppmv. A reading of 1,000 ppm means approximately 1,000 CO₂ molecules per million molecules of air, or a volume fraction of 0.001 (0.1%), under the ideal-gas convention.

“Dioxide concentration” is not a unique chemical quantity: many compounds contain two oxygen atoms. In discussions of air, indoor ventilation, climate, and most general-purpose concentration tools, the intended gas is usually carbon dioxide, CO₂. Other gases require their own identity and measurement context; this calculator is specifically for CO₂ in a gas mixture.

Ambient outdoor CO₂ has risen from roughly 280 ppm before industrialization to more than 400 ppm in recent years. The exact value changes over time and by location, season, and sampling conditions. A fixed value should not be treated as a current reading for every place. Indoor air can reach higher levels when people exhale CO₂ into a room faster than outdoor air replaces it. The number is often useful as an indicator of ventilation relative to occupancy, but it does not identify every indoor pollutant or establish that a space is safe.

How to Use the Calculator

Enter the amount of CO₂ and the total amount of gas in the same sample, both in moles. The total amount must include the CO₂. The calculator divides the CO₂ amount by the total and scales the fraction to ppm; it also displays the percentage. If you know only a concentration and want to find the amount of CO₂, this calculator is not set up to solve that reverse problem.

Many instruments report ppm directly, so no conversion is needed if you are simply reading their output. If your data are gas volumes, use volumes at matched temperature and pressure, or convert each measurement to moles using an appropriate gas-law calculation. For a gas sample, the ideal gas law is n = PV / RT, where pressure, volume, and absolute temperature must use consistent units. Do not insert Celsius directly as T; convert to kelvin by adding 273.15.

For mass-based measurements, convert CO₂ mass to moles using its molar mass, about 44.01 g/mol, then use a compatible total amount. A mass concentration such as mg/m³ is not interchangeable with ppm: conversion depends on temperature and pressure because gas density changes with conditions.

Reading Results and Common Mistakes

  • Confusing ppm with percent: 1% equals 10,000 ppm, not 100 ppm. Divide ppm by 10,000 to express it as a percentage.
  • Leaving CO₂ out of the total: the denominator is the whole mixture, including CO₂. If the rest of the gas is given separately, add the CO₂ amount before calculating.
  • Mixing wet and dry bases: water vapor contributes to the total in a wet-gas measurement. A dry-basis reading excludes it, so the two readings can differ.
  • Comparing incompatible volumes: gas volume changes with temperature and pressure. A volume ratio is directly comparable only when both volumes are measured under the same conditions.
  • Reporting false precision: rounding an input or output cannot make the measurement more accurate. Keep enough significant figures during intermediate calculations and report precision consistent with the measurement.

A further misconception is that a CO₂ reading alone measures overall air quality. CO₂ is a useful marker of occupant-generated air and ventilation patterns in many settings, but it does not measure particles, carbon monoxide, volatile chemicals, or infection risk. Room size, occupancy, activity, sensor location, and outdoor air levels all affect how an indoor reading should be interpreted.

Measurement Context and Limitations

Real-world instruments may use infrared absorption or other sensing approaches, and each has accuracy limits, response time, drift, and placement effects. Follow the instrument’s instructions for calibration and sampling, and avoid placing a sensor directly beside a person’s breath, an open window, or a supply-air outlet if the goal is to represent room air. A single spot reading may not describe a whole building or a changing room.

For research or environmental reporting, state the basis and conditions: for example, ppm by volume on a dry-air basis, the sampling location, and the time of measurement. This makes comparisons more meaningful. The calculator assumes ideal mixing and compatible inputs; it cannot correct for sensor bias, leaks, incomplete mixing, or changing conditions. Where bench work is implied, follow your lab method, the safety data sheet (SDS) and your supervisor.

Frequently Asked Questions

What is a normal CO₂ concentration in outdoor air?
Recent outdoor background levels are generally above 400 ppm and vary by location, season, and year. Check a current local monitoring source for a contemporaneous value.

How many ppm are in 1% CO₂?
One percent is 10,000 ppm because 1% is 0.01 of the mixture and 0.01 × 1,000,000 = 10,000.

Is ppm the same as mg/m³?
No. Ppm by volume is a ratio, while mg/m³ is mass per volume. Converting between them for a gas requires its molar mass and specified temperature and pressure.

Does a high indoor CO₂ reading prove the air is unsafe?
No. It can indicate that ventilation may be limited relative to occupancy, but CO₂ alone does not measure all contaminants or determine safety. Interpret readings with context and applicable building guidance.

Can I calculate ppm from gas volume?
Yes, if the CO₂ volume and total-mixture volume are measured at the same temperature and pressure. Divide the CO₂ volume by total volume and multiply by 1,000,000.

Related

Formula used
in n | Amount of CO2 | mol | 0.000010 | 0
in nt | Total amount of gas | mol | 1 | 0
out ppm | CO2 concentration | ppm by volume | n / nt * 1000000 | 0
out pct | CO2 concentration | % by volume | n / nt * 100 | 4

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →