LOG10
Returns the base-10 logarithm of a positive number.
The Formualizer engine in this repository at 0.15.0 plus unreleased changes computes the example results. Known differences from Excel are listed on this page.
Syntax
=LOG10(number)
Arguments
| Argument | Type | Required | Default |
|---|---|---|---|
number | number | Required | — |
Remarks
LOG10(POWER(10,x))returnsxup to floating-point precision.- Input errors are propagated.
Error cases
numbermust be greater than0; otherwise the function returns#NUM!.
Examples
Evaluate the logarithm of a positive number above one.
Formula =LOG10(100)
Expected result 2
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
A positive value below one gives a negative logarithm.
Formula =LOG10(0.01)
Expected result -2
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
The logarithm of one is zero.
Formula =LOG10(1)
Expected result 0
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Zero is outside the real logarithm domain.
Formula =LOG10(0)
Expected result #NUM!
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Power of ten to exponent
Formula =LOG10(1000)
Expected result 3
Try this formula
This editor runs the published Formualizer 0.14.0 package, so the last digits can differ and functions newer than that release return #NAME?.
Related functions
FAQ
When does LOG10 return #NUM!?
It returns #NUM! for non-positive input values.