AFR Calculator - Air Fuel Ratio
Calculate air-fuel ratio, lambda, and equivalence ratio for any fuel type. Supports gasoline, diesel, ethanol, E85, hydrogen, CNG, and custom fuels.
AFR Calculator - Air Fuel Ratio
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: AFR = mass of air / mass of fuel | Lambda = AFR / stoichiometric AFR
Worked example โ AFR = 14.29:1, Lambda = 0.972 (slightly rich)
Formula
AFR = mass of air / mass of fuel | Lambda = AFR / stoichiometric AFR
The air-fuel ratio is the mass of air divided by the mass of fuel. Lambda normalizes this by dividing by the stoichiometric AFR for the specific fuel. Lambda = 1 is stoichiometric, less than 1 is rich, greater than 1 is lean.
Worked Examples
Example 1: Gasoline Engine AFR
Problem:An engine consumes 500 g of air and 35 g of gasoline per minute. Find the AFR and lambda.
Solution:AFR = 500 / 35 = 14.286:1 Stoichiometric AFR (gasoline) = 14.7:1 Lambda = 14.286 / 14.7 = 0.972 Mixture is slightly rich
Result:AFR = 14.29:1, Lambda = 0.972 (slightly rich)
Example 2: E85 Target AFR
Problem:Find the target AFR for E85 fuel at lambda = 0.88 (max power).
Solution:Stoichiometric AFR (E85) = 9.8:1 Target AFR = lambda * stoich = 0.88 * 9.8 Target AFR = 8.624:1
Result:Target AFR = 8.62:1 for E85 at max power
Frequently Asked Questions
What is the air-fuel ratio (AFR)?
The air-fuel ratio is the mass ratio of air to fuel in a combustion mixture. For gasoline engines, the stoichiometric AFR is 14.7:1, meaning 14.7 grams of air are needed to completely burn 1 gram of fuel. Running richer (lower AFR, more fuel) increases power but wastes fuel and increases emissions. Running leaner (higher AFR, less fuel) improves efficiency but can cause higher combustion temperatures and NOx emissions. Modern engines use oxygen sensors to maintain the AFR near stoichiometric for optimal catalytic converter performance.
What is lambda and the equivalence ratio?
Lambda is the ratio of the actual AFR to the stoichiometric AFR. A lambda of 1.0 means the mixture is stoichiometric. Lambda greater than 1.0 is lean (excess air), and lambda less than 1.0 is rich (excess fuel). The equivalence ratio (phi) is the inverse of lambda: phi = 1/lambda. Engine tuners use lambda because it normalizes across different fuels. For example, lambda = 0.85 means the same degree of richness whether you are burning gasoline, ethanol, or any other fuel, even though the actual AFR numbers differ.
Why do different fuels have different stoichiometric AFRs?
Different fuels have different chemical compositions and thus require different amounts of oxygen for complete combustion. Gasoline (mostly octane, C8H18) needs 14.7 parts air per part fuel. Ethanol (C2H5OH) already contains oxygen in its molecular structure, so it needs only 9.0 parts air. Hydrogen (H2) has no carbon and a very low molecular weight, requiring 34.3 parts air. The stoichiometric AFR depends on the fuel molecular formula and is calculated from the balanced combustion equation.
What AFR gives maximum power vs maximum efficiency?
Maximum power in gasoline engines typically occurs at a rich mixture around lambda 0.85-0.90 (AFR of about 12.5-13.2:1). The extra fuel provides cooling and ensures all available oxygen is used. Maximum fuel efficiency occurs at a lean mixture around lambda 1.1-1.3 (AFR of 16-19:1), where all fuel is burned with excess air. However, very lean mixtures risk misfires and high NOx emissions. Diesel engines typically run lean (lambda 1.3-5.0) because they control power by fuel quantity, not throttle position.
Why does lambda tuning need a wideband oxygen sensor rather than a narrowband one?
A narrowband zirconia sensor is effectively a switch. Its Nernst voltage swings between roughly 0.1 and 0.9 volts across a few hundredths of a lambda unit at stoichiometric, so it tells the ECU only whether the mixture is richer or leaner than lambda 1.00 and carries no usable information away from that point. A wideband sensor adds an oxygen pumping cell that holds a reference cavity at stoichiometric; the current required to do that becomes a continuous lambda reading, usable from about lambda 0.65 up to plain air. Setting a power target near lambda 0.88, or verifying a lean cruise AFR, therefore requires a wideband, while a narrowband can only confirm that closed-loop control is dithering around stoichiometric.
How is a stoichiometric AFR derived from a fuel's chemical formula?
Balance the combustion equation. A fuel CxHyOz needs x + y/4 - z/2 moles of O2, and because dry air is about 21 percent oxygen by mole, each mole of O2 arrives with roughly 4.76 moles of air at an average molar mass of 28.96 g/mol. Methane needs 2 mol O2, so 9.52 mol of air weighing about 276 g burns 16.04 g of fuel, giving 17.2:1. The oxygen already inside ethanol is why its requirement drops to 9.0:1.
What is the difference between lambda and percent excess air?
They carry the same information on different scales. Percent excess air is (lambda - 1) multiplied by 100, so lambda 1.20 is 20 percent excess air and lambda 0.90 is 10 percent deficiency. Engine calibrators speak in lambda because the three-way catalyst window is defined around 1.00, while boiler and furnace engineers speak in excess air because they are trimming for flue-gas oxygen and stack losses. Both are fuel-independent, unlike a raw AFR number.
Why does switching from gasoline to E85 require so much more fuel flow?
Because the stoichiometric requirement falls from 14.7:1 to about 9.8:1, the same mass of air needs 14.7 divided by 9.8, roughly 1.5 times as much fuel mass to reach lambda 1. Injector flow capacity, pump delivery and return-line sizing all have to grow by about half. The compensation is that ethanol's high latent heat of vaporisation cools the charge and its knock resistance permits more spark advance or boost, which is why E85 conversions gain power despite the fuel penalty.
What is the fuel-air ratio and when is it used instead of AFR?
The fuel-air ratio is simply the reciprocal, FAR = 1 / AFR, so a stoichiometric gasoline mixture at 14.7:1 corresponds to a FAR of 0.068. Gas turbine and aero-engine work prefers FAR because it stays a small number that scales directly with fuel flow at fixed airflow, which suits combustor and turbine-inlet-temperature calculations. Piston engine tuning keeps AFR, where the larger integer-scale numbers are easier to read on a gauge.
Why must a three-way catalyst be held so close to lambda 1.00?
It performs two opposed jobs at once: oxidising carbon monoxide and unburnt hydrocarbons, which needs surplus oxygen, and reducing nitrogen oxides, which needs a shortage of it. Both conversions run at high efficiency only in a narrow band around stoichiometric, a few hundredths of a lambda unit wide. Drift lean and NOx conversion collapses; drift rich and CO and hydrocarbons break through. Closed-loop control therefore dithers the mixture across lambda 1 while cerium oxide in the washcoat buffers the swings.
References
Background & Theory
History
Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy
Related Calculators
๐งฎSignal-to-Noise Ratio Calculator
Determine the signal-to-noise ratio (SNR) of analytical measurements to assess data quality and detection limits.
๐งฎStoichiometric Air Requirement Calculator
Calculate stoichiometric air requirement with inputs, formulas, and instant results.
๐งฎAir Pollution Index Calculator
Calculate air pollution index with inputs, formulas, and instant results.
๐งฎIonic Radius Ratio Calculator
Calculate ionic radius ratio with inputs, formulas, and instant results.
๐งฎMixing Ratio Calculator
Calculate mixing ratio with inputs, formulas, and instant results.
๐งฎHeat Capacity Ratio Calculator
Calculate heat capacity ratio with inputs, formulas, and instant results.
๐งฎMolar Ratio Calculator
Calculate molar ratio with inputs, formulas, and instant results.
๐งฎCOD/BOD Ratio Calculator
Calculate codbodratio with inputs, formulas, and instant results.