Skip to main content

LOG function

Logarithm function. LOG(x) returns the logarithm of the positive number x to base 10. The argument x must be greater than 0.

The argument x can be a real number, a complex number, or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the LOG function applied to all elements.

LOG() is commonly used in MedCalc formulas for data transformation: LOG(measurement). See Variable transformation.

Example

LOG(100) equals 2

Calculator

LOG 2

Graph

LOG function

Graph of LOG and LN functions

Logarithmic functions LOG and LN

Related functions

External links