Stoichiometry
Coefficients in a chemical equation are mole ratios, and for gases they are volume ratios too. When one reactant runs out first, that limiting reagent sets how much product forms, while total mass is conserved. You convert given amounts to moles, apply the coefficient ratio, then convert back to the unit you need. Here you change H₂ and O₂ supplied to see mole ratios, the limiting reagent, and mass conservation on the sliders.