Percentage Calculator
Percent-of, percent change, is-what-percent, increase/decrease and reverse-percent.
A free key adds 10,000 calls a month, no card: /pricing, which also says whether the calculators are free or priced right now.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | required | Which calculation to run One of: percent_of, is_what_percent, percent_change, increase, decrease, reverse_percent |
percent | number | optional | Percent value (percent_of/increase/decrease/reverse_percent) |
base | number | optional | Base value (percent_of/increase/decrease) |
part | number | optional | Part value (is_what_percent) |
whole | number | optional | Whole value (is_what_percent) |
from_value | number | optional | Starting value (percent_change) |
to_value | number | optional | Ending value (percent_change) |
total | number | optional | Total after the percent was added (reverse_percent) |
Call it over MCP (JSON-RPC 2.0)
curl -s https://agent.wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "percentage", "arguments": {"mode": "percent_of"}}}'Or plain HTTP
curl -s https://wingmanprotocol.com/tools/percentage \
-H 'Content-Type: application/json' \
-d '{"mode": "percent_of"}'Try it live
Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/percentage from your browser.
This call needs a key or credits. The 402 response below says what it accepts. A free key adds 10,000 calls a month, no card, no crypto: get one at /pricing, which also has the current prices.
Related tools in Math
math
Calendar Age Calculator
Compute calendar-accurate years/months/days between a birth date and an as-of date, plus total days and days until the…
math
Bayes' Theorem Calculator
Posterior probability P(H|E) from a prior, true-positive rate and false-positive rate.
math
Combinatorics Calculator (n!, nPr, nCr)
Factorial, permutations (nPr) and combinations (nCr) for non-negative integers.
math
Date Difference Calculator
Days, weeks, months and business days between two ISO dates.
math
Seeded Dice-Notation Roller
Roll tabletop dice notation ('2d6+3') deterministically from a required seed (sha256-derived, reproducible on any…
math
Duration Breakdown Calculator
Elapsed time between two ISO 8601 timestamps broken into weeks/days/hours/minutes/seconds, plus running totals.