> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corti.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Medical Calculator

> Perform clinical calculations such as BMI, HbA1c, glucose conversions, and other medical formulas

```json theme={null}
[
  {
    name: "medical-calculator-expert",
    type: "reference",
  }
]
```

The **Medical Calculator** expert performs clinical and physiological calculations such as BMI, HbA1c conversions, glucose conversions, and related metrics. Use this expert whenever a workflow needs precise, formula-based medical computations.

<Tip>
  The Medical Calculator returns clear, concise results suitable for direct display or for further reasoning by another expert, removing the risk of manual calculation errors.
</Tip>

## Capabilities

The Medical Calculator expert can:

* Compute BMI, HbA1c, eAG, glucose conversions, and other physiological metrics
* Run multiple calculations in a single request and return them as a clean list
* Skip calculations when required inputs are missing and report what was missing
* Return human-readable, plain-text results without unnecessary metadata

## Use cases

* Inline clinical metric calculation during a conversation or document generation
* Lab value conversion (for example HbA1c ↔ eAG, or glucose unit conversion)
* Quick BMI or risk-metric lookups in clinical decision support flows
* Combining several calculations into a single, clinician-friendly summary

## Output format

When one calculation is requested, the expert returns a short single line, for example:

```
BMI: 24.8 (normal range)
```

When multiple calculations are requested, the expert returns a clean list:

```
BMI: 24.8 (normal range)
HbA1c: 6.1%
eAG: 128 mg/dL
```

If a value cannot be calculated, the expert notes the reason briefly, for example:

```
HbA1c: cannot calculate (missing fructosamine)
```

## Detailed information

The Medical Calculator is a sub-agent that does not interact with end users directly. It reads input values from the orchestrator's `data_part`, runs the requested formulas via its tools, and returns results grounded in the actual computed values — no extra commentary, no speculative medical advice.
