Each element or compound has a molar mass, which is calculated by multiplying the atomic mass of each element by the amount of atoms of that element, and summing the results of each element. The molar mass is measured in g/mol. So you divide the mass in grams by the molar mass to get the amount of moles.
Example:
There are 5g of water.
Calculate the amount of moles.
The water's formula is H2O, so the molar mass of it is

g/mol.
The amount of moles is:
5g ÷ 18g/mol ~ 0.28mol
Use the Ideal Gas Law to find the moles of gas first.
Be sure to convert T from Celsius to Kelvin by adding 273.
Also I prefer to deal with pressure in atm rather than mmHg, so divide the pressure by 760 to get it in atm.
PV = nRT —> n = PV/RT
P = 547 mmHg = 547/760 atm = 0.720 atm
V = 1.90 L
T = 33°C = 33 + 273 K = 306 K
R = 0.08206 L atm / mol K
n = (0.720 atm)(1.90 L) / (0.08206 L atm / mol K)(306 K) = 0.0545 mol of gas
Now divide grams by mol to get the molecular weight.
3.42 g / 0.0545 mol = 62.8 g/mol
The ocean hold 97 percent of earths water.
Answer:
Thus,there are 0.2 mole in 8 g of calcium.