> For the complete documentation index, see [llms.txt](https://guides.noloco.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guides.noloco.io/data/collections/formulas/operators/math.md).

# Math operators

Reference for all math and numeric operators supported in Noloco formula fields, including +, -, \*, /, ABS, CEILING, FLOOR, ROUND, ROUNDUP, ROUNDDOWN, INT, EVEN, ODD, MOD, POWER, SQRT, LOG, FACT, SIGN

All math and numeric operators supported in Noloco [formulas](/data/collections/formulas.md). Use these for arithmetic, rounding, powers, and aggregation.

**Available operators:** `+`, `-`, `/`, `*`, `ABS`, `CEILING`, `DECIMAL`, `EVEN`, `FACT`, `FLOOR`, `INT`, `LOG`, `MOD`, `ODD`, `POWER`, `PRODUCT`, `ROUND`, `ROUNDDOWN`, `ROUNDUP`, `SIGN`, `SQRT`, `SUM`, `TRUNC`.

***

### +

`value1 + value2`

Adds the values on either side.

**Example:** `10 + 2`

### -

`value1 - value2`

Subtracts the values on either side.

**Example:** `10 - 2`

### \*

`value1 * value2`

Multiplies the values on either side.

**Example:** `10 * 2`

### /

`value1 / value2`

Divides the values on either side.

**Example:** `10 / 2`

### ABS

`ABS(number)`

Returns the absolute value of a number.

### CEILING

`CEILING(number, significance)`

Rounds a number up to the closest multiple of significance.

### DECIMAL

`DECIMAL(text)`

Converts text representation of a number to a decimal.

### EVEN

`EVEN(number)`

Rounds a number to the nearest even integer.

### FACT

`FACT(number)`

Returns the factorial of a number.

### FLOOR

`FLOOR(number, significance)`

Rounds a number down to the closest multiple of significance.

### INT

`INT(number)`

Rounds a number down to the nearest integer (less than or equal).

### LOG

`LOG(number, base)`

Logarithm of a number for a provided base.

### MOD

`MOD(number, divisor)`

Modulo of a number.

### ODD

`ODD(number)`

Rounds a number to the nearest odd integer.

### POWER

`POWER(number, power)`

Raises a number to a power.

### PRODUCT

`PRODUCT(number, number2, ...)`

Multiplies the arguments together.

### ROUND

`ROUND(number, places)`

Rounds a number to the closest value for a given number of decimal places.

### ROUNDDOWN

`ROUNDDOWN(number, places)`

Rounds a number down for a given number of decimal places.

### ROUNDUP

`ROUNDUP(number, places)`

Rounds a number up for a given number of decimal places.

### SIGN

`SIGN(number)`

Returns the sign of a number:

* `-1` if the number is negative
* `0` if zero
* `1` if positive

### SQRT

`SQRT(number)`

Returns the positive square root of a positive number.

### SUM

`SUM(number, number2, ...)`

Sums the arguments.

### TRUNC

`TRUNC(number)`

Returns the integer component of a number.

***

### Related

* [Formulas overview](/data/collections/formulas.md)
* [Examples](/data/collections/formulas/examples.md) — see "Calculations"
* [Date & time operators](/data/collections/formulas/operators/date-and-time.md)
* [Logic operators](/data/collections/formulas/operators/logic.md)
* [Text operators](/data/collections/formulas/operators/text.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guides.noloco.io/data/collections/formulas/operators/math.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
