AOPL Logo
AOPL Logo
Explore Solutions

CO2 Sensors for Buildings and Industry: NDIR Explained

hero background
Environmental MonitoringSmart Buildings and IBMS

CO2 Sensors for Buildings and Industry: NDIR Explained

Back to all blogs

Short answer: most building and industrial CO2 sensors use NDIR (non-dispersive infrared). CO2 absorbs infrared light at about 4.26 µm, so the sensor shines IR through a small chamber and measures how much is lost. Accuracy in the field depends less on the datasheet and more on calibration. Automatic baseline correction assumes the room sometimes falls to outdoor air, about 427 ppm in 2025. A large US field study found 40% of installed sensors off by more than 75 ppm.

This guide covers how NDIR works, calibration options, what CO2 levels mean, placement, demand-controlled ventilation, specs to check and vendor questions.

How does an NDIR CO2 sensor work?

An NDIR sensor has four parts: an infrared source, an optical chamber that air diffuses into, a filter that passes only the CO2 absorption band, and a detector. More CO2 in the chamber means less IR reaches the detector. The electronics turn that loss into ppm.

Hamamatsu, which makes NDIR light sources and detectors, puts the CO2 sensing channel at about 4.26 µm and a reference channel at about 3.9 µm, where CO2 doesn't absorb. The reference channel compensates for source power changes, temperature-driven wavelength shifts and detector noise (Hamamatsu, NDIR gas sensing, 2024). That's the main design split to look for:

Design How it works Trade-off
Single lamp, single wavelength One source, one detector at the CO2 band Simple and cheap; leans on baseline correction to handle drift
Single lamp, dual wavelength Adds a reference channel outside the CO2 band Corrects for lamp and optics changes; usually costs more

In LBNL's field study (below), single-lamp single-wavelength sensors actually had smaller average error than most other designs, and dual-wavelength sensors weren't significantly different. So treat design as one input, and ask for field data.

For other gases and particle sensors, see our air quality sensor types guide.

How accurate are CO2 sensors in real buildings?

Datasheet accuracy is measured on a new sensor in a lab. Real buildings are another story.

Lawrence Berkeley National Laboratory checked 208 CO2 sensors in 34 US commercial buildings, testing 90 of them against primary standard gases (Fisk et al., LBNL-3279E, 2010). The average error looked small because positive and negative errors cancelled out. The average absolute error was 118 ppm at 760 ppm and 138 ppm at 1,010 ppm. At 1,010 ppm:

  • 40% of sensors were off by more than 75 ppm
  • 31% by more than 100 ppm
  • 19% by more than 200 ppm
  • 13% by more than 300 ppm
Bar chart: at 1,010 ppm, 40% of installed CO2 sensors had errors above 75 ppm, 31% above 100 ppm, 19% above 200 ppm and 13% above 300 ppm
Field accuracy of CO2 sensors in US commercial buildings. Source: LBNL-3279E (2010).

Two more findings stand out. Four of the nine worst sensors had a near-constant output, so they weren't working at all. And no facility manager in the study reported calibrating sensors since installation. Accuracy also differed significantly between manufacturers. The authors concluded that many CO2-based demand-controlled ventilation systems would likely fail to save energy while meeting code ventilation rates.

The lesson for Indian buildings is simple. Budget for calibration checks, and buy on proven field stability, not datasheet accuracy.

What is automatic baseline correction (ABC)?

Most low-cost NDIR sensors drift slowly as the lamp and optics age. ABC corrects this by assuming the lowest reading over a period is outdoor air. Sentera, a ventilation control maker, describes it as suiting spaces where CO2 drops to outdoor levels "at least once every 7 days for a minimum of 15 minutes" (Sentera, how to recalibrate a CO2 sensor). The exact period varies by maker, so check yours.

ABC fails where the space never reaches outdoor levels:

  • 24x7 control rooms, hospitals and security offices
  • Greenhouses, cold rooms and food stores with added CO2
  • Plant areas near combustion or fermentation
  • Sensors mounted near the breathing zone of a desk that's always occupied

In those places, switch ABC off and use manual calibration, a dual-channel design, or a portable reference instrument for regular checks.

The outdoor baseline itself is rising. NOAA's annual mean at Mauna Loa was 401 ppm in 2015 and 427 ppm in 2025 (NOAA Global Monitoring Laboratory). Urban outdoor air near traffic can run higher. Firmware that hard-codes 400 ppm as "fresh air" now builds in an error of about 25 ppm or more.

Line chart of annual mean CO2 at Mauna Loa rising from 401 ppm in 2015 to 414 in 2020 and 427 in 2025, above a 400 ppm reference line
Outdoor CO2 has risen past the 400 ppm many sensors assume. Source: NOAA Global Monitoring Laboratory.

What CO2 level is good indoors?

CO2 is mainly a marker of how much outdoor air each person gets, not a pollutant at typical office levels. Two points help clear up confusion:

  • 1,000 ppm is not an ASHRAE limit. NIST's Andrew Persily, who chaired ASHRAE's indoor CO2 position document committee, notes that Standard 62.1 has had no indoor CO2 limit for almost 30 years, and no current ASHRAE standard has one. The old figure was removed because it caused confusion and wasn't a good indicator of ventilation or overall air quality (Persily, NIST, Indoor Air 2020).
  • Use indoor minus outdoor. Any reference value must allow for building type and occupancy, so the useful number is the difference between indoor and outdoor CO2, not the absolute reading.

For targets in Indian offices, our indoor air quality guide covers WHO, ISHRAE and ASHRAE references.

Where should CO2 sensors be placed?

  • Breathing height, about 1 to 1.8 m, away from doors, windows, supply diffusers and people's faces.
  • One per zone that's controlled separately, and one per meeting room or classroom.
  • Not on an external wall where outside air leaks in.
  • Return air can be a fair average for a room. LBNL found return-grille averages within 5% of wall readings in four of seven meeting-room data sets, while individual wall points sometimes differed by more than 200 ppm.
  • An outdoor sensor, or a known outdoor value, so the control works on the indoor-outdoor difference.

How does CO2 drive demand-controlled ventilation?

In demand-controlled ventilation (DCV), the BMS raises or lowers fresh air as occupancy changes, using CO2 as a proxy for people. It saves fan and cooling energy in spaces with variable occupancy, such as meeting rooms, auditoriums and classrooms.

It only works if the sensors are right. A sensor reading 150 ppm low under-ventilates the room. One reading high wastes energy. Good practice:

  1. Set the control on indoor minus outdoor CO2.
  2. Keep a minimum fresh-air rate for building materials and other pollutants.
  3. Check sensors against a reference at commissioning and at least yearly.
  4. Trend sensor readings in the BMS and flag flat lines, which can mean a dead sensor.

Our posts on occupancy sensors and HVAC and chiller optimisation cover the wider control picture. LBNL also suggested people counting as an alternative to CO2 for DCV.

Which specs should you check?

Spec What to look for
Range 0 to 2,000 or 5,000 ppm for buildings; higher for greenhouses and process
Accuracy Stated at a temperature and pressure; ask for field stability data
Long-term drift Per year, with and without ABC
Calibration method ABC, dual channel, or manual; can ABC be switched off?
Response time Matters for meeting rooms and DCV
Outputs BACnet, Modbus, 0-10 V or 4-20 mA to match the BMS
Temperature and humidity Often combined; check their accuracy too
Pressure compensation Readings shift with altitude and weather

Questions to ask a vendor

  1. Is the sensor single or dual channel? What's the drift per year?
  2. How does ABC work, over what period, and can it be turned off?
  3. What reference do you use at commissioning, and will you hand over the check results?
  4. What calibration service do you offer after year one?
  5. Do you have field data from buildings like ours?
  6. Which outputs and protocols integrate with our BMS?

Browse our IAQ monitoring sensors and environmental intelligence solutions.

FAQs

What is an NDIR CO2 sensor? A sensor that measures CO2 by how much infrared light at about 4.26 µm is absorbed in a small chamber. It's the most common type in buildings and industry.

How often should CO2 sensors be calibrated? Check at commissioning and at least yearly against a reference. Sensors using ABC need regular exposure to outdoor-level air.

Is 1,000 ppm the safe limit for indoor CO2? No current ASHRAE standard sets 1,000 ppm as a limit. Use the indoor-outdoor difference and your ventilation design as the guide.

Why does my CO2 sensor read 400 ppm all night? ABC may be forcing the lowest value to 400 ppm. With outdoor air near 427 ppm, that's a small offset, but check the firmware's reference value.

Can CO2 sensors save energy? Yes, through demand-controlled ventilation in variable-occupancy spaces, but only if they're accurate. Field studies show many installed sensors aren't.

Planning IAQ monitoring or DCV? Contact us.

Sources

  • Fisk WJ, Sullivan DP, Faulkner D, Eliseeva E, CO2 Monitoring for Demand Controlled Ventilation in Commercial Buildings, LBNL-3279E, Lawrence Berkeley National Laboratory, March 2010: publication
  • Persily AK, Quit Blaming ASHRAE Standard 62.1 for 1000 ppm CO2, Indoor Air 2020, NIST: publication
  • NOAA Global Monitoring Laboratory, Mauna Loa annual mean CO2: data
  • Hamamatsu Photonics, NDIR gas sensing: improve your detector design, 2024: article
  • Sentera, How to recalibrate a CO2 sensor: FAQ