Density functional theory (DFT) is a quantum mechanical method for computing the electronic structure and total energy of materials from first principles — meaning it uses only the laws of quantum mechanics and the atomic numbers of the elements, without empirical fitting parameters.
DFT maps the many-electron problem onto an effective single-electron problem by using the electron density as the fundamental variable (rather than the many-body wavefunction). The Kohn-Sham equations are solved self-consistently to find the ground-state electron density and total energy.