This observation is really annoying me, and the internet isn't providing me with any solid answers. Either their definitions of molar mass completely differ, or they don't stick to their own definition while actually calculating the molar mass of a certain element or compound.
Now, according to Wikipedia,
The molar mass M is a physical property defined as the mass of a given substance (chemical element or chemical compound) divided by the amount of substance.
and it's unit is
My understanding of this is that we're calculating the total mass of all the atoms(or molecules) present in 1 mole of that element(or compund). This means that we would have to take the atomic mass of that element and multiply it by the number of atoms present in 1 mole of that element, which is 6.022 × 10^23 atoms.
So for example, the relative molecular mass of water is 18.02 u, and it's almost the same as the molar mass of water, which is 18.015 g/mol.
So my question is, how is 18.02 u × (6.022 × 10^23) = 18.015 g/mol?