AiondaAionda

Formula reference · Numbers and mathematics

MOD

Return the remainder after division.

English · 23 November 2026

Review edition — editorial review is not yet complete.

Back to the function catalog

What it does

Return the remainder after division.

Syntax

MOD(dividend, divisor)

Square brackets mark optional arguments; omit the brackets. Separate arguments with commas, quote text and use a point for decimals.

Arguments, in order

ArgumentMeaning
dividendNumber being divided.
divisorNumber to divide by.

Returns: Number.

Worked examples

Example 1

Formula

MOD(17, 5)

Result

2

Example 2

Formula

MOD(-17, 5)

Result

-2

Example 3

Formula

MOD(17, 0)

Result

17

Quotes in the result indicate text; \n indicates a newline. Date results use ISO notation. The application may display dates and numbers differently according to the selected field type and interface language.

Behaviour and limits

The remainder follows the dividend’s sign. In this implementation a zero divisor returns the dividend.

Use it with your fields

Replace example values with the relevant field API names when needed. A record formula uses names such as amount; a flow expression uses its context, such as $Datensatz.amount. Use your actual API names and a compatible return type. See expression basics and flows.