Percentage composition and mass calculations