How to use
- Choose one of the four calculation types. B% of A is selected when the page opens.
- Enter numbers in A and B. Thousands separators such as 1,250 are fine, and so are decimals.
- If you chose Increase or decrease A by B%, also choose Increase or Decrease.
- The result sentence appears 0.3 seconds after you stop typing. There is no Calculate button.
Each type answers a different question. B% of A gives the amount a percentage stands for, such as a 5% bonus on a salary or an 18% tip on a bill. A is what % of B gives a share, such as a test score or how much of a budget has been spent. Percent change from A to B tells you how much sales grew since last month, or how much cheaper a sale price is than the list price. Increase or decrease A by B% gives a discounted price or a raised amount in one step.
The result is one sentence, such as “From 120 to 150 is a 25% increase”, with the value in bold. Percent change has no minus sign: the sentence says “increase” or “decrease” instead. Results are rounded to 2 decimal places, and Copy copies the sentence as it is. The same two numbers give very different answers under different types, so read the sentence and check that it answers your question. When you choose percent change, a note below the result says that percent and percentage points are different. Its link, “See the explanation below”, takes you to the edge cases on this page.
Formulas
| Calculation type | Formula |
|---|---|
| What is B% of A? | A × B ÷ 100 |
| A is what percent of B? | A ÷ B × 100 |
| By what percent did A change to B? | (B − A) ÷ |A| × 100 |
| What is A increased or decreased by B%? | A × (1 ± B ÷ 100) |
Results are rounded to 2 decimal places.
- Decimals you enter are not turned into the approximations most computers use. Every digit is kept, and rounding happens once at the end, so a value such as 3.5 does not make the last digit wobble.
- When you calculate by hand, turn the percentage into a multiplier and multiply once. A 20% increase is × 1.2, and a 20% decrease is × 0.8.
- Percent change is the amount of change (B − A) divided by the absolute value of the starting value (|A|). When A is positive, this is the same as B ÷ A − 1. 150 ÷ 120 = 1.25, so it is a 25% increase.
- In A is what % of B, if B is 0 you see “B can’t be 0 for this calculation”. In percent change, if A is 0 you see “A can’t be 0 when calculating percent change”.
Examples
Every result below was produced by this calculator. On screen it appears as a sentence, such as “From 60,000 to 63,000 is a 5% increase”.
Two discounts in a row
| Calculation type | Input | Result |
|---|---|---|
| Increase or decrease A by B% | Decrease 50 by 20% | 40 |
| Increase or decrease A by B% | Decrease 40 by 10% | 36 |
| A is what % of B | 36 is what % of 50 | 72% |
A 20% discount followed by a 10% discount leaves 72% of the original price, which is a 28% discount in total, not 30%. Decreasing 50 by 28% gives the same 36.
Tips and sale prices
| Calculation type | Input | Result |
|---|---|---|
| B% of A | 18% of 84.50 | 15.21 |
| B% of A | 20% of 84.50 | 16.9 |
| Increase or decrease A by B% | Decrease 59.99 by 15% | 50.99 |
On a restaurant bill of $84.50, an 18% tip is $15.21 and a 20% tip is $16.90. A $59.99 item at 15% off costs $50.99.
A pay raise and an interest rate change
| Calculation type | Input | Result |
|---|---|---|
| Percent change from A to B | From 60,000 to 63,000 | 5% increase |
| B% of A | 5% of 60,000 | 3,000 |
| Percent change from A to B | From 3.5 to 4 | 14.29% increase |
A salary that goes from $60,000 to $63,000 is a 5% raise, worth $3,000 a year. When an interest rate goes from 3.5% to 4%, the rate itself grew by 14.29%, while the difference between the two rates is 0.5 percentage points.
Test scores
| Calculation type | Input | Result |
|---|---|---|
| A is what % of B | 15 is what % of 18 | 83.33% |
| Percent change from A to B | From 72 to 90 | 25% increase |
15 correct answers out of 18 is a score of 83.33%. Going from 72 points to 90 points is a 25% increase in the score itself. On a test out of 100, that is also a move from 72% to 90%, which is 18 percentage points.
How much cheaper than the list price?
| Calculation type | Input | Result |
|---|---|---|
| Percent change from A to B | From 129 to 99 | 23.26% decrease |
An item with a list price of $129 that sells for $99 is 23.26% off.
Edge cases
- Decreasing and then increasing by the same percentage does not get you back. $50 decreased by 20% is $40, and $40 increased by 20% is $48, because the second percentage is taken from a smaller number. At 50% the gap is bigger: 50 decreased by 50% is 25, and 25 increased by 50% is 37.5, only 75% of where you started.
- A value that halved has to double to recover. From 100 to 50 is a 50% decrease, but from 50 back to 100 is a 100% increase. The percentage down and the percentage needed to get back up are not the same.
- Percent (%) and percentage points are different. When a rate goes from 3% to 4%, it rose by 1 percentage point, and it rose by 33.33% as a percent change. Use percentage points for the difference between two rates, and percent for how much a rate changed relative to where it started.
- Taking the tax rate off a price that includes tax does not give the price before tax. With a sales tax of 8.25% (rates differ by state and city, so this is only an example), $100 becomes $108.25. Decreasing $108.25 by 8.25% gives $99.32, not $100. To remove the tax, divide: 108.25 ÷ 1.0825 = 100. Put another way, $100 is 92.38% of $108.25. VAT works the same way: a price of 120 that includes 20% VAT is 100 before VAT, not 96.
- When the starting value is negative, the calculator divides by its absolute value. For values that can go below zero, such as profit and loss, going from −100 to −50 is an improvement of 50, so it is a 50% increase. Dividing by A as it is would give −50% and read as a decrease, which is why the absolute value is used. When the sign flips, as when a loss turns into a profit, the number gets large: from −100 to 50 is a 150% increase. Look at the difference in amounts as well.
- Rounded shares may not add up exactly. 1 is 33.33% of 3, so three of those shares add up to 99.99%, because each result is rounded to 2 decimal places.
- In A is what % of B, if B is 0 there is nothing to divide by, so you see the reason instead of a result.
Frequently asked questions
Can I add two discounts together?
No. 20% off and then another 10% off leaves 72% of the original price. That is not the same as 30% off once, which leaves 70%. Use Increase or decrease A by B% twice, one discount at a time.
What does “decrease” mean in a percent change result?
It means the value went down. For example, from 150 to 120 is a 20% decrease. Instead of a minus sign, the calculator says “increase” or “decrease” to show the direction.
When do I use percentage points instead of percent?
Use percentage points for the difference between two rates. If unemployment goes from 3.5% to 4%, it went up by 0.5 percentage points. The same change as a percent change is a 14.29% increase, so mixing the two up makes a change look much bigger or smaller than it is.
Can I find the original price from a discounted price?
There is no calculation type for working backwards, but you can do it by hand: divide the discounted price by (1 − the discount). If a price is $40 after 20% off, the original price is 40 ÷ 0.8 = $50. To check, enter “Decrease 50 by 20%” and see that the result is 40.
How do I take sales tax or VAT out of a total?
Divide the total by 1 plus the tax rate. A total of $108.25 with 8.25% sales tax is 108.25 ÷ 1.0825 = $100 before tax, and the tax is $8.25. Decreasing the total by the tax rate gives a smaller number than the price before tax.
What if I need more than 2 decimal places?
This calculator shows results to 2 decimal places only. If you need a more precise value, use the formulas in the table above. The decimals you enter are kept in full while calculating, and only the result is rounded when it is shown.
How it works
Four formulas are used. B% of A is A × B ÷ 100. A is what % of B is A ÷ B × 100. The percent change from A to B is (B − A) ÷ |A| × 100, dividing by the absolute value when the starting value is negative. Increase or decrease A by B% is A × (1 ± B ÷ 100). Decimals you enter are not turned into floating-point approximations: every digit is kept while calculating, so errors such as 0.1 + 0.2 = 0.30000000000000004 do not happen. Only the result is rounded, to 2 decimal places.
- Last checked
Found a calculation mistake? Let us know.