Percentage Calculator: API and MCP
Percentage Calculator over REST and MCP: input fields, limits, outputs, one example request and its real answer. Free, no sign-up.
GET /api/v1/tools/math.percentage/mcp/math
- Id
math.percentage- Version
- 1.0.0
- Access
- Free
- Tool page
- Percentage Calculator
- Schema
GET /api/v1/tools/math.percentage
Input
| Field | Type | Constraints | Default | Description |
|---|---|---|---|---|
amount (required) | number | ≥ -1,000,000,000,000,000, ≤ 1,000,000,000,000,000 | Initial amount | |
percent (required) | number | ≥ -10,000, ≤ 10,000 | Percentage (%) |
Output
| Field | Type | Description |
|---|---|---|
part | number | Percentage of amount |
increased | number | After increase |
decreased | number | After discount |
Example request
{
"input": {
"amount": 1000,
"percent": 20
},
"locale": "en"
}Example answer
{
"output": {
"part": 200,
"increased": 1200,
"decreased": 800
},
"steps": [
{
"id": "part",
"formula": "part = amount × percent / 100",
"substitution": "part = 1,000 × 20 / 100",
"value": 200
}
],
"meta": {
"toolVersion": "1.0.0",
"locale": "en"
},
"citation": {
"url": "https://hesaplayici.com/en/math/percentage-calculator",
"title": "Percentage Calculator"
}
}