The formula for sodium chloride is NaCl. This represents a ratio of one sodium ion #Na^(+)# , to one chloride ion #Cl^(-)#. This is an ionic compound made up of positive and negative ions. The ions are held together by strong electrostatic forces called ionic bonds. Overall ionic compounds have no charge because the charges cancel each other out, so the charges on the ions are not shown in the formula.