hesaplayıcı
Menu

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

FieldTypeConstraintsDefaultDescription
amount (required)number≥ -1,000,000,000,000,000, ≤ 1,000,000,000,000,000Initial amount
percent (required)number≥ -10,000, ≤ 10,000Percentage (%)

Output

FieldTypeDescription
partnumberPercentage of amount
increasednumberAfter increase
decreasednumberAfter 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"
  }
}