Explanation
Na hands an electron to Cl
An ionic bond forms when a metal with low ionisation enthalpy gives electrons to a non-metal with high electron gain.
Na hands an electron to Cl; ions form
Ions snap into a 3D crystal lattice
The ions pack into a crystal and release energy. That energy is lattice enthalpy.
Bigger lattice enthalpy, more stable crystal.
Ions snap into a 3D crystal lattice; energy released
Two sliders
Two things raise it: higher charges and smaller ions.
MgO (2+, 2−) vs NaCl (1+, 1−)
Magnesium oxide has double charges on both ions, so its lattice enthalpy is far higher than sodium chloride's.
MgO (2+, 2−) vs NaCl (1+, 1−)