Toolstia / Percentage calculator
Percentage calculator
Percentages appear in prices, grades, taxes, interest, test results and statistics, and most mistakes come from using the right formula for the wrong question. This page puts the five most common percentage questions side by side so you can pick the one that matches yours: what is X percent of Y, X is what percent of Y, percent change from one number to another, add a percent to an amount, and subtract a percent from an amount.
Each box updates as you type, and only the boxes you fill in show a result. It is suitable for working out a sale price, checking a service charge, comparing this month with last month or finding a test score as a percentage. The calculation runs in the page, so you can enter figures freely.
What is X% of Y?
X is what percent of Y?
Percent change from X to Y
Add a percent (tax, markup)
Subtract a percent (discount)
How it works
- Find the box that matches your question.
- Fill in both numbers.
- Read the answer under the boxes.
Percent of a number
For 15% of 200, enter 15 and 200 in the first box. The answer is 30.
What percent is one number of another
If you scored 45 out of 60, enter 45 and 60 in the second box. The answer is 75%.
Percent change
From 80 to 100 is a 25% increase, found by dividing the change (20) by the starting value (80). From 100 to 80 is a 20% decrease. The two are not equal because the starting value differs.
Discounts, tax and markup
Use "Add a percent" for tax or markup and "Subtract a percent" for a discount. A 20% discount on 150 gives 120.
Five worked examples
15 percent of 200 is 30. A score of 45 out of 60 is 75 percent. A rise from 80 to 100 is a 25 percent increase, while a fall from 100 to 80 is a 20 percent decrease. Adding 20 percent to 150 gives 180, and subtracting 20 percent from 150 gives 120.
Another everyday check is a 7.5 percent tip or service charge on 240, which is 18. Decimal percentages work as long as you type them with a dot.
Percent change and what happens at zero
The change is the difference divided by the starting value, so the starting value must not be zero. If you enter 0 as the From number, the box shows Check the numbers because a percentage rise from nothing is undefined. The tool also divides by the absolute value of the start, so a move from minus 50 to minus 25 is reported as an increase of 50 percent, which matches the direction of the move.
If you are comparing two values with no obvious starting point, remember that the answer depends on which number you put first.
Why up 20 and down 20 do not cancel
Adding 20 percent to 100 gives 120. Subtracting 20 percent from 120 gives 96, not 100, because the second percentage is taken from a larger base. The same trap appears with successive discounts: 20 percent off followed by a further 10 percent off is a total of 28 percent, not 30, since 100 becomes 80 and then 72.
When a shop advertises extra percentages off already reduced prices, work through the steps one at a time with the subtract box.
Working backwards from a total
There is no separate box for finding the original price when you only know the final one. If a price of 180 includes a 20 percent addition, the original is 180 divided by 1.2, which is 150. Using the subtract box on 180 would give 144, which is wrong because the 20 percent was added to the original, not to the total. The same applies to prices that include sales tax or VAT: divide by one plus the rate.
Percentage points versus percent
If an interest rate moves from 4 percent to 6 percent, it has risen by 2 percentage points, but the percent change from 4 to 6 is 50 percent. Both statements are correct and they describe different things. The percent change box gives the relative change, so use plain subtraction for the point difference.
Input rules to know
Type plain numbers with a dot as the decimal separator and no thousands separators, percent signs or currency symbols. A value such as 1,200 will show Check the numbers, so enter 1200 instead. Results are tidied to about twelve significant digits so that floating-point noise, such as 0.1 plus 0.2 style errors, does not appear.
Questions
Why is a 20% decrease not undone by a 20% increase?
Because each percentage applies to a different starting number. A 20% cut from 100 gives 80, and a 20% rise from 80 gives 96.
Can I use decimals?
Yes. Use a dot, for example 7.5.
What does "Check the numbers" mean?
One of the entries is not a number, or the calculation would divide by zero.
How do I find what percent one number is of another?
Use the second box. Enter the part as the first number and the whole as the second. For example, 45 and 60 gives 75 percent.
Can the percentage be above 100?
Yes. 150 percent of 40 is 60, and a number can be 250 percent of another. Percent change can also exceed 100, for example from 20 to 60 is 200 percent.
Why does the first box want the percent before the number?
The first box reads as a sentence: what is X percent of Y. The percent is X and the number is Y. In the add and subtract boxes the amount comes first, then the percent.
How do I calculate a percentage of a percentage?
Convert both to fractions and multiply. 50 percent of 20 percent is 0.5 times 0.2, which is 0.1, or 10 percent. You can use the first box with 50 and 20 to get 10.
Does it round the answer?
Not to a fixed number of decimals. It shows up to about ten significant digits and removes trailing zeros, so exact results show cleanly.