Percentage calculator
Choose the question you need to answer, enter only the relevant values, and get a labeled result with the formula used.
What do you want to calculate?
What is a percentage of a value?
Your data stays in this browser.
Result
Enter the values, then select Calculate.
Formula result = percentage ÷ 100 × value
How to use the percentage calculator
Percent questions look similar but use different reference values. This calculator separates eight common jobs so the wording, denominator, and unit stay visible. It performs a one-time calculation in your browser and does not provide financial, medical, grading, or statistical advice.
Choose the question before entering numbers
- Select the mode whose sentence matches your problem.
- Enter the values requested for that mode. Type 15 to mean 15%, without the percent sign.
- Select Calculate. The result card shows the answer, direction where relevant, and the formula.
- Use Copy result if you need the labeled answer elsewhere, or Clear to remove inputs and keep the selected mode.
Match common percentage questions to a mode
For “what is 15 percent of 80?” or “calculate 15% of 80,” use Percent of a number. For “30 is what percent of 120?” or “what percentage is 30 out of 120?”, use Part as a percent of whole. For “30 is 12 percent of what number?” or “find the original amount before a percentage,” use Find the whole.
For “percentage increase from 40 to 50,” “percentage decrease from 50 to 40,” or “how much did X change to Y?”, use Percentage change. For “percent difference between 40 and 60,” use Percentage difference when neither number is the original value. For “20% to 30% change,” choose Percentage-point change to see both the 10-point gap and the 50% relative increase.
Use Percent error for searches such as “observed versus actual percent error” or “measurement error percentage.” Use Progress percentage for “30 out of 50 completed,” “completion percentage,” “goal progress,” or “what percent is finished?” These phrases describe different formulas, so choose by the relationship between values rather than the word percent alone.
Parts, wholes, and reverse percentages
“Percent of a number” multiplies a value by a rate. “Part as a percent of whole” divides the part by its reference whole. “Find the whole” reverses that relationship when a part and its percentage are known. The labels matter: swapping the part and whole changes the answer.
These modes accept decimals and signed values. A negative result can be mathematically correct, such as −20% of 50 = −10, but a negative “whole” or “part” may be nonsensical for counts, physical quantities, or a particular report. The tool warns instead of guessing your domain.
Example: percentage of a value and reverse percentage
A shop reduces an 80-unit price by 15%. In Percent of a number, enter 15 and 80 to get 12. The reduction is 12 units; this tool does not automatically subtract it from the price, so the remaining price is 80 − 12 = 68.
If 30 responses are 12% of a survey group, choose Find the whole and enter 30 and 12. The result is 250. This is an arithmetic estimate; when people or items must be whole, consider whether the inputs were rounded before treating 250 as exact.
Change is not the same as difference
Percentage change has a direction and a baseline: (new − start) ÷ |start| × 100. Moving from 40 to 50 is a 25% increase because the 10-unit rise is compared with 40. Moving from 50 to 40 is a 20% decrease because the baseline is now 50.
Percentage difference is symmetric. It compares the absolute gap with the average magnitude, so switching A and B does not change the result. For 40 and 60, the gap is 20 and the average magnitude is 50, producing a 40% difference. Use change for before-and-after data; use difference when neither value is the reference.
Percentage points versus relative percent change
Percentage points subtract one rate from another. A rate moving from 20% to 30% rises by 10 percentage points, while the relative increase is 50%. The result card shows both when the starting rate is nonzero. Say “percentage points” for the direct gap and “percent change” for the change relative to the starting rate.
When the starting rate is 0%, the point change still exists but relative percent change is undefined. The calculator leaves that additional result unavailable rather than claiming an infinite percentage.
Percent error and progress
Percent error compares an observed value with an accepted or theoretical value. It reports the magnitude of the relative error and also shows the signed raw difference, observed minus accepted. An accepted value of zero cannot serve as the denominator. Percent error is not margin of error or standard error.
Progress divides completed amount by total. Values below 0% or above 100% are not automatically rejected because some schedules start with a deficit or continue beyond a target. A warning asks you to verify that interpretation. For ordinary task completion, use nonnegative values and a positive total.
Zero denominators, negatives, and rounding
- A whole, starting value, percentage used to find a whole, accepted value, or total cannot be zero when it is the divisor.
- Two zero values have no percentage difference because their average magnitude is zero.
- Negative values are calculated using absolute baseline magnitude for relative change and error, then flagged for interpretation.
- Results normally show at most two decimal places and remove trailing zeros. Very small nonzero results keep significant digits so they are not displayed as zero.
- Calculations retain full numeric precision internally; only the displayed and copied result is rounded.
Saving and limits
Copy result places the visible labeled answer on the clipboard. The calculator does not save a history, sync between devices, choose a currency, apply taxes or discounts, or make a decision from the result. If you need a record, paste the result and the original inputs into your own document.
JavaScript numbers are suitable for common everyday calculations, but not for arbitrary-precision scientific or accounting work. Extremely large or tiny inputs may lose precision. Confirm consequential results with the source data and the rules of your field.
Frequently asked questions
Why does changing the order change percentage change?
The first value is the baseline. Reversing the order changes both the direction and denominator. Percentage difference is the symmetric option when neither value is the baseline.
Can a percentage be over 100 or negative?
Yes mathematically. A part can exceed its whole, progress can exceed a target, and signed quantities can create negative percentages. Whether that makes sense depends on what the numbers represent.
Why can’t I calculate change from zero?
Relative change divides by the starting value. With a zero start there is no finite reference ratio. Report the raw increase instead, or use percentage points when comparing rates.
Is percentage difference the same as percent error?
No. Difference treats both values symmetrically; error treats the accepted value as the reference. Choose the mode that matches the relationship between your inputs.
Does 10% to 15% mean a 5% increase?
It is a 5-percentage-point rise and a 50% relative increase. Stating the unit avoids ambiguity.
Does this tool provide financial advice?
No. It only applies the displayed formulas. It does not account for fees, compounding, tax rules, risk, or suitability.