Skip to content

Band Structure Workflows

A band calculation connects a crystal structure to electronic energies and states throughout the Brillouin zone. The familiar plot along a few lines is one view of those results. Finding a gap, a small Fermi pocket, or a preferred magnetic state requires additional calculations. This guide develops the sequence for periodic independent-electron and Kohn–Sham models, with an exact two-band example showing why a convincing path plot can miss metallic bands.

Required background. Crystals and lattices introduces primitive cells and fractional coordinates. Band theory introduces Bloch states, band filling, and direct versus indirect gaps.

Helpful background. Computational quantum matter explains solver, basis, and model errors. The electronic-structure methods map compares the approximations used to construct an electronic Hamiltonian.

From a crystal to a self-consistent Hamiltonian

Section titled “From a crystal to a self-consistent Hamiltonian”

Start by specifying the lattice vectors, atomic species and positions, electron number, and magnetic arrangement. A magnetic unit cell can be larger than the structural primitive cell. A slab also needs a vacuum thickness and an electrostatic boundary prescription; a charged periodic cell needs a stated charge-compensation model. These choices change the physical problem.

Next choose the electronic approximation: for example a semilocal exchange-correlation functional, a core/valence partition, and scalar-relativistic or spin–orbit treatment. A plane-wave cutoff controls the accuracy of the chosen basis. Raising it cannot repair an unsuitable pseudopotential or missing correlation physics. Semicore electrons may matter for bonding, magnetism, and pressure response. Martin (2020) discusses these distinctions in detail.

In a nonorthogonal basis the band problem is

Hkcnk=ϵnkSkcnk,H_{\mathbf k}c_{n\mathbf k} =\epsilon_{n\mathbf k}S_{\mathbf k}c_{n\mathbf k}, cmk†Skcnk=δmn.c_{m\mathbf k}^{\dagger}S_{\mathbf k}c_{n\mathbf k}=\delta_{mn}.

The overlap matrix SkS_{\mathbf k} is positive definite after linear dependencies have been removed. It becomes the identity for an orthonormal basis. The second equation defines normalization in this representation; Euclidean normalization of the coefficient vector generally does not suffice. PAW and ultrasoft methods also require their augmentation contributions when reconstructing densities and matrix elements (Blöchl 1994; Vanderbilt 1990).

Normalize integration weights by ∑kwk=1\sum_{\mathbf k}w_{\mathbf k}=1. With occupations fnkf_{n\mathbf k} between zero and one for physical Fermi occupations, the electron number per cell is

Ne=gs∑nkwkfnk.N_e=g_s\sum_{n\mathbf k}w_{\mathbf k}f_{n\mathbf k}.

Use gs=2g_s=2 when the two identical spin states are implicit. Use gs=1g_s=1 when spin channels or spinor states are enumerated explicitly, or in a spinless model. Thus two completely filled spin-degenerate bands and four filled explicit spinor bands each contain four electrons per cell. Applying both conventions at once doubles the count.

In ordinary semilocal Kohn–Sham calculations, the input charge and spin densities determine an effective Hamiltonian. Solving it and occupying its states produces new densities. Mixing and iteration seek a fixed point of this process (Kohn and Sham 1965; Kresse and Furthmüller 1996).

An illustrative charge-density residual is

Rρ=∫cell∣ρout−ρin∣ d3rNe,R_\rho= \frac{\int_{\mathrm{cell}}|\rho_{\mathrm{out}}-\rho_{\mathrm{in}}|\,d^3r}{N_e},

where ρ\rho is electron number density. A spin calculation must also monitor its magnetic degrees of freedom. Small changes in total energy alone can hide an unstable moment, occupation, or small band gap. A converged fixed point is not necessarily a minimum, and several distinct fixed points can exist.

Keep the structure, pseudopotential files, input settings, code version, and convergence histories with the resulting states. These make a calculation repeatable and help explain discrepancies between two runs.

Separate integration meshes from plotting paths

Section titled “Separate integration meshes from plotting paths”

Different sets of momenta answer different questions:

Calculation Main task What to refine
Self-consistent mesh Determine the electronic state Density, energy, moments
Dense full-zone sampling Find extrema and count states Gap, pockets, chemical potential
Plotting path Show selected dispersions Resolution along chosen lines

A uniform mesh approximates a Brillouin-zone integral; its weights and shift matter as well as its dimensions (Monkhorst and Pack 1976). A path connecting selected special points is useful for seeing symmetry and dispersion (Hinuma et al. 2017), but it has no volume-integration weights. Adding more points to the same path cannot find an extremum elsewhere.

For a converged semilocal calculation, evaluate a denser mesh and a display path using the same effective Hamiltonian. This is often called non-self-consistent, or NSCF, work. If finer integration reveals a significant change in the density or magnetic state, improve the self-consistent calculation too. A dense output grid cannot undo an inaccurate input state.

The required saved information depends on the method. Hybrid exchange depends on occupied orbitals, not only on the charge density; orbital-dependent functionals and +U+U calculations likewise require additional state data. Follow the method’s implementation instructions when constructing its fixed operator or band outputs. For example, the VASP hybrid-band instructions require regular-mesh orbitals and explicitly distinguish their procedure from a charge-density-only NSCF calculation.

Determine the chemical potential from a full-zone mesh at the required electron number. Its estimate can change as the integration is refined even when the Hamiltonian is fixed. A path plot should use that mesh-based reference, as explained in the VASP Fermi-energy documentation. At zero temperature in an insulator, any chemical potential inside the global gap gives the same filling; state the plotting convention used.

For two adjacent energy-ordered bands, distinguish

Egdir=min⁡k[ϵ+(k)−ϵ−(k)]E_g^{\mathrm{dir}}=\min_{\mathbf k} [\epsilon_+(\mathbf k)-\epsilon_-(\mathbf k)]

from

Egind=min⁡kϵ+(k)−max⁡kϵ−(k).E_g^{\mathrm{ind}}=\min_{\mathbf k}\epsilon_+(\mathbf k) -\max_{\mathbf k}\epsilon_-(\mathbf k).

The first compares states at the same momentum. The second permits different momenta and decides whether these band ranges overlap. Neither is automatically the fundamental interacting gap or an optical absorption threshold; see band gaps.

Consider a spinless two-orbital lattice model, with lattice spacing set to one:

H(k)=d0(k)I+0.25 eV σz,H(\mathbf k)=d_0(\mathbf k)I+0.25\,\mathrm{eV}\,\sigma_z, d0(k)=0.30 eV sin⁡(2kx)sin⁡ky.d_0(\mathbf k)=0.30\,\mathrm{eV}\,\sin(2k_x)\sin k_y.

Here kx,kyk_x,k_y are dimensionless and periodic modulo 2π2\pi. The square translation lattice does not imply fourfold rotation symmetry for this Hamiltonian. Its two eigenvalues are ϵ±=d0±0.25 eV\epsilon_\pm=d_0\pm0.25\,\mathrm{eV}, so the direct separation is exactly 0.50 eV0.50\,\mathrm{eV} everywhere.

Now plot the chosen path Γ=(0,0)\Gamma=(0,0), X=(π,0)X=(\pi,0), M=(π,π)M=(\pi,\pi), then back to Γ\Gamma. On the first two segments d0=0d_0=0. On the diagonal, putting kx=ky=tk_x=k_y=t gives

d0(t)=0.60 eV sin⁡2tcos⁡t.d_0(t)=0.60\,\mathrm{eV}\,\sin^2t\cos t.

Its largest magnitude is 0.40/3 eV0.40/\sqrt3\,\mathrm{eV}. The path therefore suggests a positive separation between the two band ranges:

Eg,pathind=(0.50−0.803)eV≃38.1 meV.E_{g,\mathrm{path}}^{\mathrm{ind}} =\left(0.50-\frac{0.80}{\sqrt3}\right)\mathrm{eV} \simeq38.1\,\mathrm{meV}.

Elsewhere in the zone, d0d_0 reaches ±0.30 eV\pm0.30\,\mathrm{eV}. For example, the lower band has its maximum +0.05 eV+0.05\,\mathrm{eV} at (π/4,π/2)(\pi/4,\pi/2); the upper band has its minimum −0.05 eV-0.05\,\mathrm{eV} at (3π/4,π/2)(3\pi/4,\pi/2). Both points are away from the plotted path. The actual indirect gap is −0.10 eV-0.10\,\mathrm{eV}: the band ranges overlap.

The chosen momentum path misses the lower-band maximum and upper-band minimum, so its plotted bands appear separated despite a full-zone overlap.

Exact results for the two-orbital model. The path shows a 38.1 meV38.1\,\mathrm{meV} separation; the full zone has a 100 meV100\,\mathrm{meV} overlap. The marked extrema lie in the displayed quadrant; the model is periodic over the full zone. The horizontal plot coordinate is distance along the path.

At one electron per cell, zero-temperature equilibrium fills all states below a common chemical potential. Here symmetry gives μ=0\mu=0, with electron and hole pockets. Filling the entire lower band and none of the upper band would instead occupy some states above empty, lower-energy states. In a self-consistent material calculation, discovering such an overlap requires reconsidering any imposed insulating occupations and recalculating the state. The frozen-Hamiltonian overlap is a warning, not by itself a completed self-consistent semimetal calculation.

A total energy can be stable before a small gap, a pocket volume, or a band curvature is resolved. Vary the basis cutoff, self-consistent mesh, output mesh, and solver tolerance separately, then check that tightening them together does not expose a missed dependence. For structural relaxation, also check forces and stress: a changing basis can cause Pulay errors.

There is a useful exact statement for a fixed Hamiltonian. If extrema are searched only over a set SS of momenta, then

gS=min⁡k∈Sϵ+(k)−max⁡k∈Sϵ−(k)≥Egind.g_S=\min_{\mathbf k\in S}\epsilon_+(\mathbf k) -\max_{\mathbf k\in S}\epsilon_-(\mathbf k) \geq E_g^{\mathrm{ind}}.

Adding samples can only lower this sampled gap. Preserve previously found extrema when refining the search. Grids with different shifts or nonnested sizes can fluctuate, but a later grid does not invalidate an earlier, more restrictive bound. If the Hamiltonian changes during a new self-consistent calculation, this monotonic argument no longer applies between the runs.

For the model above, nested n×nn\times n grids with coordinates kj=−π+2πj/nk_j=-\pi+2\pi j/n, j=0,…,n−1j=0,\ldots,n-1, give:

nn Sampled indirect gap (meV)
6 +50.0+50.0
12 −19.6-19.6
24 −100.0-100.0
48 −100.0-100.0

The coarsest grid misses the overlap. The 24-point grid happens to contain the exact extrema. In a general calculation, two similar successive values do not prove an error bound: search near candidate extrema and test alternative mesh shifts or adaptive refinement. Numerical stability and a rigorous bound are different conclusions.

Compare uncertainty sources separately. Mesh and basis changes measure numerical sensitivity. A new functional, valence partition, structure, or magnetic arrangement changes the model or physical input. Agreement between codes solving the same approximate equations is valuable, but does not remove their shared approximation (Lejaeghere et al. 2016).

Treat occupations and magnetism consistently

Section titled “Treat occupations and magnetism consistently”

For Fermi–Dirac occupations,

fσ(ϵ−μ)=11+exp⁡[(ϵ−μ)/σ].f_\sigma(\epsilon-\mu) =\frac{1}{1+\exp[(\epsilon-\mu)/\sigma]}.

Using a numerical width σ\sigma smooths integration across a Fermi surface. Interpreting it as a physical temperature requires a finite-temperature model; it is not a quasiparticle lifetime or an instrumental resolution. The internal energy, the free energy minimized by the calculation, and a code’s extrapolated zero-width energy are distinct quantities. With physical Fermi–Dirac entropy SS expressed in units of kBk_{\mathrm B}, Eint=F+σSE_{\mathrm{int}}=F+\sigma S.

For a smooth density of states and a stable branch, an internal-energy difference can have a leading σ2\sigma^2 correction. This motivates testing ΔE(σ)=ΔE0+aσ2\Delta E(\sigma)=\Delta E_0+a\sigma^2 at small widths. It does not justify that fit near every singularity, phase change, or poorly resolved pocket. Refine the momentum mesh as the width decreases.

Methfessel–Paxton and cold-smearing schemes use different occupation and entropy functions. Their occupations can be nonmonotonic, so electron counting can admit several chemical-potential roots; dos Santos and Marzari (2023) explain this problem and root-selection methods. Do not transfer a Fermi–Dirac extrapolation rule to a different scheme without checking it. Fixed integer occupations are appropriate only after the assumed insulating filling is consistent with the spectrum throughout the zone.

Try physically motivated nonmagnetic, ferromagnetic, antiferromagnetic, and, where relevant, noncollinear initial states. Several initial moment sizes help find distinct self-consistent solutions. A small cell excludes orders that require larger periods; spin–orbit coupling can make the moment direction matter.

Compare the same composition with a stated normalization:

ΔeA−B=EANA−EBNB,\Delta e_{A-B}=\frac{E_A}{N_A}-\frac{E_B}{N_B},

where each NN counts atoms or formula units consistently. Match the structural protocol, basis accuracy, reciprocal sampling density, and occupation/energy conventions. If comparing relaxed phases, relax each under a common protocol; if comparing spin states at fixed geometry, keep that geometry fixed.

Suppose a teaching calculation gives AFM minus FM energy differences of +12±2 meV/atom+12\pm2\,\mathrm{meV/atom} with PBE and −6±2 meV/atom-6\pm2\,\mathrm{meV/atom} with PBEsol. Here the allowances apply to the relative energies and summarize numerical sensitivity, not statistical confidence. Both signs are numerically stable, yet the two approximations favor different states. More precise diagonalization cannot resolve that model dependence. The PBE and PBEsol definitions are given by Perdew et al. (1996, 2008).

Spinful time-reversal symmetry also constrains band filling. Kramers degeneracy and, in some space groups, larger connected band groups can prohibit a symmetric band insulator at a proposed filling (Watanabe et al. 2016). A small numerical gap then calls for checking symmetry breaking, the electron count, and omitted bands. See symmetry of Bloch states.

Energy ordering is appropriate when defining the gap between adjacent bands. Following an orbital character through a crossing is a different task. Near degeneracy, individual eigenvectors may rotate within a stable subspace; compare projectors or singular values of the complex overlap matrix. Squared overlap magnitudes alone lose phase information. A swap of dominant orbital character can occur at an avoided crossing as well as an exact crossing.

For an isolated differentiable band with cn†Scn=1c_n^\dagger S c_n=1, differentiating the generalized eigenproblem gives its group velocity:

ℏvnα=cn†(∂kαH−ϵn∂kαS)cn.\hbar v_{n\alpha} =c_n^\dagger(\partial_{k_\alpha}H -\epsilon_n\partial_{k_\alpha}S)c_n.

Here kαk_\alpha is a physical wavevector component. At a degeneracy, resolve the directional derivative within the degenerate subspace. This formula for a diagonal group velocity is not a general prescription for interband optical matrix elements.

Density of states and Fermi surfaces need full-zone sampling. Orbital weights, projected densities of states, and local magnetic moments depend on the chosen projectors and spatial partition. Unfolded bands also depend on a primitive reference cell. A smooth broadened plot is not a convergence test or a many-body spectral function.

For localized interpolation, retain the states, overlap conventions, and energy range needed by Wannierization. For comparison with photoemission, use the spectral-function description and the matrix elements, surface effects, and resolution discussed in ARPES. These additional ingredients explain why a calculated band separation and a measured peak separation need not represent the same quantity.

An irreducible mesh has weights 1/81/8, 3/83/8, and 4/84/8. Two spin-degenerate bands are filled at every point. Find the electron count, then repeat for four explicitly enumerated filled spinor bands.

Solution

The weights sum to one. In the first convention Ne=2×2=4N_e=2\times2=4; in the second Ne=1×4=4N_e=1\times4=4. Counting a spin degeneracy in addition to the four spinor bands would incorrectly give eight.

For the two-orbital model, derive the diagonal-path extrema and the true indirect gap. Explain why increasing only the number of path points cannot correct the inferred sign.

Solution

Write u=cos⁡tu=\cos t. On the diagonal d0=0.60(u−u3) eVd_0=0.60(u-u^3)\,\mathrm{eV}, whose stationary points have u=±1/3u=\pm1/\sqrt3. Thus the path extrema are ±0.40/3 eV\pm0.40/\sqrt3\,\mathrm{eV}. The path gap is approximately 38.1 meV38.1\,\mathrm{meV}, whereas the full-zone range −0.30≤d0/eV≤0.30-0.30\leq d_0/\mathrm{eV}\leq0.30 gives Egind=0.50−0.60=−0.10 eVE_g^{\mathrm{ind}}=0.50-0.60=-0.10\,\mathrm{eV}. More path points converge the wrong search domain. The common chemical potential requires holes near the lower-band maximum and electrons near the upper-band minimum at one electron per cell.

A fixed Hamiltonian gives sampled gaps 14, 18, and 19 meV on three nonnested meshes. What follows about the true gap? What changes if the meshes are nested? Does any of this prove that the true gap is positive?

Solution

Each sampled minimum is at least the true minimum, and each sampled maximum is at most the true maximum. Consequently each sampled gap is an upper bound, so the true gap is at most 14 meV. Searching the union can lower that bound further; it cannot raise it. A 14, 18, 19 sequence on nested meshes would contradict exact extrema sampling for the same Hamiltonian. Numerical solver errors or a changed Hamiltonian would need separate consideration.

An upper bound of 14 meV does not establish positivity: an unsampled point could still close or reverse the gap. A positive lower bound would need additional control of interpolation or variation between samples.

Internal-energy differences at Fermi–Dirac widths 0.20, 0.10, and 0.05 eV are 8.00, 11.00, and 11.75 meV per atom. Fit a quadratic in the width and explain what the fit establishes.

Solution

With x=σ/(1 eV)x=\sigma/(1\,\mathrm{eV}), all three points satisfy

Δe=(12−100x2) meV/atom.\Delta e=(12-100x^2)\,\mathrm{meV/atom}.

The fitted intercept is 12 meV/atom12\,\mathrm{meV/atom}. Exact agreement of three teaching values does not establish an asymptotic regime. Check smaller widths, denser meshes, the energy definition, and continuity of the magnetic solution before interpreting this as a reliable zero-width result.

Solve Hc=ϵScHc=\epsilon Sc for H=diag⁡(1,4) eVH=\operatorname{diag}(1,4)\,\mathrm{eV} and S=diag⁡(1,2)S=\operatorname{diag}(1,2). Give normalized eigenvectors.

Solution

The energies are 1 and 2 eV. Suitable coefficient vectors are c1=(1,0)Tc_1=(1,0)^T and c2=(0,1/2)Tc_2=(0,1/\sqrt2)^T; they satisfy ci†Scj=δijc_i^\dagger S c_j=\delta_{ij}. Reading the diagonal entries of HH as energies without including SS would give the wrong second energy.

6. Separate energy order from orbital character

Section titled “6. Separate energy order from orbital character”

Study H(k)=αkσz+δσxH(k)=\alpha k\sigma_z+\delta\sigma_x, where kk is a wavevector, α>0\alpha>0 has units of energy times length, and δ>0\delta>0 is an energy. Does a swap in the dominant σz\sigma_z orbital of the lower-energy eigenstate imply a band crossing?

Solution

The energies are ±(αk)2+δ2\pm\sqrt{(\alpha k)^2+\delta^2}, so the minimum separation is 2δ>02\delta>0. The lower state has ⟨σz⟩=−αk/(αk)2+δ2\langle\sigma_z\rangle=-\alpha k/\sqrt{(\alpha k)^2+\delta^2}: its dominant orbital changes as kk changes sign, despite an avoided crossing. Energy order stays well defined. When δ=0\delta=0, the degeneracy at k=0k=0 requires treating the two-dimensional eigenspace there rather than assigning a unique eigenvector.

For a one-dimensional nonorthogonal one-band model, take H(k)=−2tcos⁡(ka)H(k)=-2t\cos(ka) and S(k)=1+2scos⁡(ka)S(k)=1+2s\cos(ka), with ∣s∣<1/2|s|<1/2. Derive the energy and velocity, retaining the overlap derivative.

Solution

The normalized coefficient has ∣c∣2=1/S|c|^2=1/S and ϵ=−2tcos⁡(ka)/S\epsilon=-2t\cos(ka)/S. Direct differentiation gives

v(k)=2tasin⁡(ka)ℏ[1+2scos⁡(ka)]2.v(k)=\frac{2ta\sin(ka)}{\hbar[1+2s\cos(ka)]^2}.

The generalized formula gives the same result because ∂kH=2tasin⁡(ka)\partial_kH=2ta\sin(ka) and ∂kS=−2sasin⁡(ka)\partial_kS=-2sa\sin(ka). Omitting the overlap derivative would instead leave only one power of SS in the denominator. The condition on ss ensures a positive overlap everywhere.

  • Blöchl, P. E. “Projector Augmented-Wave Method.” Physical Review B 50, 17953–17979 (1994). doi:10.1103/PhysRevB.50.17953.
  • dos Santos, F. J., and Marzari, N. “Fermi Energy Determination for Advanced Smearing Techniques.” Physical Review B 107, 195122 (2023). doi:10.1103/PhysRevB.107.195122; author manuscript.
  • Hinuma, Y., Pizzi, G., Kumagai, Y., Oba, F., and Tanaka, I. “Band Structure Diagram Paths Based on Crystallography.” Computational Materials Science 128, 140–184 (2017). doi:10.1016/j.commatsci.2016.10.015.
  • Kohn, W., and Sham, L. J. “Self-Consistent Equations Including Exchange and Correlation Effects.” Physical Review 140, A1133–A1138 (1965). doi:10.1103/PhysRev.140.A1133.
  • Kresse, G., and Furthmüller, J. “Efficient Iterative Schemes for Ab Initio Total-Energy Calculations Using a Plane-Wave Basis Set.” Physical Review B 54, 11169–11186 (1996). doi:10.1103/PhysRevB.54.11169.
  • Lejaeghere, K., et al. “Reproducibility in Density Functional Theory Calculations of Solids.” Science 351, aad3000 (2016). doi:10.1126/science.aad3000.
  • Martin, R. M. Electronic Structure: Basic Theory and Practical Methods, 2nd ed. Cambridge University Press (2020). doi:10.1017/9781108555586.
  • Monkhorst, H. J., and Pack, J. D. “Special Points for Brillouin-Zone Integrations.” Physical Review B 13, 5188–5192 (1976). doi:10.1103/PhysRevB.13.5188.
  • Perdew, J. P., Burke, K., and Ernzerhof, M. “Generalized Gradient Approximation Made Simple.” Physical Review Letters 77, 3865–3868 (1996). doi:10.1103/PhysRevLett.77.3865.
  • Perdew, J. P., et al. “Restoring the Density-Gradient Expansion for Exchange in Solids and Surfaces.” Physical Review Letters 100, 136406 (2008). doi:10.1103/PhysRevLett.100.136406.
  • Vanderbilt, D. “Soft Self-Consistent Pseudopotentials in a Generalized Eigenvalue Formalism.” Physical Review B 41, 7892–7895 (1990). doi:10.1103/PhysRevB.41.7892.
  • VASP developers. “Band-Structure Calculation Using Hybrid Functionals” and “EFERMI.” VASP Wiki, accessed 15 October 2026. Hybrid-band instructions; Fermi-energy instructions.
  • Watanabe, H., Po, H. C., Vishwanath, A., and Zaletel, M. “Filling-Enforced Gaplessness in Band Structures of the 230 Space Groups.” Physical Review Letters 117, 096404 (2016). doi:10.1103/PhysRevLett.117.096404.