---
title: "Calculator"
description: "Evaluate mathematical expressions directly in chat"
canonical_url: "https://meingpt.com/en/docs/platform/calculator"
language: en
---

# Calculator

The built-in **Calculator** tool evaluates mathematical expressions directly.

## Current capabilities

- Method: `builtin-calculator`
- Input: `expression`
- Output: expression plus evaluated result

Supported examples include:

- basic arithmetic
- functions such as `sin`, `cos`, `sqrt`, `log`
- grouped expressions with parentheses
- constants and more complex terms

## Typical use cases

- quick ad-hoc calculations
- formula checks in domain chats
- validating numeric steps in analysis flows

## Best practice

For multi-step calculations, have the assistant show the exact expression before returning the result.
