# Documentation/Calc Functions/LOG10

From The Document Foundation Wiki

TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate

## Function name:

LOG10

## Category:

Mathematical

## Summary:

Returns the base-10 logarithm of a number.

## Syntax:

LOG10(**Number**)

## Returns:

Returns a real number which is the logarithm to base 10 of **Number**.

## Arguments:

Number is the positive real value or a reference to the cell containing that value whose logarithm base-10 is to be calculated.

If the **Number** is negative or 0, the function returns an error value.

## Additional details:

The GIF below illustrates the LOG10 function:

## Examples:

Formula | Description | Returns |
---|---|---|

=LOG10(5) | the base-10 logarithm of 5 | 0.698970004336019 |

=LOG10(10^4) | the base-10 logarithm of 10 raised to the power 4 is itself | 4 |

=LOG(-5) | function returns an error value since the argument is negative | Err:502 |

## Related LibreOffice functions:

## ODF standard:

## Equivalent Excel functions:

LOG10