Question: how to calculate percent yield given grams?
Answer: Multiply the expected moles of the product by its molar mass. For example, the molar mass of HF is 20 grams. Therefore, if you expect 4 moles of HF, the theoretical yield is 80 grams. Divide the actual yield of the product by the theoretical yield and multiply by 100.