The study of a system of hard rods in a box of finite length in the presenc
e of a uniform gravitational field is made by means of the microcanonical e
nsemble. Explicit expressions are derived for the phase volume and the dens
ity of states, the primary functions of this ensemble. Related statistical
quantities are reported, such as the entropy, the temperature, the heat cap
acity and the forces exerted on the fluid by the bottom and top walls. The
microcanonical number density and higher order molecular distribution funct
ions are also derived.