Check the chemical formula