In cosmology, the critical density is the density of matter and energy that corresponds to a flat geometry in general relativity. The critical density is given by 8H_{0}/3G, where G is the gravitational constant. For a Hubble constant of 70 km/sec/Mpc, = 9 x 10^{-27} kg/m^{3}.