For calculation of number of atoms we have to
- calculate the number of moles present in 1gram carbon.
- Multiply the number of moles with Avogadro number.
Number of moles in 1 gram of carbon = given mass / molar mass
Molar mass (molecular or atomic mass expressed in grams) = 12g
So the number of mole= 1/12
= 0.0833 moles
1g of carbon will have = 0.0833 x 6.022 x 1023
= 0.501 x 1023
1 gram of carbon will have = 5.01 x 1022 atoms