There is a form of the virial identity for the stationary nonlinear Dirac equation in three spatial dimensions (and also the Maxwell-Dirac equations) and in arbitrary spatial dimension. Let n ∈ ∈ N , N ∈ ∈ N and let α α i , 1 ≤ ≤ i ≤ ≤ n and β β be the self-adjoint Dirac matrices of size N × × N :