TRUECALC
Functions

LOG

Logarithm to specified base

Try it

When to use it

When should I use LOG instead of LOG10 or LN?

Use LOG when you need a logarithm in an arbitrary base — for example base 2 for information-theoretic calculations or any other custom base.

Used in

science · engineering

Syntax

LOG(number, base)

Examples

=LOG(128,2) // => 7
=LOG(1000,10) // => 3
=LOG(100) // => 2

On this page