# AFR Calculator (Air-Fuel Ratio)

URL: https://speedycalculator.com/calculators/chemistry/air-fuel-ratio-afr/
Last updated: 2026-11-06

> The AFR calculator finds the air-fuel ratio of a mixture, its lambda (λ) and equivalence ratio (φ), and the air or fuel mass needed for complete combustion, using real stoichiometric AFR values for gasoline, diesel, E85, alcohols, LPG, natural gas, hydrogen or any CₓHᵧO_z fuel.

## Inputs

- Fuel
- Stoichiometric AFR of your fuel
- Carbon atoms x
- Hydrogen atoms y
- Oxygen atoms z
- I know
- Mass of air (kg, g, lb, t (tonne), mg)
- Mass of fuel (kg, g, lb, t (tonne), mg)
- Measured AFR (actual) — Enter the AFR for this fuel – a wideband gauge set to "gasoline AFR" shows 14.7 × λ whatever you burn.
- Lambda (λ)

## Results

- Stoichiometric AFR of the fuel
- Air-fuel ratio (AFR)
- Lambda (λ)
- Equivalence ratio (φ)
- Fuel-air ratio (FAR)
- Excess air
- Mixture
- Equivalent "gasoline AFR" on a wideband gauge
- Air needed for complete combustion
- Fuel that this air can burn completely
- Volume of that air (15 °C, 1 atm)
- Oxygen contained in that air

## Formula

```
AFR = mass of air ÷ mass of fuel · λ = AFR ÷ AFR_stoich · φ = 1 ÷ λ = AFR_stoich ÷ AFR
For CₓHᵧO_z: AFR_stoich = (x + y/4 − z/2) × 138.26 g ÷ M_fuel  (138.26 g of dry air carry 1 mol of O₂)
```

## Explanation

The air-fuel ratio (AFR) is the mass of air supplied for every unit mass of fuel. Every fuel has one special value, the stoichiometric AFR, at which there is exactly enough oxygen to burn all the carbon to CO₂ and all the hydrogen to H₂O with nothing left over. For petrol it is about 14.7:1, for diesel about 14.5:1, for ethanol 9.0:1, for methanol only 6.5:1 and for hydrogen more than 34:1, because the fuels carry different amounts of oxygen and hydrogen per kilogram.

Engine tuners rarely talk about the raw AFR, because a good value for one fuel is a terrible one for another. Instead they use lambda (λ), the actual AFR divided by the stoichiometric AFR: λ = 1 is a perfect (stoichiometric) mixture, λ below 1 is rich (excess fuel) and λ above 1 is lean (excess air). Combustion engineers prefer the equivalence ratio φ, which is simply 1/λ. Wideband oxygen sensors actually measure λ and convert it to a "gasoline AFR" for display.

This calculator works both ways: give it the masses of air and fuel, a measured AFR or a lambda reading, or ask how much air a given amount of fuel needs (and the reverse). Choose a fuel from the list or describe your own with its CₓHᵧO_z formula.

### How to use the AFR Calculator

- **Fuel**
- **Stoichiometric AFR of your fuel**
- **Carbon atoms x**
- **Hydrogen atoms y**
- **Oxygen atoms z**
- **I know**
- **Mass of air**
- **Mass of fuel**
- **Measured AFR (actual)**: Enter the AFR for this fuel; a wideband gauge set to "gasoline AFR" shows 14.7 × λ whatever you burn.
- **Lambda (λ)**

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

### How it works

Pick the fuel (or enter its stoichiometric AFR or formula) and what you know. The stoichiometric AFR comes from the balanced combustion equation CₓHᵧO_z + (x + y/4 − z/2) O₂ → x CO₂ + y/2 H₂O, with dry air containing 20.95 mol% O₂ and a molar mass of 28.965 g/mol. λ, φ and excess air then follow from the ratio of actual to stoichiometric AFR.

### Worked example

A petrol engine is fed 13.2 kg of air for every 1 kg of fuel. AFR = 13.2 ÷ 1 = 13.2:1. With the stoichiometric AFR of petrol at 14.7, λ = 13.2 ÷ 14.7 = 0.898 and φ = 1/λ = 1.114. The mixture is about 10% rich (excess air −10.2%), a typical full-load setting.

How much air does 5 kg of propane need? Propane burns as C₃H₈ + 5 O₂ → 3 CO₂ + 4 H₂O. Its stoichiometric AFR is 5 × 138.26 ÷ 44.097 = 15.68, so 5 kg needs 5 × 15.68 = 78.4 kg of air, about 64.0 m³ at 15 °C and 1 atm (air density 1.225 kg/m³).

### Stoichiometric AFR of common fuels

FuelFormulaAFR (mass)NoteMethane (natural gas)CH₄17.2computedPropane (LPG)C₃H₈15.7computedn-ButaneC₄H₁₀15.5computedIsooctaneC₈H₁₈15.1computedGasoline / petrolmixture14.7typical valueDieselmixture14.5typical valueE85mixture9.8typical valueEthanolC₂H₅OH9.0computedMethanolCH₃OH6.5computedHydrogenH₂34.3computed"Computed" values come from the balanced combustion equation with dry air (20.95 mol% O₂, molar mass 28.965 g/mol); blends use the conventional figures used by engine makers.

### Inputs explained

FieldWhat to enterFuelChoose one: Gasoline / petrol (typical): 14.7, Diesel (typical): 14.5, Gasoline E10: 14.1, Ethanol blend E85: 9.8 …Stoichiometric AFR of your fuelA numberCarbon atoms xA numberHydrogen atoms yA numberOxygen atoms zA numberI knowChoose one: Mass of air and mass of fuel, Mass of fuel (find the air needed), Mass of air (find the fuel it can burn), A measured AFR (find lambda) …Mass of airUnits: kg, g, lb, t (tonne), mgMass of fuelUnits: kg, g, lb, t (tonne), mgMeasured AFR (actual)A number. Enter the AFR for this fuel; a wideband gauge set to "gasoline AFR" shows 14.7 × λ whatever you burn.Lambda (λ)A number

### What each result means

- **Lambda (λ)** = [Air-fuel ratio (AFR)]÷[Stoichiometric AFR of the fuel]
- **Equivalence ratio (φ)** = [Stoichiometric AFR of the fuel]÷[Air-fuel ratio (AFR)]
- **Fuel-air ratio (FAR)** = 1÷[Air-fuel ratio (AFR)]
- **Excess air** = ([Air-fuel ratio (AFR)]÷[Stoichiometric AFR of the fuel] - 1)×100
- **Equivalent "gasoline AFR" on a wideband gauge** = 14.7×[Air-fuel ratio (AFR)]÷[Stoichiometric AFR of the fuel]
- **Air needed for complete combustion** = [Mass of fuel]×[Stoichiometric AFR of the fuel]
- **Fuel that this air can burn completely** = [Mass of air]÷[Stoichiometric AFR of the fuel]

## Worked example

Inputs: Fuel: Gasoline / petrol (typical) – 14.7; I know: Mass of air and mass of fuel; Mass of air: 13.2 kg; Mass of fuel: 1 kg.

Results: Stoichiometric AFR of the fuel = 14.7 : 1; **Air-fuel ratio (AFR) = 13.2 : 1**; Lambda (λ) = 0.898; Equivalence ratio (φ) = 1.1136; Fuel-air ratio (FAR) = 0.07576; Excess air = -10.2 %; Mixture = Rich – more fuel than the air can burn (λ < 1); Equivalent "gasoline AFR" on a wideband gauge = 13.2 : 1; Volume of that air (15 °C, 1 atm) = 10.7755 m³; Oxygen contained in that air = 3.0545 kg.

## Key terms

- **Air-fuel ratio (AFR)**: Mass of air divided by mass of fuel in the mixture.
- **Stoichiometric AFR**: The AFR that supplies exactly the oxygen needed to burn the fuel completely to CO₂ and H₂O.
- **Lambda (λ)**: Actual AFR ÷ stoichiometric AFR; below 1 is rich, above 1 is lean.
- **Equivalence ratio (φ)**: Stoichiometric AFR ÷ actual AFR = 1/λ; used in combustion science.
- **Excess air**: How much more air than stoichiometric is supplied, as a percentage (λ − 1) × 100.

## FAQ

**What is the stoichiometric air-fuel ratio for gasoline?**
About 14.7:1 by mass, or 14.7 kg of air for every kilogram of petrol. Ethanol-free pump fuels range roughly from 14.6 to 14.8 depending on their exact blend; E10 is about 14.1.

**What is the stoichiometric AFR of diesel?**
About 14.5:1 by mass. Diesel engines, however, always run lean overall (λ often 1.3–3 at part load), because the fuel is injected into excess air.

**What does lambda 1 mean?**
λ = 1 means the actual AFR equals the stoichiometric AFR: exactly enough air to burn all the fuel. λ = 0.85 is 15% rich, λ = 1.1 is 10% lean.

**What AFR gives maximum power?**
Petrol engines usually make peak power slightly rich, around λ 0.86–0.90 (AFR about 12.6–13.2:1). Best economy is slightly lean, around λ 1.05–1.1, while three-way catalysts need λ held very close to 1.

**Why does E85 need so much more fuel?**
Ethanol already contains oxygen, so each kilogram needs less air. The stoichiometric AFR of E85 is about 9.8:1, so roughly 50% more fuel mass is injected for the same air than with petrol.

**Why is the AFR of hydrogen so high?**
Hydrogen is very light: one kilogram is almost 500 mol of H₂, which needs about 248 mol of O₂ (about 34.3 kg of air).

**How do I convert a wideband reading for another fuel?**
Most gauges show 14.7 × λ. Divide the reading by 14.7 to get λ, then multiply by your fuel's stoichiometric AFR, or pick "A measured AFR" with your fuel and the calculator does it.

**Is AFR the same by mass and by volume?**
No. AFR is normally quoted by mass. For gaseous fuels a molar (volume) ratio is also used. For methane it is about 9.5 volumes of air per volume of gas.


## Sources

- [US DOE Alternative Fuels Data Center: Fuel properties comparison](https://afdc.energy.gov/fuels/properties)
- [OpenStax: Chemistry 2e](https://openstax.org/details/books/chemistry-2e)
- [NIST Chemistry WebBook](https://webbook.nist.gov/chemistry/)
