The properties of hydrogen-helium mixtures at Mbar pressures and intermediate temperatures (4000 to 10000 K) are calculated with first-principles molecular dynamics simulations. We determine the equation of state as a function of density, temperature, and composition and, using thermodynamic integration, we estimate the Gibbs free energy of mixing, thereby determining the temperature, at a give...