---
title: "Creating a Calculation Statement"
canonical: "https://docs.rubiconwater.com/space/DC/2048753859/Creating%20a%20Calculation%20Statement"
format: markdown
---
A calculation statement returns the result of arithmetically combining two values. Each value can be specified or looked up from the application database and it can optionally be combined with a multiplier and transformed using a function.

See <u>[Specifying a value](https://rubiconwater.atlassian.net/wiki/spaces/DCNC/pages/2048753839/Values+and+Functions+in+the+Tag+Expression+Editor#Specifying-a-value)</u> for more information about how to select a value and <u>[Applying a function](https://rubiconwater.atlassian.net/wiki/spaces/DCNC/pages/2048753839/Values+and+Functions+in+the+Tag+Expression+Editor#Applying-a-function)</u> for a list of available functions.

![image](media://0a81991a-9c8a-4222-b7a8-32aec7d4b28e)

**To create a calculation statement**

1. Select the *Calculation* option at the top of the Editor.
2. Specify a value for term 1. This can be composed of:
  1. (Optional) A function - this will take a single parameter consisting of the value multiplied by the (optional) multiplier.
  2. (Optional) A multiplier
  3. (Required) A value that you specify or look up from the application database or from another statement.
3. Specify a mathematical operator to combine the two terms.
4. Specify a value for term 2.

---