If you want to compute a logarithm with an arbitrary base, but can access only a natural logarithm calculator or a log 10 base calculator, you need to apply the following rules:
logₐ(x) = ln(x) / ln(a)
logₐ(x) = lg(x) / lg(a)
Read more