How to use the Percentage Calculator
- Choose the question you want to answer, such as “What is P% of X?” or “Percentage change from A to B”.
- Enter the two numbers the question asks for. The labels change to match the type you chose.
- Read the answer and its working. For a symmetric comparison of two values, choose percentage difference rather than percentage change.
Percentage formulas
Where:
- = percentage
- = the part and the whole
- = starting and new values
Show as plain text
P% of X = (P ÷ 100) × X X as a percent of Y = (X ÷ Y) × 100 Percentage change = (B − A) ÷ |A| × 100 Percentage difference = |B − A| ÷ ((|A| + |B|) ÷ 2) × 100 Whole = X ÷ (P ÷ 100)
A percentage is a fraction out of 100. Dividing a percent by 100 turns it into a decimal you can multiply with, and multiplying a ratio by 100 turns it back into a percent.
Percentage change compares the difference between two values with the starting value. A positive result is an increase and a negative result is a decrease.
Percentage difference is symmetric: it divides the absolute difference by the average magnitude of both values. It is useful when neither measurement is a designated baseline.
Assumptions and limitations
- Results are rounded to at most 6 decimal places (4 for percentages).
Example: Percentage, change and difference examples
- 15% of 200: 15 ÷ 100 = 0.15, and 0.15 × 200 = 30.
- 30 as a percent of 200: 30 ÷ 200 = 0.15, and 0.15 × 100 = 15%.
- Change from 80 to 100: (100 − 80) ÷ 80 = 0.25, so the increase is 25%.
- Difference between 80 and 100: 20 ÷ ((80 + 100) ÷ 2) × 100 ≈ 22.22%.
When to use the Percentage Calculator
- Working out a pay rise, a price increase or a fall in sales as a percentage change.
- Comparing two measurements symmetrically when neither value is a designated starting point.
- Finding what share of a total one figure represents, such as a test score out of 80, or a 650-calorie meal as 25% of a 2,600-calorie daily estimate from the calorie calculator.
- Recovering an original price from a sale price; for shop prices the discount calculator also adds tax.
Percentage Calculator FAQs
Why isn't a 25% increase undone by a 25% decrease?
Because each percentage is taken from a different base. Going from 80 to 100 is a 25% increase, but going from 100 back to 80 is a 20% decrease, since the 20-point drop is measured against 100 rather than 80.
What is the difference between percent and percentage points?
Percentage points measure the plain difference between two percentages. If a rate rises from 4% to 5%, that is one percentage point, but a 25% increase relative to the original rate.
When should I use percentage difference instead of percentage change?
Use percentage change when one value is a starting point and direction matters. Use percentage difference for a symmetric comparison when neither value is the baseline; it divides the absolute difference by the average magnitude of the two values.
How do I find the original price before a discount?
Use the “X is P% of what number?” mode. If you paid $68 after a 15% discount, you paid 85% of the original, so enter 68 and 85 to get the original price of $80.
How this calculator was built and tested is explained in our methodology. Spotted a problem? Let us know.