Percentage Calculator
The Percentage Calculator handles every common percentage calculation in one place. The two most-used modes answer the questions people search for most: finding a percentage of a number (for example, what is 20% of 150?) and finding what percentage one number is of another (for example, 30 is what percentage of 150?). It also covers percentage change, applying an increase or decrease, finding the original value, percentage difference, and marks percentage.
Percentage Calculator
The percentage to apply.
The number you want a percentage of.
What the result means
Every mode returns one of two kinds of result. In 'X% of Y' the answer is a number — the portion of Y that X% represents. In every other mode the answer is a percentage, and the label says exactly what it measures (PERCENTAGE, PERCENTAGE INCREASE, PERCENTAGE DIFFERENCE, SCORE PERCENTAGE, and so on). The 'Calculation details' section shows the formula and the step-by-step working so you can trace where the number came from.
How to use this calculator
- 1Choose the type of percentage calculation from the dropdown. The fields change to match the mode.
- 2Enter the values shown — percentages, originals, finals, or marks — with the units and directions that apply.
- 3Press Calculate to see the result, the formula, and a short step-by-step breakdown.
- 4Read the label next to the result to see what number measures: a plain number for X% of Y, or a percentage for every other mode.
The formula
Each mode uses one standard formula. The two you will use most often are:
What each variable means
| Symbol | Name | Description |
|---|---|---|
| X | Percentage or part | In 'X% of Y', X is the percentage. In 'X is what % of Y', X is the part. |
| Y | Number or whole | The value the percentage is applied to or compared against. |
| Old / New | Original & new values | Used for percentage change. Change is always relative to Old. |
| P | Percentage change | The rate applied to an original value, or applied to reach a final value. |
| A / B | Two compared values | Percentage difference uses the average of A and B as its base. |
| Obtained / Total | Marks | Marks scored divided by total marks, then multiplied by 100. |
Step-by-step example
Example: What is 20% of 150?
- 120% of 150 = (20 ÷ 100) × 150
- 2= 0.20 × 150
- 3= 30
Result
30
What changes the result
- Percentages are always relative to a base value — the 100% reference.
- The same percentage can represent very different amounts depending on the base.
- Percentage change uses the original value as the base, never the new value.
- Applying a percentage and then reversing it with the same percentage does not return to the starting value, because the base changes.
Edge cases to be aware of
Unusual situations handled correctly
- 0% of any number is 0, and 100% of a number is the number itself.
- Percentages can be greater than 100% — for example, 150% of 80 = 120. That simply means the result is 1.5 times the reference value.
- Decimal percentages work normally: 12.5% of 80 = 10, and 2.5% of 200 = 5.
- Division by zero is undefined — the total (whole), original value, and total marks must be non-zero in their modes. The calculator shows “Undefined” for these inputs.
- A 100% decrease leaves a final value of 0, so the original value cannot be recovered by reversing the calculation.
- Percentage difference is undefined when both values are 0.
- Equal non-zero values produce 100% in the ‘X is what % of Y’ mode — for example, 20 is 100% of 20.
- Negative values are accepted where meaningful (for example, a negative difference), but the result is shown with its true sign in the absolute-change field.
Common mistakes
Avoid these errors
- Confusing ‘what is 20% of 150?’ with ‘20 is what percentage of 150?’. The first asks for 20% of a number (20 ÷ 100 × 150 = 30); the second asks what percentage 20 is of 150 (20 ÷ 150 × 100 = 13.33%).
- Forgetting to divide the percentage by 100 first, so 20% is used as 20 instead of 0.20.
- Using the wrong reference value — percentage change always divides by the original value, never the new value.
- Confusing percentage points (the arithmetic gap between two percentages) with percentage change (a relative measure).
- Assuming a percentage must be between 0% and 100%. Percentages above 100% are valid: 150% of 80 = 120.
- Treating percentage difference as a signed value — it is always non-negative and symmetric.
- For 'find original value', dividing by (1 + P/100) after a decrease instead of (1 − P/100).
Assumptions
- Percentages are entered as plain numbers: 20 means 20%, so 20 ÷ 100 = 0.20.
- The original value is the 100% reference for percentage change and for finding an original value.
- Percentage difference uses the average of the two values as its base and is direction-independent.
Limitations
- Percentages can misrepresent absolute differences when the bases differ greatly.
- Percentage change and percentage difference measure different things and are not interchangeable.
- Results are estimates of the relationship between the values you entered; they do not account for rounding conventions used by specific institutions.
Key terms to know
Percent+
Base value+
Percentage point+
Percentage change+
Percentage difference+
Percentage increase / decrease+
Ratio+
Real-world scenarios
20% of 150
What is 20% of 150?
What it means: Use the 'X% of Y' mode: (20 ÷ 100) × 150 = 0.20 × 150 = 30. So 20% of 150 is 30.
30 is what percentage of 150
A score of 30 out of 150.
What it means: Use 'X is what % of Y': (30 ÷ 150) × 100 = 0.20 × 100 = 20%. So 30 is 20% of 150.
100 to 125 — percentage increase
A value grows from 100 to 125.
What it means: Use 'Percentage change': (125 − 100) ÷ 100 × 100 = 25 ÷ 100 × 100 = 25%. That is a 25% increase, with an absolute change of 25.
200 to 150 — percentage decrease
A value falls from 200 to 150.
What it means: Use 'Percentage change': (150 − 200) ÷ 200 × 100 = −50 ÷ 200 × 100 = −25%. That is a 25% decrease, with an absolute change of −50.
500 increased by 20%
Add 20% to 500.
What it means: Use 'Apply a percentage increase': 500 × (1 + 20 ÷ 100) = 500 × 1.20 = 600. The increase adds 100, so the final value is 600.
120 after a 20% increase — the original value
A price rose 20% and is now 120.
What it means: Use 'Find the original value': 120 ÷ (1 + 20 ÷ 100) = 120 ÷ 1.20 = 100. The original value was 100.
435 out of 500 marks
Marks obtained are 435 out of 500.
What it means: Use 'Percentage of marks': (435 ÷ 500) × 100 = 0.87 × 100 = 87%. So the score is 87%.
Markup then discount
An item is marked up 50% and then discounted 50%.
What it means: Starting at 100, a 50% markup gives 150, then a 50% discount gives 75. The two moves do not cancel because the percentage applies to a different base each time.
Related concepts
Percentage change is relative to the original value and is signed. The percentage-difference method uses the average of two values and is symmetric.
A discount is a percentage decrease applied to an original price. See how a sale price and the amount saved are derived from the same base.
Marks-based percentages compare marks obtained to the maximum total. Grade and attendance calculators use the same percentage idea for scores and class attendance.
Attendance is calculated as classes attended divided by total classes, then multiplied by 100 — the same 'X is what % of Y' relationship.
Fractions, ratios and percentages are all ways to express the same relationship between two quantities. Convert between them for cleaner comparisons.
GST is applied as a percentage of a base price. The GST and total price calculations use the same percentage-of-a-number logic.
Frequently asked questions
How do I calculate a percentage of a number?+
What is the difference between percentage and percentage points?+
How is percentage change calculated?+
How do I add or subtract a percentage from a number?+
How do I find the original value before a percentage change?+
What is the difference between percentage change and percentage difference?+
How do I calculate my marks percentage?+
How do I find what percentage one number is of another?+
Can a percentage be greater than 100%?+
How do I calculate a percentage of a total?+
Can I use decimal percentages?+
What happens when the reference value is zero?+
Why is percentage change undefined when the original value is 0?+
Related calculators
Percentage Change Calculator
Calculate the percentage change between two values.
Discount Calculator
Calculate sale price, discount amount and savings percentage.
Grade Calculator
Calculate your letter grade from percentage or points.
Attendance Calculator
Calculate your attendance percentage and classes needed.
Fraction Calculator
Add, subtract, multiply and divide fractions.
Ratio Calculator
Simplify ratios and find missing ratio values.
GST Calculator
Calculate GST amount and total price for any product or service.