Where the sum stands
Lattice—
Summed over—
Ions in the region—
Net charge in the region—
Term just added—
Running total, A—
Coulomb energy at r₀ = 282 pm—
Term by term—
Out toIonsTermTotal
—
Positive ion Negative ion Added at this step
Partial sum after each step
A so far—
Exact limit—
Error—
Ions in region—
Lattice
Order of summation
Step—
Model notes & assumptions

What is being summed. Every ion sits on a point of a simple cubic lattice, and neighbouring sites carry opposite charges. Taking one ion as the centre, a site a distance d away contributes −z²e²/(4πε₀d) if its charge is opposite and +z²e²/(4πε₀d) if it is the same. Factoring out the nearest-neighbour distance r₀ leaves a pure number, the Madelung constant: A = Σ′ (−1)nx+ny+nz+1/√(nx²+ny²+nz²), the prime meaning the central site itself is left out. The lattice energy then follows as E = −A·NAz²e²/(4πε₀r₀).

Exact values. 1D gives 2 ln 2 = 1.386294, which is the alternating harmonic series 2(1 − ½ + ⅓ − ¼ + …). The 2D square lattice gives 1.615543 and the 3D simple cubic (rock-salt) lattice 1.747564. The last two have no closed form in elementary functions; the figures quoted here were checked against an Evjen sum taken to L = 400 and L = 60 respectively, and agree with the standard literature values to every digit shown.

Why the order of summation matters. A shell of radius d holds a number of ions growing as d² in 3D, while each contributes only 1/d. The individual shell totals therefore grow without limit, and the series converges only through cancellation between positive and negative terms. A series like that is conditionally convergent: rearranging it changes the answer, so "the sum" is not defined until the order is fixed. The three orders offered here make that concrete.

The energy readout. This is the Coulomb term alone, −A·NAe²/(4πε₀r₀), evaluated at NaCl's nearest-neighbour distance of 282 pm with singly charged ions, using the running value of A. At the 3D limit it gives −861 kJ mol⁻¹. The experimental lattice energy of NaCl is about −787 kJ mol⁻¹: the Coulomb attraction is opposed by short-range repulsion between the filled electron shells, which the Born–Landé expression accounts for with a factor (1 − 1/n). The same number is shown for the 1D and 2D lattices. There it is the Coulomb energy one ion would have at the same spacing if the lattice ran in only one or two directions.

Simplifications. Point charges throughout: no polarisation, no short-range repulsion, no zero-point or thermal contributions, and no distinction between the sizes of the two ions, which is why the drawn ions are equal in size. The 3D lattice is capped at L = 7 (3,375 ions) and the sphere at d = 7r₀ so the view stays responsive; the convergence behaviour is already unambiguous well before those limits.