When you are learning about the structure of a molecule, you may be interested in knowing how to calculate the formal charge of the atom. This is important because it…