Write out a chemical equation for the combustion reaction you expect will take place and balance it. If you need some review on balancing chemical equations, refer to the first link under the Resources section; alternatively, you can use the second link under the Resources section to balance your reaction equation for you automatically.
For methane, for example, the reaction is as follows: CH4 + 2(O2 + 376 N2) ----> CO2 + 2 H2O + 752 N2 Notice that you include nitrogen in this equation even though it's not a direct participant in the chemical reaction. The main reason you include nitrogen here is because air is largely nitrogen by volume.
For every molecule of oxygen you feed into the combustion chamber, you get 376 molecules of nitrogen along for the ride. Also notice that with this as with any other combustion reaction equation, you have two things on the left -- fuel and air.
On the right, you will always have carbon dioxide, water and nitrogen.
Multiply the number in front of the parentheses on the left of the equation by 476, then multiply it by 29 kg per kmol. In the example, for instance, you have 2 kmol of air, so you multiply 476 by 29 to get 27608 kg of air.
Multiply the number in front of the fuel on the left side of the equation by its molecular weight in kg per kmol. To find the molecular weight, enter the molecular formula of your fuel into the calculator at the third link under the Resources section below.
The molecular weight of methane, for example, is 1604 g per mole or 1604 kg per kmol, which rounds to 16.
Divide the answer from step 2 by the answer from step 3. This gives you the stoichiometric air-fuel ratio.
In the example, 276 / 16 = 173 kg of air per kg of fuel.
Multiply the stoichiometric air-fuel ratio by the number of kilograms of fuel you burn. If you burned 4 kg of methane, for example, you would multiply 173 by 4 to get 692 kg of air required.
Subtract this result from the amount of air you actually supplied. If you supplied 75 kg of air, for example, you would subtract 692 to get 58 excess.
Divide this answer by the amount of air required and multiply by 100 to convert to a percent. In the example, you would divide 58 by 692 to get 84 percent excess air.