Hello, Emily,
I'm tempted to write a balanced equation to help with this problem, but after reading what the question is, there is a straight-forward answer that is given by the Law of Conservation of Matter. It states that a chemical reaction will neither destroy nor create mass. The mass going in will be the same as the mass going out.
I had written a more detailed response to this yesterday, but I don't see it posted. Sorry if this is a repeat.
In my earlier response I note that the law does not necessarily apply to nuclear reactions. The energy involved with those reactions does come from converting a small amount of mass into energy, as per Einstein's E = mc2. I ad also used a balanced equation to show an example of how 36 grams of H2) does result in a total mass of O2 and H2 of 36 grams. Perhaps my response was too long.
I hope this helps,
Bob
Robert S.
09/30/20
Emily S.
So are you saying that if I start with 10 grams of liquid water and it goes through electrolysis it will still result in 10 grams?09/30/20