Mole-to-mole ratio and mass calculations