About Percentage Calculator
Percentages turn up everywhere: a discount, a tip, an interest rate, a test score, a rent rise. Each of those is a slightly different question — a percentage of an amount, a share of a total, or a change between two values — and mixing them up is the usual reason a result looks wrong. This calculator separates the three questions so you always know which formula ran.
Every result is shown with the arithmetic behind it, including your numbers substituted into the formula, so you can check the answer or copy it into a spreadsheet with confidence. The result updates live as you type, negative values are handled explicitly, and a calculation that cannot have an answer is explained in plain language instead of showing Infinity.
What this tool does
Three percentage modes
Calculate X% of Y, express X as a percentage of Y, or measure the change from one value to another without reloading the page.
Working shown for every result
Each answer lists the formula and the same formula with your numbers substituted, so the result can be checked line by line.
Live, forgiving input
Results update as you type, thousands separators are accepted, and a trailing percent sign on a percentage field is ignored rather than rejected.
Negative values handled openly
Percent change divides by the absolute value of the starting number, and the tool states that convention instead of hiding it inside the result.
One-click copy
Copy the result to the clipboard as a plain number or percentage, ready for a document, invoice or spreadsheet cell.
Clear division-by-zero messages
A whole of zero or a starting value of zero is reported in the result area rather than silently producing an infinite number.
How to use Percentage Calculator
- 01
Choose the question you are answering
Pick X% of Y, X is what percent of Y, or increase / decrease, depending on what you already know.
- 02
Enter the two numbers
Type the values into the two fields; commas and a trailing percent sign are accepted. The result appears immediately.
- 03
Read the result and the working
The large number is the answer; under it the formula and your substituted numbers show exactly how it was reached.
- 04
Copy the answer
Press Copy result to put the formatted number on the clipboard for the field or document you are filling in.
- 05
Reset for a new calculation
Press Reset to clear both fields. Switching mode keeps the values, which is handy for re-reading the same pair of numbers a different way.
How this tool works
- Works with
- Percentages
- Processing
- Client-side, in your browser. Nothing is uploaded.
- Requirements
- Chrome, Edge, Firefox or Safari · JavaScript enabled
Limitations worth knowing
- Percentage change from a zero baseline is undefined, and from a negative baseline it is ambiguous; the tool treats zero as undefined and divides by the absolute value otherwise.
- Results are rounded for display to at most six decimal places, so very small or very large ratios may differ slightly from the exact fraction.
- Only the three question types above are covered; compound percentage changes, tax-inclusive pricing and percentage points are separate calculations.
Privacy and file handling
All three percentage modes run in your browser with plain JavaScript. The numbers you enter are never uploaded, stored or logged, and no request is made to a server while you calculate. Closing the page clears everything.
Read the full privacy policy