Basics · VASP · 6 min read

What is DFT (density-functional theory)?

Checked against the docs · VASP wiki and VASP website · Last checked 11 November 2026 · Spot a mistake? Tell us

Short answer

Density-functional theory (DFT) is a way to find the lowest-energy state of a material's electrons by working with their density, a single function of position, instead of the full many-electron wavefunction. It is exact in principle, but one piece, the exchange-correlation energy, has to be approximated, and that choice (LDA, GGA such as PBE, meta-GGA, hybrid) decides how accurate the results are.

What problem does DFT solve?

How atoms bond, and so the energy of a structure and the forces on its atoms, is decided by the electrons. Their behavior is set by the many-body Schrödinger equation, in which every electron interacts with every other; the VASP documentation describes what VASP does as computing an approximate solution to that equation, to find the electrons' lowest-energy state.

Density-functional theory reformulates the problem around the electron density: how much electron there is at each point in space. One function of three coordinates replaces a wavefunction that depends on the positions of every electron at once. The VASP wiki puts it in these terms: within Hohenberg-Kohn-Sham density-functional theory, the ground state is the state of the system that minimizes the Kohn-Sham free energy. The two founding papers are by Hohenberg and Kohn (1964) and Kohn and Sham (1965).

What are the Kohn-Sham equations?

Kohn and Sham's approach replaces the interacting electrons with a set of single-electron orbitals that, together, give the same density. Each orbital solves an equation that looks like a one-electron Schrödinger equation, and the density is the sum of the orbitals' squared magnitudes.

The VASP wiki writes the total energy in five parts:

  1. the kinetic energy of those non-interacting electrons;
  2. the attraction between the electrons and the nuclei;
  3. the classical repulsion between the electrons (their density repelling itself);
  4. the exchange-correlation energy, everything quantum about how electrons avoid each other;
  5. the repulsion between the nuclei.

Only the fourth is not known exactly. In the wiki's words, the accuracy of the calculated properties depends strongly on the approximation used for it.

Why does the calculation loop?

The equations for the orbitals depend on the density, and the density is made from the orbitals. So the calculation goes round in a loop, the self-consistency cycle, as the VASP wiki describes it:

  1. start from a guess for the density (in VASP, overlapping atomic densities);
  2. solve for the orbitals in the potential that density creates;
  3. build a new density from them and mix it with the old one, which keeps the loop stable;
  4. repeat until the total energy changes by less than a threshold (in VASP, EDIFF).

When this loop has converged you have the electronic ground state for that arrangement of atoms, with its energy and the forces on the atoms.

Which approximation is used?

Several hundred approximations to the exchange-correlation energy have been proposed. The wiki groups them in families:

FamilyWhat it usesWhat the wiki says about it
LDA (local density approximation)The density at each pointExact for a uniform electron gas, but in general quite inaccurate for real systems and rarely used now
GGA (generalised gradient approximation)The density and how fast it changesPBE is the GGA most used in solid-state physics, still widely used, in particular for geometry optimization
meta-GGAAlso the gradients of the orbitalsSlightly more expensive than GGAs, still fast; some, such as SCAN, can be more accurate and more broadly applicable
HybridA mix of Hartree-Fock exchange and a semilocal functionalOrders of magnitude more expensive than LDA or GGA

Corrections for van der Waals forces, and DFT+U for strongly correlated electrons, can be added on top. The wiki's advice on choosing is to pick a method appropriate for your system and property, from the literature, and within the computer time you have.

What does it look like in practice?

In VASP, DFT is what runs unless you ask for something else. Each POTCAR potential was made with a reference functional, recorded in its LEXCH line, and VASP uses that one by default; the GGA tag in INCAR (or METAGGA, or XC from VASP 6.4.3) picks another. The wiki notes that the potentials transfer well to other functionals, so changing it is allowed, despite the warning VASP prints.

What comes out is the ground state for the structure you gave: the total energy (in OUTCAR and OSZICAR), the forces and stress, and, if you ask for them, the charge density (CHGCAR) and the orbitals (WAVECAR), which VASP writes unless told not to, and the density of states (DOSCAR).

What do people mix up?

The mix-upWhat is true
"DFT is exact."The theory is exact in principle; every practical calculation uses an approximate exchange-correlation functional, and the results carry its errors.
"PBE is DFT."PBE is one functional, a GGA; DFT is the framework that every functional plugs into.
"The Kohn-Sham orbitals are the electrons."They are a device that reproduces the density; the wiki calls them the Kohn-Sham orbitals and eigenenergies. The pages this one was checked against do not say how far their eigenvalues stand for excitation energies, such as a band gap, so if you report a band gap from them, say which functional it came from.
"A higher-level functional is always better."The wiki's advice is to choose by your system and property, and by cost: hybrids cost orders of magnitude more.

Which value should I use?

DFT itself has no single setting; the choices that decide whether a DFT result is converged each have a guide:

Verlet explains each VASP setting that shapes a DFT calculation in plain words; everything on this page works without it.

Updated
12 November 2026
Applies to
DFT as implemented in VASP 5.4 and 6.x
Source check
Checked against the docs, 11 November 2026

Where can I read more?

What was this page checked against?

Checked against the VASP wiki, 11 November 2026: Exchange-correlation functionals (last edited 13 March 2026), Electronic minimization (24 September 2026), Category: Theory (24 March 2026), GGA (8 March 2026) and LEXCH (12 June 2024), and the VASP website's About page. Every link on this page was opened. The founding papers are listed as the VASP wiki lists them. Everything on this page was checked against the VASP wiki and website, not the papers.

How far Kohn-Sham eigenvalues can be read as excitation energies is not settled by the pages read; the page words it cautiously and the point is with an expert reviewer.