# Calculator (https://www.librechat.ai/docs/configuration/tools/calculator)

Calculator is a built-in agent tool for arithmetic and symbolic calculations. It does not require an API key or environment variable.

## Setup

<Steps>
  <Step>

### Add Calculator to an Agent

In LibreChat, select **Agents**, create or edit an agent, open the agent's **Tools** list, select **Calculator**, and save the agent.

  </Step>
  <Step>

### Test It

Ask the agent to calculate something that benefits from a tool call:

```text
Calculate 12345 * 6789 and show the result.
```

  </Step>
</Steps>
