A simple equation of state (EOS) in wide ranges of pressure and temperature is constructed within the Mie—Grüneisen—Debye framework. Instead of the popular Birch—Murnaghan and Vinet EOS, we employ a five-parameter cold energy expression to represent the static EOS term, which can correctly produce cohesive energy without any spurious oscillations in the extreme compression and expansion regions. We developed a Padé approximation-based analytic Debye quasiharmonic model with high accuracy which improves the performance of EOS in the low temperature region. The anharmonic effect is taken into account by using a semi-empirical approach. Its reasonability is verified by the fact that the total thermal pressure tends to the lowest-order anharmonic expansion in the literature at low temperature, and tends to ideal-gas limitation at high temperature, which is physically correct. Besides, based on this approach, the anharmonic thermal pressure can be expressed in the Grüneisen form, which is convenient for applications. The proposed EOS is used to study the thermodynamic properties of MgO including static and shock compression conditions, and the results are very satisfactory as compared with the experimental data.