Percentage Calculator
Pick a question, enter your numbers, and get the answer instantly — percent of a number, what percent, percent change, apply a change, or share of a total. Runs entirely in your browser.
About the percentage calculator
This free percentage calculator answers the five everyday percentage questions from plain numbers. Pick a question, enter your numbers, and it returns the result, the inputs echoed back, and a one-line summary.
Everything runs locally in your browser. Nothing is uploaded to a server, and it works offline once the page has loaded.
What it can work out
- Percent of a number (
percent_of) — what ispercent% ofbase? e.g. 15% of 200 = 30. - What percent (
what_percent) —partis what percent ofwhole? e.g. 30 is 15% of 200. - Percent change (
change) — the percent increase or decrease fromfromtoto, plus the absolute change. e.g. 200 → 230 is a 15% increase. - Apply a change (
apply_change) — increase or decreasebasebypercent% (use a negative percent to decrease). e.g. 200 increased by 15% = 230. - Share of a total (
percent_of_total) —valueis what percent oftotal, plus the remaining amount and remaining percent. e.g. 30 of 200 is 15%, leaving 170 (85%).
Examples
- percent_of,
percent = 15,base = 200→30 - what_percent,
part = 30,whole = 200→15% - change,
from = 200,to = 230→15%increase (absolute change30) - apply_change,
base = 80,percent = -25→60 - percent_of_total,
value = 30,total = 200→15%(remaining85%)
How the values are computed
Standard arithmetic is used throughout — percent_of is percent/100 · base,
what_percent is part/whole · 100, change is (to − from)/from · 100,
apply_change is base · (1 + percent/100), and percent_of_total is
value/total · 100. Inputs may be negative; only divisors (whole, from,
total) must be non-zero. Results are rounded to six decimal places.
FAQ
Which numbers do I enter?
Only the ones the chosen question uses — the rest are ignored. The field labels list which question each number belongs to.
Can I use negative numbers?
Yes. A negative percent in apply_change
decreases the base, and negative values are allowed anywhere except as a
divisor.
Is it free and private?
Yes. Your input never leaves your device, and it works offline.
Developer & Automation Access
Run it from the terminal
Same engine as this page, headless — via the gizza CLI:
gizza tool percentage-calculator "..."New to the CLI? Get gizza →
Open it by URL
Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:
https://gizza.ai/tools/percentage-calculator/?mode=percent_of&percent=15&base=200&part=30&whole=200&from=200&to=230&value=30&total=200Machine-readable descriptor: tool.json — title + parameters JSON Schema for agents.
