Percentage calculator
Seven percentage questions on one page. Fill in any line and the answer appears with the arithmetic beneath it, worked out exactly rather than rounded along the way.
What is % of ?
is what percent of ?
Percentage change from to
Percentage difference between and
Increase by %
Decrease by %
is % of what number?
How to use it
- Find the line that asks your question: a percent of a number, a part as a percent, a change, a difference, an increase, a decrease, or the whole from a part.
- Type the two numbers. Commas and points both work as the decimal mark, and negative numbers are fine.
- Read the answer and the formula under it, then copy every answered line at once.
The formulas
Every line on this page is one of these. The calculator keeps fractions exact until the last step, so 1 out of 3 shows as 33.3333 % with the exact value 100/3 beside it, not a figure that drifts in the last digit.
| Question | Formula | Example |
|---|---|---|
| What is P% of N? | P ÷ 100 × N | 15% of 80 = 12 |
| A is what percent of B? | A ÷ B × 100 | 12 of 80 = 15% |
| Percent change from A to B | (B − A) ÷ |A| × 100 | 80 to 92 = +15% |
| Percent difference of A and B | |A − B| ÷ ((A + B) ÷ 2) × 100 | 80 and 92 = 13.9535% |
| N increased by P% | N + N × P ÷ 100 | 80 + 15% = 92 |
| N decreased by P% | N − N × P ÷ 100 | 80 − 15% = 68 |
| A is P% of what? | A ÷ P × 100 | 12 is 15% of 80 |
Percent change or percent difference?
Percent change has a direction: there is an old value and a new one, and the change is measured against the old. From 80 to 100 is +25%, but from 100 back to 80 is −20%, because the base moved.
Percent difference has no direction. It compares two values on equal terms by measuring the gap against their average, so 80 and 100 differ by 22.2222% whichever you type first. Use it for two measurements, two prices from two shops, two quotes.
Percentage points are not percent
A rate that moves from 4% to 5% has risen by one percentage point, and by 25 percent. Both are true; they answer different questions. Put the two rates into the percent change line to get the second figure.
Working with prices? Discounts in a row, VAT and margins have their own calculators on business.cihat.dev.
Working backwards: the price before tax or a discount
A price that includes a percentage is 100% of the original plus that percentage, so you divide; you do not subtract. A UK price of £120 including VAT at the standard rate of 20% (GOV.UK: VAT rates) is 120% of the price before VAT: 120 ÷ 1.20 = £100, and the VAT is £20. Taking 20% off £120 gives £96, which is £4 out.
A sale price works the same way. If a coat costs 60 after 25% off, 60 is 75% of the original: 60 ÷ 0.75 = 80. On this page, use the line “A is P% of what?” with 120 and 120, or with 60 and 75.
Percentage of marks over several tests
A score as a percentage is the marks you got divided by the marks available, times 100: 43 out of 50 is 86%. Over several tests, add the marks first. 18 out of 20 (90%) and 30 out of 40 (75%) make 48 out of 60, which is 80%. Averaging the two percentages gives 82.5%, because it counts the short test as much as the long one. When tests carry set weights instead, use the weighted average calculator.
Changes in a row multiply
To combine percentage changes, multiply their factors instead of adding the percentages. Two rises of 10% are 1.10 × 1.10 = 1.21, a rise of 21%. A rise of 20% in January and 10% in July take 40,000 to 40,000 × 1.20 × 1.10 = 52,800, which is 32% for the year. A rise of 10% followed by a fall of 10% is 1.10 × 0.90 = 0.99, a loss of 1%.
Percentages in Excel
With the part in A2 and the whole in B2, =A2/B2 formatted as a percentage gives the share; =(B2-A2)/A2 gives the change from A2 to B2; =A2*(1+B2) raises A2 by the rate in B2. Excel stores 15% as 0.15, so type the percent sign or divide by 100 when you enter a rate.
Related tools
Questions people ask
How do I calculate a percentage of a number?
Divide the percentage by 100 and multiply by the number. 15% of 80 is 15 ÷ 100 × 80 = 12.
How do I find what percent one number is of another?
Divide the part by the whole and multiply by 100. 12 out of 80 is 12 ÷ 80 × 100 = 15%.
How is percentage increase calculated?
Subtract the old value from the new one, divide by the old value and multiply by 100. From 80 to 92 is (92 − 80) ÷ 80 × 100 = 15%.
Why does a 20% rise followed by a 20% fall not return to the start?
The second percentage is taken from a larger number. 100 + 20% = 120, and 120 − 20% = 96. The fall removes 24, more than the 20 the rise added.
How do I remove 20% VAT from a price?
Divide by 1.20. A price of 120 including 20% VAT is 120 ÷ 1.20 = 100 before VAT, so the VAT is 20.
How do I find the original price before a discount?
Divide the sale price by the share left after the discount. 60 after 25% off is 60 ÷ 0.75 = 80.
How do I calculate a percentage of marks?
Divide the marks you got by the marks available and multiply by 100. 43 out of 50 is 86%. Over several tests, add the marks before dividing.
Why do some answers start with ≈?
The exact answer has more decimals than shown, often an endless repeat such as 33.333…. The ≈ says the figure is rounded, and the line underneath gives the exact value as a fraction.
Is anything I type sent anywhere?
No. The arithmetic runs in your browser and nothing is stored.