Percentage Calculator
Work out percentages of a number, percentage change, increases and discounts, and reverse percentages, with the formula shown.
What is X% of Y?
X is what percent of Y?
Percentage change from X to Y
Increase Y by X%
Decrease Y by X%
X is Y% of what number?
About this tool
Percentages show up everywhere: a 15% tip, a 25% discount, a price that went from 80 to 100, a test score of 18 out of 72. Each of those is a different calculation, and mixing them up is the most common percentage mistake. This calculator has a separate box for each of the six everyday questions, so you only fill in the numbers you know.
Every result updates as you type and shows the formula it used, which makes it easy to check homework, verify an invoice or explain a number in a report. Negative numbers and decimals work too, and results are cleaned of floating-point noise, so 0.1 + 0.2 shows as 0.3.
How to use Percentage Calculator
- Find the box that matches your question, such as “What is X% of Y?” or “Percentage change from X to Y”.
- Type the two numbers you know into X and Y.
- Read the result on the right; the formula on the left shows how it was calculated.
- Use the other boxes for follow-up questions: each keeps its own numbers.
Examples
A tip or a share
What is 15% of 80?
12
A test score
18 is what percent of 72?
25%
Price change
From 80 to 100, and from 100 back to 80
+25% and −20%
The same 20-unit change is a different percentage because the starting value differs.
Discount and original price
Decrease 80 by 25%; 30 is 20% of what?
60; 150
Why +20% and then −20% does not get you back
A percentage is always relative to the value it starts from. Raise 100 by 20% and you get 120; lower 120 by 20% and you get 96, not 100, because the second 20% is taken from a larger number. That is also why a stock that falls 50% must rise 100% to recover. To undo an increase of p%, divide by (1 + p/100) instead of subtracting p%.
Percent versus percentage points
When a rate itself changes, say an interest rate going from 2% to 3%, the difference is 1 percentage point, but it is a 50% increase in the rate. News reports and contracts should say which they mean. Use “Percentage change from X to Y” with X = 2 and Y = 3 to get the relative change (50%); subtract the two rates for the change in points.
Frequently asked questions
Everything you need to know about this tool and data security.
How do I calculate a percentage of a number?
Multiply the number by the percentage and divide by 100. 15% of 80 is 15 × 80 ÷ 100 = 12.
How do I find the original price before a discount?
Divide the sale price by (1 − discount ÷ 100). A price of 60 after a 25% discount was 60 ÷ 0.75 = 80. In the calculator, use “X is Y% of what number?” with X = 60 and Y = 75.
How is percentage change calculated?
Subtract the old value from the new one, divide by the old value and multiply by 100. From 80 to 100 that is (100 − 80) ÷ 80 × 100 = 25%.
Why does the calculator say “not defined”?
Some questions divide by one of your numbers. If that number is 0, for example “what percent of 0 is 5?”, there is no meaningful answer.
Can I use negative numbers and decimals?
Yes. Percentage change uses the absolute value of the starting number, so going from −50 to −25 is reported as an increase of 50%.
Is my data safe when using this tool?
Yes, 100% safe. This tool operates entirely inside your web browser using client-side JavaScript and WebAssembly. Your data never touches any external server.
Related Tools
Calculate the monthly payment, total interest and full amortization schedule for a mortgage, car or personal loan.
See how savings grow with compound interest and monthly deposits, year by year, with any compounding frequency.
Convert length, weight, temperature, area, volume, speed, data size and time between metric, US, imperial and traditional units.
Featured Projects tech-fun.net
Explore more AI & productivity tools
Nihongo GameBox
Master Japanese typing, Kana, and JLPT N5–N1 vocabulary through interactive retro arcade games.
ResumeGPT
Tailors CVs and cover letters to every job opportunity with a multi-agent LLM pipeline, job tracking, and scheduled discovery.
CollectMind
Turns your bookmarks into a searchable AI knowledge base — entirely on-device, powered by Chrome's built-in Gemini Nano.