AFR Calculator - Air-Fuel Ratio
Calculate air-fuel ratio, lambda, and stoichiometric AFR for gasoline, diesel, ethanol, CNG, hydrogen, and custom fuels.
⛽ What is the Air-Fuel Ratio (AFR)?
The air-fuel ratio (AFR) is the mass ratio of air to fuel supplied to a combustion engine or burner. An AFR of 14.7 : 1 means that 14.7 kg of air are mixed with every 1 kg of gasoline. This ratio is the single most important parameter controlling combustion quality, engine power, fuel efficiency, and exhaust emissions.
Every fuel has a stoichiometric AFR — the theoretical ratio at which all the fuel and all the oxygen are consumed exactly, leaving no excess of either. For gasoline the stoichiometric AFR is 14.7, for diesel it is 14.5, for ethanol it is 9.0, and for hydrogen it is 34.3. Running above the stoichiometric ratio produces a lean mixture; running below produces a rich mixture.
In engine calibration, engineers use lambda (λ) rather than AFR directly, because lambda normalises the ratio against the stoichiometric value: λ = AFR / AFR_stoich. A lambda of 1.0 means perfect stoichiometry regardless of fuel type. Rich mixtures have λ less than 1.0; lean mixtures have λ greater than 1.0. This makes lambda a fuel-independent measure of mixture quality.
This calculator covers three practical use cases. The AFR from Masses mode computes AFR and lambda from measured air and fuel flow rates. The Lambda mode converts a known AFR into lambda using any fuel's stoichiometric reference. The Stoich AFR mode calculates the theoretical stoichiometric AFR from first-principles combustion chemistry for any CHO compound, using the combustion equation CxHyOz plus (x + y/4 minus z/2) moles of O2 to produce CO2 and H2O.
📐 Formulas
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — Stoichiometric Gasoline Engine (AFR Mode)
147 g air and 10 g fuel for a gasoline engine
Example 2 — Rich Ethanol Mixture (Lambda Mode)
Actual AFR of 7.2 : 1 with ethanol fuel
Example 3 — Stoichiometric AFR for Methane from Formula (Stoich Mode)
Custom formula CH4 (natural gas / CNG)
❓ Frequently Asked Questions
🔗 Related Calculators
What is the air-fuel ratio (AFR)?
AFR is the mass ratio of air to fuel burned in a combustion reaction. An AFR of 14.7 : 1 means 14.7 kg of air are burned with every 1 kg of gasoline. It is the fundamental parameter controlling combustion quality, emissions, and power output in internal combustion engines.
What is the stoichiometric AFR for gasoline?
The stoichiometric AFR for gasoline is 14.7 : 1. At this ratio, all the fuel and all the oxygen are consumed simultaneously, leaving no excess of either. This is the target point for a three-way catalytic converter, which requires lambda near 1.0 to convert NOx, CO, and HC simultaneously.
What does lambda (λ) mean in engine tuning?
Lambda is the ratio of the actual AFR to the stoichiometric AFR for a given fuel: λ = AFR / AFR_stoich. A value of 1.0 is perfect stoichiometry. Values below 1.0 mean the mixture is rich (excess fuel). Values above 1.0 mean the mixture is lean (excess air).
What is a rich air-fuel mixture?
A rich mixture has more fuel than the stoichiometric ideal, so lambda is less than 1.0 and AFR is below the stoichiometric value. Rich mixtures produce more power (up to a point), lower combustion temperatures, and higher CO and HC emissions. Performance engines often target lambda 0.85 to 0.90 at full load.
What is a lean air-fuel mixture?
A lean mixture has more air than the stoichiometric ideal, so lambda is greater than 1.0. Lean mixtures improve fuel economy and reduce CO emissions but increase the risk of knock and elevated NOx at moderate lean ratios. Modern lean-burn and direct-injection engines operate at lambda 1.3 to 2.0 at light loads.
Why does ethanol need less air than gasoline?
Ethanol (C2H6O) contains oxygen in its molecular structure, so it supplies part of the oxygen needed for combustion internally. This reduces the external air requirement and lowers the stoichiometric AFR to 9.0 : 1, compared to 14.7 for gasoline. Fuel systems running on ethanol must deliver more fuel mass to reach the same lambda.
How is stoichiometric AFR calculated from a chemical formula?
For a fuel CxHyOz: the oxygen moles needed are x + y/4 - z/2. Multiply by 32 g/mol to get O2 mass, divide by 0.232 (mass fraction of O2 in air) to get air mass, then divide by the fuel molar mass. This calculator does the full computation from any CHO formula you enter.
What AFR does a catalytic converter require?
A three-way catalytic converter requires the engine to oscillate tightly around lambda 1.0 (AFR 14.7 for gasoline). The oxygen sensor feeds back to the ECU to maintain this narrow window. Running rich (lambda < 0.98) or lean (lambda > 1.02) for extended periods degrades catalyst efficiency.
What is the equivalence ratio and how does it relate to lambda?
The equivalence ratio phi equals 1 divided by lambda. A rich mixture has phi greater than 1, a lean mixture has phi less than 1, and stoichiometry is phi = 1. Some academic and aerospace references prefer phi; automotive industry references generally use lambda.
What is the stoichiometric AFR for hydrogen?
Hydrogen burns stoichiometrically at an AFR of 34.3 : 1 because hydrogen is extremely light (molar mass 2.016 g/mol) but still requires 0.5 moles of O2 per mole of H2. The resulting flame produces only water vapor, making hydrogen a zero-carbon fuel.