If you want to know every molecular formulas.Then plz don't read it.First of all know all the necessary elements with their symbol and valency.And if you could remember its properties also.
This website will guide you to learn elements.
An Peroidic Table with its various webfeatures.