Air To Fuel Ratio Calculator

Calculate air to fuel ratio by mass, stoichiometric target, required air or fuel mass, and lambda for gasoline, diesel, ethanol, hydrogen, and custom fuel inputs.

Grams (g)
Grams (g)
Stoichiometric Target
14.70 : 1
Required Air Mass (Ideal)
g
Required Fuel Mass (Ideal)
g
Actual Air-to-Fuel Ratio (AFR)
: 1
Lambda (λ) & Condition
Formulas & Definitions
Core Formulas:
Air-to-Fuel Ratio (AFR) = Mass of Air ÷ Mass of Fuel
Required Air = Mass of Fuel × Stoichiometric Target
Required Fuel = Mass of Air ÷ Stoichiometric Target
Lambda (λ) = Actual AFR ÷ Stoichiometric Target

What is AFR?
The Air-to-Fuel Ratio is the mass ratio of air to a solid, liquid, or gaseous fuel present in a combustion process. It determines whether a mixture is combustible, and if so, how efficiently it burns.

Mixture Conditions:
λ = 1.0 : Stoichiometric (Ideal balance, complete combustion).
λ < 1.0 : Rich (Excess fuel, lower efficiency, higher power).
λ > 1.0 : Lean (Excess air, higher efficiency, higher heat).
By: AxisCalc Published: April 12, 2026 Reviewed by: Marcus Vance

Whether you are tuning a high-performance engine, setting up an aftermarket ECU, or studying combustion dynamics, getting the right mixture of air and fuel is essential. Our Air-to-Fuel Ratio (AFR) Calculator helps you determine the relationship between the air and fuel mass entering your combustion chamber. By entering a few basic parameters, you can find out if your engine is running lean, rich, or right at the stoichiometric target.

What Is the Air-to-Fuel Ratio?

The Air-to-Fuel Ratio (AFR) is the mass ratio of air to a solid, liquid, or gaseous fuel present in a combustion process. In simpler terms, it tells you how many parts of air are mixed with one part of fuel by weight.

For a combustion engine to run, it needs oxygen (from the air) to ignite the fuel. If there is too much fuel, the mixture cannot burn completely. Conversely, very lean mixtures may misfire or fail to ignite reliably. The AFR gives tuners and engineers a quantifiable number to measure this balance, ensuring the mixture is combustible and operating efficiently.

Why the Air-to-Fuel Ratio Matters

Maintaining the correct AFR is one of the most critical aspects of engine management. The ratio directly impacts how much power an engine produces, how much fuel it consumes, and the temperature of the exhaust gases.

When you aim for maximum fuel efficiency and low emissions during standard cruising, you want a balanced mixture. However, when you accelerate hard or run an engine under heavy boost, lean mixtures can run hotter and increase knock risk under load.

In these high-load scenarios, tuners intentionally adjust the AFR to add slightly more fuel. The extra fuel acts as a cooling agent inside the cylinder, keeping temperatures safer and allowing the engine to produce power without excessive heat buildup.

Air-to-Fuel Ratio Formulas

This calculator runs on standard physics and combustion formulas to find your engine conditions.

The core formula to find your actual Air-to-Fuel Ratio is:$$AFR = \frac{m_{air}}{m_{fuel}}$$

Where $m_{air}$ is the mass of the air and $m_{fuel}$ is the mass of the fuel.

To determine the amount of air or fuel needed for a chemically balanced (stoichiometric) burn, the calculator uses the following equations based on your fuel type’s baseline target:$$\text{Required Air} = m_{fuel} \times \text{Stoichiometric Target}$$$$\text{Required Fuel} = \frac{m_{air}}{\text{Stoichiometric Target}}$$

Finally, the calculator determines your Lambda ($\lambda$) value, which normalizes the AFR regardless of the fuel type being used:$$\lambda = \frac{AFR_{actual}}{AFR_{stoich}}$$

How to Use the AFR Calculator (Example)

Suppose you are tuning a project car running on standard Gasoline and want to check your current fuel map under heavy acceleration. You have logged your mass airflow (MAF) and injector pulse widths, calculating that your engine is pulling in 180 grams of air per second and injecting 14 grams of fuel per second. You wish to find your actual AFR and Lambda value to ensure you are not running too lean.

You now have all the relevant information needed for the calculator. First, select “Gasoline / Petrol – 14.7” from the fuel dropdown list. Now, within the input boxes, enter 180 for the Mass of Air, leaving the unit set to Grams (g). Hit the tab key and enter 14 for the Mass of Fuel.

The results are calculated instantly. Looking at the results panel, you will see your Actual Air-to-Fuel Ratio is 12.86:1. Below that, the calculator shows your Lambda ($\lambda$) is 0.875, and identifies the condition as “Rich.” This tells you that your current tuning map is delivering plenty of fuel for a high-load pull.

Common Fuel Stoichiometric Ratios

Different fuels require drastically different amounts of air to burn completely. This balance is called the “Stoichiometric” target. Our tool includes built-in profiles for the most common fuels. Here are the stoichiometric baseline values used in the calculator:

Fuel TypeChemical FormulaStoichiometric AFR
HydrogenH234.3 : 1
MethaneCH417.19 : 1
EthaneC2H616.09 : 1
PropaneC3H815.67 : 1
ButaneC4H1015.44 : 1
PentaneC5H1215.31 : 1
OctaneC8H1815.09 : 1
Kerosene14.9 : 1
Gasoline / Petrol14.7 : 1
DieselC12H2314.5 : 1
Ethanol E1014.08 : 1
AcetyleneC2H213.2 : 1
n-ButanolC4H10O11.2 : 1
Ethanol E859.76 : 1
MethanolCH3OH6.47 : 1

If your specific fuel blend is not listed, you can select “Other (Custom)” in the tool and manually enter your stoichiometric baseline.

Understanding Lambda and Mixture Conditions

While AFR gives you the raw mass ratio, tuners often rely on Lambda ($\lambda$) because it represents the combustion condition regardless of what fuel is in the tank. The calculator automatically computes this for you and categorizes your mixture into one of three states:

Optimal ($\lambda = 1.0$): This is the stoichiometric sweet spot. There is enough air to burn all the fuel, with nothing left over. However, stoichiometric is the chemically balanced target, not always the best target for every engine condition. This is targeted for idle, light cruising, and passing emissions tests.

Rich ($\lambda < 1.0$): A rich mixture means there is excess fuel in the cylinder. The actual AFR is lower than the stoichiometric target. While this reduces fuel economy and increases emissions, a moderately rich mixture is highly desirable during acceleration to maximize power and cool the combustion chamber.

Lean ($\lambda > 1.0$): A lean mixture has excess air. The actual AFR is higher than the stoichiometric target. While lean mixtures can offer excellent fuel economy, lean mixtures can run hotter and increase knock risk under load. Very lean mixtures may misfire or fail to ignite reliably.

FAQs:

  1. Can I calculate AFR using pounds or ounces instead of grams?

    Yes, the calculator includes built-in mass conversions. You can input your air and fuel mass in grams, kilograms, pounds, or ounces. The tool will automatically normalize the units behind the scenes to give you an accurate ratio.

  2. What happens if my AFR is too high?

    A high AFR means your mixture is lean (too much air, not enough fuel). While slightly lean mixtures are sometimes used for fuel economy at light cruising speeds, lean mixtures can run hotter and increase knock risk under load. Very lean mixtures may misfire or fail to ignite reliably.

  3. Why does E85 require a different target than normal gasoline?

    E85 is a blend containing 85% ethanol. Ethanol molecules contain their own oxygen. Because the fuel carries oxygen with it into the cylinder, it requires less atmospheric air to burn completely. This is why the stoichiometric target for E85 is 9.76:1, compared to standard gasoline at 14.7:1.

  4. How do I know what mass of air my engine is using?

    In modern fuel-injected vehicles, the mass of the air entering the engine is constantly measured by the Mass Airflow (MAF) sensor, usually in grams per second (g/s). You can view this data in real-time using an OBD2 scanner or aftermarket tuning software.

Related Tools & Calculators: