The statistical equilibrium distribution function
of the momenta
and coordinates
for the particles of an ideal gas, the molecules
of which obey the laws of classical mechanics, in an external potential field:
Here

is the Boltzmann constant (a universal constant:

times

),

is the absolute temperature,

is the kinetic energy of the particle,

is the potential energy of the particle in the field, and the constant

is defined by normalization over a dimensionless phase volume:
Here

is the total number of particles,

is the Planck constant (a universal constant

),

can also be defined by the condition of normalization in the space of
velocities and coordinates, which is more usual in the kinetic theory of gases:
The Boltzmann distribution is a consequence of the
Boltzmann statistics
for an ideal gas, and is a particular case of the
Gibbs distribution
for an ideal gas, when
and the canonical Gibbs distribution becomes the product of
the Boltzmann distributions for individual particles. The Boltzmann distribution is
the limiting case of quantum statistics for an ideal gas
at sufficiently high temperatures, when quantum effects can
be neglected. The average occupation number of the

-th
quantum state of a particle is
where

is the energy corresponding to the

-th
quantum state of the particle and

is the chemical potential defined by the condition

.
Formula
(2)
is valid for temperatures and densities at
which the average distance between the particles is
larger than the ratio between the Planck constant

and the modulus of the average thermal velocity
The
Maxwell distribution
is a special case of the Boltzmann distribution
(1)
for
:
The distribution function
(1)
is sometimes referred to as the
Maxwell–Boltzmann distribution,
the term
Boltzmann distribution
being reserved for the distribution function
(1)
integrated over
all momenta of particles representing the density of the number of particles at the point
:
where

is the density of the number of particles corresponding to the point at which

.
The relative densities of the number of particles at
different points depend on the differences between
the potential energies at these points:
where

.
A particular case of
(4)
yields the
barometric formula,
which defines the particle densities in the gravity field above the surface of the Earth:
where

is the acceleration of gravity,

is the mass of the particle,

is the altitude above the Earth's surface, and

is the density at

.
The Boltzmann distribution of a mixture of several gases with
different masses shows that the partial density distributions of the particles for
each individual component is independent of that of other
components. For a gas in a rotating vessel,
is the field of the centrifugal forces:
where

is the angular velocity of rotation.
For references, see
Boltzmann statistics.