Calculate g/mol form file and input