Lattice Energy Calculator (Hess’s Law)


Lattice Energy Calculator (Born-Haber Cycle)

Calculate lattice energy by applying Hess’s Law to the formation of an ionic compound.


The overall energy change when one mole of the compound is formed from its elements. (kJ/mol)


Energy required to turn one mole of solid metal into gaseous atoms (e.g., Na(s) → Na(g)). (kJ/mol)


Energy to remove electron(s) from one mole of gaseous metal atoms (e.g., Na(g) → Na+(g)). Sum of all IE if multivalent. (kJ/mol)


Energy to form one mole of gaseous non-metal atoms (e.g., ½Cl₂(g) → Cl(g)). This is often half the bond dissociation energy. (kJ/mol)


Energy change when electron(s) are added to one mole of gaseous non-metal atoms (e.g., Cl(g) → Cl-(g)). Must be a negative value for exothermic processes. (kJ/mol)


Lattice Energy (U)
-786.5 kJ/mol

This is the energy released when gaseous ions form one mole of the solid ionic compound.

Energy Input for Ion Formation
724.5 kJ/mol

Total Energy from Known Steps
375.5 kJ/mol

Born-Haber Cycle Energy Diagram

A visual representation of the energy changes in the Born-Haber cycle. All units are in kJ/mol.

What is Calculating Lattice Energy Using Hess’s Law?

Calculating lattice energy using Hess’s Law involves a specific application known as the **Born-Haber cycle**. Since lattice energy—the energy released when gaseous ions combine to form a solid ionic crystal—cannot be measured directly, we must calculate it indirectly. Hess’s Law states that the total enthalpy change for a chemical reaction is the same regardless of the path taken. The Born-Haber cycle applies this law by constructing a closed loop of reactions that leads from elemental reactants to an ionic solid in two different ways. By summing the known enthalpy changes of all the other steps in the cycle (like atomization, ionization, and electron affinity), we can solve for the one unknown value: the lattice energy.

The Born-Haber Cycle Formula

The core of calculating lattice energy using Hess’s law is the Born-Haber cycle equation. It equates the enthalpy of formation to the sum of all other steps required to form the ionic solid from its elements.

The generalized formula is:

ΔHf = ΔH_atom(metal) + IE + ΔH_atom(non-metal) + EA + U

To find the lattice energy (U), we rearrange this formula:

U = ΔHf - (ΔH_atom(metal) + IE + ΔH_atom(non-metal) + EA)

Variables Explained

Variables for calculating lattice energy. All units are typically in kJ/mol.
Variable Meaning Unit Typical Range
U Lattice Energy kJ/mol -600 to -4000 (highly exothermic)
ΔHf Enthalpy of Formation kJ/mol -100 to -1000
ΔH_atom Enthalpy of Atomization/Sublimation kJ/mol +100 to +300 (endothermic)
IE Ionization Energy kJ/mol +400 to +2500 (endothermic)
EA Electron Affinity kJ/mol -100 to -400 (usually exothermic)

Practical Examples

Example 1: Calculating Lattice Energy for Sodium Chloride (NaCl)

Let’s use the default values in the calculator, which are for the formation of NaCl.

  • Inputs:
    • ΔHf = -411 kJ/mol
    • ΔH_atom (Na) = +107 kJ/mol
    • IE (Na) = +496 kJ/mol
    • ΔH_atom (Cl) = +121.5 kJ/mol (from ½ Cl₂)
    • EA (Cl) = -349 kJ/mol
  • Calculation:

    U = -411 – (107 + 496 + 121.5 + (-349))

    U = -411 – (724.5 – 349)

    U = -411 – 375.5

  • Result: U = -786.5 kJ/mol. This is a highly exothermic value, indicating a very stable ionic lattice. To learn more, see this article on {related_keywords}.

Example 2: Calculating Lattice Energy for Magnesium Oxide (MgO)

MgO involves divalent ions (Mg²⁺ and O²⁻), so the energy values are significantly larger.

  • Inputs:
    • ΔHf = -602 kJ/mol
    • ΔH_atom (Mg) = +148 kJ/mol
    • IE (Mg) = +2188 kJ/mol (sum of 1st and 2nd IE)
    • ΔH_atom (O) = +249 kJ/mol (from ½ O₂)
    • EA (O) = +657 kJ/mol (sum of 1st and 2nd EA; 2nd EA is endothermic)
  • Calculation:

    U = -602 – (148 + 2188 + 249 + 657)

    U = -602 – 3242

  • Result: U = -3844 kJ/mol. The much larger magnitude compared to NaCl is due to the +2 and -2 charges on the ions. For a deeper dive, explore our guide on {related_keywords}.

How to Use This Lattice Energy Calculator

This tool simplifies the process of calculating lattice energy using the Born-Haber cycle.

  1. Gather Your Data: Collect the five necessary enthalpy values for your target ionic compound. These are typically found in chemistry data booklets or online resources.
  2. Enter Enthalpy Values: Input each value into its corresponding field. Ensure you use the correct sign (+ for endothermic, – for exothermic). The standard unit is kilojoules per mole (kJ/mol).
  3. Interpret the Primary Result: The main result, labeled “Lattice Energy (U)”, is instantly calculated. A large negative number signifies a strong, stable ionic bond.
  4. Analyze Intermediate Values: The calculator also shows the sum of all endothermic (energy input) steps and the total energy change of the known steps to help you understand the process.
  5. Visualize with the Chart: The dynamic Born-Haber cycle diagram updates as you type, providing a clear visual of the energy levels for each step in the calculation. You can find more visual tools on our {related_keywords} page.

Key Factors That Affect Lattice Energy

Lattice energy is not random; it is primarily governed by two key factors derived from Coulomb’s Law.

  • 1. Magnitude of Ionic Charge: The greater the charge on the ions, the stronger the electrostatic attraction, and the higher (more exothermic) the lattice energy. A compound with +2/-2 ions (like MgO) will have a much larger lattice energy than a compound with +1/-1 ions (like NaCl).
  • 2. Ionic Radii (Distance between Ions): The smaller the ions, the closer they can pack together in the crystal lattice. This shorter distance results in a stronger electrostatic force and a higher lattice energy. For example, LiF has a higher lattice energy than KI because Li⁺ and F⁻ ions are much smaller than K⁺ and I⁻ ions.
  • 3. Crystal Structure (Madelung Constant): Different crystal lattice arrangements (e.g., face-centered cubic vs. body-centered cubic) result in slightly different geometric factors (Madelung constant), which affects the total electrostatic potential energy.
  • 4. Ionization Energy: While not a direct factor in the final lattice strength, a very high ionization energy for the metal makes forming the cation energetically “expensive”, which can influence the overall stability and formation of the compound.
  • 5. Electron Affinity: Similarly, a highly exothermic electron affinity for the non-metal makes anion formation favorable and contributes to the overall stability of the cycle.
  • 6. Covalent Character: No bond is 100% ionic. If there is significant sharing of electrons (covalent character), the actual lattice energy measured via a Born-Haber cycle will differ from a purely theoretical ionic model. You can read more about this in our {related_keywords} article.

Frequently Asked Questions

1. Why can’t lattice energy be measured directly?

It is impossible to create a collection of perfectly separate, gaseous ions and then measure the energy released as they combine to form a solid. Therefore, we must use an indirect method like the Born-Haber cycle.

2. What is the difference between lattice energy and enthalpy of formation?

Enthalpy of formation (ΔHf) is the total energy change when a compound is formed from its elements in their standard states (e.g., solid Na, gaseous Cl₂). Lattice energy (U) is only one specific step in that process: the formation of the solid from gaseous ions.

3. Why is lattice energy always a negative value?

Lattice energy is typically defined as the energy *released* (lattice formation enthalpy) when gaseous ions form a stable solid lattice. Since energy is released, the process is exothermic, and the value is negative. Some definitions use lattice dissociation enthalpy, which is the energy *required* to break the lattice, and would be positive.

4. Why is the second electron affinity often positive (endothermic)?

Adding a second electron to an already negative ion (like adding an electron to O⁻ to form O²⁻) requires energy to overcome the electrostatic repulsion between the negative ion and the electron. This makes the step endothermic.

5. How do I handle compounds like MgCl₂?

For a compound like MgCl₂, you must account for the stoichiometry. You would use the sum of the 1st and 2nd ionization energies for Mg, and you would double the enthalpy of atomization and the electron affinity for chlorine, since there are two chloride ions per formula unit.

6. Does a higher lattice energy mean the compound is more stable?

Yes, a higher (more negative) lattice energy indicates stronger bonds between the ions, resulting in a more stable crystal lattice that requires more energy to break apart. This often correlates with higher melting points.

7. What is the ‘unit’ for the inputs?

The standard and universally accepted unit for all these enthalpy values is kilojoules per mole (kJ/mol). This calculator assumes all inputs are in this unit.

8. Where does the data for the calculator come from?

The enthalpy values for atomization, ionization, and electron affinity are experimentally determined quantities that are compiled in chemical data reference books and databases. For more on experimental methods, see our page on {related_keywords}.

© 2026. A production-ready calculator for academic and professional use.



Leave a Reply

Your email address will not be published. Required fields are marked *