I've found the value for K using Gibbs free-energy values (in KJ/mol) where Gibbs free-energy = -5.707*log(K).

Would that mean the units of K are KJ/mol as well?