Final answer:
The molecular formula is C6H12O6, which corresponds to the empirical formula CH₂O.
Step-by-step explanation:
The molecular formula is C6H12O6 because one molecule actually contains 6 C, 12 H, and 6 O atoms. The simplest whole-number ratio of C to H to O atoms in glucose is 1:2:1, so the empirical formula is CH₂O.