Cavity Volume and Free Energy in Many-Body Systems