Curious Minds

Clear answers to science and history questions

How Farts Work: The Physics and Biology of Gas

· 5 min read · Science

A fart, also known as flatulence, occurs when accumulated gas in the digestive tract is expelled through the rectum, driven by pressure differences and muscle contractions. This gas originates from swallowed air, bacterial fermentation of undigested food in the colon, and diffusion of gases from the bloodstream into the gut.

Background: Sources of Intestinal Gas

Intestinal gas is a natural byproduct of digestion and consists of several gases, most of which are odorless. The composition and volume depend on diet, gut microbiota, and individual physiology. The primary sources include:

  • Swallowed air (aerophagia): Air is ingested during eating, drinking, chewing gum, or talking while eating. This contributes mainly to belching but also adds to lower intestinal gas.
  • Bacterial fermentation: In the colon, gut bacteria break down undigested carbohydrates—especially fibers, oligosaccharides, and sugar alcohols—producing hydrogen, carbon dioxide, and sometimes methane.
  • Diffusion from blood: Gases like nitrogen and oxygen can diffuse from the bloodstream into the intestinal lumen, especially when blood concentrations are high.
  • Chemical reactions: Minor contributions come from reactions between stomach acid and bicarbonate, though this is more relevant to belching than flatulence.

Typical flatus is composed of nitrogen (20–90%), hydrogen (0–50%), carbon dioxide (10–30%), oxygen (0–10%), and methane (0–10% in methane-producers). The presence of sulfur-containing compounds like hydrogen sulfide and methanethiol is responsible for the characteristic odor.

How Gas Builds and Moves Through the Gut

Gas enters the digestive system at multiple points and moves through a combination of peristalsis and diffusion. After swallowing, air travels down the esophagus to the stomach. Some is expelled via belching; the rest moves into the small intestine. Meanwhile, gases produced in the colon accumulate as a result of fermentation.

The movement of gas through the intestines is passive and follows pressure gradients. Peristaltic contractions—rhythmic muscular waves in the intestinal wall—push both contents and gas toward the rectum. Gas tends to move faster than solids due to its compressibility and lower density.

As gas accumulates in the colon, pressure increases. When the internal pressure exceeds the resistance of the anal sphincter muscles, expulsion occurs. This process is regulated by both involuntary reflexes and voluntary control.

Physics of Expulsion: Pressure, Flow, and Sound

The release of gas is governed by principles of fluid dynamics and biomechanics. The key factors include:

  • Pressure gradient: Gas flows from high pressure in the colon to lower atmospheric pressure outside the body. The greater the buildup, the faster and more forceful the release.
  • Anal sphincter tension: The internal and external anal sphincters control the opening. The internal sphincter is involuntary, while the external can be consciously tightened or relaxed.
  • Aperture size and shape: A tighter opening creates a narrower channel, increasing gas velocity and potentially producing sound—commonly known as a "fart noise." This is similar to air passing through a narrow opening in a wind instrument.
  • Gas composition and temperature: Warmer gas expands slightly, increasing volume and pressure. Methane and hydrogen are flammable, though ignition under normal conditions is extremely rare and dangerous.

The velocity of expelled gas can reach several meters per second, depending on pressure and sphincter control. The sound frequency depends on the vibration of anal tissues, influenced by muscle tone and the rate of gas flow.

Biology of Gut Bacteria and Gas Production

The human colon hosts trillions of bacteria, collectively known as the gut microbiota. These microbes play a crucial role in digestion, especially in fermenting complex carbohydrates that human enzymes cannot break down.

Key bacterial groups involved in gas production include:

  • Bacteroides – Ferment fibers and produce acetate, propionate, and gases.
  • Firmicutes – Include many species that produce hydrogen and carbon dioxide.
  • Methanobrevibacter smithii – The primary methane-producing archaeon in the human gut, present in about 30–50% of people.
  • Sulfate-reducing bacteria – Convert sulfur compounds into hydrogen sulfide, contributing to odor.

Not everyone produces methane; this trait depends on the presence of methanogenic archaea. Methane may slow intestinal transit, potentially contributing to constipation in some individuals.

Diet significantly influences bacterial activity. Foods high in fermentable oligo-, di-, and monosaccharides and polyols (FODMAPs)—such as beans, onions, broccoli, apples, and dairy (for lactose-intolerant individuals)—are common gas producers.

Common Factors That Increase Flatulence

Several factors can increase the volume, frequency, or odor of farts. These include:

  • Dietary choices: Beans, lentils, whole grains, cruciferous vegetables, carbonated drinks, and sugar alcohols (like sorbitol and xylitol) are highly fermentable and increase gas production.
  • Lactose intolerance: Inability to digest lactose leads to bacterial fermentation in the colon, producing excess gas, bloating, and discomfort.
  • Swallowing air: Eating quickly, drinking through straws, or chewing gum increases aerophagia, contributing to gas buildup.
  • Constipation: Slowed transit allows more time for bacterial fermentation, increasing gas volume.
  • Antibiotics and probiotics: Disruption of gut flora by antibiotics can alter gas production. Probiotics may help in some cases but can initially increase gas.
  • Medical conditions: Irritable bowel syndrome (IBS), small intestinal bacterial overgrowth (SIBO), and celiac disease often involve excessive flatulence as a symptom.

On average, a healthy person passes gas 10 to 20 times per day. Volumes range from 100 to 2,000 milliliters daily, depending on diet and gut flora.

Frequently Asked Questions

Why do farts smell?

Farts smell due to trace amounts of sulfur-containing gases like hydrogen sulfide and methanethiol, produced when gut bacteria break down sulfur-rich foods such as eggs, meat, and certain vegetables like broccoli and cabbage. Only about 1% of flatus is responsible for odor, but these compounds are detectable at very low concentrations.

Can you light a fart on fire?

Yes, but it is dangerous and not recommended. Farts containing methane or hydrogen can be flammable. Ignition requires a significant concentration of these gases and an open flame, posing risks of burns or injury. This should never be attempted.

Why do some people produce more gas than others?

Individual variation in gas production depends on diet, gut microbiota composition, digestive efficiency, and transit time. Some people harbor more gas-producing bacteria or consume more fermentable foods. Methane production is genetically influenced and present in only a subset of the population.

Is it bad to hold in farts?

Holding in farts occasionally is harmless and often socially necessary. However, regularly suppressing flatulence can lead to discomfort, bloating, and increased abdominal pressure. The gas may be reabsorbed into the bloodstream and exhaled through the lungs or eventually released later.

Do all farts make noise?

No. Silent farts are common and depend on how relaxed the anal sphincter is during release. A loose opening allows quiet escape, while a tight muscle creates vibration and sound. Diet and gas volume also influence audibility.

Why do beans make you gassy?

Beans contain oligosaccharides like raffinose and stachyose, complex sugars humans lack the enzymes to digest. These reach the colon intact, where bacteria ferment them, producing hydrogen, carbon dioxide, and sometimes methane. Soaking and cooking beans can reduce, but not eliminate, this effect.

In this article
  1. Background: Sources of Intestinal Gas
  2. How Gas Builds and Moves Through the Gut
  3. Physics of Expulsion: Pressure, Flow, and Sound
  4. Biology of Gut Bacteria and Gas Production
  5. Common Factors That Increase Flatulence
  6. Frequently Asked Questions