Is there a way to insert Log base-something into Google Calculator?

All I know is that I can do log(number) to get log base ten and ln(number) to get log base e. How can I insert logarithms with other bases in Google Calculator? I can't seem to figure it out.


For base $b=10$ we can use log_10(n) or log(n)

For base $b=e$ we can use ln(n)

For base $b=2$ we can use log_2(n) or lg(n)

Other bases aren't implemented, so we use the Change of Base Rule, namely $\log_b(n) = \frac{\ln(n)}{\ln(b)}$ which we put into the calculator as ln(n)/ln(b). This works with any other base, so log(n)/log(b) would be the same.


Google calculator now supports arbitrary bases. For $\log_2(16)$, for example, you may now enter log2(16).

Screenshot of Google calculator