Air-Fuel Ratio Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the mass of air and fuel, and the fuel's formula; the calculator compares your mixture with complete combustion.
Result
Air-fuel ratio (mass)
Stoichiometric AFR of this fuel (mass)
- Lambda λ = AFR ÷ stoichiometric AFR
- Equivalence ratio φ = 1 ÷ λ
- Mixture
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Mass of air (any unit): enter 0 or more.
- Mass of fuel (same unit): enter 0 or more.
- Carbon atoms in the fuel (x in CxHyOz): enter 0 or more.
- Hydrogen atoms (y): enter 0 or more.
- Oxygen atoms (z): enter 0 or more.
- Read the result: Air-fuel ratio (mass); the panel also shows Stoichiometric AFR of this fuel (mass), Lambda λ = AFR ÷ stoichiometric AFR, Equivalence ratio φ = 1 ÷ λ and Mixture.
How this calculator works
AFR = mass of air ÷ mass of fuel. Complete combustion of CxHyOz needs (x + y/4 − z/2) mol of O₂ per mol of fuel.
Dry air is taken as 20.95% O₂ by volume with a mean molar mass of 28.97 g/mol (NASA Earth Fact Sheet, nssdc.gsfc.nasa.gov, read 2026-10-27). Stoichiometric AFR = (x + y/4 − z/2) ÷ 0.2095 × 28.97 ÷ M(fuel), with atomic weights C 12.011, H 1.008, O 15.999 (CIAAW abridged standard atomic weights 2024 (ciaaw.org/abridged-atomic-weights.htm, read 2026-10-27)).
λ = AFR ÷ stoichiometric AFR and φ = 1 ÷ λ. λ below 1 is rich, above 1 is lean. The default fuel is isooctane, C₈H₁₈; commercial gasoline is a blend, so its stoichiometric AFR differs slightly.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Mass of air | any unit | |
| Mass of fuel | same unit | |
| Air-fuel ratio (mass) |
Worked example
| Mass of air (any unit) | 15 |
|---|---|
| Mass of fuel (same unit) | 1 |
| Carbon atoms in the fuel (x in CxHyOz) | 8 |
| Hydrogen atoms (y) | 18 |
| Oxygen atoms (z) | 0 |
| Stoichiometric AFR of this fuel (mass) | 15.13 |
|---|---|
| Lambda λ = AFR ÷ stoichiometric AFR | 0.9913 |
| Mixture | Rich (more fuel than stoichiometric) |
Air-fuel ratio (mass) 15.00
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is lambda?
The ratio of the actual AFR to the stoichiometric AFR. λ = 1 is the chemically exact mix; λ = 0.9 is 10% rich.
Why is ethanol's stoichiometric AFR lower?
Ethanol (C₂H₆O) already contains oxygen and has less carbon and hydrogen per gram, so it needs less air: enter x = 2, y = 6, z = 1.