What is the Formula for Sodium Chloride?

Sodium chloride is an ionic compound with the chemical formula NaCl. We more commonly know sodium chloride as salt or table salt and it is widely used as a food preservative.