# Arithmetic

Functions in the **Arithmetic** category of the Studio `fx` menu calculate totals and statistics, apply bitwise
logic, and compare sets of values.

Start with everyday math:

- [Sum](./sum/) / [Subtract](./subtract/) / [Multiply](./multiply/) / [Divide](./divide/) — totals and quotients over a
  list of numbers.
- [Mean](./mean/) / [Median](./median/) / [Standard Deviation](./standard-deviation/) — basic statistics.

Common set and bitwise work:

- [Set Union](./set-union/) / [Set Intersection](./set-intersection/) / [Set Difference](./set-difference/) — compare
  lists (for example detected IPs against a allowlist).
- [XOR](./xor/) / [AND](./and/) / [OR](./or/) / [NOT](./not/) — bitwise operations on byte data.
- [ROT13](./rot13/) — simple alphabet rotation.

Open a function page from the sidebar for parameters, returned values, and examples. The transform functions overview
also summarizes this category.
