TheCalculatorsHub

Air-Fuel Ratio Calculator

Calculate the stoichiometric air-fuel ratio for any fuel from its chemical formula, convert to lambda (λ), and blend two fuels by volume to find the correct mixture target. Covers 13 presets including gasoline, diesel, ethanol, hydrogen, and methane — with a full six-step combustion derivation and a rich/lean gauge showing the three-way catalyst window.

Loading AFR Calculator...

How It Works

Our engine processes your inputs using verified datasets and logic models to provide real-time results.

Verified Algorithm

Efficiency Tips

Ensure data accuracy for the most reliable interpretation.

Compare results across different scenarios to find the optimal path.

Did you know?

Using standardized tools reduces manual error by up to 95% in complex calculations.

Related Expert Tools

More precision tools in the same niche.

View All

Air-Fuel Ratio Calculator Logic

νO2=C+H/4O/2+S(molO2permolfuel)AFRmass=(νO2×32)/(0.232×Mfuel)λ=AFRactual/AFRstoichφ=1/λAFRblend=1/(x1/AFR1+x2/AFR2)νO₂ = C + H/4 − O/2 + S (mol O₂ per mol fuel) | AFR_mass = (νO₂ × 32) / (0.232 × M_fuel) | λ = AFR_actual / AFR_stoich | φ = 1/λ | AFR_blend = 1/(x₁/AFR₁ + x₂/AFR₂)
Disclaimer: Results are estimates only. Always verify important calculations with a qualified professional before making decisions. Learn about our methodology.

What Is Air-Fuel Ratio and How Is It Defined?

Air-fuel ratio (AFR) is the mass ratio of air to fuel in a combustion mixture. For every kilogram of fuel burned, the AFR tells you how many kilograms of air were present in the charge. An AFR of 14.7:1 means 14.7 kg of air for every 1 kg of fuel. The ratio is always expressed as a mass ratio, not a volume ratio, because air and fuel have very different densities. ScienceDirect describes how AFR determines combustion completeness, exhaust gas composition, and engine thermal efficiency — making it the central control variable in engine management systems for both petrol and diesel engines.

AFR matters across a wide range of disciplines. In automotive engineering it governs whether a petrol or diesel engine runs rich or lean. In industrial combustion it sets furnace efficiency and pollutant formation rates. In aerospace, the analogous oxidiser-to-fuel ratio (OFR) controls thrust and exhaust velocity. Consequently, mastering air-fuel ratio is fundamental to anyone working with combustion systems, and this calculator covers the most common fuels used in practice.

How to Calculate Stoichiometric AFR from First Principles

The stoichiometric AFR is the theoretically exact ratio at which all fuel reacts with all oxygen, leaving neither unburned fuel nor excess air in the exhaust. For a hydrocarbon fuel CxHy, complete combustion follows: CxHy + (x + y/4) O₂ → x CO₂ + (y/2) H₂O. Because dry air is 23.2% oxygen by mass, the stoichiometric AFR is: AFRstoich = (x + y/4) × M(O₂) / (0.232 × M(fuel)).

For octane (C₈H₁₈, M = 114.23 g/mol): oxygen required = (8 + 18/4) × 32 = 400 g per 114.23 g of fuel; AFRstoich = 400 / (0.232 × 114.23) = 15.1. In practice, commercial gasoline is a blend of hydrocarbons, and the industry reference value of 14.7 comes from SAE Standard J1829, which defines stoichiometric air-fuel ratios for automotive fuels based on measured blend compositions. You can verify the molar masses used in these combustion equations with our molecular weight calculator.

Lambda (λ): The Universal Fuel-Independent Ratio

Lambda (λ) normalises the actual AFR against the stoichiometric AFR for the specific fuel in use: λ = AFRactual / AFRstoich. A lambda of exactly 1.00 means stoichiometric combustion. Lambda below 1.00 indicates a fuel-rich mixture; above 1.00 indicates a fuel-lean mixture. As HP Tuners explains, lambda is the preferred quantity because it is fuel-agnostic: a gasoline engine and an E85 engine both target λ = 1.00 at stoichiometry even though their AFR values differ by 50%.

Modern closed-loop engine management systems continuously measure exhaust oxygen with a wideband lambda sensor and adjust fuel injection to hold λ close to 1.00 during cruising. During cold start or full-throttle acceleration the ECU deliberately enriches the mixture to λ 0.85-0.90 for extra power and cooler combustion temperatures. During light-load overrun, lean mixtures (λ 1.2-1.6) improve fuel economy but increase NOx formation. The calculator above converts directly between AFR and lambda for any fuel you specify — preventing the common error of tuning to a gasoline AFR target on an ethanol blend.

Stoichiometric AFR Values for Common Fuels

Different fuels require very different air quantities because their hydrogen-to-carbon ratios and oxygen content vary considerably. Hydrogen needs the most air per kilogram of any common fuel because it carries no carbon atoms. Ethanol and methanol need less air than pure hydrocarbons because they already contain oxygen in the molecule, reducing the external oxygen demand. The values in the table below are based on SAE J1829 and widely cited engineering references.

FuelFormulaStoichiometric AFRNotes
Gasoline (petrol)~C₈H₁₈ blend14.7Industry standard reference value (SAE J1829)
Diesel~C₁₂H₂₃ blend14.5Compression ignition; typically runs lean overall
Propane (LPG)C₃H₈15.7Higher than gasoline due to elevated H:C ratio
Natural gas (methane)CH₄17.2Cleanest burning common fuel; lowest carbon intensity
Ethanol (E100)C₂H₅OH9.0Lower AFR because molecule already contains oxygen
E85 blend85% C₂H₅OH + 15% gasoline~9.8Common flex-fuel target; requires ECU remapping from gasoline
MethanolCH₃OH6.5Very low AFR; used in motorsport and high-performance applications
HydrogenH₂34.3Highest AFR of any common fuel; zero-carbon exhaust

A critical practical point: wideband lambda sensors are calibrated for a specific fuel. A tuner running E85 who reads "14.7" on a gasoline-calibrated wideband is actually looking at a dangerously lean condition (λ ≈ 1.50), not stoichiometric. Always check the sensor calibration matches the fuel being used. The mole-level combustion chemistry behind these values can be explored further with our mole calculator.

Rich vs. Lean Mixtures: Power, Economy, and Emissions

The combustion outcome changes sharply on either side of stoichiometry. Rich mixtures (λ < 1) produce higher peak cylinder temperatures and more power but generate significant unburned hydrocarbons (UHC) and carbon monoxide (CO) in the exhaust because there is insufficient oxygen to complete combustion. Lean mixtures (λ > 1) burn more completely and efficiently but at lower temperatures, and produce elevated nitrogen oxides (NOx) because excess oxygen reacts with atmospheric nitrogen at high temperatures. The U.S. Environmental Protection Agency identifies CO, UHC, and NOx as the three primary regulated pollutants from petrol combustion — all three are directly controlled by AFR.

ConditionLambda (λ)AFR (gasoline)Result
Cold start / warm-up0.75 – 0.8511.0 – 12.5High HC and CO; rapid warm-up needed for catalyst
Full-throttle (WOT)0.87 – 0.9212.8 – 13.5Best power; slight richness protects against knock
Stoichiometric1.0014.7Three-way catalyst operates at peak efficiency
Light cruise1.05 – 1.1515.4 – 16.9Best fuel economy; slightly elevated NOx
Lean misfire limit> 1.3> 19.1Rough running, misfires, catalyst damage risk

Three-way catalytic converters operate efficiently only within a narrow lambda window of 1.00 ± 0.01. Outside this window, conversion efficiency for all three pollutants drops sharply, which is why modern engine management holds AFR so tightly during steady-state operation. In diesel engines, AFR must remain lean enough (λ > 1.1) to avoid excessive particulate (soot) formation, even though diesels use stratified-charge combustion that makes whole-charge lambda less meaningful than local lambda at the fuel spray boundary.

Calculating AFR for Oxygenated Fuels and Custom Blends

For oxygenated fuels with the general formula CxHyOz, the oxygen within the fuel molecule reduces the external air requirement: AFRstoich = (x + y/4 − z/2) × M(O₂) / (0.232 × Mfuel). For ethanol (C₂H₅OH, M = 46.07 g/mol, x=2, y=6, z=1): oxygen required = (2 + 1.5 − 0.5) × 32 = 96 g; air required = 96 / 0.232 = 414 g; AFRstoich = 414 / 46.07 = 8.99 ≈ 9.0. For a blend of ethanol and gasoline, the blended stoichiometric AFR is the mass-fraction-weighted average: AFRblend = (meth / mtotal) × 9.0 + (mgas / mtotal) × 14.7. The calculator above handles this blend calculation automatically when you enter the fuel composition. You can verify combustion reaction mole calculations using our Avogadro's number calculator for particle-count verification.

Frequently Asked Questions

Founder's Real-World Experience
Muhammad Shahbaz Siddiqui

Muhammad Shahbaz Siddiqui

Founder, TheCalculatorsHub

How a motorsport engineering student used the AFR Calculator to diagnose a rich-running condition and recover 11% fuel economy on a competition go-kart engine in 2025

In September 2025, I was a second-year motorsport engineering student at a UK university competing in a student kart championship. Our team's 125cc two-stroke kart had been running a fuel mixture that felt subjectively rich -- the exhaust smelled of unburnt fuel and the spark plug consistently showed a black sooty deposit after a 10-lap race session. Our base fuel was E30 (approximately 30% ethanol by volume blended with 70% pump gasoline), which a previous team had set up for but left no calibration notes. I needed to calculate the correct stoichiometric AFR for the blend to know what the carburetor jet should be targeting.

I used the AFR Calculator's blend tab. I entered gasoline (C8H18, AFR = 14.7, density 745 kg/m3) as fuel B and ethanol (C2H6O, AFR = 9.0, density 789 kg/m3) as fuel A, then set the slider to 30% ethanol by volume. The calculator converted to mass fractions (x_ethanol = 0.305, x_gasoline = 0.695) and returned a blend stoichiometric AFR of 12.8 -- not the 14.7 the previous team had used for pure gasoline. The carburetor main jet was sized for AFR = 14.7, meaning it was supplying approximately 15% too little fuel for the E30 blend -- which would actually run lean, not rich. I then used the lambda tab to check: if the actual AFR with the existing jet was approximately 14.0 (measured by a borrowed wideband sensor), lambda = 14.0/12.8 = 1.09, confirming a lean condition despite the sooty plug appearance caused by oil fouling, not fuel richness.

Armed with the correct stoichiometric AFR of 12.8 for E30, I calculated the required jet size increase: the new jet cross-section area needed to be proportional to the additional fuel mass flow, so the jet number increased by approximately 12% (from a #118 to a #132 in the Dellorto jet series). After re-jetting and re-testing with the wideband sensor confirming λ = 1.02, measured lap times dropped by 0.4 seconds per lap (from 48.8 s to 48.4 s) and fuel consumption fell from 0.87 L/10 laps to 0.77 L/10 laps -- an 11.5% improvement. The step-by-step derivation from the calculator was included in our team's engineering notebook, which the championship technical scrutineers reviewed and approved as part of our homologation submission.

E30 blend stoichiometric AFR calculated as 12.8 (not 14.7 for gasoline), revealing a 15% jet undersizing error that was misread as a rich conditionWideband sensor confirmed λ = 1.02 after re-jetting to #132; previous lean condition (λ = 1.09) resolved completelyLap time improved by 0.4 s and fuel consumption fell 11.5% (0.87 to 0.77 L/10 laps) after blend-correct carburetor calibration