We measure the pressure and energy density of two avor QCD in a wide range of quark masses and temperatures. The pressure is obtained from an integral over the average plaquette or . We measure the QCD function, including the anomalous dimension of the quark mass, in new Monte Carlo simulations and from results in the literature. We use it to nd the interaction measure, " 0 3p, yielding non-perturbative values for both the energy density " and the pressure p.12.38.Gc, 11.15.Ha