Basics 08 · VASP · 4 min read

What are VASP's input files?

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

Short answer

A VASP calculation reads its inputs from one folder, usually four files: INCAR for the settings, POSCAR for the structure, KPOINTS for the k-point sampling and POTCAR for the pseudopotential of each element. When it finishes, it writes the final structure to CONTCAR, which can become the POSCAR of the next run.

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

Chapters

Data shown. INCAR and POSCAR: a silicon relaxation (Materials Project mp-149) from atomate2's test data, modified BSD licence · Silicon structure: Materials Project mp-149, CC BY 4.0 · KPOINTS: Mondal & Tonner-Zech, NOMAD upload CkYCNUmtSbOu6-IyEKtt1g, CC BY 4.0 · POTCAR: its header lines as the relaxation's OUTCAR records them (the POTCAR file itself isn't shared publicly) · The k-point grid and the electron rings are diagrams of the idea, not data.

What does VASP read?

VASP runs in one folder and reads its inputs from files with fixed names. A typical calculation has four:

FileWhat it holdsWhat sets it
INCARThe settings: what to calculate and howYou, tag by tag
POSCARThe structure: the cell and the atoms' positionsYou, or a structure database
KPOINTSHow finely the crystal's electron states are sampledYou, or the KSPACING tag in INCAR instead
POTCAROne pseudopotential per elementYour group's library of potentials

The VASP wiki is precise about which are required: INCAR, POSCAR and POTCAR are the minimal setup, and KPOINTS is optional because the KSPACING tag can set the sampling instead.

What does each file look like?

INCAR, the settings. The wiki calls it the central input file, the one that determines what to do and how to do it. Each line is a tag, an equals sign and a value; text after # or ! is a comment. The wiki's own short example:

INCAR
ALGO = Normal  # algorithm for electron optimization
ISMEAR = -1    # Fermi smearing
SIGMA = 0.05   # width of the smearing in eV

VASP uses reasonable defaults for anything not set, but the wiki warns that the settings in INCAR are the main source of errors and false results, and suggests checking OUTCAR, where VASP writes how it read them.

POSCAR, the structure. A plain text file with the cell and the atomic positions. The wiki's example is cubic boron nitride:

POSCAR
Cubic BN
3.57
0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0
B N
1 1
Direct
0.00 0.00 0.00
0.25 0.25 0.25

Line by line: a free comment; a scaling factor; the three lattice vectors (multiplied by the scaling factor, in Å); the element names and how many atoms of each; then Direct (positions as fractions of the lattice vectors, or Cartesian) and one line per atom.

KPOINTS, the sampling. Sets the grid of k-points, as in this regular mesh from the wiki:

KPOINTS
Regular 4 x 4 x 4 mesh centered at Gamma
0
Gamma
4 4 4

What k-points are, and why a crystal needs them: What are k-points?

POTCAR, the elements. One pseudopotential per element, joined into a single file in the same order as the elements in POSCAR. The wiki's example for aluminum, carbon and hydrogen:

Terminal
cat ~/pot/Al/POTCAR ~/pot/C/POTCAR ~/pot/H/POTCAR > POTCAR

The potentials come from the VASP Portal and are read-only. What they replace, and how to choose a version: What is a pseudopotential?

What comes out, and goes back in?

Among the files VASP writes, CONTCAR holds the structure in the same format as POSCAR. The wiki says it is written after each ionic step and at the end of the calculation, so it can be copied to POSCAR to continue: for a relaxation that has not converged yet, that is how you carry on from the last positions.

What do people mix up?

The mix-upWhat is true
"KPOINTS is always required."The wiki lists INCAR, POSCAR and POTCAR as the minimal setup; KSPACING in INCAR can replace KPOINTS.
"The order of elements doesn't matter."POSCAR and POTCAR must list the elements in the same order.
"If INCAR doesn't mention a setting, it isn't used."VASP uses its default for every tag you leave out; OUTCAR shows the values it actually used.
"CONTCAR is just a copy of POSCAR."It holds the structure at the last step, which after a relaxation differs from where it started.

Which values should I use?

The files are the easy part; the values in them are the science. Start with these:

Try it

Read a POSCAR line by line

This is the VASP wiki's cubic boron nitride, the example above. Choose any line to see what VASP reads from it.

LineWhat it is
1. Cubic BNComment. A free comment, such as a description of the system. VASP reads at most 40 characters of it and cuts off the rest.
2. 3.57Scaling factor. The universal scaling factor s. VASP multiplies the three lattice vectors below by it (and the positions too, when they are Cartesian), so the vectors come out in Å. One negative number here would be the cell volume instead, and three positive numbers would scale x, y and z separately.
3. 0.0 0.5 0.5First lattice vector, a₁. The unscaled Cartesian components of a₁. Times the scaling factor: a₁ = 3.57 × (0, 0.5, 0.5) = (0, 1.785, 1.785) Å.
4. 0.5 0.0 0.5Second lattice vector, a₂. a₂ = 3.57 × (0.5, 0, 0.5) = (1.785, 0, 1.785) Å.
5. 0.5 0.5 0.0Third lattice vector, a₃. a₃ = 3.57 × (0.5, 0.5, 0) = (1.785, 1.785, 0) Å. Together the three span the face-centered cubic cell.
6. B NSpecies names. The elements, in order: boron, then nitrogen. The order should match the potentials in POTCAR. The line is optional (without it the names come from POTCAR), and VASP keeps only two characters of each name. The wiki warns that POTCAR and the next line are what decide the species: swapping the names here changes nothing in the calculation.
7. 1 1Ions per species. How many atoms of each species, in the same order: one boron, one nitrogen. This line is required.
8. DirectCoordinate mode. The positions below are fractions of the lattice vectors. Only the first character counts: C, c, K or k mean Cartesian, anything else means Direct.
9. 0.00 0.00 0.00First position: boron. The first atom is boron, because the species lines list one boron first. It sits at the origin of the cell.
10. 0.25 0.25 0.25Second position: nitrogen. Nitrogen, a quarter of the way along each lattice vector: R = 0.25 (a₁ + a₂ + a₃) = (0.8925, 0.8925, 0.8925) Å. For real work the wiki strongly recommends at least 7 significant digits for positions and lattice, so VASP finds the symmetry reliably.

Verlet writes these four files for you, shows each one as text you can edit, checks them before you submit and builds POTCAR on your cluster from your group's library; you can also paste an INCAR into the free checker. Everything on this page works without it.

Updated
12 November 2026
Applies to
VASP 5.4 and 6.x
Source check
Checked against the docs, 12 November 2026

Where can I read more?

The VASP wiki:

What was this page checked against?

Checked against the VASP wiki, 12 November 2026: Input files (last edited 12 June 2024), INCAR (16 March 2026), POSCAR (22 July 2026), KPOINTS (29 October 2026), POTCAR (28 October 2026) and CONTCAR (18 October 2024). Every link on this page was opened.