---
title: "Use the LOG Function to Find the Logarithm in Base 10"
slug: "log-function"
description: "Learn to apply the LOG function in Pigment for base-10 logarithmic calculations and streamline numeric analysis."
updated: 2025-09-26T16:35:40Z
published: 2025-09-26T16:35:40Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.pigment.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LOG function

## Description

Returns the logarithm of the given number to the base 10.

## Syntax

`LOG(Number)`

## Arguments

| Argument | Type | Dimensions | Description |
| --- | --- | --- | --- |
| *Number* (required) | Number | Any Dimensions | Number to return the logarithm to the base 10 for. |

## Returns

| Type | Dimensions |
| --- | --- |
| Number | Dimensions of *Number* |

Negative *Numbers* return `BLANK`.

## Examples

| Formula | Result | Description |
| --- | --- | --- |
| `LOG(1)` | 0 | log(1) equals 0. |
| `LOG(100)` | 2 | log(100) equals 2. |
| `LOG(0.5)` | -0.30103 | log(0.5) equals -0.30103. |
| `LOG(-2)` | `BLANK` | -2 is a negative number, the function returns `BLANK`. |

## See also

Excel: [LOG](https://support.microsoft.com/en-us/office/log-function-4e82f196-1ca9-4747-8fb0-6c4a3abb3280)

Related articles: [LN](/v1/docs/ln-function), [EXP](/v1/docs/exp-function)
