> For the complete documentation index, see [llms.txt](https://docs.flexy.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexy.bot/modules/math/steps/calculator.md).

# Calculator

**Introduction**&#x20;

This step performs basic arithmetic operations, functioning as a calculator within an automation.

**Configuration**

1. **A**: Input the first number for the calculation. This is a required field.
2. **Operation**: Select the arithmetic operation to perform. Options include:
   * Add
   * Subtract
   * Multiply
   * Divide This is a required field.
3. **B**: Input the second number for the calculation. This is a required field.

**Outputs**

* **Result**: The result of the arithmetic operation.

**Usage**&#x20;

Ideal for calculations required within an automation, such as computing totals, differences, products, or quotients.
