A molecular formula is a representation of a molecule that uses chemical symbols to indicate the types of atoms followed by subscripts to show the number of atoms of each type in the molecule. (A subscript is used only when more than one atom of a given type is present.)
Hopefully this helps. If I got it wrong, please comment down below and I’ll see what I can do.