How to convert atomic ratio and molar ratio? For example, in a compound, the molar ratio of Mg to CA is 1:100, so what is the atomic ratio of these two elements?

How to convert atomic ratio and molar ratio? For example, in a compound, the molar ratio of Mg to CA is 1:100, so what is the atomic ratio of these two elements?

The atomic number ratio of these two elements is 1:100