The electrolytic decomposition of water gives H2 and O2 in the ratio of
2:1 by volume
The decomposition of water occus as follows:
2H2O(l)→2H2(g)+O2(g)
Water decomposes to give hydrogen and oxygen in the ratio 2:1 by volume. The double volume of the gas collected is hydrogen.