The formula to calculate the formal charge is:
\[ FC = V - (LP + 0.5 \times BE) \]
Where:
A formal charge is defined as the electrical charge of an individual atom in a molecule, assuming that electrons in all chemical bonds are shared equally between atoms, regardless of relative electronegativity.
Example 1:
Step 1: Calculate the formal charge:
\[ FC = 6 - (4 + 0.5 \times 4) = 6 - (4 + 2) = 6 - 6 = 0 \]
Example 2:
Step 1: Calculate the formal charge:
\[ FC = 5 - (2 + 0.5 \times 6) = 5 - (2 + 3) = 5 - 5 = 0 \]