Basics 01 · VASP · 5 min read

What is VASP?

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

Short answer

VASP, the Vienna Ab initio Simulation Package, is a program that models materials atom by atom from first principles, by solving an approximate form of the quantum mechanics of their electrons. It gives the energy of a structure, the forces on its atoms and its electronic properties, and it can move the atoms to relax a structure or run molecular dynamics.

The film plays from YouTube's privacy-enhanced player; nothing loads from YouTube until you press play.

Chapters and transcript

VASP, the Vienna Ab initio Simulation Package, is a program that models materials atom by atom. It works out how the electrons in a material arrange themselves, and from that, the material's energy and the force on every atom. You tell it what to calculate in a settings file called INCAR, one setting per line.

Ab initio is Latin for "from the beginning". VASP starts from quantum mechanics, the physics that governs electrons, not from measurements of your material. So all it needs is which elements you have, and where the atoms sit.

Inside, it runs a loop. It guesses how the electrons are spread out, called the density. It works out the orbitals, the waves that describe each electron. It builds a new density from them, and repeats, until the energy changes by less than a limit you set, called EDIFF.

When the atoms are allowed to move, this whole loop runs again at each new position. That's how VASP relaxes a structure into a stable shape, or runs molecular dynamics: atoms moving over time.

In practice, a VASP calculation is one folder with four input files: the settings, the structure, a prepared description of each element called the potentials, and the k-points, which set how finely VASP samples the crystal. You start it as a job on a cluster, a shared group of powerful computers, and it writes back its results: OUTCAR, the full record of the run, and CONTCAR, the final structure.

Its answers still depend on approximations you choose, like the energy cutoff, which sets how much detail VASP uses. So each one needs checking for your system.

Verlet explains every VASP setting in plain words, and reads a finished run's results.

That's VASP: a program that starts from the physics of electrons to work out a material's energy, its forces and its structure.

Data shown. Silicon structure: Materials Project mp-149, CC BY 4.0 · Electronic steps and INCAR values: atomate2 test data, modified BSD licence · ENCUT sweep: Mondal & Tonner-Zech, NOMAD, CC BY 4.0 · The job number in the terminal is illustrative.

What does VASP do?

VASP is a computer program for modeling materials at the scale of atoms. You give it the elements and where the atoms sit, and it works out how the electrons arrange themselves around them. From that it gets the total energy of the structure and the force on every atom.

It works from first principles (ab initio): nothing is fitted to the material you study. The physics comes from an approximate solution of the many-body Schrödinger equation for the electrons, most often within density-functional theory (DFT), where VASP solves the Kohn-Sham equations. VASP can also use the Hartree-Fock approximation, hybrid functionals that mix the two, and more accurate many-body methods such as GW.

The VASP wiki describes a typical calculation in three steps:

  1. choose the elements and a structure;
  2. treat the electrons quantum mechanically, to find their lowest-energy state (the electronic ground state);
  3. optionally move the atoms (VASP calls them ions), either to minimize the forces and find a stable structure, or with Newton's equations of motion to run molecular dynamics.

How does it work inside?

Three choices shape every VASP calculation.

  • Plane waves and a periodic cell. The electrons' orbitals and the charge density are written as a sum of plane waves, simple waves across the cell; how many are used is set by an energy cutoff (ENCUT). VASP uses periodic boundary conditions, so the cell is one tile of a crystal that repeats in every direction, which the wiki says makes it particularly strong for crystal structures.
  • The PAW method. Close to each nucleus the orbitals have fine detail (the wiki calls it their nodal features). VASP uses the projector-augmented-wave (PAW) method: each element comes with a prepared PAW potential (in the POTCAR file), which lets VASP treat the valence electrons, the outer ones that take part in bonding, efficiently while still capturing that detail.
  • A loop for the electrons. VASP starts from a guess for the electron density (overlapping atomic densities), finds the orbitals for it, builds a new density from them, mixes it with the old one, and repeats until the total energy stops changing by more than a threshold (EDIFF). This is the self-consistency cycle. When the atoms move, the whole loop runs again at every new position.

What does it look like in practice?

A VASP calculation is a folder with four input files, and VASP is started in that folder (usually as a job on a cluster).

FileWhat it holds
INCARThe settings: which method, how accurate, what to do with the atoms. Each line is a tag and a value, such as ENCUT = 520.
POSCARThe structure: the cell, the elements and the atomic positions.
POTCAROne PAW potential per element, in the same order as POSCAR, put together from your group's library of potentials.
KPOINTSHow finely to sample the electrons across the crystal (the k-point mesh).

When it runs, VASP writes, among others:

FileWhat you find in it
OUTCARThe full record of the run: energies, forces, stresses, timings.
OSZICARA short summary: one line per electronic step and one per ionic step, good for following a run.
CONTCARThe structure at the end, in POSCAR format, so it can start the next run.
XDATCARFor molecular dynamics, the positions along the trajectory.

VASP is licensed software: licenses are given to well-defined research groups, through VASP Software GmbH for academic users. You run the copy your group or your cluster provides.

What do people mix up?

The mix-upWhat is true
"VASP is DFT."DFT is the theory; VASP is one program that uses it (and also Hartree-Fock, hybrids and many-body methods). Other codes implement DFT too.
"VASP and LAMMPS do the same thing."Both can run molecular dynamics, but VASP gets its forces from the electrons, while LAMMPS uses an interatomic potential, a formula for the forces. VASP is far more expensive per atom. See "What is LAMMPS?"
"The results are exact because it is first principles."The answer depends on approximations you choose: the exchange-correlation functional, the cutoff, the k-points. Each needs checking for your system.

Which value should I use?

The settings each have their own guide:

Try it

Which file holds it?

Each line or item below belongs in one of VASP's four input files. Pick a file for each; the answers come from the VASP wiki's pages on the four files, and What are VASP's input files? goes through each one.

LineFileWhy
ISMEAR = -1 # Fermi smearingINCARA tag, an equals sign and a value is an INCAR line; VASP ignores the text after #. The wiki's own example uses this line to choose Fermi smearing.
B NPOSCARThe element names in POSCAR, here from the wiki's cubic boron nitride. Their order should match the order of the potentials in POTCAR.
4 4 4KPOINTSIn a KPOINTS file for a regular mesh, the number of subdivisions along each of the three reciprocal lattice vectors.
One pseudopotential for each element, in the order of the elements in POSCARPOTCARThat is POTCAR: one potential per element, joined in POSCAR's order from your group's library. Its contents come from the VASP Portal, so this site never shows any.
KSPACING = 0.5INCARIt sets the k-point sampling, but it is an INCAR tag: VASP uses it when there is no KPOINTS file. Its default is 0.5 Å⁻¹.
DirectPOSCARIn POSCAR, it says the atomic positions below are fractions of the lattice vectors. A line starting with C or K would mean Cartesian instead.
GammaKPOINTSThe third line of a regular-mesh KPOINTS file. Its first letter decides the mesh's center: G for the Γ point, M for the Monkhorst-Pack scheme.
Each element's default cutoff, ENMAXPOTCAREach potential in POTCAR carries its own ENMAX; VASP uses the largest one unless you set ENCUT in INCAR.
0.25 0.25 0.25POSCARAn atom's position in POSCAR: in the wiki's cubic BN, the nitrogen atom, a quarter of the way along each lattice vector.
ALGO = NormalINCARAnother INCAR tag; the wiki's example comments it as the algorithm for the electronic optimization.

Verlet explains each VASP setting in plain words and reads a finished run's results; everything on this page works without it.