What is the Chemical Formula for Salt?

The chemical formula for salt is NaCl. The Na represents Sodium and the Cl represents Chloride. Both would be deadly if eaten separately but when they are combined chemically they become salt.