Intermediate

Combustion Reaction Calculator — Hydrocarbon Burning

Enter the carbon and hydrogen atom counts of a hydrocarbon fuel (e.g. octane C₈H₁₈) and the fuel mass in grams. The calculator balances the complete combustion equation and shows exact masses of CO₂, H₂O, and O₂ involved.
Number of carbon atoms in the hydrocarbon fuel (e.g. 8 for octane C₈H₁₈)
Number of hydrogen atoms in the fuel molecule

g

Mass of hydrocarbon fuel to combust
CO₂ produced
308.208g

Mass of carbon dioxide from complete combustion

Fuel formula
C8H18
Fuel molar mass
114.232 g/mol
Moles of fuel
0.8754 mol
O₂ consumed
350.143 g
H₂O produced
141.935 g
Moles of CO₂
7.0033 mol
CO₂ produced308.208 g
H₂O produced141.935 g
O₂ consumed350.143 g
Step by step
  1. 1

    Molar mass of fuel

    8 × 12.011 + 18 × 1.008 = 114.232 g/mol
  2. 2

    Moles of fuel

    100 ÷ 114.232 = 0.87541 mol
  3. 3

    Moles of CO₂

    0.87541 × 16 ÷ 2 = 7.00329 mol
    Stoichiometric ratio from the balanced equation.
  4. 4

    Mass of CO₂ produced

    7.00329 × 44.009 = 308.208 g
Step-by-step calculation
1

Balanced combustion equation

2C8H18 + 25O₂ → 16CO₂ + 18H₂O
2

Molar mass of fuel

M = 8×12.011 + 18×1.008 = 114.232 g/mol
3

Moles of fuel

nₜ = 100 ÷ 114.232 = 0.8754 mol
4

Moles of CO₂

n_{CO₂} = 0.8754 × 16/2 = 7.0033 mol
=

Mass of CO₂

m_{CO₂} = 7.0033 × 44.009 = 308.208 g
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

For hydrocarbon CₙHₘ, the balanced combustion equation is CₙHₘ + (n + m/4)O₂ → n CO₂ + (m/2)H₂O. Enter atom counts and fuel mass to get exact grams of CO₂, H₂O, and O₂ via stoichiometric ratios and standard molar masses.

Formula
CₙHₘ + (n + m/4)O₂ → n CO₂ + (m/2)H₂O • Mass CO₂ = (mass ÷ M_fuel) × (n_CO₂/n_fuel) × M_CO₂
How this is calculated

Complete combustion of a hydrocarbon CₙHₘ produces only carbon dioxide and water. The unbalanced reaction CₙHₘ + O₂ → CO₂ + H₂O is balanced by applying the rule that each carbon becomes one CO₂ and each pair of hydrogens becomes one H₂O: CₙHₘ + (n + m/4)O₂ → n CO₂ + (m/2)H₂O. To obtain whole-number coefficients, the calculator multiplies all terms by 4 then divides by their greatest common divisor.

The molar mass of the fuel is M = 12.011n + 1.008m g/mol. Dividing the fuel mass by M gives moles of fuel. The stoichiometric ratios from the balanced equation convert moles of fuel to moles of O₂ consumed, CO₂ produced, and H₂O produced. Multiplying by molar masses (O₂ = 31.998, CO₂ = 44.009, H₂O = 18.015 g/mol) converts back to grams.

This calculator models only complete combustion of pure hydrocarbons. Real fuels (petrol, diesel, natural gas) are mixtures; incomplete combustion produces CO and soot. For oxygenated fuels such as ethanol or biodiesel, the formula must be adjusted to account for the oxygen already present in the fuel molecule, which is beyond the scope of this tool.

Frequently asked questions

For CₙHₘ the general balanced equation is CₙHₘ + (n + m/4)O₂ → n CO₂ + (m/2)H₂O. Multiply by 4 to clear fractions, then divide all coefficients by their GCD. Example: CH₄ (methane, n=1, m=4) gives CH₄ + 2O₂ → CO₂ + 2H₂O.

Each carbon atom (mass 12) bonds with two oxygen atoms drawn from the air (mass 32) to form CO₂ (mass 44). The oxygen comes from the atmosphere, not the fuel, so the total mass of CO₂ produced always exceeds the mass of the carbon in the fuel.

Complete combustion (sufficient oxygen) converts all carbon to CO₂ and all hydrogen to H₂O. Incomplete combustion (limited oxygen) produces toxic carbon monoxide (CO) or unburnt carbon soot. This calculator assumes complete combustion only.

Also known as

combustion reaction calculator
hydrocarbon burning equation
balanced combustion equation
co2 from burning fuel
stoichiometry combustion calculator
complete combustion products
moles of co2 from fuel
hydrocarbon combustion stoichiometry

APA

TG we-Calculate Editorial Team. (2026). Combustion Reaction Calculator — Hydrocarbon Burning [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/combustion-reaction-calculator

Chicago

TG we-Calculate Editorial Team. "Combustion Reaction Calculator — Hydrocarbon Burning." TG we-Calculate. 2026. https://we-calculate.com/calculator/combustion-reaction-calculator.

IEEE

TG we-Calculate Editorial Team, "Combustion Reaction Calculator — Hydrocarbon Burning," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/combustion-reaction-calculator

BibTeX

@misc{wecalculate_combustion_reaction_calculator, title = {Combustion Reaction Calculator — Hydrocarbon Burning}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/combustion-reaction-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?