In cosmology, the equation of state of a perfect fluid is characterized by a dimensionless number w, equal to the ratio of its pressure p to its energy density \rho:
It is closely related to the thermodynamic equation of state and ideal gas law. Wikipedia