Change of Base Formula
log_b(x) = ln(x) / ln(b)Convert a logarithm from any base to natural log (or any other base). This is the foundation for computing arbitrary-base logarithms.
Where:
b= The base of the logarithm (b > 0, b ≠ 1)x= The number to take the logarithm of (x > 0)ln= Natural logarithm (base e ≈ 2.71828)