We show that the pressure acting on atoms and molecular systems within the
compression cavity of the eXtreme-Pressure Polarizable Continuum method can be
expressed in terms of the electron density of the systems and of the
Pauli-repulsion confining potential. The analytical expression holds for
spherical cavities as well as for cavities constructed from van der Waals
spheres of the constituting atoms of the molecular systems