The gram to mole conversion is pretty simple. First you need to find the molar mass of the compound. The way you do that is take the combined atomic mass and convert it to grams (that’s mass of a single mole of that compound). For this example sodium’s atomic mass is 22.9 amu and chlorine’s is 35.45 amu. The molar mass of sodium chloride is those two number combines IN GRAMS.
22.99g + 35.45g = 58.44g
Now to find out 24.6g of Sodium Chloride you will divide the number of grams in a problem by the molar mass.
24.6 / 58.44 = 0.421 mol of NaCl