Skip to main content

LOG

Returns the logarithm of given number to a specified base.

Syntax

=LOG(Number, Base)

Arguments

NameDescription
NumberThe number for which the logarithm should be calculated.
BaseOptional. The base of the logarithm. Defaults to 10.

Return Value

The logarithm of given number.

Example

FunctionResultComment
=LOG(10)1No base specified so 10 is used and hence it must be raised only one time.
=LOG(8, 2)3The base value must be raised three times.