A formula which tells the actual number of atoms present in a molecule of a substance is known as molecular formula.
Examples: H2O2 and C6H12O6 are the molecular formulas of hydrogen peroxide and glucose respectively.
Also Read: Empirical Formula Definition