# log10 {#log10}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`log10(X)`

## Arguments {#arguments}

**X** is a scalar/vector/matrix/table.

## Details {#details}

Return the logarithm of *X* to the base 10.

## Examples {#examples}

```
log10(100);
// output: 2

log10(0 10 100 1000 NULL);
// output: [,1,2,3,]

log10(10 100 1000 10000$2:2);
```

|\#0|\#1|
|---|---|
|1|3|
|2|4|

