Syntax for specifying base of logarithm in Calculator

By default the log button calculates base-10 logarithms (while the "ln" button does, of course, base-e logarithms).

To specify a different base, you use a "subscript":

  • Type "log" in the input field.
  • Input your desired base with a subscript. This can be done either by clicking on the "downarrow-n" button (top left) and then entering the number, or by pressing Alt while typing the number.
  • Finally type the number whose logarithm you want to calculate.

By the way, I found this pretty easily by accessing gcalctool's help (press F1) and looking for logarithms in the index.


You can also use the base change formula:

ln(1024)/ln(2) = log (base 2) (1024)

Tags:

Calculator