I don't know if I am correct, but I think I realized that empirical formula mass is made up from empirical formula which is only a ratio of numbers of atoms, which means that "real" molecule is not CH2O but in this case, if molecular mass equals 180, it's actually C6H12O6.
Sounds OK to me.
But is CH2O and C6H12O6 same molecule? It's confusing.
No, it is not the same molecule. But CH
2O is the empirical formula of C
6H
12O
6.
To make things less confusing consider that: CH
2O is an empirical formula, but real formula of a real compound is (CH
2O)
n. It may happen that n=1, in which case CH
2O is a real formula of a compound.
This is not invented to make life harder, this is just reflecting the reality
Take two real and quite common compounds, one with a real, molecular formula CH
2O (formaldehyde AKA methanal) and the second with a real, molecular formula C
2H
4O
2 (acetic acid). If you make the elemental analysis you will find what are ratios of C:H:O, and you will find out both compounds have the same empirical formula of (CH
2O)
n. If you determine molar masses separately you will find out it is 30 g/mol for the first compound and 60 g/mol for the latter, so in the first case n=1 and in the second n=2. You can't determine n without knowing the molar mass.