🏆 US-Registered Digital Marketing Agency
Advertisement
Advertisement
CHEMISTRY

Air Fuel Ratio Calculator — AFR, lambda and equivalence ratio

Work out the stoichiometric air-fuel ratio for any fuel from its formula, then convert between measured mass flows, AFR and lambda in either direction.

Choosing a fuel fills the atom counts below. Switch to custom to enter any C, H and O composition, including fractional averages for a blend.
Fractional atom counts are allowed because a real fuel is a mixture. Diesel is commonly modelled as CH₁.₈ and pump gasoline as roughly CH₂.
Any consistent mass-per-time units work: kg/h, g/s, lb/min. The ratio is dimensionless, so only consistency matters.
Actual air-fuel ratio by mass
0
 
0
Stoichiometric AFR for this fuel
0
Lambda λ
0
Equivalence ratio φ
0
Excess air
Tip: AFR is fuel-specific but lambda is not. A gasoline engine at 14.7:1 and an ethanol engine at 9.0:1 are both at lambda 1.00, which is why lambda is the number to quote when you are comparing across fuels.
Advertisement

The air fuel ratio calculator above does two connected jobs. First it derives the stoichiometric air-fuel ratio for a fuel from its elemental formula by balancing the complete combustion equation and weighing the air required. Second it takes whatever you actually measured — a pair of mass flows, an AFR from a wideband reading, or a lambda value — and converts it into the other two, along with the equivalence ratio and the excess air percentage. Every number on the page is derived from the same balanced equation, so they always agree with each other.

Arb Digital builds free calculators that compute from first principles rather than from a lookup table where possible, and this is a good example of why that matters. The often-quoted figure of 14.7:1 is not a property of the word "petrol"; it is the answer for a particular hydrocarbon composition. Change the fuel to ethanol and the correct stoichiometric ratio drops to about 9.0:1. Anyone who carries 14.7 across to a different fuel is out by more than sixty percent.

What This Air Fuel Ratio Calculator Does

Enter a fuel as counts of carbon, hydrogen and oxygen atoms — whole numbers for a pure compound, fractional averages for a real blend — and the tool balances the complete combustion reaction, computes how much oxygen that consumes, and scales the oxygen up to a mass of air. The result is the stoichiometric AFR by mass, the amount of air needed to burn one unit of that fuel with nothing left over.

It then compares your measured condition to that reference. Lambda is the actual AFR divided by the stoichiometric AFR, so lambda above 1 means more air than the fuel needs and lambda below 1 means less. The equivalence ratio is simply the reciprocal of lambda, and the excess air figure is lambda minus one expressed as a percentage. All four describe the same physical situation; they exist because different fields settled on different conventions.

The bars underneath compare the stoichiometric AFR of every fuel in the dropdown on one axis, which makes the pattern visible immediately: the more hydrogen a fuel carries relative to carbon the higher its AFR, and any oxygen already in the molecule pulls it down.

How to Use It

  1. Pick the fuel or switch to custom and type the atom counts. A blend can be entered as a fractional average formula such as CH1.8.
  2. Choose what you are entering. Mass flows if you have both, an AFR if you have a wideband figure, or a lambda if that is what your instrument reports.
  3. Keep the mass-flow units consistent. AFR is a ratio of masses, so kg/h against kg/h and g/s against g/s both work; kg/h against g/s does not.
  4. Read lambda rather than AFR when you want to compare two different fuels, because lambda already has the fuel-specific reference divided out.
  5. Check the excess air figure for combustion work, where air supplied above stoichiometric is usually the quantity that gets specified.

The Formula and How It Is Calculated

Complete combustion of a fuel CxHyOz gives CxHyOz + a O2 → x CO2 + (y/2) H2O, and balancing oxygen fixes a = x + y/4 − z/2. Any oxygen already inside the fuel molecule reduces the oxygen that has to come from the air, which is exactly why oxygenated fuels have lower AFR values.

Air is modelled as 21 percent oxygen and 79 percent nitrogen by mole, so each mole of O2 arrives accompanied by 3.76 moles of N2, making 4.76 moles of air in total at a mean molar mass of 28.9647 g/mol. The mass of air per mole of O2 is therefore about 137.87 g. The stoichiometric ratio is that air mass times a, divided by the molar mass of the fuel: AFR = 137.87a / Mfuel.

Check it against isooctane, the classic gasoline reference compound. The NIST Chemistry WebBook entry for 2,2,4-trimethylpentane gives the formula C8H18 and a molar mass of 114.23 g/mol. Then a = 8 + 18/4 = 12.5, the air mass is 12.5 × 137.87 = 1,723 g, and 1,723 divided by 114.23 gives 15.09. Run the same arithmetic on the CH2 surrogate and you get 14.74, which is where the familiar 14.7 for pump gasoline comes from. Our molar mass calculator will confirm any fuel molar mass you want to check independently, and the chemical equation balancer will confirm the combustion equation itself.

Advertisement

Lambda, Phi and Excess Air Are Three Names for One Thing

Lambda is the ratio of the actual AFR to the stoichiometric AFR. At exactly stoichiometric it is 1.00. Above 1.00 the mixture is lean — more air than the fuel can consume — and below 1.00 it is rich. Because the fuel-specific reference has already been divided out, lambda is directly comparable between petrol, diesel, ethanol and hydrogen, which AFR is not.

The equivalence ratio phi is the reciprocal, so phi above 1 means rich and below 1 means lean. Combustion research tends to use phi; automotive work tends to use lambda; and the two conventions running in opposite directions is a reliable source of confusion when reading across from one literature to the other. If a paper says phi = 1.2 and you read it as lean, every conclusion afterwards is inverted.

Excess air is the industrial boiler and furnace convention, quoted as a percentage: lambda 1.15 is 15 percent excess air. It expresses the same quantity as lambda, just shifted and scaled, and it is the form that appears on burner commissioning sheets. This tool shows all three because the field you are in decides which one you have to write down, not which one is correct.

Why AFR Changes So Much Between Fuels

Two things set a fuel's stoichiometric AFR: its hydrogen-to-carbon ratio, and how much oxygen it already contains. Hydrogen needs a quarter of a mole of O2 per atom while carbon needs a whole mole per atom, but hydrogen weighs about a twelfth of what carbon weighs. Per kilogram of fuel, hydrogen-rich fuels therefore demand far more air. Pure hydrogen sits at about 34:1 and methane at about 17:1, while heavier, more carbon-rich diesel sits near 14.5:1.

Oxygenated fuels go the other way. Ethanol is C2H6O, and that single oxygen atom means half a mole less O2 has to be supplied per mole of fuel, on top of the fact that the oxygen adds mass to the fuel without adding anything that burns. The result is about 9.0:1. Methanol, with one oxygen on a single carbon, drops further to about 6.4:1. This is the reason an engine converted to run on E85 needs substantially larger fuel delivery to reach the same lambda; the chemistry demands more fuel mass per unit of air.

It is also why energy content and AFR move together. Because ethanol carries less chemical energy per kilogram than gasoline, and because more of it must be supplied per kilogram of air, the energy released per kilogram of air ends up remarkably similar across hydrocarbon and alcohol fuels. The US Department of Energy's alternative fuels properties comparison tabulates the chemical structures and energy contents that sit behind that observation.

What the Calculation Assumes, and Where It Stops

This is an ideal, complete-combustion calculation. It assumes every carbon atom ends as CO2 and every hydrogen pair as H2O, with no carbon monoxide, no unburnt hydrocarbon, no soot and no nitrogen oxides. Real combustion produces all of those, and at rich mixtures it necessarily does, because there is not enough oxygen present to complete the reaction.

It also uses dry air. Humid air contains water vapour that displaces some oxygen, so a hot humid day supplies slightly less oxygen per kilogram of air than the model assumes — a small effect, typically well under one percent, but a real one for precise work. Air composition is otherwise taken as fixed, which is accurate to better than a tenth of a percent for the oxygen fraction.

Finally, nothing here is engine calibration guidance. The tool converts between AFR, lambda and mass flow for a stated fuel composition; deciding what a particular engine or burner should be running is a separate question that depends on emissions equipment, knock margin, thermal limits and the manufacturer's own specification. If you need to move mass-flow readings between unit systems before entering them, the mass flow rate converter and the flow rate converter handle that, and the ideal gas law calculator converts a volumetric air reading into a mass at known temperature and pressure.

Need a different calculation?

Arb Digital publishes hundreds of free calculators across chemistry, physics, maths and finance — no sign-up, no limits. If something you need is missing, tell us and we will look at building it.

Browse All Free Tools Suggest a Tool

Common Mistakes to Avoid

  • Using 14.7 for every fuel — that figure belongs to a CH2-like gasoline. Ethanol is near 9.0 and hydrogen near 34, and carrying 14.7 across is a large error, not a rounding one.
  • Reading phi as if it were lambda — they are reciprocals, so phi above 1 is rich while lambda above 1 is lean. Confusing them inverts every conclusion about the mixture.
  • Mixing mass and volume — AFR as normally quoted is a mass ratio. A volumetric air reading has to be converted to mass at the actual temperature and pressure first.
  • Ignoring oxygen already in the fuel — the z/2 term in the oxygen balance is what separates ethanol from a hydrocarbon of similar size, and leaving it out overstates the air requirement.
  • Mismatched flow units — kg/h of air against g/s of fuel gives a ratio that is wrong by a factor of 3,600 while still looking like a plausible number.

Related Free Tools From Arb Digital

Check any fuel's molar mass with the molar mass calculator, balance the combustion equation itself with the chemical equation balancer, and convert a volumetric air flow to a mass using the ideal gas law calculator. Switch flow units with the mass flow rate converter or the flow rate converter, and move between mass and volume for a liquid fuel with the density calculator. The full free online tools hub lists everything else.

Frequently Asked Questions

What is the air-fuel ratio?

It is the mass of air supplied divided by the mass of fuel supplied. A ratio of 14.7 to 1 means 14.7 kilograms of air for every kilogram of fuel. Because it is a ratio of masses it has no units, so any consistent pair of mass-flow units gives the same answer.

What is the stoichiometric air-fuel ratio?

It is the exact ratio at which all the fuel and all the oxygen are consumed together, with nothing left over. It is calculated by balancing the complete combustion equation for the fuel and weighing the air needed, so it differs for every fuel composition.

How do I convert AFR to lambda?

Divide the actual air-fuel ratio by the stoichiometric ratio for that specific fuel. Lambda is 1.00 at stoichiometric, above 1.00 when lean and below 1.00 when rich, and it is directly comparable across fuels because the fuel-specific reference has been divided out.

Why is the stoichiometric ratio for ethanol only about 9?

Ethanol already contains an oxygen atom, so less oxygen has to come from the air, and that oxygen also adds fuel mass that does not burn. Both effects reduce the air needed per kilogram of fuel, giving roughly 9 to 1 instead of the 14.7 to 1 of gasoline.

What is the difference between lambda and the equivalence ratio?

They are reciprocals of one another. Lambda is actual AFR divided by stoichiometric AFR, while the equivalence ratio phi is stoichiometric AFR divided by actual AFR. Lambda above 1 is lean, whereas phi above 1 is rich.

Can I enter a fractional formula for a blend?

Yes. Real fuels are mixtures, and an average formula such as CH1.8 for diesel or CH2 for gasoline is the standard way to model them. The calculation only needs the average atom counts, so fractional values are entirely valid inputs.

Does humidity change the air-fuel ratio?

Slightly. Water vapour in humid air displaces some oxygen, so a kilogram of humid air supplies a little less oxygen than dry air. This calculator uses dry air at 21 percent oxygen by mole, and the humidity effect is usually well under one percent.

This calculator is provided for education and general reference. It describes an idealised complete-combustion calculation and is not engine calibration, combustion commissioning or safety guidance; follow the specifications and procedures issued by the equipment manufacturer or your own institution.

Advertisement
Advertisement

Take it further