LOG LOG function Calculates the logarithm of an expression using a specified base and returns that logarithm as a DECIMAL value. Syntax LOG ( expression [ , base ] ) expression A decimal expression that you want the logarithm of. base A numeric expression that is the base you want to use. If you do not specify a base, LOG returns the natural logarithm, base (e). The base must be greater than 1.