Percentage Calculator
percentagePerform percentage calculations including finding a percentage of a value, calculating percentage increase, decrease, or the percentage change from one number to another.
Instructions
Perform percentage calculations: of, increase, decrease, or change.
Examples:
PERCENTAGE OF: 15% of 200 operation="of", value=200, percentage=15 Result: 30
INCREASE: 100 increased by 20% operation="increase", value=100, percentage=20 Result: 120
DECREASE: 100 decreased by 20% operation="decrease", value=100, percentage=20 Result: 80
PERCENTAGE CHANGE: from 80 to 100 operation="change", value=80, percentage=100 Result: 25 (25% increase)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Optional annotation to label this calculation (e.g., 'Bond A PV', 'Q2 revenue'). Appears in results for easy identification. | |
| output_mode | No | Output format: full (default), compact, minimal, value, or final. See batch_execute tool for details. | full |
| operation | Yes | Type of calculation | |
| value | Yes | Base value | |
| percentage | Yes | Percentage amount (or new value for 'change') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |