Calculation of equilibrium constant given the reaction temperature
By definition, the standard equilibrium constant is:

$K = e^{-\Delta_rG/RT}$

Where $\Delta_rG$ is the difference between the Gibbs Energies of the products and reactants.