An ionic bond (or electrovalent bond) is a type of chemical bond that can often form between metal and non-metal ions (or polyatomic ions such as ammonium) through electrostatic attraction. In short, it is a bond formed by the attraction between two oppositely charged ions. The metal donates one or more electrons, forming a positively charged ion or cat ion with a stable electron configuration.

These electrons then enter the non metal, causing it to form a negatively charged ion or anion which also has a stable electron configuration. The electrostatic attraction between the oppositely charged ions causes them to come together and form a bond.

Common table salt is sodium chloride. When sodium (Na) and chlorine (Cl2) are combined, the sodium atoms each lose an electron, forming a cat ion (Na+), and the chlorine atoms each gain an electron to form an anion (Cl-). These ions are then attracted to each other in a 1:1 ratio to form sodium chloride (NaCl).

Ionic Structure
Ionic compounds in the solid state form a continuous ionic lattice structure in an ionic crystal. The simplest form of ionic crystal is a simple cubic. This is as if all the atoms were placed at the corners of a cube. This unit cell has a weight that is the same as 1 of the atoms involved..

When all the ions are approximately the same size, they can form a different structure called a facecentered cubic (where the weight is 4 * atomic weight), but, when the ions are different sizes, the structure is often body-centered cubic (2 times the weight). In ionic lattices the coordination number refers to the number of connected ions