Formal charge is a theoretical charge assigned to an atom in a molecule, calculated based on the number of valence electrons minus the sum of non-bonding electrons and half of the bonding electrons. It helps determine the most stable Lewis structure for a molecule.