Question: what is the formula to find formal charge?
Answer: Remember that formal charge is calculated by taking the # of valence electrons, minus the lone electrons and the bonds, and we show that charge next to the molecule. Take ::O=C=O:: for example. Each O's formal charge would be calculated by: 6 (valence) - 4 (lone electrons) - 2 (bonds) = 0.