ReferenceFunctionsMath Functions
LOG10
LOG10: Returns the base-10 logarithm of a positive number.
Summary
Returns the base-10 logarithm of a positive number.
Remarks
numbermust be greater than0; otherwise the function returns#NUM!.LOG10(POWER(10,x))returnsxup to floating-point precision.- Input errors are propagated.
Examples
Power of ten to exponent
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
3
Log base 10 of a decimal
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
-2
Related functions
FAQ
When does LOG10 return #NUM!?
It returns #NUM! for non-positive input values.
Runtime metadata
Category
Math
Signature
LOG10(arg1: Number)Arity
min 1, max 1
Arguments
arg1Number · Scalar · coercion NumberLenientText
Caps
PURE
Source