Guide · VASP · 10 min read
How do I test convergence for ENCUT and k-points in VASP?
Checked against the docs · VASP wiki · Last checked 12 November 2026 · Spot a mistake? Tell us
Short answer
Run the same single-point calculation on one fixed structure several times, changing only the cutoff (or only the k-point mesh), and plot the energy per atom. The setting is converged when several values in a row each differ from the one before by less than your tolerance, commonly 1 meV per atom.
What is a convergence test?
A convergence test asks one question: if I made this setting more accurate, would my answer change? You run the same calculation several times, changing only that setting, and watch the number you care about. Where it stops moving by more than your tolerance (the change you are willing to ignore), the setting is good enough.
For a VASP calculation, the two settings you test first are the energy cutoff and the k-point mesh.
The energy cutoff (ENCUT) decides how many waves describe the electrons. What cutoff energy (ENCUT) should I use in VASP? explains it.
The k-point mesh decides how finely VASP samples the electrons' behavior across the crystal. In a periodic crystal, the electrons are worked out at a grid of points in reciprocal space (the space of wave directions and wavelengths that matches the crystal's repeating pattern); each point is a k-point. More points means a finer sample. The wiki advises choosing the number of points along each direction roughly in inverse proportion to the cell's length in that direction, so a short edge needs more points than a long one. And it notes that metals need about an order of magnitude more k-points than semiconductors and insulators.
When do I need one?
- A new material, or new elements. A cutoff and a mesh that suited one material say nothing about another.
- A new property. Settings converged for total energies may not be converged for stress, forces, band gaps or magnetic moments.
- Before a series of production runs. An hour of testing protects weeks of calculations from a setting that was too coarse.
- For the paper. A methods section usually states the cutoff and mesh and the tolerance they were converged to, and a reviewer can ask how you chose them.
You do not need a new test for every run. Once per material, property and setup is the usual rhythm.
What should stay fixed during the test?
- One structure. A reasonable one: from a database, or from a quick relaxation with moderate settings.
- Nothing moves. Every run is a single point (a static calculation):
NSW = 0andIBRION = -1. If atoms or the cell move, each run ends on a different structure, and you are measuring the relaxation, not the setting. - The same smearing as production. Smearing (
ISMEAR,SIGMA) blurs the occupations near the highest filled level. Keep it identical across the test and the same as the runs that will use the result. The wiki calls the k-point mesh and the smearing "closely connected": a smaller smearing width needs a denser mesh. - The same potentials, functional and precision (
PREC).
How do I run the cutoff sweep?
The VASP wiki's recommended procedure is a series of calculations at cutoffs above the default (the largest ENMAX), watching the property you care about. Start at the default and raise the cutoff step by step, holding the k-point mesh at a generous value. The wiki does not say how far above the default to go or in what steps; keep going until the property you care about stops changing within your tolerance. For rutile TiO₂, where oxygen sets the floor at 400 eV, a sweep could look like this:
400 450 500 550 600 700 800 (eV)How do I run the k-point sweep?
Hold the cutoff at the value you chose (or a generous one) and go from a coarse mesh to a dense one. You can describe meshes directly or by a spacing in reciprocal space between neighboring k-points. A smaller spacing is a denser mesh, and the mesh follows the cell automatically, so the same spacing works across cells of different sizes. A sweep could start at the KSPACING default and get finer from there, for example:
0.5 0.4 0.3 0.25 0.2 0.15 (Å⁻¹)These spacings follow the convention of VASP's KSPACING tag, whose formula includes the factor 2π (its default is 0.5 Å⁻¹, the coarse end of this range). The wiki says metals need about an order of magnitude more k-points than semiconductors and insulators, so expect a metal to need a finer spacing. The same page gives a scale in k-points per atom in the full Brillouin zone, with the tetrahedron method: about 100 are generally enough to bring the energy error of an insulator below 10 meV, a metal needs about 1000 for the same accuracy, and a transition metal with a steep density of states at the Fermi level may need up to 5000, which usually brings the error below 1 meV per atom. That guide is in k-points per atom, not a spacing, so the wiki does not say how fine a spacing your sweep must reach; keep refining until the energy settles within your tolerance.
Choose your kind of material for the range to start from:
| Your material | Sweep the spacing | Why |
|---|---|---|
| Insulator or semiconductor | 0.5 → 0.15 Å⁻¹ | From the KSPACING default, 0.5 Å⁻¹, to finer meshes. The wiki gives no end point as a spacing: stop once the energy settles within your tolerance. Keep the smearing exactly as it will be in production. |
| Metal | 0.5 → 0.15 Å⁻¹, expect a finer mesh | The wiki: metals need about an order of magnitude more k-points than semiconductors and insulators. It gives no end point as a spacing, so go finer if the energy has not settled by the end of this range. A smaller SIGMA needs a denser mesh, so fix the smearing before the sweep and keep it. |
Test one setting at a time, holding the other at a generous value. The wiki does not prescribe an order; one way is the cutoff first at a reasonable mesh, then the mesh at the chosen cutoff.
What tolerance should I use?
The wiki gives no number for the tolerance between neighboring values. What it should be depends on what you will report:
- An energy difference (adsorption, a defect, a reaction barrier): converge the difference itself. The wiki notes that energy differences usually converge much faster than total energies, especially between similar structures, but slowly between very different ones (a bulk crystal against an isolated atom).
- A lattice constant or elastic property: watch the pressure (or the stress) as well as the energy, since stress converges more slowly.
- A small effect, such as the energy difference between two magnetic orderings that differ by a few meV: you need a tolerance tighter than the effect.
How do I read the results?
Plot the energy per atom against the setting, coarse to fine.
For the cutoff, look for the point from which the result stops changing as the cutoff rises.
For the k-points, the energy may go up and down before it settles, so do not trust two neighboring meshes that agree on their own. The wiki stresses that the error from too few k-points differs from one lattice to another, so you need absolute convergence, not a rule carried over from another material.
A setting is converged when:
- Several values in a row agree. Each of the last three (or more) values is within your tolerance of the one before. One small step is not enough, because of the oscillations.
- The quantity you will report has settled too, not only the total energy.
- You keep a margin: choose one step finer than the first value of that agreeing run.
Check the mesh each run actually used. Two spacings can give the same mesh for a given cell, in which case two runs are identical and the curve has a flat step that means nothing. When VASP generates the mesh itself, it writes the k-points it used, with their weights, to the IBZKPT file; OUTCAR also summarizes the mesh near the top.
Write it down. The values you tested, the tolerance and the result, in the run's notes. That record is the sentence in your methods section, and it saves repeating the test when a reviewer asks.
What goes wrong in convergence tests?
| Mistake | What you would see | What to do |
|---|---|---|
| Letting atoms or the cell move during the test | A bumpy curve that never settles, because each run ends on a different structure. | Single points: NSW = 0, IBRION = -1. |
| Stopping at the first small step in a k-point sweep | A mesh that looked converged, then results that shift when someone uses a denser one. | Require three values in a row within tolerance. |
Changing SIGMA or ISMEAR between test and production | A metal whose energies jump when the production runs start. | Same smearing throughout. A smaller SIGMA usually needs more k-points. |
| Testing on a unit cell, then running a supercell with the same mesh | Very slow supercell runs with far more k-points than they need. | Scale the mesh with the cell length, as the wiki advises: a 2 × 2 × 2 supercell (the unit cell repeated twice along each edge) needs about half the points along each direction. A spacing does this for you. |
| A Monkhorst-Pack mesh (shifted away from the Γ point) on the wrong lattice | A mesh that breaks the crystal's symmetry. | The wiki: use only Γ-centered meshes for face-centered cubic (fcc), hexagonal and fcc-orthorhombic lattices; Monkhorst-Pack can converge faster elsewhere if it keeps the symmetry. |
Tetrahedron smearing (ISMEAR = -5) at the coarse end of a k-point sweep | The wiki says the tetrahedron method needs at least 4 k-points, on a Γ-centered mesh. | Start the sweep above the coarsest meshes, or use ISMEAR = 0 for the sweep and the production runs alike. |
| Treating the test as permanent | Settings carried to a new element or a new property where they are no longer good enough. | Re-test when the elements, the potentials or the property change. |
In Set up, the Convergence sweep button makes one single-point run per value of the cutoff or the k-point spacing, all on your structure as it stands, with Verlet suggesting the values. When they have finished, Compare runs in Analyze shows the curve and a table of every value, and says whether the sweep has converged and which values agree.