The compound which consists of two ions that have a great difference in electronegativity is the one with the greatest lattice energy. The periodic trend for electronegativity is: increases across a period, and decreases down a group. From this estimate, we can deduce that CaF₂ has the greatest lattice energy.