How Do Spirometers Work to Measure Lung Function?

A spirometer measures lung function by tracking how much air you blow out and how fast it moves. At its core, every modern spirometer is a flow sensor: it detects the speed of air passing through a tube while you exhale as hard and as long as you can, then uses that flow signal to calculate the volume of air over time. The physics behind that flow measurement varies between devices, and the raw numbers go through several corrections before they mean anything clinically, but the basic idea is surprisingly straightforward.

From Airflow to Numbers on a Screen

When you blow into a spirometer, air travels through a sensing element inside the mouthpiece or tubing. The device’s job is to figure out how fast that air is moving at every instant during your breath. Once it knows flow (measured in liters per second), it can add up the flow over time to get volume (measured in liters). Think of it like knowing the speed of water flowing through a garden hose: if you know the speed at every moment, you can calculate the total amount of water that passed through.

The most common sensor type in clinical spirometers is the pneumotachograph, sometimes called a Lilly-type sensor. It uses a fine mesh screen or a set of narrow channels to create a small resistance to airflow. As you exhale through this resistance, the air pressure is slightly higher on the upstream side than the downstream side. The device measures that tiny pressure difference and converts it into a flow reading. This works because, under smooth laminar flow conditions, the pressure drop across the screen is directly proportional to the flow rate.1Journal of Clinical Monitoring and Computing. Comparison of pneumotachography and anemometery for flow measurement during mechanical ventilation with volatile anesthetics It is a simple, elegant principle, and it has been the workhorse of pulmonary function labs for decades.

A second type of sensor relies on a heated wire sitting in the airflow path. As air moves over the wire, it cools it down. The electronics either hold the current constant and watch the wire’s temperature change, or hold the temperature constant and track how much extra current is needed to keep it warm. Either way, faster airflow means more cooling, which translates into a flow measurement. These hot-wire anemometers are sensitive to the density of the gas being measured, which makes them behave differently from pneumotachographs when the gas mixture changes.1Journal of Clinical Monitoring and Computing. Comparison of pneumotachography and anemometery for flow measurement during mechanical ventilation with volatile anesthetics

A third approach uses ultrasound. Small transducers send ultrasonic pulses both upstream and downstream through the airflow at the same time. When air is moving, the pulse traveling with the flow arrives slightly faster than the one fighting against it. The difference in transit time reveals the air’s velocity.2PubMed. A pulsed diagonal-beam ultrasonic airflow meter Ultrasonic spirometers have no moving parts and nothing obstructing the airflow path, which makes them appealing for designs that need to be low-maintenance or easy to clean.

What the Test Actually Measures

Regardless of sensor type, the spirometer records a handful of key values during that forceful exhalation. The most important is your forced vital capacity, or FVC, which is simply the total volume of air you can blow out after filling your lungs completely. Next is the forced expiratory volume in one second (FEV1), which is how much of that total volume comes out in the first second. The ratio of FEV1 to FVC is what clinicians care about most, because it reveals whether your airways are narrowed. A healthy ratio sits around 0.80 to 0.85 in the general population, and falling below that range is associated with increasing odds of respiratory symptoms.3Clinical Physiology and Functional Imaging. The ratio FEV 1 /FVC and its association to respiratory symptoms—A Swedish general population study

The device also records peak expiratory flow (PEF), which is the fastest speed your air reaches during the blow. PEF is useful for monitoring conditions like asthma on a day-to-day basis, because it reflects how open your large airways are at that moment.

All of these values get plotted together on a flow-volume loop, a graph that shows flow on the vertical axis and volume on the horizontal axis. The shape of that loop is surprisingly diagnostic. A normal loop looks like a sharp spike followed by a smooth downward slope. Obstructive diseases like asthma produce a scooped-out, concave shape on the expiratory side. Restrictive diseases compress the loop into a narrow, tall sliver. Upper-airway obstructions, like a tumor or vocal cord problem, flatten the top or bottom of the loop in distinctive ways.4PubMed Central. Flow volume curve: A diagnostic tool in extrathoracic airway obstruction An experienced technician can often spot the problem category at a glance, before looking at any numbers.

Why Raw Numbers Need Correcting

The air inside your lungs is warm (around 37°C), humid, and at body pressure. The air in the room where you are taking the test is cooler, drier, and at whatever the local barometric pressure happens to be. As exhaled air cools on its way through the sensor, it contracts. If the spirometer just reported the volume it measured at room conditions, it would underestimate what was actually in your lungs. To fix this, spirometers apply a correction factor called BTPS (body temperature, ambient pressure, saturated with water vapor), which scales the measured values back up to what they would be at body conditions.

For a long time, most devices applied a single, fixed BTPS correction factor, typically around 1.03 to 1.10 depending on room temperature. This works reasonably well if the room is comfortably warm, but the error grows in cold environments. Research found that assuming a constant correction could produce errors in FEV1 of nearly 8% at very cold temperatures, and even around 2% at normal room temperature. Using a dynamic model that accounts for the changing temperature of exhaled air throughout the maneuver cut errors to below 1.5% across a wide temperature range.5PubMed. Dynamic BTPS correction factors for spirometric data More recent comparisons have confirmed that fixed-temperature correction tends to overestimate expiratory volumes, and that real-time correction produces tighter agreement between inspired and expired measurements.6European Respiratory Journal. Comparison of flow-volume measurements with realtime versus fixed temperature BTPS correction Modern spirometers increasingly build in real-time temperature monitoring to handle this automatically, but plenty of older or simpler devices still use the fixed-factor approach.

Keeping the Device Honest

A spirometer is only as good as its last calibration check. The current international standard, set jointly by the American Thoracic Society and the European Respiratory Society, requires that spirometers be verified at least once a day using a 3-liter calibration syringe. The syringe itself must be accurate to within 15 milliliters. Technicians push and pull the syringe at different speeds to simulate a range of flow rates, and the spirometer has to read within 2.5% of the true 3-liter volume at each speed.7PubMed Central. Standardization of Spirometry 2019 Update. An Official American Thoracic Society and European Respiratory Society Technical Statement

Earlier guidelines allowed a slightly wider tolerance of 3.5%, and older equipment still in use in some settings may be held to that looser standard.8European Respiratory Journal. Standardisation of spirometry Either way, the routine is the same: syringe in, syringe out, check the numbers. If the reading drifts out of range, the device gets recalibrated or pulled from service. This daily ritual sounds tedious, but it is the single most important safeguard against a spirometer quietly giving you wrong results.

How Your Numbers Get Compared to “Normal”

Your raw FEV1 or FVC means little on its own. A tall 25-year-old man is expected to move far more air than a short 70-year-old woman, simply because of differences in lung size. So spirometry results are always compared to reference equations that predict what a healthy person of your age, sex, and height should be able to blow. For years, these equations also included a race or ethnicity variable, based on long-standing observations that average lung volumes differ between population groups.

The Global Lung Function Initiative (GLI) published widely adopted race-specific reference equations in 2012, then followed up with race-neutral equations in 2022.9PubMed Central. The Global Lung Function Initiative (GLI) Network: bringing the world’s respiratory reference values together The shift matters because using race-specific equations effectively set a lower bar for what counted as “normal” in Black individuals, meaning some of them could have genuinely impaired lung function that the old equations classified as fine. A large analysis found that switching to the race-neutral equations increased the prevalence of identified restrictive impairment among Black individuals from roughly 27% to about 38%, while it decreased the same measure among White individuals from about 23% to 18%.10JAMA Network Open. Global, Race-Neutral Reference Equations and Pulmonary Function Test Interpretation The prevalence of obstruction barely budged in either group. In practice, this means the reference equations your lab uses can change whether your spirometry report comes back “normal” or “abnormal,” especially if you are not White. Many labs have already switched or are in the process of switching to the race-neutral standard.

The Bronchodilator Test

Spirometry often does not end with a single set of blows. If your initial results show an obstructive pattern (low FEV1/FVC ratio), the technician will typically give you a puff of a short-acting bronchodilator, wait about 15 minutes, and then repeat the test. If your FEV1 jumps by at least 12% and at least 200 milliliters compared to the pre-drug baseline, that is considered a positive bronchodilator response.11PubMed Central. Spirometry and Bronchodilator Test

Clinicians have traditionally used this test to help distinguish asthma (which tends to be reversible) from COPD (which tends not to be). The reality is messier. Population-level data show that bronchodilator reversibility is at least as common in people with COPD as in those with asthma, which limits its value as a standalone diagnostic tool for separating the two conditions.12European Respiratory Journal. Bronchodilator reversibility in asthma and COPD: findings from three large population studies The test is still useful, but your doctor should not be diagnosing you with asthma or COPD based on bronchodilator response alone. Clinical history, imaging, and sometimes more advanced lung function tests all factor in.

Infection Control at the Mouthpiece

Every person blowing into a spirometer deposits oral bacteria into the device. Research has found that mouthpieces become contaminated with patients’ oral flora, and about 14% of the associated tubing also picks up respiratory pathogens after testing.13PubMed. Infection risks associated with spirometry The internal surfaces of the machine itself typically stay clean, but the tubing between you and the sensor is a different story.

To deal with this, most labs use disposable inline filters between the mouthpiece and the sensor. These filters are supposed to catch bacteria and viruses before they reach the shared equipment. Not all filters are created equal, though. Testing found dramatic differences in how well different commercial filters removed bacteria: some maintained 100% removal efficiency even under heavy bacterial loads, while one common filter dropped to under 43% removal under the same conditions.14PubMed. Do in-line respiratory filters protect patients? Comparing bacterial removal efficiency of six filters The threshold at which filters failed also varied enormously, with the best filter still working at a bacterial concentration ten thousand times higher than the worst. If you are immunocompromised or have a transmissible respiratory infection, it is worth asking your lab what filter they use and whether they replace tubing between patients.

Getting Good Results from Young Children

Spirometry requires you to take the deepest breath you possibly can, blast it out as hard as you can, and keep blowing until your lungs are completely empty. That is a complicated set of instructions even for adults, and it is especially challenging for children under about eight years old. Labs have tried using computer animation games to coach children through the maneuver, displaying things like virtual candles to blow out or balloons to inflate on screen.

The results have been mixed. One study of children aged four to eight found that animation incentives actually made some aspects of performance worse. A lower proportion of children met international reproducibility criteria for FVC and FEV1 when using the games, and in children aged six to eight, FVC performance actually decreased with animation. The programs did help with peak expiratory flow, which requires a short explosive blast rather than sustained effort.15PubMed. Spirometry in young children: should computer-animation programs be used during testing? A different interactive system called SpiroGame, which walks children through tidal breathing and every step of the forced maneuver, has shown more promise as a coaching tool for preschool-aged children.16American Journal of Respiratory and Critical Care Medicine. An Interactive Computer-Animated System (SpiroGame) Facilitates Spirometry in Preschool Children

The takeaway is that an experienced technician matters more than flashy software. A skilled pediatric lung function technician knows how to demonstrate, encourage, and judge whether a child’s effort was truly maximal, which no animation program can fully replace. If your child needs spirometry, look for a lab that regularly tests children rather than one that primarily sees adults.

Portable and Smartphone-Based Spirometers

Traditional pulmonary function labs use desktop-sized equipment, but the trend is strongly toward smaller, cheaper devices. Smartphone-based spirometers now exist that pair a small handheld flow sensor with a phone app via Bluetooth. One such device using a Lilly-type pneumotachograph demonstrated flow accuracy of 4 milliliters per second across a range of 0 to 15 liters per second, meeting the ATS/ERS performance requirements for spirometers.17PubMed Central. A Smart Phone Based Handheld Wireless Spirometer with Functions and Precision Comparable to Laboratory Spirometers

These portable devices open up possibilities for home monitoring of chronic lung diseases, remote follow-up after surgery, and screening in settings where a full lab is not available. The trade-off is that there is no technician standing beside you to coach your technique, check your posture, or judge whether a blow was truly maximal. A perfectly calibrated device still gives garbage results if you did not seal your lips around the mouthpiece or gave up blowing too early. For tracking trends in your own lung function over time, a home spirometer can be genuinely useful. For a formal diagnostic evaluation, a supervised test in a lab remains the standard.

Workplace Lung Surveillance

Outside the clinic, spirometry plays a major role in occupational health. Workers exposed to dust, fumes, or chemical vapors may have their lung function tested annually to catch early signs of damage before symptoms appear. A systematic review of longitudinal population studies concluded that periodic workplace spirometry helps identify respiratory disease at an early stage, allowing exposure to be controlled before further damage accumulates.18Occupational & Environmental Medicine. Ever and cumulative occupational exposure and lung function decline in longitudinal population-based studies: a systematic review and meta-analysis

The challenge in workplace screening is distinguishing normal year-to-year variability from a genuine decline. Everyone’s FEV1 drops a little as they age, and test-to-test variability means your number can bounce around even when nothing has changed. Both the American Thoracic Society and the American College of Occupational and Environmental Medicine have recommended flagging an annual FEV1 decline greater than 15% as excessive and warranting further investigation.19PubMed Central. Limits of longitudinal decline for the interpretation of annual changes in FEV1 in individuals That 15% threshold is deliberately conservative, because false alarms (telling a healthy worker something is wrong) carry costs too, including unnecessary anxiety and follow-up testing. Workplace programs work best when the same person performs their tests on the same equipment, at the same time of year, minimizing sources of noise so that a real trend can emerge.

What Can Go Wrong During Your Test

Even with a perfectly calibrated spirometer and a skilled technician, patient effort is the wild card. The most common errors are a slow start to the blast (which underestimates PEF and can throw off FEV1), stopping too early before the lungs are truly empty (which underestimates FVC), a leak around the mouthpiece, and coughing during the first second. Good labs will have you repeat the maneuver at least three times and look for consistency between your best efforts. If your two best FVC values and your two best FEV1 values are within 150 milliliters of each other, the test is considered reproducible.

Some medications can affect results. Short-acting bronchodilators should be withheld for four to six hours before the test, and long-acting ones for longer, unless your doctor specifically wants to see your medicated baseline. Smoking right before a test can temporarily constrict your airways. Even a heavy meal can push your diaphragm up and reduce your FVC slightly. Labs usually provide preparation instructions, but if yours did not, ask. The quality of the data you get out depends heavily on how well you were set up going in.