A calculated value is a temporary field that is evaluated after all the data that meets the selection criteria is retrieved, sorted, and summed.
The Add Summary expression calculator opens, as shown in the following image.
For more information about creating an expression see Using the Expression Calculator.