Why is it not always possible to obtain the theoretical amount of product in a chemical reaction?
If it’s reversible, it may not always go to completion.
some of the product may be lost when it’s separated from the reaction mixture.
some of the reactants may react in ways different to the expected reaction (side reactions may occur).