This calculator works out any percentage problem: given a part and a whole it finds the percentage, given a percentage and a whole it finds the part, and given a part and a percentage it finds the whole. Enter any two of the three values (part, whole, percentage) and the calculator returns the missing one, with the result shown as a number and a percentage sign.
Formula
The core relationship is part = whole × percentage / 100. Rearranged, it gives three equivalent formulas:
- Percentage = (part / whole) × 100%
- Part = (percentage / 100) × whole
- Whole = part / (percentage / 100)
In the calculator, p is the part (no unit), w is the whole (no unit), and pc is the percentage (%). The calculator uses the two values you enter to compute the third. For example, if you enter part = 25 and whole = 200, it computes percentage = 25 / 200 × 100 = 12.5%.
Worked Example
Using the default values: part = 25, whole = 200, percentage = 12.5. Since all three are filled, the calculator shows the part as the result (25). To see a computation, clear the percentage field and keep part = 25, whole = 200:
- Percentage = (part / whole) × 100 = (25 / 200) × 100 = 0.125 × 100 = 12.5%
Now clear the part field and keep whole = 200, percentage = 12.5:
- Part = (percentage / 100) × whole = (12.5 / 100) × 200 = 0.125 × 200 = 25
Finally, clear the whole field and keep part = 25, percentage = 12.5:
- Whole = part / (percentage / 100) = 25 / 0.125 = 200
All three results match the defaults.
Assumptions
- The percentage is a dimensionless number, and the part and whole share the same unit (e.g., dollars, items, grams).
- The whole is never zero; division by zero is undefined.
- The calculator treats the three inputs as independent; if you enter all three, it shows the part (the first output) and ignores the percentage field for the headline result.
When to Use This Calculator
Percentage problems appear in everyday life far more often than in the lab. You might need to:
- Find what percent one number is of another (e.g., 30 out of 150 students passed – what percent is that?).
- Calculate a percentage of a total (e.g., 15% tip on a $40 meal – how much is that?).
- Find the original amount before a percentage was applied (e.g., a price after a 20% discount is $80 – what was the original price?).
- Convert a fraction or ratio to a percentage for a report.
In a lab context, percentages are used for percent yield, percent error, and percent concentration (w/w, w/v, v/v). For example, percent yield = (actual yield / theoretical yield) × 100%. This calculator works for those directly.
How to Read the Result
The result is a plain number. If you asked for a percentage, it is already in percent (e.g., 12.5 means 12.5%). If you asked for a part or whole, it carries the same unit as the other input you gave. For instance, if you entered whole in grams, the part result is in grams. The calculator does not attach units, so keep track of them yourself.
Rounding: the calculator shows two decimal places by default. For money, two decimals are fine. For small percentages, you might want more precision; for large counts, fewer. Always round only at the final step to avoid accumulating errors.
Common Mistakes and Misconceptions
- Mixing up part and whole. The whole is the total or base amount; the part is the subset. For example, “20% of 50” means part = 20% of 50 = 10, so whole = 50, part = 10, percentage = 20. If you swap them, you get 250% instead of 20%.
- Forgetting to divide by 100. The percentage is a fraction out of 100. 20% is 0.20, not 20. In the formula part = whole × percentage / 100, the division by 100 is essential.
- Percentage points vs. percent. If a value increases from 10% to 15%, it increased by 5 percentage points, but by 50% relative to the original (5 / 10 × 100). The calculator computes the relative percent change, not percentage points.
- Reverse percentage errors. To find the original price after a 20% discount, you divide by 0.80, not multiply by 0.80. For example, if the sale price is $80 and the discount was 20%, original = 80 / 0.80 = $100.
Limitations of the Formula
The basic percentage formula assumes a linear relationship and no compounding. It does not handle:
- Percentage change over time – that requires the formula (new – old) / old × 100, which is a different calculation.
- Compounded percentages – e.g., a 10% increase followed by a 10% decrease does not return to the original value (it is 99% of the original).
- Weighted percentages – when combining percentages from different groups, you must weight by group size.
- Percentages of percentages – always apply to the base amount, not to the percentage itself.
For those cases, you need additional steps or a different calculator.
Frequently Asked Questions
How do I calculate a percentage increase or decrease?
To find the percent change, subtract the original value from the new value, divide by the original value, and multiply by 100. For example, if a value goes from 50 to 60, the increase is (60 – 50) / 50 × 100 = 20%. If it goes from 60 to 50, the decrease is (50 – 60) / 60 × 100 = -16.67%.
What is the difference between percentage and percentage points?
A percentage point is the arithmetic difference between two percentages. If a rate rises from 10% to 15%, that is a 5 percentage point increase. The relative percent increase is (15 – 10) / 10 × 100 = 50%. The calculator gives the relative percent, not the percentage point difference.
How do I find the original number before a percentage was added?
If you know the final amount and the percentage added, divide the final amount by (1 + percentage/100). For example, if a price after a 15% tax is $115, the pre-tax price is 115 / 1.15 = $100. If the percentage was a discount, divide by (1 – percentage/100).
Can I use this calculator for percent yield in chemistry?
Yes. Percent yield = (actual yield / theoretical yield) × 100%. Enter the actual yield as the part and the theoretical yield as the whole, and the calculator gives the percent yield. Make sure both yields are in the same unit (grams, moles, etc.).
Why does my result show 0 when I enter all three values?
When you enter all three inputs, the calculator shows the part (first output) as the result. If you entered part = 0, it shows 0. To get a computed answer, leave the field you want to find empty. The calculator is designed to solve for the missing value.
How do I convert a fraction to a percentage?
Divide the numerator by the denominator and multiply by 100. For example, 3/4 = 0.75 × 100 = 75%. In the calculator, enter the numerator as the part and the denominator as the whole, and the result is the percentage.
Related
Formula used
in p | Part | - | 25 | 0 in w | Whole | - | 200 | 0 in pc | Percentage | % | 12.5 | 0 out res | Result | - | (p > 0 && w > 0 && pc == 0) ? p / w * 100 : (p > 0 && pc > 0 && w == 0) ? p / pc * 100 : (w > 0 && pc > 0 && p == 0) ? w * pc / 100 : 0 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Within 10 Percent Calculator – How to Use It5.00 %
- Percent Equation: Formula & How to Use It
- W/W Percentage Calculator: Formula & Examples2.92 %
- Percent of a Number Calculator: Find It Instantly20.00 %
- UWW GPA Calculator: How to Compute Your GPA
- PPM to w/w Calculator: Convert Easily5.0000 %