Math
Percentage Calculator
Find a percentage of a number, what percent one number is of another, the percentage increase or decrease, and the percentage difference.
Your result
How this percentage calculator works
Choose the question
A percentage of a number, what percent one number is of another, the percentage increase or decrease, or the percentage difference.
Enter two numbers
Whole numbers, decimals, and negative numbers all work, with up to 10 decimal places.
Calculate
The answer is worked out with exact fractions, so no rounding creeps in along the way.
Read the working
The result comes with the calculation written out, so you can check it or do it by hand next time.
How percentages work
A percentage is a number of parts per hundred: 15% means 15 out of every 100. Dividing a percentage by 100 turns it into a number you can multiply by, so 15% is 0.15.
Percentages make amounts of different sizes easy to compare. They can be greater than 100%, when one number is larger than the other, and below 0% when one of the numbers is negative.
The four calculations
How to calculate a percentage of a number
Result = Y × X ÷ 100
Multiply the number by the percentage, then divide by 100.
15% of 240 is 240 × 15 ÷ 100 = 36. The same works for decimals: 12.5% of 88.8 is 11.1.
How to find what percent one number is of another
Percentage = X ÷ Y × 100
Divide the part by the whole, then multiply by 100.
36 is 36 ÷ 240 × 100 = 15% of 240. The whole cannot be 0: there is nothing to divide by, so the percentage is undefined.
Percentage increase and decrease
Change = (new − start) ÷ |start| × 100
Subtract the starting value from the new value, divide by the starting value, and multiply by 100. A positive result is an increase and a negative one a decrease.
80 → 100 is (100 − 80) ÷ 80 × 100 = a 25% increase. 100 → 80 is a 20% decrease. A change from 0 has no percentage, because it would divide by 0.
Percentage difference
Difference = |A − B| ÷ ((|A| + |B|) ÷ 2) × 100
Divide the gap between two values by their average, then multiply by 100. Neither value is the starting point, so the order does not matter.
80 and 100 are 20 apart and average 90, so they differ by 20 ÷ 90 × 100 = 22.222222%.
Percentage change vs percentage difference
Percentage change has a direction and a starting value. Going from 80 to 100 is a 25% increase, but going from 100 to 80 is a 20% decrease: the same 20 is measured against a different start each time.
Percentage difference is symmetric. 80 and 100 differ by 22.222222% in either order, because the gap is measured against their average, 90. Use it to compare two values when neither one is the starting point.
Examples
Each answer is worked out the same way as the calculator above.
| Question | Answer |
|---|---|
| What is 15% of 240? | 36 |
| 36 is what percent of 240? | 15% |
| Percentage change from 80 to 100 | 25% increase |
| Percentage change from 100 to 80 | 20% decrease |
| Percentage difference between 80 and 100 | 22.222222% |
| What is 12.5% of 88.8? | 11.1 |
| What is 10% of −50? | −5 |
| 300 is what percent of 200? | 150% |
| Percentage change from −50 to −25 | 50% increase |
Assumptions
- Numbers can be positive, negative, or 0, with up to 10 decimal places and up to 1,000,000,000,000,000 (one quadrillion) in size. Thousands separators are optional; scientific notation such as 1e5 is not accepted.
- Calculations use exact fractions rather than rounded decimals, so 12.5% of 88.8 is exactly 11.1 and no error builds up along the way.
- Results are shown with up to 6 decimal places, rounded half away from zero, with trailing zeros removed. A result smaller than 0.000001 keeps 6 significant digits, so it never shows as 0. When a result is rounded, the page says so; the calculation itself is never rounded.
- Percentage change divides by the absolute value of the starting value, so whether it is an increase or a decrease follows whether the value went up or down, even for negative numbers: −50 → −25 is a 50% increase.
- Percentage change is undefined when the starting value is 0, and a percentage of a whole of 0 is undefined. The calculator says so instead of showing a number.
- Percentage difference divides by the average of the absolute values, so it is the same in either order, never negative, and at most 200%. Two values of 0 differ by 0%.
Frequently asked questions
How do I calculate a percentage of a number?
How do I find what percentage one number is of another?
How do I calculate percentage increase?
How do I calculate percentage decrease?
What is the difference between percentage change and percentage difference?
Can percentages be greater than 100%?
Can a percentage be negative?
Does Calcora store the numbers I enter?
Related calculators
The Percentage Calculator is the first calculator in Calcora's Math category. To find another calculator, browse the full list of calculators.