Air-Fuel Ratio Calculator

Calculate AFR, lambda, and equivalence ratio for any fuel — gasoline, diesel, ethanol, methanol, hydrogen and more.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

The air-fuel ratio (AFR) is the single most important combustion parameter in any internal-combustion engine, boiler or furnace. It determines whether a mixture burns completely, how much power it produces, how cleanly it burns, and whether an emissions control system (catalytic converter, DPF, SCR) can function correctly. This calculator handles every fuel type commonly encountered in automotive tuning, motorsport, alternative fuels research and industrial combustion engineering.

How it works

The fundamental formula is simple:

AFR = mass of air / mass of fuel

From this, two normalised quantities are derived:

  • Lambda (λ) = AFR / stoichiometric AFR for the fuel in use. Lambda of exactly 1.0 means stoichiometric — a perfect chemically balanced mixture — regardless of which fuel you are burning. Lambda below 1 is rich (excess fuel); above 1 is lean (excess air).

  • Equivalence ratio (φ) = 1 / λ. Preferred in combustion research and in some ECU platforms. Values above 1 are rich; values below 1 are lean — the inverse of lambda.

The calculator lets you solve in four directions: compute AFR from two measured masses; find the air mass needed for a target AFR; find the fuel mass for a target AFR; or convert a wideband lambda sensor reading directly into AFR and φ.

Stoichiometric AFR by fuel

Each fuel’s stoichiometric AFR follows from its molecular formula and the oxygen-balance equation. Gasoline is modelled as a C₁H₁.₈₇ hydrocarbon chain giving 14.7:1. Ethanol (C₂H₅OH) already carries an oxygen atom, so it needs less external air — 9.0:1 for pure ethanol. Hydrogen (H₂) burns to water with no carbon, requiring 34.3:1 air by mass. Blended fuels like E85 (85 % ethanol, 15 % gasoline by volume) sit at approximately 9.76:1 depending on exact blend composition and ethanol density.

Worked example

A tuner measures 197 g of air entering a cylinder and 13.4 g of fuel injected per cycle on a turbocharged petrol engine:

  1. AFR = 197 / 13.4 = 14.70:1 (right at stoichiometric for gasoline)
  2. Lambda = 14.70 / 14.7 = 1.000
  3. Equivalence ratio = 1 / 1.000 = 1.000

Now suppose the tuner wants a power-enrichment map at λ = 0.88 (slightly rich, for a boosted run):

  1. Target AFR = 0.88 × 14.7 = 12.94:1
  2. With 197 g of air, required fuel = 197 / 12.94 = 15.22 g per cycle
  3. That is 13.6 % more fuel than stoichiometric

The colour-coded mixture indicator and lambda scale let you immediately see where your calibration sits relative to the catalyst-operation window, the peak-power zone and the misfire-risk boundary.

Formula note

All calculations use:

  • λ = AFR⊂actual / AFR⊂stoich
  • φ = 1 / λ
  • air mass = AFR × fuel mass
  • fuel mass = air mass / AFR

No empirical correlations or approximations are involved — these are exact definitions from SAE J1297 and ISO 8178 combustion standards. Stoichiometric values sourced from Heywood, Internal Combustion Engine Fundamentals (McGraw-Hill, 1988) and updated with NIST thermochemical data for alternative fuels.

Ad placeholder (rectangle)