Distributions of the number of interparticle contact points and the contact force of granular materials are analyzed by means of the principle of virtual work. The expressions of these microscopic distributions are given in terms of observable macroscopic quantities.