Percentage Calculator
Work out "what is X% of Y", "X is what percent of Y", and percentage increase or decrease — with clear results.
The percentage to take.
The value to take it from.
How to use the Percentage Calculator
- Choose the calculation you need at the top.
- Enter the two values (X and Y).
- Read the result instantly — no Calculate button needed.
How percentages are calculated
What is X% of Y: (X ÷ 100) × Y. Example: 15% of 200 = 0.15 × 200 = 30.
X is what percent of Y: (X ÷ Y) × 100. Example: 30 out of 200 = (30 ÷ 200) × 100 = 15%.
Percentage change from X to Y: ((Y − X) ÷ |X|) × 100. Example: from 80 to 100 = ((100 − 80) ÷ 80) × 100 = 25% increase.
These three tasks are often confused with percentage difference. The percentage increase vs change vs difference guide explains which one to use when.
Percentage calculation example
A shirt priced at 40 is marked 25% off. What is 25% of 40? (25 ÷ 100) × 40 = 10, so the saving is 10 and the sale price is 30. For a dedicated tool with quantity support, use the Discount Calculator.
Common questions
Why can't I divide by zero?
"X is what percent of Y" divides by Y, and percentage change divides by the original value. When that value is zero the result is undefined, so the calculator asks for a non-zero value instead of showing an error.
Does it handle decimals and negative numbers?
Yes. Decimals are supported everywhere, and negative numbers work where the maths is valid — for example, percentage change from −20 to −10 is a 50% increase.
What's the difference between this and the Percentage Change Calculator?
This tool covers three common percentage tasks. The Percentage Change Calculator focuses on change between two values and also shows the absolute difference.
How many decimal places are shown?
Results show up to six decimal places, with trailing zeros removed for readability.
Is a percentage increase shown with a plus sign?
Yes. Increases are shown with a + sign and labelled "Increase"; decreases are shown with a − sign and labelled "Decrease".