Calculator
Example data table
| Case | n (e/ų) | V (ų) | ζ | What you will observe |
|---|---|---|---|---|
| A | 0.02 | 1000 | 0.0 | Lower density gives smaller magnitude energies. |
| B | 0.05 | 1000 | 0.0 | Exchange becomes more negative as n increases. |
| C | 0.05 | 1000 | 0.7 | Exchange magnitude rises due to spin scaling. |
These examples assume a uniform region; real DFT uses spatially varying density n(r).
Formula used
Ex = −Cx · V · n4/3 · f(ζ)
f(ζ) = [ (1+ζ)4/3 + (1−ζ)4/3 ] / 2
Ec = N · εc(rs) , N = nV
How to use this calculator
- Enter a positive electron density and select its unit.
- Enter the volume of the uniform region and select its unit.
- Optionally set spin polarization ζ between 0 and 1.
- Pick your preferred output unit (Hartree, eV, or kJ/mol).
- Click Calculate to show results above the form.
- Use Download CSV or Download PDF for exports.
Density inputs and unit handling
Electron density n drives every term in this calculator. Typical solid-state valence densities fall near 0.01–0.10 e/ų, while compressed matter can exceed 0.2 e/ų. The page converts n into atomic units (e/Bohr³) using 1 Bohr = 0.529177 Å, ensuring consistent DFT-style arithmetic.
Uniform volume and electron count
The model treats your region as uniformly filled, so the electron count is N = nV. For example, n = 0.05 e/ų and V = 1000 ų gives N ≈ 50 electrons. Keeping V fixed helps you see how exchange–correlation changes with density alone.
Exchange energy trend and spin effect
Exchange uses the Dirac LDA form Ex = −Cx V n^(4/3) f(ζ), where Cx = 3/4(3/π)^(1/3). Because of the 4/3 power, doubling density increases |Ex| by about 2^(4/3) ≈ 2.52. Spin polarization raises |Ex| through f(ζ); at ζ = 0.7, f(ζ) is noticeably larger than 1.
Correlation energy through rs
Correlation is parameterized by the Wigner–Seitz radius rs = (3/4πn)^(1/3). Larger n means smaller rs and typically more negative correlation per electron. In many materials, rs often sits around 1–5 Bohr; the calculator reports rs so you can judge whether you are in a high- or low-density regime.
Total Exc and normalized outputs
Total Exc = Ex + Ec is reported in Hartree, eV, or kJ/mol. The tool also reports Exc per electron, useful for comparing cases with different V. For reference, 1 Hartree ≈ 27.2114 eV and 1 eV ≈ 96.4853 kJ/mol, so energy-unit changes preserve trends while scaling magnitudes.
Graph-driven sensitivity checks
The Plotly chart sweeps density around your input and plots Ex, Ec, and Exc on the same axes. Use it to identify nonlinear regions: exchange curves steepen with density, while correlation varies more gently with rs. If curves look flat, increase the sweep span or check that n and V are not extremely small.
After calculation, the CSV export writes a tidy key–value summary that can be pasted into notebooks or lab logs. The PDF export produces a one-page snapshot for sharing results. When documenting runs, store the input unit choices, ζ, and rs alongside Exc, because changing units or polarization can otherwise hide meaningful differences in the underlying electronic regime clearly securely.