What is the molecular formula of water?

H2O

If you want the simplest formula, then the answer by Ann is correct. However, a somewhat more complicated answer is that water forms clusters, due mostly to hydrogen bonding. Here is a site where you can read more about it.

http://www.lsbu.ac.uk/water/clusters.html
At 100 degrees celsius (steam), the structure is simple H2O molecules.

The molecular formula of water is H2O. To determine the molecular formula of water, you need to understand the chemical composition of water. Water consists of two hydrogen atoms (H) and one oxygen atom (O) bonded together. The subscript in the formula, 2 in this case, represents the number of hydrogen atoms in the molecule.