Air Fuel Ratio (AFR) Calculator
Calculate air-fuel ratio (AFR) and lambda value from oxygen sensor readings for engine tuning, combustion optimization, and emissions analysis. Free online tool for gasoline, diesel, E85, and more.
Most common automotive fuel. Stoichiometric AFR 14.7:1. Typical lambda range 0.7–1.2.
λ < 1 = rich, λ = 1 = stoichiometric, λ > 1 = lean. Typical range: 0.5–2.0
About This Calculator
The Air Fuel Ratio (AFR) Calculator is an essential tool for automotive engineers, engine tuners, mechanics, and students who need to calculate lambda values, equivalence ratios, and air-fuel mixtures for internal combustion engines. By selecting your fuel type and entering either the lambda reading or exhaust oxygen percentage from a wideband O2 sensor, you get instant results with detailed breakdowns and comparison charts.
The AFR is calculated using the formula: λ = AFR / AFRstoich, where AFRstoich depends on the fuel type. Gasoline has a stoichiometric AFR of 14.7:1, while diesel is 14.5:1, E85 is 9.8:1, LPG is 15.5:1, and CNG is 17.2:1. Lambda (λ) values below 1.0 indicate a rich mixture (excess fuel), values above 1.0 indicate a lean mixture (excess air), and λ = 1.0 is stoichiometric. The equivalence ratio φ = 1/λ provides an alternative measure used in combustion research and aerospace applications. For lean mixtures, exhaust oxygen percentage follows an approximate linear relationship: O₂ ≈ 20 × (λ − 1)%.
This calculator supports eight fuel types including gasoline, diesel, E85, LPG, CNG, methanol, ethanol, and hydrogen. You can input either the lambda value directly (typical wideband sensor range 0.5–2.0) or the exhaust oxygen percentage measured by an exhaust gas analyzer. Results include actual AFR, lambda, equivalence ratio, mixture classification (rich/lean/stoichiometric), exhaust oxygen content, and excess air percentage. The AFR comparison chart visualizes how your current mixture compares to the stoichiometric values of all supported fuels.
Applications span automotive tuning, motorsports, engine diagnostics, emissions testing, and combustion engineering. Whether you are tuning a race car for maximum power, optimizing a fleet for fuel efficiency, or studying combustion chemistry in an academic setting, this calculator provides the fundamental conversion between the key metrics of engine combustion.
Frequently Asked Questions
What is air-fuel ratio and why is it important?
Air-fuel ratio (AFR) is the mass ratio of air to fuel in an internal combustion engine. Stoichiometric AFR for gasoline is 14.7:1 — theoretically perfect combustion. AFR below 14.7 is rich (more fuel, more power, cooler exhaust), while AFR above 14.7 is lean (more air, better efficiency, higher NOx). Proper AFR control maximizes power, fuel efficiency, and engine longevity while minimizing emissions.
How do you calculate lambda from AFR?
Lambda (λ) is calculated by dividing the actual AFR by the stoichiometric AFR for that fuel: λ = AFR / AFR_stoich. For example, with gasoline (stoich 14.7:1), if your measured AFR is 13.2:1, then λ = 13.2/14.7 = 0.898 — a rich mixture. If AFR is 16.2:1, then λ = 16.2/14.7 = 1.102 — a lean mixture. Lambda 1.0 means stoichiometric.
What are the stoichiometric AFR values for different fuels?
Stoichiometric AFR varies by fuel: Gasoline 14.7:1, Diesel 14.5:1, E85 (85% ethanol) 9.8:1, LPG (propane/butane) 15.5:1, CNG (methane) 17.2:1, Methanol 6.4:1, Ethanol 9.0:1, Hydrogen 34.0:1. Each fuel requires a different air-fuel mixture for complete combustion due to different oxygen content and molecular structure.
How does the O2 sensor reading relate to AFR and lambda?
Narrowband O2 sensors output voltage (0.1V lean, 0.9V rich) but cannot measure precise lambda. Wideband O2 sensors provide precise lambda readings from 0.5 to 2.0. Exhaust oxygen percentage correlates with lambda: approximately 0% O2 at λ=1.0, 2% at λ=1.1, 4% at λ=1.2, and 8% at λ=1.4. Modern engine ECUs use wideband O2 sensors for closed-loop fuel control targeting λ=1.00 ±0.01.
What is the difference between rich and lean mixtures?
A rich mixture (λ < 1) has excess fuel, producing more power and cooler exhaust gas temperatures (EGT), but reduces fuel economy and increases CO and HC emissions. A lean mixture (λ > 1) has excess air, improving fuel efficiency and reducing CO emissions, but increases NOx emissions and EGT. Extremely lean mixtures can cause engine knocking or misfire. Most modern engines target λ ≈ 1 during cruising for optimal catalyst efficiency.
What is the equivalence ratio and how does it relate to lambda?
The equivalence ratio (φ) is the reciprocal of lambda: φ = 1/λ. φ > 1 means rich mixture, φ = 1 means stoichiometric, φ < 1 means lean mixture. While lambda is commonly used in Europe and Asia, the equivalence ratio is more common in US aerospace and combustion research. Both metrics describe the same combustion condition from opposite perspectives.
Can you tune an engine using AFR and lambda values?
Yes, engine tuners use AFR and lambda readings to optimize performance. Typical targets: Idle λ=0.98–1.02, cruising λ=1.00, light throttle λ=0.95–1.00, full throttle (naturally aspirated) λ=0.85–0.90, full throttle (forced induction) λ=0.75–0.85, and direct injection λ=0.80–1.20. Wideband O2 sensors are essential for accurate tuning. Always use a dyno and EGT gauge alongside AFR monitoring for safe tuning.
How do emissions regulations affect AFR requirements?
Emission regulations in India (BS6), Europe (Euro 6), and the US (EPA Tier 3) require three-way catalytic converters that operate at peak efficiency only at λ = 1.00 ± 0.01. This narrow window simultaneously reduces CO, HC, and NOx by up to 99%. Modern ECUs use closed-loop control with wideband O2 sensors to maintain stoichiometric operation during most driving conditions. Forced induction and high-performance applications may run richer for knock protection and power.