What is the mass of all atoms in 2Fe+3O2=2Fe2O3

Mass of all atoms? How many atoms are there? I am not certain what you are asking.

It is akin to asking what is the mass of all the cars in a city. Depends on what city.