The mass in grams is simply divided by the relative atomic mass of that element as in the formula: Mole=mass/relative atomic mass. for ex-. To find amount in moles of 46 grams of Sodium(Na). We know that relative atomic mass of sodium from periodic table is 23; Therefore, amount in moles of sodium=46/23=2 moles.