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

# Percent Calculations

> Use simple number functions to calculate a percentage, such as the share of total revenue each department generates.

You can use [simple number calculations](/s/article/simple-number-calculations) — addition, subtraction, multiplication, and division — to perform useful percent calculations on your data.

Calculating percentages is useful when you want to see, for example, the percentage of revenue that each retail department generates (gifts, bakery, canned goods, and so on).

Create a formula called `Percent Revenue` in the [Formula Assistant](/s/article/add-a-formula-to-a-search):

```text theme={null}
( sum ( revenue ) / group_sum ( revenue ) ) * 100
```

Replace `revenue` with your company's name for its `revenue` column, such as `revenue_dollar_amount`.

Now you can see the percentage of total revenue that each department contributes, using the percent revenue formula you just created.

## Where to go next

* [Simple number calculations](/s/article/simple-number-calculations)
* [Group aggregation functions](/s/article/group-aggregation-functions)
