> 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.

# CumulativeStdDev

> Use the Sigma CumulativeStdDev function to calculate the standard deviation of a column up to and including the current row value.

The **CumulativeStdDev** function calculates the standard deviation of a column up to and including the current row value.

## Syntax

```
CumulativeStdDev([Column])
```

Function Arguments:

* **\[Column]** (required) - The column of numbers to evaluate the cumulative standard deviation.

Cumulative functions depend on the order of the given column. If you change the sorting you change the result.

## Example

```
CumulativeStdDev([Monthly Revenue])
```

A table contains the monthly revenue of a store. The **CumulativeStdDev** function can be used to find the standard deviation up to and including the current month.

![](https://files.buildwithfern.com/sigma.docs.buildwithfern.com/996e61d170f92dfc84fc69f9454cc36cf05b57befcc747a66bef317da67db15b/assets/docs-images/9712c3f-5.png)

## Related resources

* [CumulativeVariance](/docs/cumulativevariance)
* [MovingStddev](/docs/movingstddev)
* [StdDev](/docs/stddev)