afr calculator

Air-Fuel Ratio (AFR) Calculator

Use this tool to calculate AFR, lambda, mixture condition, and required fuel mass for a target AFR.

Enter values above and click Calculate AFR.

Fuel Needed for Target AFR

Given a measured air mass, estimate fuel mass needed to hit a desired AFR.

Enter air mass and target AFR, then click Calculate Fuel Needed.

What is an AFR calculator?

An AFR calculator helps you determine the relationship between air and fuel entering an engine. AFR stands for air-fuel ratio, which is the mass of air divided by the mass of fuel. This ratio affects power output, emissions, fuel economy, combustion temperature, and engine safety.

For gasoline engines, a commonly used stoichiometric ratio is 14.7:1. That means 14.7 parts of air by mass to 1 part of fuel. Real-world tuning often moves above or below this point depending on load and operating goals.

How the AFR calculator works

Core formulas

AFR = Air Mass / Fuel Mass

Lambda (λ) = Actual AFR / Stoichiometric AFR

Fuel Needed = Air Mass / Target AFR

  • AFR < Stoich generally indicates a richer mixture (more fuel relative to air).
  • AFR > Stoich generally indicates a leaner mixture (less fuel relative to air).
  • Lambda = 1.00 is stoichiometric, < 1.00 is rich, > 1.00 is lean.

Why AFR matters

AFR tuning is a balancing act. The right target depends on your engine setup and operating condition.

  • Power: Many forced-induction and high-load setups run richer than stoich for knock resistance and exhaust temperature control.
  • Efficiency: Light cruise can run near stoich (or slightly lean on some systems) for fuel economy.
  • Emissions: Catalytic converters are optimized around stoichiometric operation in closed-loop systems.
  • Engine protection: Excessively lean operation under heavy load can increase combustion temperatures and risk damage.

Step-by-step: using this tool

1) Calculate actual AFR from measurements

Enter measured air mass and fuel mass, then keep stoichiometric AFR at 14.7 for gasoline unless you are using a different fuel type. Click Calculate AFR to see AFR, lambda, and mixture classification.

2) Estimate fuel for a target ratio

Enter available air mass and your desired AFR. Click Calculate Fuel Needed to estimate the required fuel mass to hit your target.

Common AFR references (general guidance)

  • Gasoline stoich: about 14.7:1
  • E85 stoich: about 9.7 to 9.8:1 (blend dependent)
  • Idle/cruise: often near stoich in modern closed-loop control
  • High load / boost: commonly richer than stoich, depending on setup and calibration strategy

Always verify targets with reliable wideband O2 data, knock feedback, injector characterization, and temperature monitoring.

AFR vs lambda: which should you use?

AFR is intuitive, but lambda is fuel-agnostic. If you switch fuels, lambda remains directly comparable while AFR targets shift. Many tuners prefer lambda for consistency and AFR for communication with end users.

Important tuning note

This calculator is for estimation and learning. Real calibrations require sensor validation, transient fueling checks, ignition timing strategy, and professional judgment. If you are tuning for performance, especially with boost, treat safe operation as the top priority.

🔗 Related Calculators