Air-Fuel Ratio & Diesel Smoke Calculator

Work out an engine’s air-fuel ratio and lambda from its airflow and fuel flow, see whether a diesel is past its smoke limit and how much boost would burn the fuel cleanly, convert AFR to lambda for any fuel, and see where each fuel’s stoichiometric ratio comes from.

Calculator Automotive Updated Oct 5, 2026
Learn how this works
How to Use
  1. Pick a mode: Engine to get the air-fuel ratio from airflow and fuel flow, AFR ↔ lambda to convert, or Stoichiometric to see how a fuel’s ratio is worked out.
  2. Pick the fuel. Each one carries its stoichiometric ratio from the EPA’s default fuel compositions.
  3. Engine: enter displacement, rpm, volumetric efficiency, barometric pressure, boost, the air temperature in the intake manifold (after any intercooler), the fuel flow and the air-fuel ratio you are aiming for.
  4. AFR ↔ lambda: choose whether you are entering an air-fuel ratio or a lambda, and type it.
  5. Read the ratio, lambda and the most fuel the air can burn at your target, and check Show Work for each step.
Input
stoichiometric ratio in brackets
four-stroke
rpm
% (your estimate)
absolute, at the engine
gauge; 0 if naturally aspirated
after the intercooler
total
: 1 (about 20 is the diesel smoke limit)
λ, or AFR as x : 1
Presets
Mixture
Air-fuel ratio
—
Lambda
—
Air mass flow
—
Most fuel at target
—

Worked Example

A diesel towing. A 6.7-litre four-stroke diesel at 2,800 rpm, 90 % volumetric efficiency, 25 psi of boost on a 29.92 inHg day and 120 °F (322.0 K) manifold air: the manifold holds 273.7 kPa absolute, so the air is 273,690 ÷ (287.05 × 322.04) = 2.961 kg/m³. The engine draws 6.7 ÷ 1,000 × 2,800 ÷ 2 × 60 × 0.90 = 506.5 m³/h, which is 1,500 kg/h (55.1 lb/min) of air. With 160 lb/h (72.6 kg/h) of fuel the ratio is 20.7:1, λ 1.42, just on the clean side of the ~20:1 smoke limit.

The same engine over-fuelled. Raise the fuel to 200 lb/h with no more air and the ratio drops to 16.5:1. At 20:1 that air can burn only 165.3 lb/h; burning 200 lb/h cleanly would need about 33 psi of boost at the same manifold temperature.

The common mistake: using gasoline’s 14.7 for every fuel. A wideband set to gasoline that shows 12.5:1 is reporting λ 0.86 (12.5 ÷ 14.58). On E85 the same λ 0.86 is 8.49:1, and a tuner who chases 12.5:1 on E85 is running it at λ 1.26, dangerously lean. Tune in lambda, or use the right stoichiometric ratio for the fuel.

Show Work

Enter the engine and the fuel flow to see the working.

Formulas

Air-fuel ratio
AFR = ṁair ÷ ṁfuel
By mass, both in kg/h
Lambda
λ = AFR ÷ AFRstoich
φ = 1 ÷ λ; λ < 1 rich, λ > 1 lean
Engine airflow (four-stroke)
ṁ = ρ × Vd × rpm ÷ 2 × VE
ρ = P ÷ (287.05 × T), manifold P absolute
Stoichiometric ratio of CHαOβ
AFRs = (1 + α/4 − β/2) ÷ 0.209445 × 28.96559 ÷ (12.0107 + 1.00794α + 15.9994β)
O₂ per carbon ÷ O₂ in air × molar mass of air ÷ fuel mass per carbon
Most fuel at a target
ṁfuel = ṁair ÷ AFRtarget
The fuel the air can burn cleanly

Stoichiometric Ratios and Where They Come From

A fuel’s stoichiometric ratio follows from its chemistry. The EPA’s engine-test rules (40 CFR 1065.655) give default atomic ratios for each test fuel, and 40 CFR 1065.1005 gives dry air as 20.9445 % oxygen by mole with a molar mass of 28.96559 g/mol. Each carbon atom needs one O₂, every four hydrogens another, and the fuel’s own oxygen pays some back:

FuelEPA composition (per carbon)Stoichiometric AFR (kg air per kg fuel)Density (kg/L)
Gasoline (E0)CH1.8514.58 : 10.7399
E10 gasolineCH1.92O0.0314.05 : 10.7447
E85CH2.73O0.389.90 : 10.7848
Ethanol (E100)CH3O0.59.01 : 10.7939
Methanol (M100)CH4O16.47 : 10.7915
No. 2 dieselCH1.814.51 : 10.8446
LPG (propane)CH2.6415.65 : 1gas
Natural gasCH3.78O0.01616.66 : 1gas

Sources disagree a little for gasoline because real gasoline varies: Garrett Motion’s Turbo Tech 102 uses 14.7:1 (and 6.4:1 for alcohol, 14.5:1 for diesel), MIT’s course 2.61 gives 14.6 with a range of 14.2 to 15, and the EPA default composition works out at 14.58. Diesel engines run lean overall: the MIT notes give an air-fuel ratio of about 80 at idle, about 19 at full load, and a smoke limit of about 20, because the fuel burns in a spray that mixes with only part of the air.

About This Calculator

This calculator handles mixture three ways. Engine mode works out the air an engine draws in from its displacement, speed, volumetric efficiency, manifold pressure and temperature, divides it by the fuel flow, and shows the air-fuel ratio, lambda, the most fuel the air can burn at your target and the boost that fuel would need. AFR ↔ lambda converts for any of eight fuels and shows the same lambda on the others. Stoichiometric mode works out a fuel’s ratio from its composition, step by step.

The airflow is an estimate that rests on your volumetric-efficiency figure; a mass-airflow reading or a wideband sensor beats it. Over-fuelling a diesel for smoke wastes fuel and loads the exhaust after-treatment, and emissions equipment must stay as the vehicle maker fitted it. Everything runs in your browser and nothing you enter is sent anywhere.

Related calculators: Air Density Calculator, BSFC Calculator, and Injector Sizing Calculator.

Frequently Asked Questions

What is the stoichiometric air-fuel ratio of diesel, gasoline, E85 and methanol?

Worked out from the EPA’s default fuel compositions and the composition of dry air: No. 2 diesel 14.5:1, gasoline 14.6:1, E10 14.0:1, E85 9.9:1, ethanol 9.0:1 and methanol 6.47:1. Garrett and many tuning guides quote 14.7:1 for gasoline; MIT’s engine course gives 14.6 with a range of 14.2 to 15, because real gasoline varies.

Does black diesel smoke mean more power?

No. Smoke is fuel that found no oxygen to burn with. MIT’s diesel notes put the smoke limit at an overall air-fuel ratio of about 20:1. A 6.7-litre diesel at 2,800 rpm, 25 psi boost and 120 °F manifold air takes in 1,500 kg/h of air, so it can burn about 165 lb/h of fuel at 20:1; feeding it 200 lb/h drops the ratio to 16.5:1, deep in the smoke.

What is lambda?

Lambda (λ) is the actual air-fuel ratio divided by the stoichiometric ratio of the fuel being burned, so λ 1 is stoichiometric for any fuel, below 1 is rich and above 1 is lean. λ 0.85 is 12.4:1 on gasoline, 8.42:1 on E85 and 5.50:1 on methanol. The equivalence ratio φ is 1 ÷ λ.

What air-fuel ratio do diesels run at?

Diesels are unthrottled and always lean overall. MIT’s course gives about 80:1 at idle and about 19:1 at full load, with the smoke limit near 20:1. That is λ of roughly 5.5 at idle and 1.3–1.4 at full load against the 14.5:1 stoichiometric ratio.

What air-fuel ratio should a gasoline engine run at full load?

Garrett’s Turbo Tech 102 says naturally aspirated gasoline engines make peak power slightly rich of stoichiometric but are usually kept at 12:1 to 13:1 to control exhaust temperature, and that boosted engines must run richer still to keep knock away. 12.5:1 is λ 0.86. The right figure for your engine is the maker’s or tuner’s calibration.

How do I use the Air-Fuel Ratio & Diesel Smoke Calculator?

Just type your numbers. The answer shows up right away — there is no button to press. Change anything and it updates by itself.

Do I need to install or sign up for anything?

Not at all — it runs in the browser with nothing to install and no account. After it loads once, it even works without an internet connection.

Is my information private?

Yes. Everything happens in your browser. Nothing you type is sent to a server or saved anywhere.

Common Use Cases

Diagnosing a smoking diesel

A 6.7 L diesel at 2,800 rpm and 25 psi taking 200 lb/h of fuel runs 16.5:1, below the ~20:1 smoke limit; it can burn only 165 lb/h at 20:1.

Planning a turbo upgrade

To burn 200 lb/h at 20:1 the same engine needs about 33 psi of boost at 120 °F manifold air.

Reading a wideband on E85

A gauge reading λ 0.85 on E85 means 8.42:1; the same λ on gasoline would be 12.4:1.

Checking a gasoline full-load target

Garrett’s 12–13:1 full-load range is λ 0.82 to 0.89 against gasoline’s 14.58:1.

Comparing fuels

A kilogram of E85 needs 9.9 kg of air, a kilogram of diesel 14.5 kg, about 8.1 and 11.8 m³ of standard air.

Last updated: