> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# Log

> Compute the logarithm of a number, defaulting to base 10.

Compute the logarithm of a number, defaulting to base 10.

## Usage

`Log(value, base)`

**value** (required) The number for which to calculate the logarithm.

**base** (optional) The optional base for the logarithm. Defaults to base 10.

## Example

`Log(10)`

* Returns 1

`Log(1, 2)`

* Returns 0

## Related resources

* [Ln](/docs/ln)