```
Number of atoms = (mass of gold in grams) * (Avogadro's number) / (molar mass of gold)
```
where:
* Avogadro's number is the number of atoms in one mole of a substance, which is approximately 6.022 x 10^23 atoms/mole.
* The molar mass of gold is the mass of one mole of gold, which is approximately 196.97 grams/mole.
Therefore, the number of atoms in 1 gram of gold is:
```
Number of atoms = (1 gram) * (6.022 x 10^23 atoms/mole) / (196.97 grams/mole) ≈ 3.06 x 10^21 atoms
```
So, there are approximately 3.06 x 10^21 atoms in 1 gram of gold.