And the molecular formula gives you the exact number of atoms found in each compound. Now, sometimes your empirical formula will be the same as your molecular formula. As is in the case of water. This is both an empirical formula and the molecular formula. Other times, these two guys will differ. For example, suppose we look at the hydrocarbon ch 16.