Skip to main content
The Calculate block lives in the Variables & Data storage palette category. Perform math operations and save the result to a variable.

What it does

Perform math operations and save the result to a variable.

Configuration

Open the block in the builder sidebar to configure these fields.

operation

Type: string. Required. Math operation to run. Accepted values: add, sub, mul, div.

value_1

Type: string. Required. First operand. Numbers or variables.

value_2

Type: string. Required. Second operand.

save_var

Type: string. Required. Flow variable that stores the result as {vars.name}.

See also

Last modified on June 6, 2026