Lattice energy is the number that explains why table salt stays a solid on a hot day while some salts melt in your hand, and this free lattice energy calculator finds it for eight common ionic compounds.
The lattice energy is the energy released when one mole of gaseous ions comes together to form one mole of solid crystal. This calculator uses the Born-Lande equation, U = -(1389.35 x M x z+ x z- / r0) x (1 - 1/n), with r0 in angstrom, M the Madelung constant for the crystal structure, z+ and z- the ion charges, and n the Born exponent. Pick a compound and the answer appears at once.
Please check the inputs: select a compound from the list.
| Compound | Charges z+ / z- | Interionic Distance r0 (pm) | Born Exponent n | Coulomb Term (kJ/mol) | Lattice Energy U (kJ/mol) |
|---|
Eight lattice-energy cases, from -685.1 kJ/mol to -3964 kJ/mol. The highlighted row matches your inputs: NaCl, giving -753.4 kJ/mol.
ADVERTISEMENT
Founder & CEO, Techraxy
Faiq Ur Rahman is a web designer, digital product developer, and Founder of Techraxy, a growing platform of online calculators and utility tools. He specializes in building structured, user-friendly tools focused on finance, health, conversions, productivity, and everyday problem-solving. He is passionate about developing practical digital solutions that make complex tasks simpler for users worldwide.
User Ratings:
ADVERTISEMENT
ADVERTISEMENT
Lattice energy is the number that explains why table salt stays a solid on a hot day while some salts melt in your hand, and this free lattice energy calculator finds it for eight common ionic compounds. Run sodium chloride through it, and the answer is a lattice energy of -753.4 kJ/mol, from a Coulomb term of -861.0 kJ/mol times a repulsion correction factor of 0.8750, with an interionic distance of 282 pm and charges of +1 and -1. The negative sign means energy is released when the crystal forms, and the magnitude, 753.4 kJ/mol, is the energy needed to break the crystal apart again.
The calculator takes one input: the compound, picked from a list of eight. It returns the lattice energy in kJ/mol, the Coulomb term before the repulsion correction, the repulsion correction factor, the interionic distance used, the charges, and the formula used. The diagram shows the crystal lattice as a grid of alternating red cations and blue anions, with the spacing and the ion sizes changing for each compound, and a highlighted ion pair with an arrow marking the interionic distance.
A lattice energy calculator is a tool that finds the lattice energy of an ionic solid, the energy change when one mole of gaseous cations and one mole of gaseous anions come together to form one mole of solid crystal. For sodium chloride the defining reaction is Na+(g) plus Cl-(g) forming NaCl(s), and the measured energy change is about -787 kJ/mol. The calculator here uses the Born-Lande equation: U = -(1389.35 x M x z+ x z- / r0) x (1 – 1/n), with r0 in angstrom, M the Madelung constant for the crystal structure, z+ and z- the ion charges, and n the Born exponent. The constant 1389.35 kJ angstrom per mol comes from folding the physical constants together, and the article gives that derivation in the formula section below.
The sign convention needs care, because textbooks disagree about it. This calculator follows the formation convention: lattice energy is the energy released on forming the lattice from gaseous ions, so it is negative. Many textbooks quote the opposite convention, the energy needed to break the lattice apart into gaseous ions, which is the same number with the sign flipped, so sodium chloride is +787 kJ/mol in those books. The calculator shows the magnitude alongside the signed value, so a student comparing with a textbook is not confused by a sign. The Ionic Strength Calculator covers the other side of the same ions, what they do once the lattice has dissolved and they are free in solution.
The Born-Lande model treats ions as point charges sitting on a perfect lattice. That is an approximation, and the article states how far it lands from the measured values instead of hiding it. For seven of the eight compounds here it lands within about 5 percent of the experimental Born-Haber value, and magnesium chloride is the furthest out, at 11.4 percent, because its layered structure is the least well described by point charges.
Pick a compound from the list. The calculator updates as soon as you change the selection, and the Calculate button runs it again at any time. At the default the compound is sodium chloride, NaCl, and the lattice energy is -753.4 kJ/mol.
Read the results in order. The headline number is the lattice energy U in kJ/mol, then the Coulomb term in kJ/mol, then the repulsion correction factor, then the interionic distance r0 in pm, then the charges z+ and z-, and the formula used. The highlight sentence repeats the answer in plain words, with the compound it used and the experimental Born-Haber value beside it, so you can check that nothing was mistyped. Lattice energy is quoted per mole of formula units, so one mole of NaCl means one mole of Na+ ions and one mole of Cl- ions forming one mole of solid, and the Mole Calculator covers the mole arithmetic itself.
The diagram shows the crystal lattice as a grid of alternating cations and anions. The spacing between ions grows with r0, from 30 px at 201 pm for lithium fluoride to 52.8 px at 315 pm for potassium chloride, and the ion sizes follow the ionic radii, so the picture changes visibly for every compound. The highlighted pair at the bottom is one cation and one anion, with an arrow between them marking r0.
The Compare Cases tab puts all eight compounds side by side, with the charges, the interionic distance, the Born exponent, the Coulomb term and the lattice energy. The row matching your selection is highlighted. The column that needs care is the Coulomb term: it is always larger in magnitude than the lattice energy, because the repulsion correction factor, which is always below 1, shrinks it.
The formula is U = -(1389.35 x M x z+ x z- / r0) x (1 – 1/n), where U is the lattice energy in kJ/mol, M is the Madelung constant for the crystal structure, z+ and z- are the charge numbers of the cation and the anion, r0 is the nearest-neighbour cation-anion distance in angstrom, and n is the Born exponent. Written out for the default, sodium chloride: 1389.35 times 1.74756 is 2427.98, divided by 2.82 is 861.0, so the Coulomb term is -861.0 kJ/mol, and 1 minus 1 divided by 8 is 0.8750, so the lattice energy is -861.0 times 0.8750, which is -753.4 kJ/mol. The magnitude, 753.4 kJ/mol, is the energy needed to break the solid apart.
The constant 1389.35 comes from the physical constants. Avogadro’s constant times the square of the elementary charge, divided by 4 pi times the permittivity of free space, is 6.02214076 times 10 to the power of 23, times 1.602176634 times 10 to the power of -19 squared, divided by 4 pi times 8.8541878128 times 10 to the power of -12, which is 1.389355 times 10 to the power of -4 J m per mol. That is 138935 kJ pm per mol, and since 1 angstrom is 100 pm, it is 1389.35 kJ angstrom per mol. With r0 in pm the constant to use is 138935, not 1389.35: using 1389.35 over r0 in pm would understate the lattice energy by a factor of 100, which is the most common arithmetic trap in this calculation, and this calculator converts r0 from pm to angstrom before applying 1389.35.
The Madelung constant depends only on the crystal structure, not on which ions sit on it, so every rock-salt compound here uses 1.74756, calcium fluoride uses 2.51939 for the fluorite structure, and magnesium chloride uses 2.365 for the cadmium chloride structure. The Born exponent n is typically between 5 and 12 and comes from the electron configurations of the ions, and r0 is the observed nearest-neighbour distance, which the notes at the end of this page compare against the sums of the Shannon ionic radii.
Take magnesium oxide, MgO, the strongest lattice in the set. First, the charges are +2 and -2, so z+ times z- is 4, the Madelung constant is 1.74756 for the rock-salt structure, r0 is 210 pm, which is 2.10 angstrom, and n is 7. The Coulomb term is 1389.35 times 1.74756 times 4, which is 9711.9, divided by 2.10, which is 4624.7, so the Coulomb term is -4625 kJ/mol. The repulsion correction factor is 1 minus 1 divided by 7, which is 0.8571, so the lattice energy is -4625 times 0.8571, which is -3964 kJ/mol. The experimental Born-Haber value is -3795 kJ/mol, so the model overshoots the magnitude by 4.5 percent.
The same steps check calcium fluoride, CaF2. First, the charges are +2 and -1, so z+ times z- is 2, the Madelung constant is 2.51939 for the fluorite structure, r0 is 236 pm, which is 2.36 angstrom, and n is 8. The Coulomb term is 1389.35 times 2.51939 times 2, which is 7000.7, divided by 2.36, which is 2966.4, so the Coulomb term is -2966 kJ/mol. The repulsion correction factor is 1 minus 1 divided by 8, which is 0.8750, so the lattice energy is -2966 times 0.8750, which is -2596 kJ/mol. The experimental Born-Haber value is -2630 kJ/mol, so the model undershoots the magnitude by 1.3 percent.
A third check shows potassium chloride, KCl, the weakest lattice in the set. First, the charges are +1 and -1, the Madelung constant is 1.74756, r0 is 315 pm, which is 3.15 angstrom, and n is 9. The Coulomb term is 1389.35 times 1.74756, which is 2427.98, divided by 3.15, which is 770.8, so the Coulomb term is -770.8 kJ/mol. The repulsion correction factor is 1 minus 1 divided by 9, which is 0.8889, so the lattice energy is -770.8 times 0.8889, which is -685.1 kJ/mol. The experimental Born-Haber value is -717 kJ/mol, so the model undershoots the magnitude by 4.4 percent.
The first benefit is seeing why charge dominates everything. Doubling both charges quadruples the Coulomb term at fixed distance, which is why magnesium oxide, at -3964 kJ/mol, has more than five times the lattice energy of sodium chloride, at -753.4 kJ/mol, even though its ions sit closer together. The compare table makes that pattern visible across all eight compounds at once, from -685.1 kJ/mol for potassium chloride to -3964 kJ/mol for magnesium oxide.
The second benefit is the split between the Coulomb term and the repulsion correction, which the calculator shows separately. The Coulomb term is the attraction of point charges, and the factor (1 – 1/n) is the small correction for the electron clouds refusing to be squeezed together, always between 0.8571 and 0.8889 here, so it trims 11 to 14 percent off the Coulomb term. Seeing the two parts apart stops the common mistake of quoting the Coulomb term as the lattice energy.
The third benefit is an honest check against experiment. Every result carries its experimental Born-Haber value and the percentage difference, so the model is judged in the open: within 0.2 percent for lithium fluoride, within 5 percent for seven of the eight compounds, and 11.4 percent out for magnesium chloride. That gap is itself informative, because it marks where the point-charge picture breaks down. A strong lattice also resists dissolving, which is why salts with large lattice energies tend to show smaller freezing point depressions at the same concentration, and the Freezing Point Depression Calculator covers that colligative side.
The fourth benefit is the sign convention stated plainly. The calculator uses the formation convention, negative for energy released, and shows the magnitude beside it, so a value copied into a Born-Haber cycle has the right sign and a value compared with a textbook that quotes the positive magnitude still matches. Getting the sign wrong in a Born-Haber cycle flips the whole enthalpy of formation, so this is the detail that matters most in practice.
It is -753.4 kJ/mol by the Born-Lande equation, from a Coulomb term of -861.0 kJ/mol times a repulsion correction factor of 0.8750, with r0 of 282 pm and charges of +1 and -1. The experimental Born-Haber value is -787 kJ/mol, so the model is 4.3 percent below the measured magnitude. The magnitude, 753.4 kJ/mol, is the energy needed to break one mole of solid sodium chloride into gaseous Na+ and Cl- ions.
Because this calculator follows the formation convention, where lattice energy is the energy released when gaseous ions come together to form the solid, and energy released is negative. The reaction Na+(g) plus Cl-(g) forming NaCl(s) gives out 787 kJ/mol by measurement, so its lattice energy is -787 kJ/mol. Textbooks that define lattice energy as the energy needed to break the solid apart quote the same number as +787 kJ/mol. Both conventions describe the same physics, and the calculator shows the magnitude beside the signed value so either comparison works.
Because lattice energy scales with the product of the charges and inversely with the distance. MgO has charges of +2 and -2, a product of 4 against 1 for NaCl, and a shorter distance, 210 pm against 282 pm, so its Coulomb term is 4 times 282 divided by 210, which is 5.37 times larger, and the repulsion factors are nearly the same, 0.8571 against 0.8750. The result is -3964 kJ/mol against -753.4 kJ/mol, a factor of 5.26. That is also why magnesium oxide melts at about 2852 °C while sodium chloride melts at about 801 °C.
Because magnesium chloride has a layered cadmium chloride structure, and the Born-Lande model, which treats ions as point charges on a perfect lattice, describes layered structures worst. The calculator gives -2237 kJ/mol against the experimental Born-Haber value of -2526 kJ/mol, a gap of 11.4 percent, while the other seven compounds sit within 5 percent. The gap is a limit of the model, not an arithmetic error, and the calculator states it openly rather than tuning the inputs to hide it.
No. It is for ionic compounds made of simple monatomic ions, the eight listed. It does not apply to covalent or molecular compounds, which have no lattice of ions, or to salts with polyatomic ions such as sulfate or nitrate, where the charge is spread over several atoms and the point-charge picture fails. It also assumes a perfect crystal at equilibrium distance, so it does not cover defects, surfaces, or high-pressure phases.
LibreTexts — Lattice Energies of Crystals — with the Born-Lande equation, the Madelung constants 1.74756 for rock salt and 2.51939 for fluorite, the Born exponent table, and the worked NaCl estimate of -756 kJ/mol.
LibreTexts — Madelung Constants — with the Madelung constant as a geometrical factor of the crystal structure and the table of values by structure type.
Wikipedia — Lattice energy — with the Born-Lande equation, the sign conventions for formation and separation, and the representative experimental lattice energies including NaCl -786, MgO -3795 and CaO -3414 kJ/mol.
Khan Academy — Lattice energy — with the definition of lattice energy, how it varies with charge and ionic radius, and the Born-Haber cycle as the experimental route to it.
LibreTexts — Lattice Energy — with the comparison table of experimental lattice energies including LiF 1036, NaCl 786, NaBr 747, KCl 715 and MgCl2 2526 kJ/mol.
This calculator finds the lattice energy of an ionic compound from its charges, interionic distance, Madelung constant and Born exponent using the Born-Lande equation, U = -(1389.35 x M x z+ x z- / r0) x (1 – 1/n), with r0 in angstrom, and it is for study, homework and general reference only. The Born-Lande model treats ions as point charges, so it lands within about 5 percent of the experimental Born-Haber value for seven of the eight compounds here and 11.4 percent out for magnesium chloride, and it covers ionic compounds of simple monatomic ions only, so do not use a result from this calculator to set a batch size, a dose, or a process parameter without checking the procedure it specifies. If your course uses a different set of ionic radii, Born exponents or sign convention, use those for your coursework instead of this calculator.
Last updated: 3 December 2026
ADVERTISEMENT
ADVERTISEMENT