Derive a formula of a chemical compound containing only sodium and chlorine.
When a compound consists of a metal and a non-metal, the name or symbol of metal is written first and in this case metal is Na and
Symbol : Na Cl
Valency(Charge, in this case): +1 -1
Hence, formula is NaCl.