Density Functional Theory Energy Estimator

Compute simplified DFT energies from density and volume. Switch functionals units and optional terms easily. See Hartree and eV outputs for fast comparisons today.

Calculator Inputs

Choose an input mode, set units, and enable optional energy terms.
Reset to defaults

Inactive fields can be left blank.
Total electron count in the model region.
Used to derive density when mode is N + rs.
Correlation uses a standard LDA fit (unpolarized).
Applies spin-scaling to exchange term only.
Use this to add a known offset term.
Ts term depends strongly on density.
Turns correlation on/off within LDA.
Uniform sphere model: very approximate.
Clear Results

Example Data Table

These rows show typical inputs and resulting totals for the same model equations.

Case N V (bohr³) n (e/bohr³) rs (bohr) Functional Total (Ha) Total (eV)
A105000.0200002.285391LDA_XC-1.540420-41.916958
B5012000.0416671.789400LDA_XC-5.750422-156.476954
C105000.0200002.285391LDA_X-1.116109-30.370866

Formulas Used

This tool uses a uniform-electron-density model to illustrate common DFT energy components in atomic units.

  • Density from N and V: n = N / V
  • Wigner–Seitz radius: rs = (3 / (4πn))1/3
  • Fermi wavevector: kF = (3π²n)1/3
  • Fermi energy: εF = kF² / 2
  • Thomas–Fermi kinetic energy (uniform): Ts = (3/10)(3π²)2/3 n5/3 V
  • LDA exchange per electron (Dirac): εx = −(3/4)(3/π)1/3(1/rs)
  • Spin scaling for exchange: f(ζ) = ½[(1+ζ)4/3 + (1−ζ)4/3]
  • Correlation (LDA fit): PZ81 piecewise function of rs (unpolarized).
  • Hartree self-energy (rough): uniform sphere EH ≈ (3/5)N²/R
  • Total energy: E = Ts + Ex + Ec + EH + Eext

Units: 1 Hartree = 27.211386 eV = 2625.500 kJ/mol.

How to Use This Calculator

  1. Select an input mode (for example, N + V).
  2. Enter the required values and choose the matching units.
  3. Pick a functional preset and optional terms (Ts, Ec, EH).
  4. Click Compute to view results above the form.
  5. Use Download CSV or Download PDF after computation.

FAQs

1) Is this a full quantum chemistry DFT solver?

No. It is a uniform-density energy estimator for learning and quick checks, not a geometry-based electronic-structure calculation.

2) What does rs represent?

rs is the radius of a sphere that contains one electron on average at density n. It is widely used for electron-gas models.

3) Why do results change a lot with density?

Kinetic energy scales roughly with n5/3, and exchange scales roughly with 1/rs. Small density changes can strongly affect totals.

4) What does the spin polarization ζ do here?

ζ modifies the exchange term using a standard spin-scaling factor. Correlation spin-dependence is not included in this simplified model.

5) Should I enable the Hartree self-energy term?

Only for rough intuition. The uniform-sphere Hartree energy is a crude approximation and does not represent real molecular charge distributions.

6) Can I compare two materials or densities?

Yes. Use the same options for both cases, then compare total energy or individual terms. Consistent settings matter more than absolute values.

7) What units should I use for typical chemistry inputs?

If you have values in Šor ų, select those units. The calculator converts to atomic units internally for the formulas and outputs.

8) Why is an external energy term included?

It lets you add a known constant offset, such as a reference energy, when comparing scenarios. Leave it at zero if unsure.

Related Calculators

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.