Alkali metals have a unique combination of physicochemical properties, such as extremely high electrical and thermal conductivities, law densities and viscosities, wide temperature ranges of a liquid state, great heat of evaporation, etc. Therefore, they are widely used in modern science and technology, especially liquid alkali metals act as a coolant in nuclear power plants. In this work, we developed an equation of state (EoS) based on statistical-mechanical perturbation theory for alkaline and alkaline earth metals. The theoretical EoS undertaken is Ihm-Song-Mason (ISM), and there are three temperature-dependent quantities that are required to use the EoS: the second virial coefficients B2 (T), an effective van der Waals covolume, b (T) and a correction factor, a (T). Those are calculated from a two-parameter corresponding states correlation, which is constructed with two constants as scaling parameters, i.e., the temperature, Tc and molar density pc at critical points. This new correlation has been applied to the ISM EoS to predict the volumetric behavior of alkali and alkali earth metals. We have tested the predicted EoS against the experimental data. The results show that in comparison to previous works, the present correlation is more accurate and covers a much wider range of temperature and pressure.